---
title: "Pinia v4.1.0 Release Notes | VueDigest"
description: "Pinia v4.1.0 introduces the `getStores()` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include en…"
canonical_url: "https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0"
meta:
  "og:description": "Pinia v4.1.0 introduces the `getStores()` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include en…"
  "og:image": "https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~UGluaWEgdjQuMS4wIGludHJvZHVjZXMgdGhlIGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBmb3IgaW1wcm92ZWQgc3RvcmUgbWFuYWdlbWVudCBhbmQgYWRkcyB3YXJuaW5ncyBmb3IgZGlzcG9zaW5nIG9mIHJlcGxhY2VkIHN0b3Jlcy4gQnVnIGZpeGVzIGluY2x1ZGUgZW7igKY%2Ctitle_Pinia%2Bv4.1.0%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvdjQuMS4wIg%2Cs_Hd9Fpuz1ATZCeB3j.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Pinia v4.1.0 Release Notes"
  "twitter:description": "Pinia v4.1.0 introduces the `getStores()` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include en…"
  "twitter:image": "https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~UGluaWEgdjQuMS4wIGludHJvZHVjZXMgdGhlIGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBmb3IgaW1wcm92ZWQgc3RvcmUgbWFuYWdlbWVudCBhbmQgYWRkcyB3YXJuaW5ncyBmb3IgZGlzcG9zaW5nIG9mIHJlcGxhY2VkIHN0b3Jlcy4gQnVnIGZpeGVzIGluY2x1ZGUgZW7igKY%2Ctitle_Pinia%2Bv4.1.0%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvdjQuMS4wIg%2Cs_Hd9Fpuz1ATZCeB3j.png"
  "twitter:title": "Pinia v4.1.0 Release Notes"
---

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

# **Pinia v4.1.0**

[View on GitHub](https://github.com/vuejs/pinia/releases/tag/v4.1.0)

vuejs/pinia· Released October 14, 2026

Share [Share on X](https://x.com/intent/tweet?text=Pinia+v4.1.0&url=http%3A%2F%2Flocalhost%2Fgithub-releases%2Fvuejs%2Fpinia%2Fv4.1.0)

**Summary**

Pinia v4.1.0 introduces the \`getStores()\` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include enhancements for shallow refs, HMR state preservation, and improved Nuxt integration for store directories.

## **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)

###    🐞 Bug Fixes

- 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)
- **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)

#####      [View changes on GitHub](https://github.com/vuejs/pinia/compare/v4.0.3...v4.1.0)

## **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)
- [**@pinia/testing@2.0.2**October 14, 2026](https://vuedigest.com/github-releases/vuejs/pinia/pinia-testing-2.0.2)
- [**@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/v4.1.0#webpage","@type":"WebPage","dateModified":"2026-10-14T12:00:30.409Z","datePublished":"2026-10-14T09:22:48.000Z","description":"Pinia v4.1.0 introduces the `getStores()` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include en…","name":"Pinia v4.1.0 Release Notes","url":"https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0","breadcrumb":{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0#breadcrumb"},"isPartOf":{"@id":"https://vuedigest.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0"]}],"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/v4.1.0#article","about":"Pinia 4.1.0","dateModified":"2026-10-14T12:00:30.409Z","datePublished":"2026-10-14T09:22:48.000Z","description":"Pinia v4.1.0 introduces the `getStores()` feature for improved store management and adds warnings for disposing of replaced stores. Bug fixes include en…","headline":"Pinia v4.1.0 Release Notes","inLanguage":"en","thumbnailUrl":"https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~UGluaWEgdjQuMS4wIGludHJvZHVjZXMgdGhlIGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBmb3IgaW1wcm92ZWQgc3RvcmUgbWFuYWdlbWVudCBhbmQgYWRkcyB3YXJuaW5ncyBmb3IgZGlzcG9zaW5nIG9mIHJlcGxhY2VkIHN0b3Jlcy4gQnVnIGZpeGVzIGluY2x1ZGUgZW7igKY%2Ctitle_Pinia%2Bv4.1.0%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvdjQuMS4wIg%2Cs_Hd9Fpuz1ATZCeB3j.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/v4.1.0#webpage"},"keywords":["Pinia","release notes","changelog"],"mainEntityOfPage":{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0#webpage"},"publisher":{"@id":"https://vuedigest.com/#identity"}},{"@id":"https://vuedigest.com/github-releases/vuejs/pinia/v4.1.0#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":"v4.1.0","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_~UGluaWEgdjQuMS4wIGludHJvZHVjZXMgdGhlIGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBmb3IgaW1wcm92ZWQgc3RvcmUgbWFuYWdlbWVudCBhbmQgYWRkcyB3YXJuaW5ncyBmb3IgZGlzcG9zaW5nIG9mIHJlcGxhY2VkIHN0b3Jlcy4gQnVnIGZpeGVzIGluY2x1ZGUgZW7igKY%2Ctitle_Pinia%2Bv4.1.0%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvdjQuMS4wIg%2Cs_Hd9Fpuz1ATZCeB3j.png","inLanguage":"en","url":"https://vuedigest.com/_og/d/c_Template.takumi%2Cdescription_~UGluaWEgdjQuMS4wIGludHJvZHVjZXMgdGhlIGBnZXRTdG9yZXMoKWAgZmVhdHVyZSBmb3IgaW1wcm92ZWQgc3RvcmUgbWFuYWdlbWVudCBhbmQgYWRkcyB3YXJuaW5ncyBmb3IgZGlzcG9zaW5nIG9mIHJlcGxhY2VkIHN0b3Jlcy4gQnVnIGZpeGVzIGluY2x1ZGUgZW7igKY%2Ctitle_Pinia%2Bv4.1.0%2Cp_Ii9naXRodWItcmVsZWFzZXMvdnVlanMvcGluaWEvdjQuMS4wIg%2Cs_Hd9Fpuz1ATZCeB3j.png"}]}
```

## Sitemap

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