]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
release: @pinia/nuxt@0.5.0 pinia@2.1.7 @pinia/nuxt@0.5.0 pinia@2.1.7
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 13 Oct 2023 09:39:19 +0000 (11:39 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 13 Oct 2023 09:39:19 +0000 (11:39 +0200)
packages/nuxt/CHANGELOG.md
packages/nuxt/package.json
packages/pinia/CHANGELOG.md
packages/pinia/package.json
pnpm-lock.yaml

index 994f2b0f5bb8368b6092833ae017e8493b5acb1a..3e4e5a8db940816d01311aa180fe676a75b1ce08 100644 (file)
@@ -1,3 +1,18 @@
+# [0.5.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.4.11...@pinia/nuxt@0.5.0) (2023-10-13)
+
+### Features
+
+- **imports:** add storeDirs auto import ([70a95ba](https://github.com/vuejs/pinia/commit/70a95ba9b1d6a55aeea72088dfedd478aa4db766)), closes [#1604](https://github.com/vuejs/pinia/issues/1604)
+
+### BREAKING CHANGES
+
+- **imports:** the option `autoImports` has been removed as it offered  
+  no value compared to the existing `imports` option in Nuxt. Instead, we
+  are automatically adding `defineStore()`, and `acceptHMRUpdate()` to the
+  list of auto imported functions. We are also adding the `./stores` dirs
+  to auto imports now, so if you were manually adding that option, it can
+  be removed.
+
 ## [0.4.11](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.4.10...@pinia/nuxt@0.4.11) (2023-05-17)
 
 This release only contains build related changes
index 47e2c88cfe764f1253a3be6229269257580ff3fb..6feef213e0a690642a4b93c0ffd0fe2765255cc6 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "@pinia/nuxt",
-  "version": "0.4.11",
+  "version": "0.5.0",
   "description": "Nuxt Module for pinia",
   "keywords": [
     "pinia",
@@ -47,7 +47,7 @@
   },
   "dependencies": {
     "@nuxt/kit": "^3.5.0",
-    "pinia": ">=2.1.0"
+    "pinia": ">=2.1.7"
   },
   "devDependencies": {
     "@nuxt/module-builder": "^0.3.1",
index aa0a7e4fba60c9207f503991068cb863bfedc8d5..5bff128acf47be05c6d46bb60c97a49afda10d0a 100644 (file)
@@ -1,3 +1,14 @@
+## [2.1.7](https://github.com/vuejs/pinia/compare/pinia@2.1.6...pinia@2.1.7) (2023-10-13)
+
+### Bug Fixes
+
+- **devtools:** correctly load initial states ([9d49e30](https://github.com/vuejs/pinia/commit/9d49e3005ca677f8892e7af209e96d43b41e121c))
+
+### Features
+
+- **types:** SetupStoreDefinition ([391f9ac](https://github.com/vuejs/pinia/commit/391f9ac4f5e845afdd4b7d44fb1a9c7fb2b299a0))
+- **warn:** improve getActivePinia warning ([4640f09](https://github.com/vuejs/pinia/commit/4640f09d12094d8c2c2d9d2039b4479fd7d38d35))
+
 ## [2.1.6](https://github.com/vuejs/pinia/compare/pinia@2.1.5...pinia@2.1.6) (2023-07-26)
 
 ### Bug Fixes
index b557ce135e2e110d2551b9e37cc8ed437452c6b2..c92ba9b9185c509ef5828a20b4af5f2653591e5f 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "pinia",
-  "version": "2.1.6",
+  "version": "2.1.7",
   "description": "Intuitive, type safe and flexible Store for Vue",
   "main": "index.js",
   "module": "dist/pinia.mjs",
index fe724aee4910d8823cbfeba077105620917d6594..3dce2330834a62088fce95a09b56e6564caeea40 100644 (file)
@@ -129,7 +129,7 @@ importers:
         specifier: ^3.4.3
         version: 3.5.0(rollup@3.29.4)
       pinia:
-        specifier: '>=2.1.0'
+        specifier: '>=2.1.7'
         version: link:../pinia
     devDependencies:
       '@nuxt/module-builder':