Testing module for Pinia
Last release 1 months ago
15 Jul 2026
Release timing varies
gaps range from 2 weeks to 9 months
Rarely documented
notes for 5 of 30 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
31 releases ยท first in 2021
Release timeline
31 releases since 2021One column per quarter.
Releases
- 2.0.115 Jul 2026
Release notes
Open source โ๐ Bug Fixes
- Re-add missing types exports field - by @rijkvanzanten in #3154 (fb217)
View changes on GitHub
Additional notes
Open source โThis release correctly removes the deprecated APIs as advertised in v2. The documentation contains a list of all the deprecations compared to v0.x.
Bug Fixes
- use assign instead of spread for older browsers (51cf9b6)
Features
- warn: improve getActivePinia warn (6a0a209)
2.0.0 (2021-10-27)
๐ ๐ ๐
Bug Fixes
- devtools: root store access #732 (90d2c35)
- plugins: ensure plugins are used only once (#745) (150fdfc)
- ssr: make skipHydrate compatible with @vue/composition-api (71448b0)
BREAKING CHANGES
All deprecated API have been removed.
2.0.0-rc.15 (2021-10-25)
Bug Fixes
- types: remove unused option hydrate for setup stores (37d07fb)
Code Refactoring
- ssr: pass storeState instead of store to hydrate (c85edac)
Features
- ssr: add skipHydrate to skip hydration on specific refs (55deedb)
BREAKING CHANGES
- ssr: the
hydrate()option for stores defined with the options api no longers passes the whole store instance. Instead, it passes thestoreStateso it can be directly modified. This is because it was currently necessary to hydrate the store by setting properties ontostore.$state. This change makes it impossible to make the mistake anymore.
defineStore('main', { state: () => ({ customRef: useLocalStorage('key', 0) }), - hydrate(store) { - store.$state.customRef = useLocalStorage('key', 0) + hydrate(storeState) { + storeState.customRef = useLocalStorage('key', 0) } })2.0.0-rc.14 (2021-10-19)
Readme update
2.0.0-rc.13 (2021-10-12)
- bump vue-devtools-api version
2.0.0-rc.12 (2021-10-07)
Features
- proper check of computed requiring @vue/[email protected] (b099ef4)
- warn: log store id with class constructor warning (#702) (39eee6a)
2.0.0-rc.11 (2021-10-03)
Bug Fixes
- build: expose mjs correctly (2e9fe33)
- export the module version in mjs (cffc313)
- types: correctly type global extensions (cdbdba5), closes #630
- warn: avoid toRefs warning for Vue 2 (c174fe1), closes #648
2.0.0-rc.10 (2021-09-30)
Bug Fixes
- ssr: always call setActivePinia (83d7d2f), closes #665
- use assign to set $state (f3a732f), closes #682
- fix mjs, cjs versions for webpack based builds
Features
2.0.0-rc.9 (2021-09-12)
Bug Fixes
- correct store in getters vue 2 (3d4080b)
- vue2: delay getters until stores are ready when cross using them (ed48b00)
- vue2: fix isComputed check for getters (307078b)
2.0.0-rc.8 (2021-09-06)
Bug Fixes
2.0.0-rc.7 (2021-09-03)
Bug Fixes
- ssr: properly hydrate setup stores (4fbacfc)
Features
- add typedoc (b98e23d)
- allow stores to be cross used (cda3658)
- deprecate PiniaPlugin in favor of PiniaVuePlugin (c0495c0)
- support TS 4.4 (#656) (39b2e15)
2.0.0-rc.6 (2021-08-19)
Fix missing types.
2.0.0-rc.5 (2021-08-19)
Bug Fixes
Features
- destroy a store with $dispose (#597) (a563e6a)
- expose getActivePinia (8b8d0c1)
- testing: add testing package (fc05376)
2.0.0-rc.4 (2021-08-09)
If you are using Vue 2, make sure your
@vue/composition-apiversion is at least1.1.0, which is currently under the npm dist tagnext, which means it has to be installed withnpm install @vue/composition-api@next.Bug Fixes
2.0.0-rc.3 (2021-08-05)
Bug Fixes
2.0.0-rc.2 (2021-08-04)
This version supports Vue 2! Here is an example using Vue 2 and Vite for an optimal DX. Note this version requires Vue Devtools 6, and more specifically, they don't work with the current
@vue/devtools-api(6.0.0-beta.15) because they require this unreleased fix. To get all the goodness pinia has to offer for Vue 2, you will need to clonevuejs/devtools, runyarn && yarn run buildand then load an unpacked extension on a Chromium browser (after activating the developer mode in the extension panel). If you are using Vue 3, you can still use the Vue Devtools 6 regularly.Bug Fixes
Features
2.0.0-rc.1 (2021-07-30)
Posted https://github.com/vuejs/pinia/issues/592 to help people installing or upgrading Pinia.
Bug Fixes
- collect reactive effects ran in plugins (54cee00)
- devtools: update when custom properties change (7dcb71e)
- store: keep original refs with $reset (a7dadff), closes #593
2.0.0-rc.0 (2021-07-28)
- 2.0.014 Jul 2026
Release notes
Open source โ๐ Features
- Upgrade devtools-api to v8 - by @posva (25572)
- Use nostics for better errors - by @posva (f3522)
- Gracefully skip nullish values in storeToRefs - by @JSap0914 and @posva in #3134 (cac82)
- Diagnostic on invalid properties when doing storeToRefs - by @posva (e7313)
- Diagnostic wrong values in plugins - by @posva (29835)
- Export piniaSymbol - by @cexoso in #2973 (d715b)
๐ Bug Fixes
- Use modern Object.hasOwn - by @posva (57ecc)
- Respect skipHydrate marker on non-plain objects in shouldHydrate - by @lestersg5hollis0 and Runecraft in #3126 (2dcb3)
- Prevent duplicate watcher when same callback subscribed twice - by @JSap0914 in #3144 (99dca)
- ci: Pin pnpm to 11.7.0 to match action-setup bootstrap - by @posva (d7973)
- devtools: Make settable getters (computed) editable - by @posva in #3151 (640b1)
- hmr: Preserve runtime-added properties of setup store refs - by @chatman-media in #3132 (aec2a)
View changes on GitHub
- 1.0.35 Nov 2025
Nothing published for this version
- 1.0.24 Jun 2025
Release notes
Open source โ๐ Features
- nuxt: Declare Nuxt 5 compatibility - by @onmax in #3166 (a94de)
- playground: Update to @vue/repl v4 - by @posva in #3163 (b19f9)
๐ Bug Fixes
- Guard VUE_PROD_DEVTOOLS in dist output - by @ShreeBohara and Claude Fable 5 in #3168 (37144)
- ssr: Replace reactive Set/Map state on hydration instead of unioning it - by @winklemad in #3162 (5bdf2)
View changes on GitHub
- 1.0.19 Apr 2025
Release notes
Open source โ๐ Bug Fixes
- Re-add missing types exports field - by @rijkvanzanten in #3154 (fb217)
- types: Avoid reserved .vue at the end of name - by @posva (b0249)
View changes on GitHub
- 1.0.011 Feb 2025
Release notes
Open source โ๐ Features
- Upgrade devtools-api to v8 - by @posva (25572)
- Use nostics for better errors - by @posva (f3522)
- Gracefully skip nullish values in storeToRefs - by @JSap0914 and @posva in #3134 (cac82)
- Diagnostic on invalid properties when doing storeToRefs - by @posva (e7313)
- Diagnostic wrong values in plugins - by @posva (29835)
- Export piniaSymbol - by @cexoso in #2973 (d715b)
๐ Bug Fixes
- Use modern Object.hasOwn - by @posva (57ecc)
- Respect skipHydrate marker on non-plain objects in shouldHydrate - by @lestersg5hollis0 and Runecraft in #3126 (2dcb3)
- Prevent duplicate watcher when same callback subscribed twice - by @JSap0914 in #3144 (99dca)
- ci: Pin pnpm to 11.7.0 to match action-setup bootstrap - by @posva (d7973)
- devtools: Make settable getters (computed) editable - by @posva in #3151 (640b1)
- hmr: Preserve runtime-added properties of setup store refs - by @chatman-media in #3132 (aec2a)
View changes on GitHub
- 0.1.73 Nov 2024
Nothing published for this version
- 0.1.630 Sept 2024
Nothing published for this version
- 0.1.56 Aug 2024
Nothing published for this version
- 0.1.426 Jul 2024
Nothing published for this version
- 0.1.4-beta.017 Apr 2024pre-release
Nothing published for this version
- 0.1.326 Jul 2023
Nothing published for this version
- 0.1.218 May 2023
Nothing published for this version
- 0.1.117 May 2023
Nothing published for this version
- 0.1.08 May 2023
Nothing published for this version
- 0.0.167 Apr 2023
Nothing published for this version
- 0.0.1520 Feb 2023
Nothing published for this version
- 0.0.1418 Aug 2022
Nothing published for this version
- 0.0.1325 Jul 2022
Nothing published for this version
- 0.0.125 May 2022
Nothing published for this version
- 0.0.1131 Mar 2022
Nothing published for this version
- 0.0.1014 Mar 2022
Nothing published for this version
- 0.0.920 Dec 2021
Nothing published for this version
- 0.0.84 Dec 2021
Nothing published for this version
- 0.0.71 Dec 2021
Nothing published for this version
- 0.0.619 Nov 2021
Nothing published for this version
- 0.0.53 Nov 2021
Nothing published for this version
- 0.0.421 Oct 2021
Nothing published for this version
- 0.0.33 Sept 2021
Nothing published for this version
- 0.0.219 Aug 2021
Nothing published for this version
- 0.0.119 Aug 2021
Nothing published for this version