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.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pinia](https://pinia.vuejs.org) ([source](https://github.com/vuejs/pinia)) | [`3.0.4` → `4.0.3`](https://renovatebot.com/diffs/npm/pinia/3.0.4/4.0.3) |  |  |
---
### Release Notes
<details>
<summary>vuejs/pinia (pinia)</summary>
### [`v4.0.3`](https://github.com/vuejs/pinia/releases/tag/v4.0.3)
[Compare Source](https://github.com/vuejs/pinia/compare/v4.0.2...v4.0.3)
##### 🚀 Features
- **nuxt**: Declare Nuxt 5 compatibility - by [@​onmax](https://github.com/onmax) in [#​3166](https://github.com/vuejs/pinia/issues/3166) [<samp>(a94de)</samp>](https://github.com/vuejs/pinia/commit/a94de275)
- **playground**: Update to [@​vue/repl](https://github.com/vue/repl) v4 - by [@​posva](https://github.com/posva) in [#​3163](https://github.com/vuejs/pinia/issues/3163) [<samp>(b19f9)</samp>](https://github.com/vuejs/pinia/commit/b19f9ba8)
##### 🐞 Bug Fixes
- Guard **VUE\_PROD\_DEVTOOLS** in dist output - by [@​ShreeBohara](https://github.com/ShreeBohara) and **Claude Fable 5** in [#​3168](https://github.com/vuejs/pinia/issues/3168) [<samp>(37144)</samp>](https://github.com/vuejs/pinia/commit/37144871)
- **ssr**: Replace reactive Set/Map state on hydration instead of unioning it - by [@​winklemad](https://github.com/winklemad) in [#​3162](https://github.com/vuejs/pinia/issues/3162) [<samp>(5bdf2)</samp>](https://github.com/vuejs/pinia/commit/5bdf26c7)
- **types**: Avoid reserved .vue at the end of name - by [@​posva](https://github.com/posva) [<samp>(b0249)</samp>](https://github.com/vuejs/pinia/commit/b0249de0)
##### [View changes on GitHub](https://github.com/vuejs/pinia/compare/v4.0.2...v4.0.3)
### [`v4.0.2`](https://github.com/vuejs/pinia/releases/tag/v4.0.2)
[Compare Source](https://github.com/vuejs/pinia/compare/v4.0.1...v4.0.2)
*No significant changes*
##### [View changes on GitHub](https://github.com/vuejs/pinia/compare/v4.0.1...v4.0.2)
### [`v4.0.1`](https://github.com/vuejs/pinia/releases/tag/v4.0.1)
[Compare Source](https://github.com/vuejs/pinia/compare/v4.0.0...v4.0.1)
##### 🐞 Bug Fixes
- Re-add missing types exports field - by [@​rijkvanzanten](https://github.com/rijkvanzanten) in [#​3154](https://github.com/vuejs/pinia/issues/3154) [<samp>(fb217)</samp>](https://github.com/vuejs/pinia/commit/fb217666)
##### [View changes on GitHub](https://github.com/vuejs/pinia/compare/v4.0.0...v4.0.1)
### [`v4.0.0`](https://github.com/vuejs/pinia/releases/tag/v4.0.0)
[Compare Source](https://github.com/vuejs/pinia/compare/v3.0.4...v4.0.0)
<p align="center">
<a href="https://pinia.vuejs.org" target="_blank" rel="noopener noreferrer">
<img width="180" src="https://pinia.vuejs.org/logo.svg" alt="Pinia logo">
</a>
</p>
#### Pinia 4
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](https://nostics.dev). They will ensure detected problems are easier to fix, both by humans and by agents.
##### 🚀 Features
- Upgrade devtools-api to v8 - by [@​posva](https://github.com/posva) [<samp>(25572)</samp>](https://github.com/vuejs/pinia/commit/255723d7)
- Use nostics for better errors - by [@​posva](https://github.com/posva) [<samp>(f3522)</samp>](https://github.com/vuejs/pinia/commit/f3522434)
- Gracefully skip nullish values in storeToRefs - by [@​JSap0914](https://github.com/JSap0914) and [@​posva](https://github.com/posva) in [#​3134](https://github.com/vuejs/pinia/issues/3134) [<samp>(cac82)</samp>](https://github.com/vuejs/pinia/commit/cac82630)
- Diagnostic on invalid properties when doing storeToRefs - by [@​posva](https://github.com/posva) [<samp>(e7313)</samp>](https://github.com/vuejs/pinia/commit/e7313597)
- Diagnostic wrong values in plugins - by [@​posva](https://github.com/posva) [<samp>(29835)</samp>](https://github.com/vuejs/pinia/commit/29835d1f)
- Export piniaSymbol - by [@​cexoso](https://github.com/cexoso) in [#​2973](https://github.com/vuejs/pinia/issues/2973) [<samp>(d715b)</samp>](https://github.com/vuejs/pinia/commit/d715bda4)
##### 🐞 Bug Fixes
- Use modern Object.hasOwn - by [@​posva](https://github.com/posva) [<samp>(57ecc)</samp>](https://github.com/vuejs/pinia/commit/57eccd66)
- Respect skipHydrate marker on non-plain objects in shouldHydrate - by [@​lestersg5hollis0](https://github.com/lestersg5hollis0) and **Runecraft** in [#​3126](https://github.com/vuejs/pinia/issues/3126) [<samp>(2dcb3)</samp>](https://github.com/vuejs/pinia/commit/2dcb37f6)
- Prevent duplicate watcher when same callback subscribed twice - by [@​JSap0914](https://github.com/JSap0914) in [#​3144](https://github.com/vuejs/pinia/issues/3144) [<samp>(99dca)</samp>](https://github.com/vuejs/pinia/commit/99dcae6f)
- **ci**: Pin pnpm to 11.7.0 to match action-setup bootstrap - by [@​posva](https://github.com/posva) [<samp>(d7973)</samp>](https://github.com/vuejs/pinia/commit/d797385b)
- **devtools**: Make settable getters (computed) editable - by [@​posva](https://github.com/posva) in [#​3151](https://github.com/vuejs/pinia/issues/3151) [<samp>(640b1)</samp>](https://github.com/vuejs/pinia/commit/640b16b9)
- **hmr**: Preserve runtime-added properties of setup store refs - by [@​chatman-media](https://github.com/chatman-media) in [#​3132](https://github.com/vuejs/pinia/issues/3132) [<samp>(aec2a)</samp>](https://github.com/vuejs/pinia/commit/aec2ac24)
##### [View changes on GitHub](https://github.com/vuejs/pinia/compare/v3.0.4...v4.0.0)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDMuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE0LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @pinia/nuxt@0.11.3
npm error Found: pinia@4.0.3
npm error node_modules/pinia
npm error pinia@"4.0.3" from the root project
npm error peerOptional pinia@">=3.0.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error 1 more (vue-router)
npm error
npm error Could not resolve dependency:
npm error peer pinia@"^3.0.4" from @pinia/nuxt@0.11.3
npm error node_modules/@pinia/nuxt
npm error @pinia/nuxt@"0.11.3" from the root project
npm error peerOptional @pinia/nuxt@">=0.10.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error
npm error Conflicting peer dependency: pinia@3.0.4
npm error node_modules/pinia
npm error peer pinia@"^3.0.4" from @pinia/nuxt@0.11.3
npm error node_modules/@pinia/nuxt
npm error @pinia/nuxt@"0.11.3" from the root project
npm error peerOptional @pinia/nuxt@">=0.10.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2026-08-15T14_05_24_697Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-08-15T14_05_24_697Z-debug-0.log
### ⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
##### File name: package-lock.json
```
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @pinia/nuxt@0.11.3
npm error Found: pinia@4.0.3
npm error node_modules/pinia
npm error pinia@"4.0.3" from the root project
npm error peerOptional pinia@">=3.0.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error 1 more (vue-router)
npm error
npm error Could not resolve dependency:
npm error peer pinia@"^3.0.4" from @pinia/nuxt@0.11.3
npm error node_modules/@pinia/nuxt
npm error @pinia/nuxt@"0.11.3" from the root project
npm error peerOptional @pinia/nuxt@">=0.10.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error
npm error Conflicting peer dependency: pinia@3.0.4
npm error node_modules/pinia
npm error peer pinia@"^3.0.4" from @pinia/nuxt@0.11.3
npm error node_modules/@pinia/nuxt
npm error @pinia/nuxt@"0.11.3" from the root project
npm error peerOptional @pinia/nuxt@">=0.10.0" from pinia-plugin-persistedstate@4.7.1
npm error node_modules/pinia-plugin-persistedstate
npm error pinia-plugin-persistedstate@"4.7.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2026-08-15T14_05_24_697Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-08-15T14_05_24_697Z-debug-0.log
```
renovate
changed title from fix(deps): update dependency pinia to v4 to fix(deps): update dependency pinia to v4 - autoclosed2026-08-17 10:04:31 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
3.0.4→4.0.3Release Notes
vuejs/pinia (pinia)
v4.0.3Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v4.0.2Compare Source
No significant changes
View changes on GitHub
v4.0.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.0.0Compare Source
Pinia 4
Pinia 4 contains only technically breaking changes: ESM only and upgrading
@vue/devtools-apiwhich 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.🚀 Features
🐞 Bug Fixes
View changes on GitHub
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
87959869d5tofe941ba4cefe941ba4ceto1d9b3a7b631d9b3a7b63to90598a78d2fix(deps): update dependency pinia to v4to fix(deps): update dependency pinia to v4 - autoclosedPull request closed