From 73f6a45d3145a566c0884977164dc0d4e16121e5 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 4 Aug 2021 16:36:29 +0200 Subject: [PATCH] release: v2.0.0-rc.2 --- CHANGELOG.md | 14 ++++++++++++++ package.json | 8 ++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1a056d7..fc6e3d6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/package.json b/package.json index d3e5d656..b0f61195 100644 --- a/package.json +++ b/package.json @@ -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", @@ -101,9 +101,9 @@ "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": { @@ -111,9 +111,9 @@ "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": { -- 2.47.3