Skip to content

9.0.0

Latest
Compare
Choose a tag to compare
@wooorm wooorm released this 12 Jan 12:05
· 18 commits to main since this release
3b096bb

Migrate

  • Node.js 12 is no longer supported, use Node 14.14+ or later
  • if you provided custom handlers, their API changed a lot to improve types
    and reduce complexity and document it, see the docs and the default handlers
    for info.
    Most of it is due to the first parameter being a complex h value, it’s now
    a clean and more powerful state parameter
  • replace the one and all exports with state.one and state.all

Change

  • 35db2db Replace h with state
  • 9bf96b9 Replace one with state.one
  • 765021e Replace all export with state.all
  • e3aa39c Replace state.nodeById with state.elementById
  • 380b71b Add patch to state
  • cbee331 Add resolve to state
  • f3de1d3 Add toFlow, toSpecificContent to state
  • 9706341 Add improved spread algorithm for list items

Fix

Misc

Full Changelog: 8.4.1...9.0.0