This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
Releases: robinvdvleuten/vuex-persistedstate
Releases · robinvdvleuten/vuex-persistedstate
v4.1.0
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
v3.2.1
v4.0.0-beta.3
v3.2.0
v4.0.0-beta.2
v4.0.0-beta.1
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
Credits
Huge thanks to @yachaka, @FreekVR, @peschee, and @adm1t for helping!
v3.1.0
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
v3.0.0
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!