---
title: "@pinia/testing v2.0.2 Release Notes | VueDigest"
description: "The @pinia/testing@2.0.2 release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as imp…"
canonical_url: "https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2"
meta:
  "og:description": "The @pinia/testing@2.0.2 release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as imp…"
  "og:image": "https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~VGhlIEBwaW5pYS90ZXN0aW5nQDIuMC4yIHJlbGVhc2UgaW50cm9kdWNlcyB0aGUgbmV3IGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBhbmQgYWRkcyBOdXh0IDUgY29tcGF0aWJpbGl0eS4gSXQgYWxzbyBpbmNsdWRlcyBzZXZlcmFsIGJ1ZyBmaXhlcywgc3VjaCBhcyBpbXDigKY%2Ctitle_~QHBpbmlhL3Rlc3RpbmcgdjIuMC4y%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvcGluaWEtdGVzdGluZy0yLjAuMiI%2Cs_n01SMave7oP2v0GF.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "@pinia/testing v2.0.2 Release Notes"
  "twitter:description": "The @pinia/testing@2.0.2 release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as imp…"
  "twitter:image": "https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~VGhlIEBwaW5pYS90ZXN0aW5nQDIuMC4yIHJlbGVhc2UgaW50cm9kdWNlcyB0aGUgbmV3IGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBhbmQgYWRkcyBOdXh0IDUgY29tcGF0aWJpbGl0eS4gSXQgYWxzbyBpbmNsdWRlcyBzZXZlcmFsIGJ1ZyBmaXhlcywgc3VjaCBhcyBpbXDigKY%2Ctitle_~QHBpbmlhL3Rlc3RpbmcgdjIuMC4y%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvcGluaWEtdGVzdGluZy0yLjAuMiI%2Cs_n01SMave7oP2v0GF.png"
  "twitter:title": "@pinia/testing v2.0.2 Release Notes"
---

