Releases: MacFJA/svelte-persistent-store
Releases · MacFJA/svelte-persistent-store
2.4.2
2.4.1
2.4.0
2.3.2
2.3.1
2.3.0
Fixed
- Fix error with sandboxed storage (
localStorage+sessionStorage) (#41) - (doc) Typo in README (#39) + outdated example (#40)
- (dev) Wrong typing (#38)
Added
- New function to create store (
localWritable,writable,sessionWritable,cookieWritable)
Changed
- (dev) Move wrappers (+shorthand) to a dedicated file
Thanks to @gyurielf, @akiomik, @gr0kchain for the issue reporting and the fixes
2.2.1
2.2.0
Added
createEncryptionStorage()function to customize the encryptionEncryptionInterface for the encryption definition
Changed
- Change from
cyruptosjcl-esandsjcl-codec-hex(#31)
Fixed
- Error while compiling for SvelteKit (#31)
Deprecated
createEncryptedStorage()usecreateEncryptionStorage()insteadNO_ENCRYPTION_BEHAVIORenum (no replacement)noEncryptionBehavior()(no replacement, function do nothing)
Thanks to @kroniapp for reporting the issue
2.1.0
Added
- New storage
createChromeStoragefor Chrome Extension - Possibility to change the serialization functions (#26)
- Add note in README about BC break (#26)
- (dev) More quality tools
Fixed
- Change compilation (remove all
requirein ES build) (#23) - Better detection of unavailable Crypto capacity
- (dev) Don't allow Testcafe 1.20.* versions
Changed
- Upgrade the version of
@macfja/serializer(#26) - (dev) Use shorthand persist function in test
- (dev) Refactoring of the listeners' creation/usage functions
- (dev) Run prettier on existing code
Removed
- (dev) Remove unused file
Thanks to @sidharthv96, @gyurielf for reporting issues
2.0.0
Added
- New alias for persisting into Browser local storage (
persistBrowserLocal) - New alias for persisting into Browser session storage (
persistBrowserSession) - New alias for persisting into cookie storage (
persistCookie) - New storage (wrapper)
createEncryptedStorage(#21) - Add basic type definitions in README (#19)
Changed
- Change name of functions that create storage
- Change the data serializer (#18, #20)
- (dev) New lib to generate documentation
- (dev) Validate code style on configuration files
Removed
noopStorage()usecreateNoopStorage()insteadlocalStorage()usecreateLocalStorage()insteadsessionStorage()usecreateSessionStorage()insteadindexedDBStorage()usecreateIndexedDBStorage()instead
Thanks to @beebase for the new Storage idea, @michaelcuneo for suggesting the documentation update, @SwiftWinds and @AndreasHeintze for raising issues with the serialization library