Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 11, 2025
1 parent a2eda6e commit e3b5f6d
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 4 deletions.
4 changes: 4 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.10.0](https://github.com/vuejs/pinia/compare/@pinia/[email protected]...@pinia/[email protected]) (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/[email protected]...@pinia/[email protected]) (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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pinia/nuxt",
"version": "0.9.0",
"version": "0.10.0",
"description": "Nuxt Module for pinia",
"keywords": [
"pinia",
Expand Down
19 changes: 19 additions & 0 deletions packages/pinia/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## [3.0.0](https://github.com/vuejs/pinia/compare/[email protected]@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/[email protected]@2.3.1) (2025-01-20)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/pinia/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.0.0](https://github.com/vuejs/pinia/compare/@pinia/[email protected]...@pinia/[email protected]) (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/[email protected]...@pinia/[email protected]) (2024-11-03)

No code changes in this release.
Expand Down
4 changes: 2 additions & 2 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pinia/testing",
"version": "0.1.7",
"version": "1.0.0",
"description": "Testing module for Pinia",
"keywords": [
"vue",
Expand Down Expand Up @@ -48,7 +48,7 @@
"tsup": "^8.3.6"
},
"peerDependencies": {
"pinia": ">=2.2.6"
"pinia": ">=3.0.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit e3b5f6d

Please sign in to comment.