NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4713 most downloaded on npm
Intuitive, type safe and flexible Store for Vue
Last release 1 months ago
12 Aug 2026
Release timing varies
gaps range from 9 days to 8 months
Nearly every release is documented
notes for 55 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
132 releases · first in 2019
Fix types field generation in package.json
One column per quarter.
Re-add missing types exports field
Pinia 4 contains only technically breaking changes: ESM only and upgrading @vue/devtools-api which now must be installed alongside pinia. It contains…
Pinia 4 contains only technically breaking changes: ESM only and upgrading @vue/devtools-api which now must be installed alongside pinia. It contains a major refactor of errors and dev warnings with Nostics. They will ensure detected problems are easier to fix, both by humans and by agents.
@vue/devtools-api. This
is done to keep installation size of pinia small and to mitigate
eventual supply-chain-attackswarn: detect global context on the server side
No code changes.
No code changes.
fix obj.hasOwnProperty in shouldHydrate
obj.hasOwnProperty in shouldHydrateThis version of Pinia has no new features, it drops support for Vue 2 and other deprecated APIs. It should be a straightforward upgrade for most users…
This version of Pinia has no new features, it drops support for Vue 2 and other deprecated APIs. It should be a straightforward upgrade for most users! 🎉
See the migration guide for help.
Awaited introduced in TS 4.5. This shouldn't affect you.PiniaStorePlugin is now removed. Use PiniaPlugin instead.defineStore({ id: 'id' }) is now removed. Use defineStore('id') insteadNothing published for this version
This version requires at least Vue 2.7. On January 2025, Pinia 3.0 will drop support for Vue 2 (which already reached EOL last year). If you need supp
This version requires at least Vue 2.7. On January 2025, Pinia 3.0 will drop support for Vue 2 (which already reached EOL last year). If you need support or help migrating, you can book help with Eduardo (@posva).
Nothing published for this version
avoid immediate computing with storeToRefs (67d3109), closes #2812
devtools: avoid running outside of browsers (eb5e6fd), closes #2843
No code changes in this release
No code changes in this release
keep no side effect comment when minifying
types: allow writable getters with storeToRefs (b464a1f), closes #2767
improve tree shaking on defineStore
types: breaking type with auto imported components
Nothing published for this version
devtools: Do not patch mocked actions
support webpack minification (57914b5), closes #1143
devtools: preserve store reactivity
devtools: correctly load the state
devtools: group setup store sync actions mutations
types: revert declare module vue
- Force vue-demi version
‼️ This requires Vue 3.3 or latest vue-demi (for Vue 2)
‼️ This requires Vue 3.3 or latest vue-demi (for Vue 2)
Nothing published for this version
dx: throw an error if store id is missing
types: typescript 5.0 acceptHMRUpdate error
No changes in this release
No changes in this release
allow $reset to be overridden by plugins
types: mapWritableState array (a7ad90d), closes #2014
types: mapWritableState array (07eaf99), closes #2014
avoid spread operator even in devtools code (d2a4def), closes #1885
types: type storeToRefs getters as ComputedRef
avoid missing injection not found warn in edge Vue 2 edge case (#1849) (78ec9a1), closes #1650
- api docs changes
types: support older ts versions (78fb214), closes #1818
types: implemented a workaround to be TS 4.9.x compatible
Nothing published for this version
devtools: init _customProperties for devtools
ssr: handle Maps and Sets (f9843eb), closes #1608
build: remove problematic browser export (6efa780), closes #1593
build: support vue 2 devtools flag
devtools: use flag to include devtools
ie: completely skip devtools in dev for IE (ca73db9), closes #1440
### Bug Fixes - add missing require in exports
warn when a getter conflicts with the state
vue2: use toRefs in storeToRefs (0f24ad2), closes #852
devtools: avoid error in getters (a64c19d), closes #1062
types: custom Awaited for TS 4.x (7fcb62e), closes #1006
types: support IDE features for store context
subscribe: avoid $subscriptions with $patch (3bfe9e5), closes #908
allow using multiple $onAction, ignore returned value (4dc1f1b), closes #893
downgrade peerdep requirement for ts (100a60d), closes #874
Your coding agent can read these notes before it upgrades. Set up the MCP server →