Skip to content

Releases: spicywebau/craft-embedded-assets

Embedded Assets 3.0.4

26 Jun 05:27
Compare
Choose a tag to compare

Added

  • Added a second parameter ($attributes) to spicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode(), for adding attributes to the iframe element, in the format attribute or attribute=value

Changed

  • The first parameter ($params) to spicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode() is no longer required

Embedded Assets 2.11.2

24 Jun 13:23
Compare
Choose a tag to compare

Fixed

  • Fixed a type error that could occur in version 2.11.1

Embedded Assets 2.11.1

24 Jun 11:34
Compare
Choose a tag to compare

Fixed

  • Fixed an error that occurred when saving an embedded asset, if the embedded asset title (and therefore the filename) contained invalid characters

Embedded Assets 3.0.3

15 Jun 11:23
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where non-admin users who have the permission to save assets in a volume were unable to save embedded assets in that volume (thanks @aodihis)

Embedded Assets 2.11.0

15 Jun 10:54
Compare
Choose a tag to compare

Added

  • Added spicyweb\embeddedassets\gql\interfaces\EmbeddedAssetImage
  • Added spicyweb\embeddedassets\gql\types\EmbeddedAssetImage
  • Added spicyweb\embeddedassets\gql\types\generators\EmbeddedAssetImageType

Fixed

  • Fixed a bug where accessing embedded assets' images and providerIcons properties through GraphQL outside of dev mode would cause an error

Embedded Assets 3.0.2

27 May 04:31
Compare
Choose a tag to compare

Added

  • Added the enableAutoRefresh plugin setting (defaults to true) for controlling whether Instagram embedded assets are auto-refreshed
  • Added spicyweb\embeddedassets\Service::refreshEmbeddedAsset()
  • Added spicyweb\embeddedassets\errors\RefreshException

Embedded Assets 3.0.1

18 May 07:56
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where trying to save an embedded asset to a subfolder of a volume's filesystem would save the embedded asset in the filesystem's root folder instead

Embedded Assets 3.0.0

05 May 08:16
Compare
Choose a tag to compare

Added

  • Added Craft 4 compatibility

Removed

  • Removed Craft 3 compatibility
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getCacheAge()
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getRequestUrl(); use the url property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getSafeHtml(); use a combination of the getIsSafe() method and the code property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailHeight(); use the imageHeight property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailUrl(); use the image property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailWidth(); use the imageWidth property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::isSafe(); use getIsSafe() instead
  • Removed spicyweb\embeddedassets\Service::getCachedAssetPath()
  • Removed spicyweb\embeddedassets\Variable::fromAsset(); use get() instead
  • Removed spicyweb\embeddedassets\Variable::fromAssets(); iterate your assets manually and call get() on each instead
  • Removed spicyweb\embeddedassets\Variable::isEmbedded(); use get() instead

Embedded Assets 3.0.0-beta.1

29 Apr 06:34
Compare
Choose a tag to compare
Pre-release

Added

  • Added Craft 4 compatibility (requires Craft 4.0.0-RC2 or later)

Removed

  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getCacheAge()
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getRequestUrl(); use the url property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getSafeHtml(); use a combination of the getIsSafe() method and the code property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailHeight(); use the imageHeight property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailUrl(); use the image property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailWidth(); use the imageWidth property instead
  • Removed spicyweb\embeddedassets\models\EmbeddedAsset::isSafe(); use getIsSafe() instead
  • Removed spicyweb\embeddedassets\Service::getCachedAssetPath()
  • Removed spicyweb\embeddedassets\Variable::fromAsset(); use get() instead
  • Removed spicyweb\embeddedassets\Variable::fromAssets(); iterate your assets manually and call get() on each instead
  • Removed spicyweb\embeddedassets\Variable::isEmbedded(); use get() instead

Embedded Assets 2.10.7

21 Apr 03:14
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where replacing an embedded asset would not cause its cached data to be replaced