]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
release: v2.0.0-alpha.1 v2.0.0-alpha.1
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 22 Sep 2020 13:53:55 +0000 (15:53 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 22 Sep 2020 13:53:55 +0000 (15:53 +0200)
CHANGELOG.md [new file with mode: 0644]
package.json

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644 (file)
index 0000000..81b8b76
--- /dev/null
@@ -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.
index 1cc66d48ad366267c93fcc9d13720b496af0ba54..dcb77579c74d6f42dd74c6f2c59863f0bd851e8b 100644 (file)
@@ -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",