Skip to content

Releases: mmikkel/Retcon-Craft

Retcon v. 2.4.2

27 Apr 13:53
Compare
Choose a tag to compare

2.4.2 - 2022-04-27

Fixed

  • Fixes an exception that would be thrown when setting style and class attributes with the retconAttr filter, using values returned by Twig macros

Retcon v. 2.4.1

19 Apr 12:56
Compare
Choose a tag to compare

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 the class and style attributes, similarly to how the native attr filter works

Retcon v. 2.4.0

18 Apr 10:50
Compare
Choose a tag to compare

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

22 Oct 12:30
Compare
Choose a tag to compare

2.3.0 - 2021-10-22

Changed

  • Update version dependencies for symfony/dom-crawler and symfony/css-selector.

Fixed

  • Fixed docs (closes #28)

Retcon v. 2.2.3

05 May 21:47
7d0d682
Compare
Choose a tag to compare

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

27 Apr 16:02
184bd71
Compare
Choose a tag to compare

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

19 Jul 16:42
Compare
Choose a tag to compare

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

19 Jul 15:04
Compare
Choose a tag to compare

2.2.0 - 2020-07-19

Fixed

  • Fixes an issue where using the retconAttr filter on <script> tags could result in invalid HTML. Fixes #25
  • Retcon no longer decodes HTML entities, fixing an issue where particular characters could result in mangled content output. Fixes #24

Retcon v. 2.1.0

08 Mar 20:40
Compare
Choose a tag to compare

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 the alt attribute
  • Fixes an issue where Retcon would throw an exception if the retconLazy filter was used on an <img> tag with an invalid src attribute

Retcon v. 2.0.12

09 Nov 21:50
Compare
Choose a tag to compare

2.0.12 - 2018-11-09

Improved

  • The retconRemoveEmpty will no longer remove <br/> tags, unless the second parameter $removeBr is set to true