Skip to content

Releases: syntax-tree/mdast-util-to-hast

13.2.0

07 Jun 13:58
f511a93
Compare
Choose a tag to compare

Types

  • 24f4576 Add type for data.meta on elements to hast

Full Changelog: 13.1.0...13.2.0

13.1.0

11 Jan 09:47
c7a658e
Compare
Choose a tag to compare

Add

  • 59ecd14 Add support for file in options

Full Changelog: 13.0.2...13.1.0

13.0.2

28 Aug 17:38
bfdda4b
Compare
Choose a tag to compare

Full Changelog: 13.0.1...13.0.2

13.0.1

09 Aug 10:09
174c04f
Compare
Choose a tag to compare

Fix

  • 7ff28fb Fix trimming of whitespace around breaks

Full Changelog: 13.0.0...13.0.1

13.0.0

17 Jul 11:08
6e72085
Compare
Choose a tag to compare

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 of footnoteBackLabel for i18n, see defaultFootnoteBackLabel for inspiration
  • ffe7e47 Change to always return a node
    migrate: expect an empty root instead of nothing
  • ffbb8a8 Change to expect, yield undefined
    migrate: expect undefined everywhere, not null
  • 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 on code 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, use state.applyData if needed
  • 40e1d29 Change to remove all, one helpers
    migrate: if you make your own handles, use state.all, state.one
  • 1894044 Change to remove H type
    migrate: use State
  • 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 of mdast
    migrate: pass correct values in node.data

Fix

  • 3e300ea Fix to keep content around for hName on text

Full Changelog: 12.3.0...13.0.0

12.3.0

03 Feb 16:59
c87cd60
Compare
Choose a tag to compare

Add

  • ed45ec4 Add wrap helper on state
  • e701470 Add one, all helpers to state

Fix

  • 0c67e83 Fix footnote keys such as constructor
  • 1c2cb7b Fix support for passing just a table row, cell

Misc

Full Changelog: 12.2.6...12.3.0

12.2.6

23 Jan 09:57
8fd3717
Compare
Choose a tag to compare

Misc

  • 3098beb Fix missing internal type

Full Changelog: 12.2.5...12.2.6

12.2.5

02 Jan 19:56
1f2955a
Compare
Choose a tag to compare

Full Changelog: 12.2.4...12.2.5

12.2.4

28 Sep 16:50
7d20e86
Compare
Choose a tag to compare
  • dc00a59 Fix (double) encoding on urls

Full Changelog: 12.2.3...12.2.4

12.2.3

27 Sep 09:52
c393d0a
Compare
Choose a tag to compare
  • f21c1b1 Remove unneeded dependency

Full Changelog: 12.2.2...12.2.3