Releases: mmikkel/Retcon-Craft
Releases · mmikkel/Retcon-Craft
Retcon v. 2.4.2
2.4.2 - 2022-04-27
Fixed
- Fixes an exception that would be thrown when setting
style
andclass
attributes with theretconAttr
filter, using values returned by Twig macros
Retcon v. 2.4.1
2.4.1 - 2022-04-19
Fixed
- Reverted a breaking change in 2.4.0 where HTML entities in attribute values created with the
retconAttr
would be encoded
Changed
- Array values in HTML attributes created with the
retconAttr
filter are now always JSON-encoded, excepting theclass
andstyle
attributes, similarly to how the nativeattr
filter works
Retcon v. 2.4.0
2.4.0 - 2022-04-18
Added
- Added support for Craft 4.0
- Added support for Imager X named transforms
- Added support for passing objects and arrays to the
|retconAttr
filter, similarly to the native|attr
filter
Fixed
- Fixed a couple of instances where Retcon could return unescaped HTML
Changed
- Retcon now requires Craft 3.7+
Retcon v. 2.3.0
2.3.0 - 2021-10-22
Changed
- Update version dependencies for
symfony/dom-crawler
andsymfony/css-selector
.
Fixed
- Fixed docs (closes #28)
Retcon v. 2.2.3
2.2.3 - 2020-05-05
Fixed
- Fixes an issue where Retcon wouldn't transform images with a
jpeg
file extension. Thanks @sweetroll 👍
Retcon v. 2.2.2
2.2.2 - 2020-04-27
Fixed
- Fixes an issue where an exception could be thrown if Retcon was unable to read the extension for a transformed image. Thanks @lenvanessen! Fixes #31
Retcon v. 2.2.1
2.2.1 - 2020-07-19
Fixed
- Fixes an issue where the
retconOnly
filter could throw an exception
Improved
- The
retconOnly
filter now returns an empty string if there are no nodes matching the selector
Changed
- Retcon now uses caret version range for the DomCrawler and CssSelector components
Retcon v. 2.2.0
Retcon v. 2.1.0
2.1.0 - 2020-03-08
Added
- Adds support for Imager X
Fixed
- Fixes an issue where the
retconAutoAlt
filter would always use the image filename for thealt
attribute - Fixes an issue where Retcon would throw an exception if the
retconLazy
filter was used on an<img>
tag with an invalidsrc
attribute
Retcon v. 2.0.12
2.0.12 - 2018-11-09
Improved
- The
retconRemoveEmpty
will no longer remove<br/>
tags, unless the second parameter$removeBr
is set totrue