diff --git a/CHANGELOG.md b/CHANGELOG.md index f21e190..01c7d64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 2.0.1 – 2018-07-18 +### Fixed +- Fixes various issues with the `retcon` catch-all filter +- Fixes an issue where Retcon would entity encode HTML tags when no nodes matched the given selector for methods such as `srcset`, `transform` and others +- Fixes an issue where Retcon would entity encode non-breaking spaces + +## 2.0.0 – 2018-07-18 +### Added +- New filter `retconRemoveEmpty` added, which will remove empty DOM nodes (e.g. `

` tags without text content) + +### Improved +- Selectors are much, _much_ more flexible (almost all CSS selectors work, which means that Retcon is basically jQuery now!) due to the magic of Symfony's DomCrawler component +- **Full HTML5 support** :tada: +- The `retconAutoAlt` filter will use the Asset's `title` for the `alt` attribute, if Retcon is fed markup with Craft CMS reference tags +- The `retconTransform`, `retconLazy` and `retconSrcSet` filters now take an additional parameter – `selector` (defaults to `'img'`) + ## 1.0.1 - 2018-06-07 ### Improved - Adds support for the `limit` parameter in the "replace" filter (`preg_replace` wrapper) diff --git a/composer.json b/composer.json index 668da35..f680c75 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "mmikkel/retcon", "description": "Powerful Twig filters for mutating and querying HTML", "type": "craft-plugin", - "version": "2.0.0", + "version": "2.0.1", "keywords": [ "craft", "cms",