Skip to content

Latest commit

 

History

History
133 lines (78 loc) · 4.16 KB

CHANGELOG.md

File metadata and controls

133 lines (78 loc) · 4.16 KB

Changelog

v4.1.1

compare changes

🩹 Fixes

  • Bump deep-pick-omit to 1.2.1 (fixes falsy value persistence) (7be6b42)

❤️ Contributors

v4.1.0

compare changes

🚀 Enhancements

📖 Documentation

  • Update Nuxt links in README.md (#340)

🏡 Chore

❤️ Contributors

v4.0.2

compare changes

🩹 Fixes

  • Infer CookieStorageOptions from @nuxt/schema rather than nuxt/schema (9e77053)
  • nuxt: Avoid calling runWithContext (#334)

📖 Documentation

  • Improve readability (code group icons + code titles) (13b6332)

🏡 Chore

❤️ Contributors

v4.0.1

compare changes

🩹 Fixes

  • Augment @nuxt/schema rather than nuxt/schema (#330)

📖 Documentation

  • Add group icon plugin (#329)

❤️ Contributors

v4.0.0

🚀 Enhancements

  • Support excluding paths from persistence with omit option
  • Support autocompletion for dot-notation paths in pick and omit options
  • ⚠️ Rehydrate only picked/omitted paths (when specified) instead of the whole state
  • ⚠️ Drop global beforeRestore and afterRestore options
  • ⚠️ Drop auto mode
  • nuxt: Include Nuxt module in the base package
  • nuxt: Add global key option using template string

🔥 Performance

  • Deserialize with destr instead of JSON.parse

🩹 Fixes

  • nuxt: Improve SSR handling and store hdyration/persistence behavior in route middleware

💅 Refactors

  • ⚠️ Rename paths option to pick
  • ⚠️ Rename beforeRestore and afterRestore options to beforeHydrate and afterHydrate
  • nuxt: ⚠️ Rename auto-imported storage object to piniaPluginPersistedstate
  • nuxt: ⚠️ Rename Nuxt config option key to piniaPluginPersistedstate

📖 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 global beforeRestore and afterRestore options
  • ⚠️ Drop auto mode
  • ⚠️ Rename paths option to pick
  • ⚠️ Rename beforeRestore and afterRestore options to beforeHydrate and afterHydrate
  • nuxt: ⚠️ Rename auto-imported storage object to piniaPluginPersistedstate
  • nuxt: ⚠️ Rename Nuxt config option key to piniaPluginPersistedstate

❤️ Contributors


For changes prior to v4, please refer to the GitHub Releases