Skip to content

Commit

Permalink
release: v2.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jul 30, 2021
1 parent a7dadff commit 2a1d789
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# [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.

### Bug Fixes

- collect reactive effects ran in plugins ([54cee00](https://github.com/posva/pinia/commit/54cee009cf15a5086ad031da65278a7689230587))
- **devtools:** update when custom properties change ([7dcb71e](https://github.com/posva/pinia/commit/7dcb71e8182900c451a56f1ad9e0e931dba48dcb))
- **store:** keep original refs with $reset ([a7dadff](https://github.com/posva/pinia/commit/a7dadfff8aae4abb83696a47904b030295408a09)), closes [#593](https://github.com/posva/pinia/issues/593)

# [2.0.0-rc.0](https://github.com/posva/pinia/compare/v2.0.0-beta.5...v2.0.0-rc.0) (2021-07-28)

## Required Vue version ‼️

This release requires Vue 3.2.0, which is currently only available under the `beta` dist tag (`npm i vue@beta` or `yarn add vue@beta` + the corresponding packages like `@vue/compiler-sfc@beta`).

Follow the instructions at https://github.com/posva/pinia/issues/592 if you need help updating your package versions.

It contains major improvements:

- Performance: Pinia now uses `effectScope()`, effectively reducing memory consumption and removing the drawbacks mentioned in the Plugin section about `useStore()` creating multiple store instances (still sharing the state).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinia",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "Intuitive, type safe and flexible Store for Vue",
"main": "dist/pinia.cjs.js",
"module": "dist/pinia.esm-bundler.js",
Expand Down

0 comments on commit 2a1d789

Please sign in to comment.