Download Latest Version v16.0.0 source code.zip (234.5 kB)
Home / v16.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-12 1.3 kB
v16.0.0 source code.tar.gz 2026-10-12 209.1 kB
v16.0.0 source code.zip 2026-10-12 234.5 kB
Totals: 3 Items   444.9 kB 4

Breaking

  • Require Node.js 22 473ff89
  • Migration changes
    • Migrations no longer run for a config file that does not exist yet d22f423
    • Migrations run in version order, whatever order they are defined in 473ff89
    • The recorded migration version never moves backwards 473ff89
  • .get() throws when given a non-string key 54829ff
  • The rootSchema option throws when it contains a properties key 7240281
  • With clearInvalidConfig, the cleared store is now written to the config file 473ff89
  • Stricter validation 473ff89
    • projectVersion must be a full semantic version when using migrations.
    • configName must not point outside cwd.
    • An empty encryptionKey is refused.
    • With dot notation, a key that is not a valid path (for example, a[x) throws.

New

  • Add cache option d5748fc
  • Allow serialize to return a Uint8Array 473ff89
  • Make .reset() work with dot-notation keys f9b13df
  • Improve the TypeScript types 473ff89

Fixes

  • Fix a migration with a semver range making the store impossible to open after a failed migration f957559

https://github.com/sindresorhus/conf/compare/v15.1.0...v16.0.0

Source: README.md, updated 2026-10-12