Skip to content

Latest commit

 

History

History
266 lines (174 loc) · 8.39 KB

CHANGELOG.md

File metadata and controls

266 lines (174 loc) · 8.39 KB

Changelog

2.4.5 - 2020-12-29

Changed

  • Updated the embed/embed library version requirement to ^3.4.13

2.4.4 - 2020-11-24

Added

  • Added a default English translation file

Fixed

  • Fixed an issue with the getVideoCode() and getVideoUrl() methods where an extra ? could sometimes be included in the returned URL

2.4.3 - 2020-11-03

Changed

  • Updated embed/embed library minimum requirement to 3.4.9
  • The exceptions thrown if an embedded asset's getVideoCode() method is called on an embedded asset that is not a video, or where it is not passed an array, have been given more descriptive error messages

2.4.2 - 2020-10-26

Fixed

  • Fixed a JavaScript error that prevented Redactor fields' 'link to an asset' option from working correctly

2.4.1 - 2020-10-19

Added

  • Added the referer plugin setting, allowing setting the domain to be sent as the referer with embedded asset requests, which allows the embedding of domain-restricted Vimeo videos (thanks @johndwells)

2.4.0 - 2020-10-02

Added

  • Added support for retrieving embedded asset data with GraphQL in Craft CMS Pro
  • Added spicyweb\embeddedassets\models\EmbeddedAsset::getIsSafe()

Deprecated

  • Deprecated spicyweb\embeddedassets\models\EmbeddedAsset::isSafe() (this should not require any Twig template updates)

Fixed

  • Updated the node-sass version requirement to 4.13.1; resolves a security issue

2.3.4 - 2020-08-25

Fixed

  • Fixed an issue where the Embed and Replace button text could not be translated

2.3.3 - 2020-08-10

Fixed

  • Fixed a bug with asset index modals for asset fields that don't allow JSON assets, where the Embed button would appear after selecting an asset
  • Updated the elliptic version requirement in yarn.lock to 6.5.3

2.3.2 - 2020-07-28

Fixed

  • Fixed an issue where Instagram embeds would include the login URL (with otherwise correct data) in some cases after checking for expired signatures

2.3.1 - 2020-07-20

Fixed

  • Fixed a bug with Embedded Assets 2.3.0, where asset index modals for asset fields with no restriction on allowed file types would not show an Embed button

2.3.0 - 2020-07-10

Changed

  • Embedded Assets now requires Craft 3.4.0 or later
  • Embedded Assets now caches embedded asset JSON files in a Craft install's storage/runtime/assets/embeddedassets directory, improving the performance of the Craft Assets page when using a remote storage volume
  • Updated embed/embed library minimum requirement to 3.4.8
  • Embedded Assets' JavaScript source has been converted to use the Standard JS style

Fixed

  • Fixed an issue where Embedded Assets was putting an Embed button on a Redactor field's Add Image modal
  • Fixed a performance issue with Embedded Assets' check for expired Instagram signatures
  • Fixed an issue where Instagram embeds would include the login URL (with otherwise correct data) in some cases
  • Replaced usage of the deprecated Twig_Markup class with Twig\Markup

2.2.7 - 2020-07-01

Fixed

  • Embedded Assets now internally stores all embedded asset data that has been loaded during a request, to avoid unnecessary reloads of embedded asset file contents, improving the performance of the Craft Assets page

2.2.6 - 2020-05-31

Fixed

  • Updated embed/embed library minimum requirement to ^3.4.5, to fix issue with Instagram embeds not working in some cases
  • Fixed JavaScript error when entering an embed URL which returns an embedded asset with no associated media

2.2.5 - 2020-05-26

Added

  • Added support for embedding videos from PBS

2.2.4 - 2020-05-19

Changed

  • Updated embed/embed library minimum requirement to ^3.4.4, for compatibility with TikTok embeds
  • Updated default whitelist to include TikTok

Fixed

  • Fixed error when trying to embed a TikTok asset
  • Fixed error when trying to embed a Giphy asset

2.2.3 - 2020-05-18

Added

  • Added the getVideoId() method for an embedded asset from YouTube or Vimeo

Fixed

  • Fixed typo in 'netflix.com' in Embedded Assets' default whitelist

2.2.2 - 2020-05-15

Added

  • Added support for Craft 3.4 asset previews

