Releases: syntax-tree/hast-util-to-mdast
Releases · syntax-tree/hast-util-to-mdast
10.1.1
10.1.0
10.0.1
10.0.0
9.0.0
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 complexh
value, it’s now
a clean and more powerfulstate
parameter - replace the
one
andall
exports withstate.one
andstate.all
Change
- 35db2db Replace
h
withstate
- 9bf96b9 Replace
one
withstate.one
- 765021e Replace
all
export withstate.all
- e3aa39c Replace
state.nodeById
withstate.elementById
- 380b71b Add
patch
tostate
- cbee331 Add
resolve
tostate
- f3de1d3 Add
toFlow
,toSpecificContent
tostate
- 9706341 Add improved spread algorithm for list items
Fix
- 1f2dfb5 Remove non-elements from
handlers
- 8d29193 Fix changing of input tree
- c2fab89 Remove
wrapText
Misc
- 1b04a5a Add improved docs
Full Changelog: 8.4.1...9.0.0