github sindresorhus/conf v16.0.0

5 hours ago

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

Fixes

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

v15.1.0...v16.0.0

Don't miss a new conf release

NewReleases is sending notifications on new releases.