2.2.1.1 - 2020-04-22

Fixed

  • Fix PHP 7.4 deprecation #127 - thanks @engram-design

2.2.1 - 2020-02-13

Fixed

  • Fix #121 - check for data URL when validating image URL

2.2.0 - 2020-02-13

Added

  • Instagram auto refresh (once the Instragram signature expires, the JSON file will be updated)
  • Added the replace button on the asset index page

Fixed

  • Fixed bug which was causing embedded assets to save to the wrong asset folder
  • add fix for PHP 7.4 deprecation error #122 - thanks @oddnavy

2.1.1.1 - 2019-10-28

Fixed

  • Fix releases

2.1.1 - 2019-10-28

Fixed

  • Fix #117 - make sure the url has the query string when adding params

2.1.0 - 2019-10-18

Added

  • embed button won't be shown if the field doesn't allow json files
  • Allow API Keys to be set using env variables.

Changed

  • Update composer craft requirement to ^3.1.0

2.0.12 - 2019-09-20

Fixed

  • Fix #116 - updating embed library to the latest version to fix the vimeo issue - thanks @cole007

2.0.11 - 2019-07-30

Changed

  • switch to yarn.

Fixed

  • fix an issue with previews for assets that's not an embedded asset.

2.0.10 - 2019-07-11

Fixed

  • Fix - Dependancy security vulnarability fix with lodash.mergewith

2.0.9 - 2019-07-03

Fixed

  • Fix - Register the assets first before getting the default thumbnail

2.0.8 - 2019-07-01

Added

  • Added getVideoUrl and getVideoCode. Allows additional params to be added to the embedded video urls.

2.0.7 - 2019-06-28

Fixed

  • Make sure to not execute any thumbnail retrieval functions if showThumbnailsInCp is false

2.0.6 - 2019-06-12

Fixed

  • Fixed #99 stretched thumbnail issue

2.0.5 - 2019-06-06

Fixed

  • Fix vulnarability issue with js-yaml<3.13.1

2.0.4 - 2019-05-24

Fixed

  • Fix vulnerability issues with tar <4.4.2
  • Actually catch the error thrown if the json file doesn't exist - thanks @engram-design

2.0.3 - 2019-04-24

Added

  • Add showThumbnailsInCp setting - Thanks @ttempleton
  • New icon

2.0.2 - 2019-03-18

Fixed

  • Fixed incompatibility with Internet Explorer 11
  • Fixed Embedded Assets 2.0.1 incompatibility with Craft 3.1 releases prior to 3.1.13

2.0.1 - 2019-03-12

Fixed

  • Fixed error when saving an embedded asset if Embedded Assets' Parameters setting was empty
  • Fixed error when saving an embedded asset if the title contained emoji (now removes any emoji from the asset title)

2.0.0 - 2019-02-26

{note} The plugin’s package name has changed to spicyweb/craft-embedded-assets. Embedded Assets will need be updated to 2.0 from a terminal, by running composer require spicyweb/craft-embedded-assets and then composer remove benjamminf/craft-embedded-assets.

Added

  • Embedded Assets is now maintained by Spicy Web
  • Added extraWhitelist setting (thanks @benjamminf)

Changed

  • The asset preview controller action now supports passing an assetId parameter (thanks @benjamminf)
  • Show image preview if large enough / reduce max height for smaller screens (thanks @benjamminf)
  • Refactored preview iframe JS into its own class (thanks @benjamminf)
  • Improved asset previews in assets table (thanks @benjamminf)

Fixed

  • Fixed issues with not being able to save embedded assets in subfolders (thanks @kyle51north)
  • Fixed asset volume permission issue, preventing embedded assets from being saved in Craft 3.1 (thanks @limesquare-nl / @kyle51north)
  • Prevent scripts from loading async in preview, causing the asset preview to jump around after it loads (thanks @benjamminf)
  • Fixed issue with blank thumbnails showing in asset preview (thanks @benjamminf)

Removed

  • Removed unnecessary JS size detection in favour of readily available embed data (thanks @benjamminf)

1.0.2 - 2018-05-09

Added

  • Added html property for conveniently handling checks for embed codes and safety

Fixed

1.0.1 - 2018-05-09

Fixed

  • Implemented missing legacy properties on embedded assets

1.0.0 - 2018-05-08

  • Initial release for Craft 3