Skip to content

Commit

Permalink
release: v2.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 22, 2020
1 parent 015a5ce commit 9a36dd3
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
@@ -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.
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-alpha.0",
"version": "2.0.0-alpha.1",
"description": "Some awesome description",
"main": "dist/pinia.cjs.js",
"browser": "dist/pinia.esm-browser.js",
Expand Down

0 comments on commit 9a36dd3

Please sign in to comment.