| Name | Modified | Size | Downloads / 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
rootSchemaoption throws when it contains apropertieskey 7240281 - With
clearInvalidConfig, the cleared store is now written to the config file 473ff89 - Stricter validation 473ff89
projectVersionmust be a full semantic version when usingmigrations.configNamemust not point outsidecwd.- An empty
encryptionKeyis refused. - With dot notation, a key that is not a valid path (for example,
a[x) throws.
New
- Add
cacheoption d5748fc - Allow
serializeto return aUint8Array473ff89 - 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