VueDigest
News
GitHub Releases
Conferences
Weekly Digest
Subscribe
Releases
Pinia
v2.0.2
@pinia/testing v2.0.2
View on GitHub
vuejs/pinia
·
Released October 14, 2026
Share
Copy link
Summary
The @pinia/
[email protected]
release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as improved handling of shallow refs and better state management during SSR and HMR processes.
Full release notes
🚀 Features
Add
getStores()
- by @Anoesj in
https://github.com/vuejs/pinia/issues/3194
(52fc9)
Warn when disposing a replaced store - by @Anoesj and @posva in
https://github.com/vuejs/pinia/issues/3193
(bf7ea)
nuxt
: Declare Nuxt 5 compatibility - by @onmax in
https://github.com/vuejs/pinia/issues/3166
(a94de)
playground
: Update to @vue/repl v4 - by @posva in
https://github.com/vuejs/pinia/issues/3163
(b19f9)
🐞 Bug Fixes
Guard
VUE_PROD_DEVTOOLS
in dist output - by @ShreeBohara and
Claude Fable 5
in
https://github.com/vuejs/pinia/issues/3168
(37144)
Trigger shallow refs patched via object syntax - by @lvyanyan, @posva and
JSap0914
in
https://github.com/vuejs/pinia/issues/2861
and
https://github.com/vuejs/pinia/issues/3177
(a4eb2)
hmr
: Preserve runtime state of empty placeholder objects - by @lvyanyan in
https://github.com/vuejs/pinia/issues/2931
and
https://github.com/vuejs/pinia/issues/3175
(6a359)
nuxt
: Resolve default storesDirs against each layer - by @ondrhn in
https://github.com/vuejs/pinia/issues/3185
(98587)
ssr
: Replace reactive Set/Map state on hydration instead of unioning it - by @winklemad in
https://github.com/vuejs/pinia/issues/3162
(5bdf2)
testing
: Notify shallow refs on initial state - by @sergioperezcheco in
https://github.com/vuejs/pinia/issues/3187
(a1581)
types
: Avoid reserved .vue at the end of name - by @posva
(b0249)
View changes on GitHub
Previous release
@pinia/
[email protected]
August 12, 2026
Next release
v4.1.0
October 14, 2026
Latest Pinia releases
All releases
@pinia/
[email protected]
October 14, 2026
v4.1.0
October 14, 2026
@pinia/
[email protected]
August 12, 2026
v4.0.3
August 12, 2026
@pinia/
[email protected]
July 16, 2026
Latest articles about Pinia
Apr 16, 2026
Rijk van Zanten - Guiding Agentic AI with Vue and Pinia
Vuejs Amsterdam