Skip to content

Commit 9a36dd3

Browse files
committed
release: v2.0.0-alpha.1
1 parent 015a5ce commit 9a36dd3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# [2.0.0-alpha.1](https://github.com/posva/pinia/compare/0.1.0-alpha.1...2.0.0-alpha.1) (2020-09-22)
2+
3+
### Features
4+
5+
- access the state and getters through `this` ([#190](https://github.com/posva/pinia/issues/190)) ([6df18ef](https://github.com/posva/pinia/commit/6df18ef49472b0348b09cb84801c9c69ae79b3d9))
6+
- merge all properties under this ([d5eaac1](https://github.com/posva/pinia/commit/d5eaac106c50be8febc25083839e7cb635ccfda7))
7+
8+
### BREAKING CHANGES
9+
10+
- there is no longer a `state` property on the store,
11+
you need to directly access it. `getters` no longer receive parameters,
12+
directly call `this.myState` to read state and other getters.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pinia",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "Some awesome description",
55
"main": "dist/pinia.cjs.js",
66
"browser": "dist/pinia.esm-browser.js",

0 commit comments

Comments
 (0)