github vuejs/pinia v3.0.0
Pinia 3.0

15 hours ago

This version of Pinia has no new features, it drops support for Vue 2 and other deprecated APIs. It should be an straightforward upgrade for most users! 🎉

See the migration guide for help.

⚠ BREAKING CHANGES

  • We now use the native Awaited introduced in TS 4.5, so you need at least TS 4.5 to use Pinia 3.0. That being said, it's always better to have an up to date version of TS.
  • PiniaStorePlugin is now removed. Use PiniaPlugin instead.
  • defineStore({ id: 'id' }) is now removed. Use defineStore('id') instead
  • Pinia is now published as a type: module package but it still provides CJS versions dist files

Please refer to CHANGELOG.md for details.

Don't miss a new pinia release

NewReleases is sending notifications on new releases.