Releases: syntax-tree/hast-util-to-mdast
Releases · syntax-tree/hast-util-to-mdast
10.1.2
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 complexhvalue, it’s now
a clean and more powerfulstateparameter - replace the
oneandallexports withstate.oneandstate.all
Change
- 35db2db Replace
hwithstate - 9bf96b9 Replace
onewithstate.one - 765021e Replace
allexport withstate.all - e3aa39c Replace
state.nodeByIdwithstate.elementById - 380b71b Add
patchtostate - cbee331 Add
resolvetostate - f3de1d3 Add
toFlow,toSpecificContenttostate - 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