diff --git a/CHANGELOG.md b/CHANGELOG.md index c89bd069..9683299c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release). +# [2.2.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.1.0...v2.2.0) (2019-01-22) + +### Bug Fixes + +- **filters:** handle removal of all blocks, inserting one unstyled ([652750f](https://github.com/thibaudcolas/draftjs-filters/commit/652750f)) +- **filters:** move selection after filtering. Fix [#27](https://github.com/thibaudcolas/draftjs-filters/issues/27) ([df3b8a6](https://github.com/thibaudcolas/draftjs-filters/commit/df3b8a6)) + +### Features + +- **api:** expose applyContentWithSelection in the package API ([25d1983](https://github.com/thibaudcolas/draftjs-filters/commit/25d1983)) + # [2.1.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.0.1...v2.1.0) (2018-10-26) ### Features diff --git a/package-lock.json b/package-lock.json index 9962db08..c7b964e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "draftjs-filters", - "version": "2.1.0", + "version": "2.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7383,7 +7383,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -7798,7 +7799,8 @@ "safe-buffer": { "version": "5.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -7854,6 +7856,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -7897,12 +7900,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index 27259d10..874fc0d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "draftjs-filters", - "version": "2.1.0", + "version": "2.2.0", "description": "Filter Draft.js content to preserve only the formatting you allow", "author": "Thibaud Colas", "license": "MIT",