Releases: spicywebau/craft-embedded-assets
Releases · spicywebau/craft-embedded-assets
Embedded Assets 3.0.4
Added
- Added a second parameter (
$attributes
) tospicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode()
, for adding attributes to the iframe element, in the formatattribute
orattribute=value
Changed
- The first parameter (
$params
) tospicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode()
is no longer required
Embedded Assets 2.11.2
Fixed
- Fixed a type error that could occur in version 2.11.1
Embedded Assets 2.11.1
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
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
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
andproviderIcons
properties through GraphQL outside of dev mode would cause an error
Embedded Assets 3.0.2
Added
- Added the
enableAutoRefresh
plugin setting (defaults totrue
) for controlling whether Instagram embedded assets are auto-refreshed - Added
spicyweb\embeddedassets\Service::refreshEmbeddedAsset()
- Added
spicyweb\embeddedassets\errors\RefreshException
Embedded Assets 3.0.1
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
Added
- Added Craft 4 compatibility
Removed
- Removed Craft 3 compatibility
- Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getCacheAge()
- Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getRequestUrl()
; use theurl
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getSafeHtml()
; use a combination of thegetIsSafe()
method and thecode
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailHeight()
; use theimageHeight
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailUrl()
; use theimage
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailWidth()
; use theimageWidth
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::isSafe()
; usegetIsSafe()
instead - Removed
spicyweb\embeddedassets\Service::getCachedAssetPath()
- Removed
spicyweb\embeddedassets\Variable::fromAsset()
; useget()
instead - Removed
spicyweb\embeddedassets\Variable::fromAssets()
; iterate your assets manually and callget()
on each instead - Removed
spicyweb\embeddedassets\Variable::isEmbedded()
; useget()
instead
Embedded Assets 3.0.0-beta.1
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 theurl
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getSafeHtml()
; use a combination of thegetIsSafe()
method and thecode
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailHeight()
; use theimageHeight
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailUrl()
; use theimage
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::getThumbnailWidth()
; use theimageWidth
property instead - Removed
spicyweb\embeddedassets\models\EmbeddedAsset::isSafe()
; usegetIsSafe()
instead - Removed
spicyweb\embeddedassets\Service::getCachedAssetPath()
- Removed
spicyweb\embeddedassets\Variable::fromAsset()
; useget()
instead - Removed
spicyweb\embeddedassets\Variable::fromAssets()
; iterate your assets manually and callget()
on each instead - Removed
spicyweb\embeddedassets\Variable::isEmbedded()
; useget()
instead
Embedded Assets 2.10.7
Fixed
- Fixed a bug where replacing an embedded asset would not cause its cached data to be replaced