npm / @pinia/nuxt
@pinia/nuxt
What changed in @pinia/nuxt 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 new APIs and options3 behavior and defaults11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@pinia/nuxt 115 changes
New APIs and options 1
piniaSymbol is now exported for developers to use.
Behavior and default changes 3
Errors are improved through the use of nostics.
Wrong values in plugins now produce a diagnostic.
Invalid properties passed to storeToRefs now produce a diagnostic.
Fixes and other changes 11
Default storesDirs are resolved against each Nuxt layer, so store directories are handled relative to the layer they belong to.
Nuxt 5 compatibility is declared, helping developers decide whether @pinia/nuxt fits their Nuxt project.
On SSR hydration, reactive Set/Map state is replaced instead of unioned.
The dist output now guards __VUE_PROD_DEVTOOLS__.
Avoids names ending in the reserved .vue suffix in generated types.
Restores the missing types exports field so consumers can resolve the package's types.
Subscribing the same callback twice no longer creates a duplicate watcher.
Computed getters can now be edited in devtools.
HMR now preserves runtime-added properties of setup store refs.
The skipHydrate marker is now respected on non-plain objects.
Nullish values are skipped gracefully, and invalid properties produce a diagnostic.