]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
release: v2.0.0-rc.2 v2.0.0-rc.2
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 4 Aug 2021 14:36:29 +0000 (16:36 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 4 Aug 2021 14:36:29 +0000 (16:36 +0200)
CHANGELOG.md
package.json

index b1a056d7ba2bc34c332c2e7380d1acf03856d06b..fc6e3d6a54281d9a266d529eb7b51076001b14e8 100644 (file)
@@ -1,3 +1,17 @@
+# [2.0.0-rc.2](https://github.com/posva/pinia/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2021-08-04)
+
+This version supports Vue 2! [Here](https://github.com/posva/pinia-vue-2-vite-example) is an example using Vue 2 and Vite for an optimal DX. **Note this version requires Vue Devtools 6**, and more specifically, they don't work with the current `@vue/devtools-api` (`6.0.0-beta.15`) because they require [this unreleased fix](https://github.com/vuejs/devtools/commit/3db47027d81c1701d2ddfe1dd86bae0d7ce63cef). To get all the goodness pinia has to offer **for Vue 2**, you will need to clone `vuejs/devtools`, run `yarn && yarn run build` and then _load an unpacked extension_ on a Chromium browser (after activating the developer mode in the extension panel). If you are using Vue 3, you can still use the Vue Devtools 6 regularly.
+
+### Bug Fixes
+
+- **devtools:** grouping of actions ([3d760f1](https://github.com/posva/pinia/commit/3d760f1c78936666174c1a352314081bccf11b01))
+- **devtools:** reflect changes on HMR ([aebc9a0](https://github.com/posva/pinia/commit/aebc9a0969bec40c06b28f96ff0d1d048f589f31))
+
+### Features
+
+- add support for Vue 2 ([e1ea1c8](https://github.com/posva/pinia/commit/e1ea1c8563816dd99963aae778c03335d0577266))
+- enable devtools with Vue 2 ([08cdff5](https://github.com/posva/pinia/commit/08cdff5be7415f8c635fe9431cb32931950e5fcb))
+
 # [2.0.0-rc.1](https://github.com/posva/pinia/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2021-07-30)
 
 Posted https://github.com/posva/pinia/issues/592 to help people installing or upgrading Pinia.
index d3e5d6563b1c81740be34b447272b6943be5db7a..b0f611957b342274af2ccecbca5122ceb4192550 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "pinia",
-  "version": "2.0.0-rc.1",
+  "version": "2.0.0-rc.2",
   "description": "Intuitive, type safe and flexible Store for Vue",
   "main": "dist/pinia.cjs.js",
   "module": "dist/pinia.esm-bundler.js",
     "vite": "^2.4.1",
     "vitepress": "^0.15.6",
     "vue": "^3.2.0-beta.1",
-    "vue2": "npm:vue@2",
     "vue-promised": "^2.1.0",
     "vue-router": "^4.0.10",
+    "vue2": "npm:vue@2",
     "yorkie": "^2.0.0"
   },
   "dependencies": {
     "vue-demi": "latest"
   },
   "peerDependencies": {
+    "@vue/composition-api": "^1.1.0 || ^1.1.0-0",
     "typescript": "^4.3.5",
-    "vue": "^2.6.14 || ^3.2.0 || ^3.2.0-beta.4",
-    "@vue/composition-api": "^1.1.0 || ^1.1.0-0"
+    "vue": "^2.6.14 || ^3.2.0 || ^3.2.0-beta.4"
   },
   "peerDependenciesMeta": {
     "typescript": {