Skip to content

Latest commit

 

History

History
124 lines (63 loc) · 6.39 KB

CHANGELOG.md

File metadata and controls

124 lines (63 loc) · 6.39 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.5.2 (2021-10-04)

Bug Fixes

  • next type: expose next type (eba1f2d), closes #13

0.5.1 (2021-09-30)

Features

  • renderplaceholder: add renderPlaceholder prop to extensions (9366237), closes #10

Bug Fixes

  • testing: add node 12 target (0074607)
  • testing: replace react dom with testing-library/react (c42f746)
  • workflows: remove node 12 target (3c428fa)

0.5.0 (2021-04-16)

⚠ BREAKING CHANGES

  • withhistory: remove withHistoryStable

  • withhistory: remove withHistory implementation and other deprecated code (4f6187f)

0.4.0 (2021-04-16)

⚠ BREAKING CHANGES

  • deps: there are now two ways to apply withPlugins. as prePlugins and postPlugins. prePlugins are applied once to the editor before any extensions are applied and change the editor for it's entire lifecycle. Think of withReact and withHistory. postPlugins are applied after extensions are applied and may be modified during the editor lifecycle. For example a custom decorate method could be used as a postPlugin. postPlugins accept dependencies and can update while prePlugins never accept dependencies and never update.

Features

  • deps: upgrade dependencies (7093ad0), closes #2
  • editable: add various editable events to the extensions api (4e9aacf)

0.3.3 (2021-02-16)

Bug Fixes

  • filenames: fix filename case sensitivity (3e136c4)

0.3.2 (2021-02-16)

0.3.1 (2021-02-15)

0.3.0 (2021-02-15)

⚠ BREAKING CHANGES

  • middleware: All methods which were run one at a time such as insertBreak and onChange now require the user to call next to run the next method. Editor is no longer the first argument for isInline and isVoid

Features

  • insertbreak: add insert break to the editor methods that can be overridden (c4c9393)
  • inserttext: implement insert text method on the editor (7a81d5b)
  • middleware: reimplement most editor and slate methods as middleware (d7b0d94)

0.2.4 (2021-02-13)

0.2.3 (2021-02-08)

Bug Fixes

  • useslatewithextensions: remove circular dependency (46c0e3f)

0.2.2 (2021-02-08)

Bug Fixes

  • examples: upgrade node-forge to non-vulnerable version (29b0363)

0.2.1 (2021-02-07)

Features

  • plugins: remove useEffect from useSlateWithExtensions and add pluginDeps (adce7c6)

0.2.0 (2021-02-05)

⚠ BREAKING CHANGES

  • ondombeforeinput: Change semantics of onDOMBeforeInput so that the event can be handled by an extension. Strongle type the event type of onDOMBeforeInput as an InputEvent.

Features

  • ondombeforeinput: make ondombeforeinput preventable and make the event an input event (d535ce3)

Bug Fixes

  • renderelement: allow renderElement to return void (137f666)

0.1.5 (2021-02-04)

0.1.4 (2021-02-04)

0.1.3 (2021-02-04)

0.1.2 (2021-02-04)