Breaking
- Require Node.js 22 473ff89
- Migration changes
.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