Skip to content

Commit 73f6a45

Browse files
committed
release: v2.0.0-rc.2
1 parent 07ad921 commit 73f6a45

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [2.0.0-rc.2](https://github.com/posva/pinia/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2021-08-04)
2+
3+
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.
4+
5+
### Bug Fixes
6+
7+
- **devtools:** grouping of actions ([3d760f1](https://github.com/posva/pinia/commit/3d760f1c78936666174c1a352314081bccf11b01))
8+
- **devtools:** reflect changes on HMR ([aebc9a0](https://github.com/posva/pinia/commit/aebc9a0969bec40c06b28f96ff0d1d048f589f31))
9+
10+
### Features
11+
12+
- add support for Vue 2 ([e1ea1c8](https://github.com/posva/pinia/commit/e1ea1c8563816dd99963aae778c03335d0577266))
13+
- enable devtools with Vue 2 ([08cdff5](https://github.com/posva/pinia/commit/08cdff5be7415f8c635fe9431cb32931950e5fcb))
14+
115
# [2.0.0-rc.1](https://github.com/posva/pinia/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2021-07-30)
216

317
Posted https://github.com/posva/pinia/issues/592 to help people installing or upgrading Pinia.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pinia",
3-
"version": "2.0.0-rc.1",
3+
"version": "2.0.0-rc.2",
44
"description": "Intuitive, type safe and flexible Store for Vue",
55
"main": "dist/pinia.cjs.js",
66
"module": "dist/pinia.esm-bundler.js",
@@ -101,19 +101,19 @@
101101
"vite": "^2.4.1",
102102
"vitepress": "^0.15.6",
103103
"vue": "^3.2.0-beta.1",
104-
"vue2": "npm:vue@2",
105104
"vue-promised": "^2.1.0",
106105
"vue-router": "^4.0.10",
106+
"vue2": "npm:vue@2",
107107
"yorkie": "^2.0.0"
108108
},
109109
"dependencies": {
110110
"@vue/devtools-api": "^6.0.0-beta.15",
111111
"vue-demi": "latest"
112112
},
113113
"peerDependencies": {
114+
"@vue/composition-api": "^1.1.0 || ^1.1.0-0",
114115
"typescript": "^4.3.5",
115-
"vue": "^2.6.14 || ^3.2.0 || ^3.2.0-beta.4",
116-
"@vue/composition-api": "^1.1.0 || ^1.1.0-0"
116+
"vue": "^2.6.14 || ^3.2.0 || ^3.2.0-beta.4"
117117
},
118118
"peerDependenciesMeta": {
119119
"typescript": {

0 commit comments

Comments
 (0)