Skip to content

Latest commit

 

History

History
247 lines (159 loc) · 7.14 KB

CHANGELOG.md

File metadata and controls

247 lines (159 loc) · 7.14 KB

Changelog

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.

Added

  • Add support for Svelte v5

Fixed

  • Shared storage eagerly created, nullify the purpose of disableWarnings (Issue#56)

Added

  • Cookie options (Issue#52)
  • (dev) More quality tools

Fixed

  • Typescript declaration not discovered (Issue#50)

Added

Changed

  • (dev) Use typedoc again to generate documentation
  • (dev) Update all dependencies to the last version

Fixed

  • Fix error with sandboxed storage (localStorage + sessionStorage) (Issue#41)
  • (doc) Typo in README (PR#39) + outdated example (PR#40)
  • (dev) Wrong typing (PR#38)

Added

  • New function to create store (localWritable, writable, sessionWritable, cookieWritable)

Changed

  • (dev) Move wrappers (+shorthand) to a dedicated file

Fixed

  • Fix class definition type not wide enough (Issue#32)

Changed

  • (dev) Update Github actions versions.

Added

  • createEncryptionStorage() function to customize the encryption
  • Encryption Interface for the encryption definition

Changed

Fixed

  • Error while compiling for SvelteKit (Issue#31)

Deprecated

  • createEncryptedStorage() use createEncryptionStorage() instead
  • NO_ENCRYPTION_BEHAVIOR enum (no replacement)
  • noEncryptionBehavior() (no replacement, function do nothing)

Added

  • 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

Fixed

  • Change compilation (remove all require in ES build) (Issue#23)
  • Better detection of unavailable Crypto capacity
  • (dev) Don't allow Testcafe 1.20.* versions

Changed

  • 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

Removed

  • (dev) Remove unused file

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 (Issue#21)
  • Add basic type definitions in README (Issue#19)

Changed

  • 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

Removed

  • noopStorage() use createNoopStorage() instead
  • localStorage() use createLocalStorage() instead
  • sessionStorage() use createSessionStorage() instead
  • indexedDBStorage() use createIndexedDBStorage() instead

Versions 1.x

Added

  • Possibility to disable console warnings (Issue#9)
  • undefined value not handled (Issue#11)

Changed

  • Change how data are serialized/deserialized to handle class

Fixed

  • Classes can't be persisted

Changed

  • Changed the Cookie lib to be able to set SameSite (Issue#7, PR#8)
  • (DEV) Update the dependencies

Fixed

  • SyntaxError when the value can't be parsed as a JSON (Issue#3)

Changed

  • Update (dev) dependencies version

Added

  • Add external change listener for SessionStorage and LocalStorage
  • Add documentation
  • Add IndexedDB Storage

Fixed

  • Add protection on global document variable

Added

  • Add noop Storage that do nothing

Fixed

  • Add protection on global window variable

First version