From 9a36dd3c723d7e08c8fcd3557ffebe67fafe0748 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 22 Sep 2020 15:53:55 +0200 Subject: [PATCH] release: v2.0.0-alpha.1 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..81b8b769 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# [2.0.0-alpha.1](https://github.com/posva/pinia/compare/0.1.0-alpha.1...2.0.0-alpha.1) (2020-09-22) + +### Features + +- access the state and getters through `this` ([#190](https://github.com/posva/pinia/issues/190)) ([6df18ef](https://github.com/posva/pinia/commit/6df18ef49472b0348b09cb84801c9c69ae79b3d9)) +- merge all properties under this ([d5eaac1](https://github.com/posva/pinia/commit/d5eaac106c50be8febc25083839e7cb635ccfda7)) + +### BREAKING CHANGES + +- there is no longer a `state` property on the store, + you need to directly access it. `getters` no longer receive parameters, + directly call `this.myState` to read state and other getters. diff --git a/package.json b/package.json index 1cc66d48..dcb77579 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pinia", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "description": "Some awesome description", "main": "dist/pinia.cjs.js", "browser": "dist/pinia.esm-browser.js", -- 2.47.2