From: Eduardo San Martin Morote Date: Tue, 11 Feb 2025 14:59:22 +0000 (+0100) Subject: release: pinia@3.0.0 @pinia/testing@1.0.0 @pinia/nuxt@0.10.0 X-Git-Tag: @pinia/nuxt@0.10.0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3b5f6d39971e55e2de0283c0e5f2bfc3c0d12a5;p=thirdparty%2Fvuejs%2Fpinia.git release: pinia@3.0.0 @pinia/testing@1.0.0 @pinia/nuxt@0.10.0 --- diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index f4b3fa03..68f7eb05 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.10.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.9.0...@pinia/nuxt@0.10.0) (2025-02-11) + +This version requires Vue 3.0 and Pinia 3.0. See the [migration guide](https://pinia.vuejs.org/cookbook/migration-v2-v3.html) for more information. + ## [0.9.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.8.0...@pinia/nuxt@0.9.0) (2024-12-04) This version requires at least Vue 2.7. On January 2025, Pinia 3.0 and `@pinia/nuxt` 1.0 will drop support for Vue 2 (which already reached EOL last year). If you need support or help migrating, you can [book help with Eduardo (@posva)](https://cal.com/posva/consultancy). diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index b0c42b1e..a2fafbc5 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@pinia/nuxt", - "version": "0.9.0", + "version": "0.10.0", "description": "Nuxt Module for pinia", "keywords": [ "pinia", diff --git a/packages/pinia/CHANGELOG.md b/packages/pinia/CHANGELOG.md index 7d3cc4df..c19a922e 100644 --- a/packages/pinia/CHANGELOG.md +++ b/packages/pinia/CHANGELOG.md @@ -1,3 +1,22 @@ +## [3.0.0](https://github.com/vuejs/pinia/compare/pinia@2.2.6...pinia@3.0.0) (2025-02-11) + +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](https://pinia.vuejs.org/cookbook/migration-v2-v3.html) 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 + +### Code Refactoring + +- remove deprecated aliases ([87c6182](https://github.com/vuejs/pinia/commit/87c6182c4bf61e1f96a4877eb884fd59cf824e1f)) +- remove internal type `_Awaited` ([ce48ec4](https://github.com/vuejs/pinia/commit/ce48ec46e0d7626eeefa0ee9c4e8c6b65fce31e1)) +- remove support for `id` as a property in `defineStore` ([24b2b89](https://github.com/vuejs/pinia/commit/24b2b89c7be4ffda8b6fbc35155757f5780971d8)) + ### [2.3.1](https://github.com/vuejs/pinia/compare/pinia@2.2.6...pinia@2.3.1) (2025-01-20) ### Bug Fixes diff --git a/packages/pinia/package.json b/packages/pinia/package.json index 55e9138c..72689999 100644 --- a/packages/pinia/package.json +++ b/packages/pinia/package.json @@ -1,6 +1,6 @@ { "name": "pinia", - "version": "2.3.1", + "version": "3.0.0", "description": "Intuitive, type safe and flexible Store for Vue", "type": "module", "main": "index.cjs", diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index ee244c7f..a8435eab 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,3 +1,11 @@ +## [1.0.0](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.7...@pinia/testing@1.0.0) (2025-02-11) + +The testing package has been stable for a long time so it was time to have a v1! + +### Features + +- **testing:** warn about incorrect createSpy ([394f655](https://github.com/vuejs/pinia/commit/394f6553d13f2b46c6e52a68145c24699b98e7fa)), closes [#2896](https://github.com/vuejs/pinia/issues/2896) + ## [0.1.7](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.6...@pinia/testing@0.1.7) (2024-11-03) No code changes in this release. diff --git a/packages/testing/package.json b/packages/testing/package.json index ae762ab6..1a7d669e 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@pinia/testing", - "version": "0.1.7", + "version": "1.0.0", "description": "Testing module for Pinia", "keywords": [ "vue", @@ -48,7 +48,7 @@ "tsup": "^8.3.6" }, "peerDependencies": { - "pinia": ">=2.2.6" + "pinia": ">=3.0.0" }, "publishConfig": { "access": "public"