> Index of every page on this site: [llms.txt](https://vuedigest.com/llms.txt)

# **@pinia/testing v2.0.2**

[View on GitHub](https://github.com/vuejs/pinia/releases/tag/%40pinia/testing%402.0.2)

vuejs/pinia· Released October 14, 2026

Share [Share on X](https://x.com/intent/tweet?text=%40pinia%2Ftesting+v2.0.2&url=http%3A%2F%2Flocalhost%2Fgithub-releases%2Fvuejs%2Fpinia%2Fpinia-testing-2.0.2)

**Summary**

The @pinia/testing@2.0.2 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)](https://github.com/vuejs/pinia/commit/52fc965f)
- Warn when disposing a replaced store  -  by @Anoesj and @posva in https://github.com/vuejs/pinia/issues/3193 [(bf7ea)](https://github.com/vuejs/pinia/commit/bf7ea468)
- **nuxt**: Declare Nuxt 5 compatibility  -  by @onmax in https://github.com/vuejs/pinia/issues/3166 [(a94de)](https://github.com/vuejs/pinia/commit/a94de275)
- **playground**: Update to @vue/repl v4  -  by @posva in https://github.com/vuejs/pinia/issues/3163 [(b19f9)](https://github.com/vuejs/pinia/commit/b19f9ba8)

###    🐞 Bug Fixes

- Guard **VUE\_PROD\_DEVTOOLS** in dist output  -  by @ShreeBohara and **Claude Fable 5** in https://github.com/vuejs/pinia/issues/3168 [(37144)](https://github.com/vuejs/pinia/commit/37144871)
- 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)](https://github.com/vuejs/pinia/commit/a4eb2c58)
- **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)](https://github.com/vuejs/pinia/commit/6a359e93)
- **nuxt**: Resolve default storesDirs against each layer  -  by @ondrhn in https://github.com/vuejs/pinia/issues/3185 [(98587)](https://github.com/vuejs/pinia/commit/98587ca4)
- **ssr**: Replace reactive Set/Map state on hydration instead of unioning it  -  by @winklemad in https://github.com/vuejs/pinia/issues/3162 [(5bdf2)](https://github.com/vuejs/pinia/commit/5bdf26c7)
- **testing**: Notify shallow refs on initial state  -  by @sergioperezcheco in https://github.com/vuejs/pinia/issues/3187 [(a1581)](https://github.com/vuejs/pinia/commit/a1581860)
- **types**: Avoid reserved .vue at the end of name  -  by @posva [(b0249)](https://github.com/vuejs/pinia/commit/b0249de0)

#####      [View changes on GitHub](https://github.com/vuejs/pinia/compare/@pinia/testing@2.0.1...@pinia/testing@2.0.2)

## **Latest Pinia releases **

[All releases](https://vuedigest.com/github-releases/vuejs/pinia)

- [**@pinia/nuxt@1.0.3**October 14, 2026](https://vuedigest.com/github-releases/vuejs/pinia/pinia-nuxt-1.0.3)
- [**v4.1.0**October 14, 2026](https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0)
- [**@pinia/nuxt@1.0.2**August 12, 2026](https://vuedigest.com/github-releases/vuejs/pinia/pinia-nuxt-1.0.2)
- [**v4.0.3**August 12, 2026](https://vuedigest.com/github-releases/vuejs/pinia/v4.0.3)
- [**@pinia/nuxt@1.0.1**July 16, 2026](https://vuedigest.com/github-releases/vuejs/pinia/pinia-nuxt-1.0.1)

## **Latest articles about Pinia**

![Rijk van Zanten - Guiding Agentic AI with Vue and Pinia](https://i.ytimg.com/vi/kR2GHGPLxSM/hqdefault.jpg)

Apr 16, 2026

## **Rijk van Zanten - Guiding Agentic AI with Vue and Pinia**

**Vuejs Amsterdam**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuedigest.com/#website","@type":"WebSite","description":"Your daily dose of Vue.js and Nuxt news. Curated articles, tutorials, and updates from the Vue ecosystem.","inLanguage":"en","name":"VueDigest","url":"https://vuedigest.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://vuedigest.com/news?search={search_term_string}"},"query-input":"required name=search_term_string"}],"publisher":{"@id":"https://vuedigest.com/#identity"}},{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#webpage","@type":"WebPage","dateModified":"2026-10-14T12:00:30.245Z","datePublished":"2026-10-14T09:22:46.000Z","description":"The @pinia/testing@2.0.2 release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as imp…","name":"@pinia/testing v2.0.2 Release Notes","url":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2","breadcrumb":{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#breadcrumb"},"isPartOf":{"@id":"https://vuedigest.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2"]}],"primaryImageOfPage":{"@id":"https://vuedigest.com/#logo"}},{"@id":"https://vuedigest.com/#identity","@type":"Organization","name":"VueDigest","url":"https://vuedigest.com","logo":{"@id":"https://vuedigest.com/#logo"}},{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#article","about":"Pinia 2.0.2","dateModified":"2026-10-14T12:00:30.245Z","datePublished":"2026-10-14T09:22:46.000Z","description":"The @pinia/testing@2.0.2 release introduces the new `getStores()` feature and adds Nuxt 5 compatibility. It also includes several bug fixes, such as imp…","headline":"@pinia/testing v2.0.2 Release Notes","inLanguage":"en","thumbnailUrl":"https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~VGhlIEBwaW5pYS90ZXN0aW5nQDIuMC4yIHJlbGVhc2UgaW50cm9kdWNlcyB0aGUgbmV3IGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBhbmQgYWRkcyBOdXh0IDUgY29tcGF0aWJpbGl0eS4gSXQgYWxzbyBpbmNsdWRlcyBzZXZlcmFsIGJ1ZyBmaXhlcywgc3VjaCBhcyBpbXDigKY%2Ctitle_~QHBpbmlhL3Rlc3RpbmcgdjIuMC4y%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvcGluaWEtdGVzdGluZy0yLjAuMiI%2Cs_n01SMave7oP2v0GF.png","@type":["Article","TechArticle"],"author":{"@id":"https://vuedigest.com/#identity"},"image":{"@id":"https://vuedigest.com/#/schema/image/1"},"isPartOf":{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#webpage"},"keywords":["Pinia","release notes","changelog"],"mainEntityOfPage":{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#webpage"},"publisher":{"@id":"https://vuedigest.com/#identity"}},{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://vuedigest.com/github-releases","name":"GitHub Releases","position":1},{"@type":"ListItem","item":"https://vuedigest.com/github-releases/vuejs/pinia","name":"Pinia","position":2},{"@type":"ListItem","name":"v2.0.2","position":3}]},{"@id":"https://vuedigest.com/#logo","@type":"ImageObject","caption":"VueDigest","contentUrl":"https://mokkapps.twic.pics/vuedigest.com/logo.png","inLanguage":"en","url":"https://mokkapps.twic.pics/vuedigest.com/logo.png"},{"@id":"https://vuedigest.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~VGhlIEBwaW5pYS90ZXN0aW5nQDIuMC4yIHJlbGVhc2UgaW50cm9kdWNlcyB0aGUgbmV3IGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBhbmQgYWRkcyBOdXh0IDUgY29tcGF0aWJpbGl0eS4gSXQgYWxzbyBpbmNsdWRlcyBzZXZlcmFsIGJ1ZyBmaXhlcywgc3VjaCBhcyBpbXDigKY%2Ctitle_~QHBpbmlhL3Rlc3RpbmcgdjIuMC4y%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvcGluaWEtdGVzdGluZy0yLjAuMiI%2Cs_n01SMave7oP2v0GF.png","inLanguage":"en","url":"https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~VGhlIEBwaW5pYS90ZXN0aW5nQDIuMC4yIHJlbGVhc2UgaW50cm9kdWNlcyB0aGUgbmV3IGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBhbmQgYWRkcyBOdXh0IDUgY29tcGF0aWJpbGl0eS4gSXQgYWxzbyBpbmNsdWRlcyBzZXZlcmFsIGJ1ZyBmaXhlcywgc3VjaCBhcyBpbXDigKY%2Ctitle_~QHBpbmlhL3Rlc3RpbmcgdjIuMC4y%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvcGluaWEtdGVzdGluZy0yLjAuMiI%2Cs_n01SMave7oP2v0GF.png"}]}
```

## Sitemap

See the full [sitemap](https://vuedigest.com/sitemap.md) for all pages.
