yaml
2.9.1 · 11 Sep 2026ISC330.2M / weekRepositoryHomepagenpmAtom feed
Upgrading yaml From 0.1.0 to 2.9.1
68 releases in betweennotes for 59
- 33+
- changes to make
- 0
- advisories fixed
- 121+
- new
- 70+
- fixes
Counted from 59 of 68 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.7.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
- 2.9.0
Up to now, I've considered these as security vulnerabilities, and in fact it's the only category of error for which
yamlCVEs have been issued so far. - 2.9.0
Starting from this release, I'll be considering such errors as bugs, but not vulnerabilities.
- 2.2.2
Corner case failure in error pretty-printer (CVE-2023-2251)
Release by release
2.9.1nothing new or fixed in the note
- Security
Up to now, I've considered these as security vulnerabilities, and in fact it's the only category of error for which
yamlCVEs have been issued so far. - Security
Starting from this release, I'll be considering such errors as bugs, but not vulnerabilities.
- Fixed
Avoid calling
Array.prototype.push.apply()with large source array - Fixed
lexer: Avoid recursive calls that may exhaust the call stack
- Security
- Fixed
Handle invalid unicode escapes
- Fixed
- New
Add
trailingCommaToString option for multiline flow formatting
- New
- Fixed
Do not double newlines for empty map values
- Fixed
2.8.1nothing new or fixed in the note
- New
Add node cache for faster alias resolution
- New
Add
--mergeoption to CLI tool - New
Allow empty string as plain scalar representation, for failsafe schema
- New
- Fixed
Do not allow seq with single-line collection value on same line with map key
- Fixed
67 other lines we could not sort, mostly version bumps
- 2.9.1
Limit recursive merge aliases (#685, #713)
- 2.9.1
Simplify line unfolding during quoted string parsing
- 2.8.4
Disable alias resolution with
maxAliasCount:0 - 2.8.4
Apply
minFractionDigitsonly to decimal strings - 2.8.3
Catch stack overflow during node composition
- 2.8.2
Serialize -0 as -0
- 2.8.1
Preserve empty block literals
- 2.8.0
Re-introduce compatibility with Node.js 14.6
- 2.8.0
Improve error for tag resolution error on null value
- 2.7.1
Improve warning & avoid TypeError on bad YAML 1.1 nodes
8 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.