Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Releases: robinvdvleuten/vuex-persistedstate

v4.1.0

21 Sep 11:50
Compare
Choose a tag to compare

Minor Changes

  • Prevent JSON.parse to be called with a non string value: #400

Credits

Huge thanks to @joaoaraujo-hotmart for helping!

v4.0.0

19 Jul 10:28
Compare
Choose a tag to compare

Patches

  • Remove env flag for jest: #407
  • Bump shvl to fix prototype pollution issue: 20650f9
  • Update README.md: #390
  • Small changes to README: b5ed167

Credits

Huge thanks to @ambianBeing and @NeuronButter for helping!

v3.2.1

19 Jul 10:28
Compare
Choose a tag to compare

Patches

  • Remove env flag for jest: #407
  • Bump shvl to fix prototype pollution issue: 20650f9
  • Update README.md: #390
  • Small changes to README: b5ed167

Credits

Huge thanks to @ambianBeing and @NeuronButter for helping!

v4.0.0-beta.3

11 Jan 14:55
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

Patches

  • Bump shvl to fix prototype pollution issue. Closes #387: acefa73

v3.2.0

11 Jan 14:52
Compare
Choose a tag to compare

Minor Changes

  • Moved storage.getItem function: #299
  • Update nuxt instructions in README.md: #331

Patches

  • Fix releases link: #300
  • Update README.md: #340
  • Update README for Vuex 4.0 usage: 511e61e
  • Update README.md: #348
  • Bump shvl to fix prototype pollution issue. Closes #387: acefa73

Credits

Huge thanks to @yachaka, @FreekVR, @peschee, @adm1t, and @retailify for helping!

v4.0.0-beta.2

07 Jan 08:46
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

Minor Changes

  • Require at least RC version of Vuex: ebd7171
  • Remove Vue as peer dependency: a72bf84
  • Fix incorrect version of Vuex as peer: 4338d55

Patches

  • Bump shvl from 2.0.0 to 2.0.1: #295

v4.0.0-beta.1

09 Oct 07:24
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Support For Vuex 4.0 🎉

To use the plugin with Vuex 4.0, you can initialize the plugin like the following;

import { createStore } from "vuex";
import createPersistedState from "vuex-persistedstate";

const store = createStore({
  // ...
  plugins: [createPersistedState()],
});

Major Changes

  • Drop support for Vuex 2.0: 9c8c9d0

Minor Changes

  • Moved storage.getItem function: #299
  • Update nuxt instructions in README.md: #331
  • Add support for Vue 3.0 and Vuex 4.0: 3f57f21

Patches

  • Fix releases link: #300
  • Update README.md: #340

Credits

Huge thanks to @yachaka, @FreekVR, @peschee, and @adm1t for helping!

v3.1.0

04 Aug 11:48
Compare
Choose a tag to compare

Minor Changes

  • Add generic for store state type: #267
  • Fixing Typescript generic inconsistencies and "arrayMerger" parameters types: #273

Credits

Huge thanks to @SanterreJo and @robertgr991 for helping!

v3.0.1

27 Mar 19:17
Compare
Choose a tag to compare

Patches

  • Optional storage and key parameters: #258
  • Replace parameters with variables: d9ce981

Credits

Huge thanks to @WTDuck for helping!

v3.0.0

25 Mar 08:33
Compare
Choose a tag to compare

Major Changes

  • Return specifc error on initialization: #252
  • Make distinction between empty array and no array: a34163f

Minor Changes

  • Optimize resolving from options: 8081e69
  • Add .d.ts for Options.fetchBeforeUse: #245
  • Add 'overwrite' option to bypass object merging: #160
  • Rewrite plugin to typescript: #249

Credits

Huge thanks to @gangsthub, @hughns, and @scottp-dpaw for helping!