All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for Svelte v5
- Shared storage eagerly created, nullify the purpose of
disableWarnings
(Issue#56)
- Cookie options (Issue#52)
- (dev) More quality tools
- Typescript declaration not discovered (Issue#50)
- (dev) Use typedoc again to generate documentation
- (dev) Update all dependencies to the last version
- Fix error with sandboxed storage (
localStorage
+sessionStorage
) (Issue#41) - (doc) Typo in README (PR#39) + outdated example (PR#40)
- (dev) Wrong typing (PR#38)
- New function to create store (
localWritable
,writable
,sessionWritable
,cookieWritable
)
- (dev) Move wrappers (+shorthand) to a dedicated file
- Fix class definition type not wide enough (Issue#32)
- (dev) Update Github actions versions.
createEncryptionStorage()
function to customize the encryptionEncryption
Interface for the encryption definition
- Change from
cyrup
tosjcl-es
andsjcl-codec-hex
(Issue#31)
- Error while compiling for SvelteKit (Issue#31)
createEncryptedStorage()
usecreateEncryptionStorage()
insteadNO_ENCRYPTION_BEHAVIOR
enum (no replacement)noEncryptionBehavior()
(no replacement, function do nothing)
- New storage
createChromeStorage
for Chrome Extension - Possibility to change the serialization functions (Issue#26)
- Add note in README about BC break (Issue#26)
- (dev) More quality tools
- Change compilation (remove all
require
in ES build) (Issue#23) - Better detection of unavailable Crypto capacity
- (dev) Don't allow Testcafe 1.20.* versions
- Upgrade the version of
@macfja/serializer
(Issue#26) - (dev) Use shorthand persist function in test
- (dev) Refactoring of the listeners' creation/usage functions
- (dev) Run prettier on existing code
- (dev) Remove unused file
- 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
(Issue#21) - Add basic type definitions in README (Issue#19)
- Change name of functions that create storage
- Change the data serializer (Issue#18, Issue#20)
- (dev) New lib to generate documentation
- (dev) Validate code style on configuration files
noopStorage()
usecreateNoopStorage()
insteadlocalStorage()
usecreateLocalStorage()
insteadsessionStorage()
usecreateSessionStorage()
insteadindexedDBStorage()
usecreateIndexedDBStorage()
instead
- Change how data are serialized/deserialized to handle class
- Classes can't be persisted
- SyntaxError when the value can't be parsed as a JSON (Issue#3)
- Update (dev) dependencies version
- Add external change listener for SessionStorage and LocalStorage
- Add documentation
- Add IndexedDB Storage
- Add protection on global
document
variable
- Add
noop
Storage that do nothing
- Add protection on global
window
variable
First version