Pinia v4.0.0

vuejs/pinia
Share
Summary
Pinia v4.0.0 introduces breaking changes with an ESM-only approach and requires the installation of `@vue/devtools-api` alongside it. Key enhancements include improved error diagnostics using Nostics, better handling of nullish values in `storeToRefs`, and various bug fixes aimed at enhancing performance and usability.

Full release notes

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. They will ensure detected problems are easier to fix, both by humans and by agents.

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

Latest Pinia releases

All releases

Latest articles about Pinia

Rijk van Zanten - Guiding Agentic AI with Vue and Pinia

Rijk van Zanten - Guiding Agentic AI with Vue and Pinia

Vuejs Amsterdam