Releases: prazdevs/pinia-plugin-persistedstate
Releases · prazdevs/pinia-plugin-persistedstate
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.2
v4.0.1
🩹 Fixes
- Augment
@nuxt/schema
rather thannuxt/schema
(#330)
📖 Documentation
- Add group icon plugin (#329)
❤️ Contributors
- Daniel Roe (@danielroe)
- Leo (@yuyinws)
v4.0.0
🚀 Enhancements
- Support excluding paths from persistence with
omit
option - Support autocompletion for dot-notation paths in
pick
andomit
options ⚠️ Rehydrate only picked/omitted paths (when specified) instead of the whole state⚠️ Drop globalbeforeRestore
andafterRestore
options⚠️ Dropauto
mode- nuxt: Include Nuxt module in the base package
- nuxt: Add global
key
option using template string
🔥 Performance
- Deserialize with
destr
instead ofJSON.parse
🩹 Fixes
- nuxt: Improve SSR handling and store hdyration/persistence behavior in route middleware
💅 Refactors
⚠️ Renamepaths
option topick
⚠️ RenamebeforeRestore
andafterRestore
options tobeforeHydrate
andafterHydrate
- nuxt:
⚠️ Rename auto-imported storage object topiniaPluginPersistedstate
- nuxt:
⚠️ Rename Nuxt config option key topiniaPluginPersistedstate
📖 Documentation
- Rewrite documentation to match v4 API
- Add references and links to Nuxt-specific details and implementations
📦 Build
- Build standalone from Nuxt module's runtime
🎨 Styles
- Add a new identity and logo to the project
⚠️ Breaking Changes
⚠️ Rehydrate only picked/omitted paths (when specified) instead of the whole state⚠️ Drop globalbeforeRestore
andafterRestore
options⚠️ Dropauto
mode⚠️ Renamepaths
option topick
⚠️ RenamebeforeRestore
andafterRestore
options tobeforeHydrate
andafterHydrate
- nuxt:
⚠️ Rename auto-imported storage object topiniaPluginPersistedstate
- nuxt:
⚠️ Rename Nuxt config option key topiniaPluginPersistedstate
❤️ Contributors
- PraZ (@prazdevs)