Skip to content

Releases: MacFJA/svelte-persistent-store

2.4.2

25 Oct 20:38
Compare
Choose a tag to compare

Added

  • Add support for Svelte v5 (#59)

Thanks to @Mtn-View for requested the update

2.4.1

15 Oct 10:35
Compare
Choose a tag to compare

Fixed

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

Thanks to @Carlos-err406 for the issue report

2.4.0

13 Aug 15:14
Compare
Choose a tag to compare

Added

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

Thanks to @Lowisz for the feature request

2.3.2

21 Jul 20:25
Compare
Choose a tag to compare

Fixed

  • Typescript declaration not discovered (#50)

Thanks to @biplobsd for reporting the issue of missing TS typing

2.3.1

03 Jul 20:44
Compare
Choose a tag to compare

Added

Changed

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

Thanks to @NetOpWibby and @elron for submitting the Pull Request and the Issue

2.3.0

04 May 12:24
Compare
Choose a tag to compare

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

11 Oct 20:09
Compare
Choose a tag to compare

Fixed

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

Changed

  • (dev) Update Github actions versions.

Thanks to @wojexe for reporting the typing issue

2.2.0

10 Oct 20:22
Compare
Choose a tag to compare

Added

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

Changed

Fixed

  • Error while compiling for SvelteKit (#31)

Deprecated

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

Thanks to @kroniapp for reporting the issue

2.1.0

04 Sep 13:07
Compare
Choose a tag to compare

Added

  • New storage createChromeStorage for 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 require in 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

21 Aug 15:17
Compare
Choose a tag to compare

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() use createNoopStorage() instead
  • localStorage() use createLocalStorage() instead
  • sessionStorage() use createSessionStorage() instead
  • indexedDBStorage() use createIndexedDBStorage() 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