Skip to content

Commit 370aaa5

Browse files
thibaudcolassemantic-release-bot
authored andcommitted
chore(release): v2.5.0 [skip ci]
# [2.5.0](v2.4.0...v2.5.0) (2020-11-21) ### Features * **api:** deprecate whitelist config option, use allowlist instead ([4d48cba](4d48cba))
1 parent 682a914 commit 370aaa5

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
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).
66

7+
# [2.5.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.4.0...v2.5.0) (2020-11-21)
8+
9+
### Features
10+
11+
- **api:** deprecate whitelist config option, use allowlist instead ([4d48cba](https://github.com/thibaudcolas/draftjs-filters/commit/4d48cba583e21df69cbd86035068deadbe2802c8))
12+
713
# [2.4.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.3.0...v2.4.0) (2020-11-20)
814

915
### Features

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Filters entities based on the data they contain.
241241

242242
###### Parameters
243243

244-
- `entityTypes` **$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), allowlist: {}?}>**
244+
- `entityTypes` **$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), allowlist: {}?, whitelist: {}?}>**
245245
- `entityType` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
246246
- `data` **{}**
247247

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draftjs-filters",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "Filter Draft.js content to preserve only the formatting you allow",
55
"author": "Thibaud Colas",
66
"license": "MIT",

0 commit comments

Comments
 (0)