Skip to content

Releases: vuejs/pinia

v2.0.0-alpha.9

31 Mar 10:12
Compare
Choose a tag to compare
v2.0.0-alpha.9 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.8

29 Mar 17:10
Compare
Choose a tag to compare
v2.0.0-alpha.8 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.7

21 Jan 11:36
Compare
Choose a tag to compare
v2.0.0-alpha.7 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.6

31 Dec 19:21
Compare
Choose a tag to compare
v2.0.0-alpha.6 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.5

09 Oct 10:45
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.4

29 Sep 08:55
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.3

28 Sep 16:45
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.2

25 Sep 08:11
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

v2.0.0-alpha.1

22 Sep 13:54
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

Please refer to CHANGELOG.md for details.

🚀 Release 0.1.0

22 Sep 08:37
Compare
Choose a tag to compare
  • feat: access the state and getters through this (#190) (7bb7733)
  • refactor: use defineComponent (cae8fca)

Breaking changes

There is no longer a state property on the store, you need to directly access any property

store.state.counter
// becomes
store.counter

getters no longer receive parameters, directly call this.myState to read state and other getters:

getters: {
  doubleCount: state => state.counter * 2
  // becomes
  doubleCounte() {
    return this.counter * 2
  }
}

More at #190