Skip to content

Latest commit

 

History

History
97 lines (55 loc) · 4.47 KB

CHANGELOG.md

File metadata and controls

97 lines (55 loc) · 4.47 KB

2.0.0-alpha.9 (2021-03-31)

Bug Fixes

  • types: pass custom properties to stores (d26df6e)

2.0.0-alpha.8 (2021-03-29)

Bug Fixes

  • use assign instead of spread (b2bb5ba)
  • cjs: ensure dev checks on cjs build (a255735)

Features

  • devtools: logo and titles (0963fd0)

2.0.0-alpha.7 (2021-01-21)

Bug Fixes

Features

  • enable calling useStore() in client (c949b80)
  • store plugins (f027bf5)

2.0.0-alpha.6 (2020-12-31)

Bug Fixes

Features

BREAKING CHANGES

  • setActiveReq() has been renamed to setActivePinia(). And now receives the application's pinia as the first parameter instead of an arbitrary object (like a Node http request). This affects particularly users doing SSR but also enables them to write universal code.

2.0.0-alpha.5 (2020-10-09)

Code Refactoring

BREAKING CHANGES

  • all store properties (id, state, patch, subscribe, and reset) are now prefixed with $ to allow properties defined with the same type and avoid types breaking. Tip: you can refactor your whole codebase with F2 (or right-click + Refactor) on each of the store's properties

2.0.0-alpha.4 (2020-09-29)

Bug Fixes

  • detach stores creation from currentInstance (dc31736)

2.0.0-alpha.3 (2020-09-28)

Code Refactoring

  • rename createStore to defineStore (a9ad160)

Features

  • deprecation message createStore (3054251)
  • ssr: support ssr (59709e0)

BREAKING CHANGES

  • renamed createStore to defineStore. createStore will be marked as deprecated during the alpha releases and then be dropped.

2.0.0-alpha.2 (2020-09-25)

Features

2.0.0-alpha.1 (2020-09-22)

Features

  • access the state and getters through this (#190) (6df18ef)
  • merge all properties under this (d5eaac1)

BREAKING CHANGES

  • state properties no longer need to be accessed through store.state
  • getters no longer receive parameters, access the store instance via this: directly call this.myState to read state and other getters.