Skip to content

Commit

Permalink
Updates CHANGELOG. Bump version to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed Jul 19, 2018
1 parent a60b49c commit 6cbd2e8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. `<p>` 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)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6cbd2e8

Please sign in to comment.