Skip to content

Releases: syntax-tree/mdast-util-from-markdown

2.0.0

09 Jul 10:10
2e27c06
Compare
Choose a tag to compare

Change

  • 843e046 Update @types/mdast and friends
    migrate: update too
  • 12a5622 Update micromark, change buffers to Uint8Arrays
    migrate: see micromark@4.
    only really changes Buffer -> Uint8Array, so use encodings supported by TextDecoder
  • 4cbea5a Change to require Node.js 16
    migrate: update too

Change (when you make extensions)

  • 03581b3 Change to replace getter/setters with raw data
    migrate: this.getData('x') -> this.data.x, this.setData('x', 1) -> this.data.x = 1
  • 18f4bb0 Change to return undefined from enter, exit
    migrate: keep the node you pass to enter around; get the node yourself before exit
  • 88969a4 Remove deprecated OnError type
    migrate: OnError -> OnEnterError

Full Changelog: 1.3.1...2.0.0

1.3.1

30 May 17:04
e30d9c8
Compare
Choose a tag to compare
  • 13430aa Update types for changes in micromark-util-types

Full Changelog: 1.3.0...1.3.1

1.3.0

27 Jan 17:15
9fa7fa5
Compare
Choose a tag to compare

Types

  • a034fa6 Add CompileData type to track custom data

Full Changelog: 1.2.1...1.3.0

1.2.1

27 Jan 12:30
04669b2
Compare
Choose a tag to compare

Misc

Full Changelog: 1.2.0...1.2.1

1.2.0

22 Nov 19:27
006604c
Compare
Choose a tag to compare

Full Changelog: 1.1.1...1.2.0

1.1.1

21 Nov 10:34
4b01c3f
Compare
Choose a tag to compare
  • d617634 Add support for improved exit error handling

Full Changelog: 1.1.0...1.1.1

1.1.0

12 Nov 21:18
77208c8
Compare
Choose a tag to compare
  • 752dc22 Add support for error handler to token parsing

Full Changelog: 1.0.4...1.1.0

1.0.4

09 Oct 08:56
e99aa59
Compare
Choose a tag to compare
  • ff32daf Use uvu/assert in development build

Full Changelog: 1.0.3...1.0.4

1.0.3

02 Oct 13:39
3d088ed
Compare
Choose a tag to compare
  • a13fbcc Use power-assert in development build

Full Changelog: 1.0.2...1.0.3

1.0.2

23 Sep 12:51
c79a430
Compare
Choose a tag to compare
  • 4a3350f Fix to prefer error over assertion

Full Changelog: 1.0.1...1.0.2