]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
release: pinia@3.0.0 @pinia/testing@1.0.0 @pinia/nuxt@0.10.0 @pinia/nuxt@0.10.0 @pinia/testing@1.0.0 v3.0.0
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 11 Feb 2025 14:59:22 +0000 (15:59 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 11 Feb 2025 14:59:22 +0000 (15:59 +0100)
packages/nuxt/CHANGELOG.md
packages/nuxt/package.json
packages/pinia/CHANGELOG.md
packages/pinia/package.json
packages/testing/CHANGELOG.md
packages/testing/package.json

index f4b3fa032ea76e8f762291fd66b7adb2447bf1b7..68f7eb05f136f96059dabb08b419b5d47ff997bd 100644 (file)
@@ -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).
index b0c42b1e16cec4e97f709cb3f6e1094fb871f462..a2fafbc560afa68260f2acff9a28653bb8d8f880 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@pinia/nuxt",
-  "version": "0.9.0",
+  "version": "0.10.0",
   "description": "Nuxt Module for pinia",
   "keywords": [
     "pinia",
index 7d3cc4dfcb57e0192ea659d2d0be7da01ba0a495..c19a922ecab923f3ecb92ee8fe419294437b7542 100644 (file)
@@ -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
index 55e9138c27858e5cf14eaf6899754c3ed7ae880c..726899994aeec2717517954fa4b7654270b83866 100644 (file)
@@ -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",
index ee244c7f61de19ddc8078b0aa13d22488ecf5e4d..a8435eab9dffa1f67be6d6e012252ee952f6b212 100644 (file)
@@ -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.
index ae762ab65376113cb0c6f69824e73917bfb3449c..1a7d669e104b9da1da99186d77644be4e2e93a60 100644 (file)
@@ -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"