Releases: syntax-tree/mdast-util-to-hast
Releases · syntax-tree/mdast-util-to-hast
13.2.0
13.1.0
13.0.2
13.0.1
13.0.0
Change
- 67ef76c Update
@types/hast
,@types/mdast
, utilities
migrate: update too - b815f5e Change to require Node.js 16
migrate: update too - 33442cc Change to use
exports
migrate: don’t use private APIs - 56c88e4 Fix to match GH for HTML generated for backreferences
migrate: use the function form offootnoteBackLabel
for i18n, seedefaultFootnoteBackLabel
for inspiration - ffe7e47 Change to always return a node
migrate: expect an empty root instead of nothing - ffbb8a8 Change to expect, yield
undefined
migrate: expectundefined
everywhere, notnull
- c13fe7f Change to remove support for
Footnote
nodes
migrate: use GFM, which does not have “inline” notes - 6fc783a Change to remove support for ancient
lang
oncode
with spaces
migrate: you’re fine, this hasn’t been a thing for years - 72b8a68 Change to use maps for definitions on
state
migrate: if you make your own handles, expect maps - b328aa9 Change to remove function form of
State
, use plain object
migrate: if you make your own handles, create nodes yourself, usestate.applyData
if needed - 40e1d29 Change to remove
all
,one
helpers
migrate: if you make your own handles, usestate.all
,state.one
- 1894044 Change to remove
H
type
migrate: useState
- e804231 Change to remove
complex-types.d.ts
migrate: use main module - 4df5d41 Change to deep clone passed through nodes
migrate: should be fine
Types
- 52905eb Add smarter types for
passThrough
migrate: type your mdast/hast nodes by extending the content interfaces - 6f555a0 Add supported data fields to
Data
ofmdast
migrate: pass correct values innode.data
Fix
- 3e300ea Fix to keep content around for
hName
on text
Full Changelog: 12.3.0...13.0.0