Skip to content

Releases: thibaudcolas/draftjs-filters

v2.1.0

26 Oct 21:21
Compare
Choose a tag to compare

2.1.0 (2018-10-26)

Features

  • release: mark package as side-effects-free for Webpack (#25) (38f1aa0)

v2.0.1

28 Sep 21:41
Compare
Choose a tag to compare

2.0.1 (2018-09-28)

Bug Fixes

  • release: make sure released package does not contain archive (#22) (c678b03)

v2.0.0

28 Sep 21:06
Compare
Choose a tag to compare

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

01 Mar 16:41
Compare
Choose a tag to compare

1.0.0 (2018-03-01)

This release is functionally identical to v0.7.0.

The project has reached a high-enough level of stability to be used in production, and breaking changes will now be reflected via major version changes.

v0.7.0

09 Feb 00:40
Compare
Choose a tag to compare

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

26 Jan 09:03
Compare
Choose a tag to compare

0.6.1 (2018-01-26)

Bug Fixes

  • release: replace prepublish script with prepublishOnly (2d5e01f)

v0.6.0

26 Jan 09:03
Compare
Choose a tag to compare

0.6.0 (2018-01-26)

Features

  • api: add cloneEntities to the API (bdcd15c)
  • filters: add cloneEntities to filterEditorState (812bb57)
  • filters: add cloneEntity to ensure entity uniqueness. Fix #10 (9bda5ba)

v0.5.0

17 Jan 13:15
Compare
Choose a tag to compare

0.5.0 (2018-01-17)

Features

  • filters: add better way to filter/keep based on undefined attr (f836563)

v0.4.0

17 Jan 00:42
Compare
Choose a tag to compare

0.4.0 (2018-01-17)

Features

  • api: add ability for whitelist to filter by undefined attribute (a4af845)

v0.3.0

17 Jan 00:42
Compare
Choose a tag to compare

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)