Skip to content

Releases: spicywebau/craft-embedded-assets

Embedded Assets 5.0.1

28 Mar 00:26
Compare
Choose a tag to compare

Added

  • Added spicyweb\embeddedassets\models\EmbeddedAsset::deprecatedProperties() (previously added in 4.0.1)

Changed

  • Deprecation warnings for deprecated embedded asset properties will now only be logged for front-end requests

Embedded Assets 4.0.1

28 Mar 00:17
Compare
Choose a tag to compare

Added

  • Added spicyweb\embeddedassets\models\EmbeddedAsset::deprecatedProperties()

Changed

  • Deprecation warnings for deprecated embedded asset properties will now only be logged for front-end requests

Embedded Assets 5.0.0

26 Mar 22:03
Compare
Choose a tag to compare

Added

  • Added Craft 5 compatibility

Changed

  • Links to embedded assets on asset fields can no longer be disabled, and have been moved into the fields' action menus

Removed

  • Removed Craft 4 compatibility
  • Removed spicyweb\embeddedassets\models\Settings::$showFieldLinkIcon

Embedded Assets 4.0.0

26 Mar 10:19
Compare
Choose a tag to compare

Added

  • Added spicyweb\embeddedassets\adapters\akamai\Extractor
  • Added spicyweb\embeddedassets\adapters\akamai\detectors\Type
  • Added spicyweb\embeddedassets\adapters\akamai\detectors\Url
  • Added spicyweb\embeddedassets\adapters\default\Extractor
  • Added spicyweb\embeddedassets\adapters\default\detectors\Title
  • Added spicyweb\embeddedassets\adapters\default\detectors\Type
  • Added spicyweb\embeddedassets\adapters\googlemaps\Extractor
  • Added spicyweb\embeddedassets\adapters\googlemaps\detectors\Code
  • Added spicyweb\embeddedassets\adapters\googlemaps\detectors\ProviderName
  • Added spicyweb\embeddedassets\adapters\googlemaps\detectors\Title
  • Added spicyweb\embeddedassets\adapters\googlemaps\detectors\Type
  • Added spicyweb\embeddedassets\adapters\pbs\Extractor
  • Added spicyweb\embeddedassets\adapters\pbs\detectors\Code
  • Added spicyweb\embeddedassets\adapters\pbs\detectors\Type
  • Added spicyweb\embeddedassets\adapters\sharepoint\Extractor
  • Added spicyweb\embeddedassets\adapters\sharepoint\detectors\Url
  • Added spicyweb\embeddedassets\events\BeforeRequestEvent
  • Added spicyweb\embeddedassets\models\EmbeddedAsset::$keywords
  • Added spicyweb\embeddedassets\Service::EVENT_BEFORE_REQUEST

Changed

  • Now requires Craft CMS 4.7.0 or later Craft CMS 4 releases
  • Upgraded from Embed 3 to Embed 4 (requires at least 4.4.10)
  • spicyweb\embeddedassets\models\EmbeddedAsset::$imageHeight will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$imageWidth will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$images now returns an array of image URLs, rather than an array of key/value pairs representing image data, and will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$providerIcons now returns an array of image URLs, rather than an array of key/value pairs representing image data, and will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$tags will not be set on newly created embedded assets

Deprecated

  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$imageHeight, due to being removed in Embed 4
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$imageWidth, due to being removed in Embed 4
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$images, due to being removed in Embed 4; use $image instead
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$providerIcons, due to being removed in Embed 4; use $providerIcon instead
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$tags, due to being removed in Embed 4; use $keywords instead

Removed

  • Removed spicyweb\embeddedassets\events\BeforeCreateAdapterEvent; use spicyweb\embeddedassets\events\BeforeRequestEvent instead
  • Removed spicyweb\embeddedassets\gql\interfaces\EmbeddedAssetImage
  • Removed spicyweb\embeddedassets\gql\types\EmbeddedAssetImage
  • Removed spicyweb\embeddedassets\gql\types\generators\EmbeddedAssetImageType
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getVideoCode(); use getIframeCode() instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getVideoUrl(); use getIframeSrc() instead
  • Removed spicyweb\embeddedassets\models\Settings::$embedlyKey
  • Removed spicyweb\embeddedassets\models\Settings::$iframelyKey
  • Removed spicyweb\embeddedassets\models\Settings::$minImageSize, due to the Embed 3 parameters it was used for being removed in Embed 4
  • Removed spicyweb\embeddedassets\models\Settings::$soundcloudKey
  • Removed spicyweb\embeddedassets\Service::EVENT_BEFORE_CREATE_ADAPTER; use spicyweb\embeddedassets\Service::EVENT_BEFORE_REQUEST instead
  • Removed spicyweb\embeddedassets\validators\Image

