Vuex Persistedstate Versions Save

? Persist and rehydrate your Vuex state between page reloads.

v4.1.0

2 years ago

Minor Changes

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

Credits

Huge thanks to @joaoaraujo-hotmart for helping!

v3.2.1

2 years ago

Patches

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

Credits

Huge thanks to @ambianBeing and @NeuronButter for helping!

v4.0.0

2 years ago

Patches

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

Credits

Huge thanks to @ambianBeing and @NeuronButter for helping!

v4.0.0-beta.3

3 years ago

Patches

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

v3.2.0

3 years ago

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: 511e61e484b3c90bf5962e2addfc187f6a630b58
  • Update README.md: #348
  • Bump shvl to fix prototype pollution issue. Closes #387: acefa73dbb9297a7bca665452f1df084c11101ac

Credits

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

v4.0.0-beta.2

3 years ago

Minor Changes

  • Require at least RC version of Vuex: ebd71713ea41c89f7a9e81b3e6728f07162d41a3
  • Remove Vue as peer dependency: a72bf84cd17ca2eb57e8e972be2f5bf33926f3f7
  • Fix incorrect version of Vuex as peer: 4338d55735852cc66535969a67c3b751bb3bc2e9

Patches

  • Bump shvl from 2.0.0 to 2.0.1: #295

v4.0.0-beta.1

3 years ago

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: 9c8c9d08dc85d73cf0d50e07efb360229f466fcb

Minor Changes

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

Patches

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

Credits

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

v3.1.0

3 years ago

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

4 years ago

Patches

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

Credits

Huge thanks to @WTDuck for helping!

v3.0.0

4 years ago

Major Changes

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

Minor Changes

  • Optimize resolving from options: 8081e69e95b86ada4e74832e7987a7c069100468
  • 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!