Releases: vuejs/pinia
Releases · vuejs/pinia
v2.0.0-alpha.9
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.8
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.7
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.6
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.5
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.4
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.3
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.2
Please refer to CHANGELOG.md for details.
v2.0.0-alpha.1
Please refer to CHANGELOG.md for details.
🚀 Release 0.1.0
- 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