Releases: thibaudcolas/draftjs-filters
Releases · thibaudcolas/draftjs-filters
v2.1.0
v2.0.1
v2.0.0
2.0.0 (2018-09-28)
Features
- api: publish package with Flow annotations built in (7a813cc)
BREAKING CHANGES
- api: The Draft.js filters now come with Flow annotations. For projects that do not use Flow this has no impact. For Flow users, please make sure you correctly type your code so Flow doesn't raise issues because of conflicts with this package's type definitions.
v1.0.0
v0.7.0
0.7.0 (2018-02-09)
Features
- api: add preserveBlockByText to exposed filters (077e008)
- filters: add first implementation of preserveBlockByText (ed27ca7)
- filters: add preserveBlockByText to filterEditorState (0c52d72)
- filters: add special case to preserveBlockByText for entities (21583de)
- filters: change atomic block check to convert camera emoji + space (9249033)
- filters: filterBlockTypes now also resets block depth to 0 (33c337d)
- filters: remove matched prefix when preserving list items (059bf9e)
v0.6.1
v0.6.0
v0.5.0
v0.4.0
v0.3.0
0.3.0 (2018-01-15)
Bug Fixes
- filters: fix bug preventing atomic block text reset (6807077)
- filters: fix filterEditorState discarding updated state (cec872e)
- filters: stop preserveAtomicBlocks resetting blocks with text (04d0554)
Features
- api: add blockEntities opt for preserveAtomicBlocks (a2fc941)
- api: add enableLineBreak option to filterEditorState (6c334b3)
- api: change filterEditorState to separate options & input (32a4586)
- api: change filterEditorState to take object as param, with keys (cbac155)
- api: entity data filter keeps all data if no whitelist is defined (83199dd)
- api: expose all filters to package consumers (606f8a0)
- api: expose new whitespaceCharacters method to the API (9b3057d)
- api: filter by attr should keep entity if there is no whitelist (514e093)
- api: refactor all filters to work on ContentState (6c7fbaf)
- api: refactor entity filters to iterator + callback pattern (1e6d3f2)
- api: remove enableHorizontalRule - use entities instead (4603a36)
- api: rename entityTypes option to entities (38ae203)
- api: rename filterEntityAttributes to filterEntityData (9403ca2)
- api: replace enableLineBreak with whitespacedCharacters (a0c7745)
- filters: add filterEntityAttributes to filterEditorState (ab0a30e)
- filters: add new filterEntityAttributes filter w/ whitelist (745ba09)
- filters: add new whitespaceCharacters method (6fde9ee)
- filters: add removeInvalidDepthBlocks method to API (5139451)
- filters: implement entity filtering by attribute (ae76945)
- filters: preserve atomic blocks based on image emoji (fba9880)
- filters: remove atomic blocks instead of making them unstyled (31b7664)
- filters: remove tabs as part of filterEditorState (9fd0005)
- filters: start updating filter methods to work on ContentState (e716dd9)
- filters: update whitespaceCharacters to operate on ContentState (62fef11)