This is a v3 prerelease, so handle with care and expect everything/anything to still change. Adding this as a dependency with a non-exact range like ^3.0.0-1 will almost certainly eventually break your build when new prereleases are made available. This version has been published to npm using the next dist-tag, so install it with:
npm install --save-exact yaml@next
I don't have a clear idea how close or far this is from the eventual v3 final release; see its milestone for a very rough and incomplete idea of what's on the table so far.
In addition to what's listed below, this release incorporates the changes made in v2.8.3 and v2.8.4.
BREAKING CHANGES
- Drop
node.toJSON()methods + remove options fromnode.toJS()(#664) - Turn
NodeBaseinto an interface, addisNode()(#665) - Refactor collections (#666)
Bugfixes
- Performance improvements (#667)
- Satisfy JSR/Deno type & docs requirements
- Improve
visit()path construction & testing