Embedded Assets 5.0.0-beta.1

01 Mar 08:37
Compare
Choose a tag to compare
Pre-release

{note} See also the 4.0.0-beta.1 release notes

Added

  • Added Craft 5 compatibility

Changed

  • Links to embedded assets on asset fields can no longer be disabled, and have been moved into the fields' action menus

Removed

  • Removed Craft 4 compatibility
  • Removed spicyweb\embeddedassets\models\Settings::$showFieldLinkIcon

Embedded Assets 4.0.0-beta.1

28 Feb 10:22
Compare
Choose a tag to compare
Pre-release

Added

  • Added spicyweb\embeddedassets\adapters\akamai\Extractor
  • Added spicyweb\embeddedassets\adapters\akamai\detectors\Url
  • Added spicyweb\embeddedassets\adapters\default\Extractor
  • Added spicyweb\embeddedassets\adapters\default\detectors\Title
  • Added spicyweb\embeddedassets\adapters\pbs\Extractor
  • Added spicyweb\embeddedassets\adapters\pbs\detectors\Code
  • Added spicyweb\embeddedassets\adapters\sharepoint\Extractor
  • Added spicyweb\embeddedassets\adapters\sharepoint\detectors\Url
  • Added spicyweb\embeddedassets\events\BeforeRequestEvent
  • Added spicyweb\embeddedassets\models\EmbeddedAsset::$keywords
  • Added spicyweb\embeddedassets\Service::EVENT_BEFORE_REQUEST

Changed

  • Now requires Craft CMS 4.7.0 or later Craft CMS 4 releases
  • Upgraded from Embed 3 to Embed 4 (requires at least 4.4.10)
  • spicyweb\embeddedassets\models\EmbeddedAsset::$imageHeight will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$imageWidth will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$images now returns an array of image URLs, rather than an array of key/value pairs representing image data, and will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$providerIcons now returns an array of image URLs, rather than an array of key/value pairs representing image data, and will not be set on newly created embedded assets
  • spicyweb\embeddedassets\models\EmbeddedAsset::$tags will not be set on newly created embedded assets

Deprecated

  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$imageHeight, due to being removed in Embed 4
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$imageWidth, due to being removed in Embed 4
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$images, due to being removed in Embed 4; use $image instead
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$providerIcons, due to being removed in Embed 4; use $providerIcon instead
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$tags, due to being removed in Embed 4; use $keywords instead
  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::$type, due to being removed in Embed 4

Removed

  • Removed spicyweb\embeddedassets\events\BeforeCreateAdapterEvent; use spicyweb\embeddedassets\events\BeforeRequestEvent instead
  • Removed spicyweb\embeddedassets\gql\interfaces\EmbeddedAssetImage
  • Removed spicyweb\embeddedassets\gql\types\EmbeddedAssetImage
  • Removed spicyweb\embeddedassets\gql\types\generators\EmbeddedAssetImageType
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getVideoCode(); use getIframeCode() instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getVideoUrl(); use getIframeSrc() instead
  • Removed spicyweb\embeddedassets\models\Settings::$minImageSize, due to the Embed 3 parameters it was used for being removed in Embed 4
  • Removed spicyweb\embeddedassets\Service::EVENT_BEFORE_CREATE_ADAPTER; use spicyweb\embeddedassets\Service::EVENT_BEFORE_REQUEST instead
  • Removed spicyweb\embeddedassets\validators\Image

Embedded Assets 3.2.0

06 Dec 06:55
Compare
Choose a tag to compare

Added

  • Added an icon to link to embedded asset URLs when an embedded asset is selected in an assets field (inspired by the Embedded Assets Link plugin for Craft 3)
  • Added the showFieldLinkIcon plugin setting (defaults to true) to control whether or not to show field link icons

Embedded Assets 3.1.9

24 Nov 05:04
Compare
Choose a tag to compare

Added

  • Added support for embedding OneDrive (live.com) and Sharepoint (sharepoint.com) URLs (thanks @boboldehampsink)

Embedded Assets 3.1.8

02 Sep 06:55
Compare
Choose a tag to compare
  • Fixed an error caused by Embedded Assets, that occurred when changing subfolders while browsing assets to add to a field

Embedded Assets 3.1.7

30 Aug 11:38
Compare
Choose a tag to compare

Fixed

  • Fixed an error that occurred when embedding using an assets field, if the field is set to restrict assets to a single location and the location uses variables