From: Eduardo San Martin Morote Date: Tue, 22 Sep 2020 13:53:55 +0000 (+0200) Subject: release: v2.0.0-alpha.1 X-Git-Tag: v2.0.0-alpha.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a36dd3c723d7e08c8fcd3557ffebe67fafe0748;p=thirdparty%2Fvuejs%2Fpinia.git release: v2.0.0-alpha.1 --- 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",