Skip to content

v0.1.0

Compare
Choose a tag to compare
@reed-jones reed-jones released this 13 Feb 15:27
· 99 commits to master since this release

[0.1.0] - 2020-02-13

Added

  • response()->vuex() and response()->phase() now behave the same. response()->phase() is preferred.
  • Phased\State\Factories\VuexFactory::lazyLoad($namespace, $key) has been introduced so now ModuleLoaders can easily be lazy loaded without modification
  • Phased\State\Factories\VuexFactory::commit($mutation, $value) has been added, with the caveat that mutations cannot be run on initial page load
  • Phased\State\Factories\VuexFactory::dispatch($action, $value) has been added, with the caveat that actions cannot be run on initial page load
  • Added actions/mutations to axios interceptors

Deprecated

  • response()->vuex() is deprecated, and response()->phase() is the preferred, however there are currently no plans to remove it.
  • Phased\State\Factories\VuexFactory::store(...) is deprecated however there are no current plans for removal

Fixed

  • @phased/laravel-mix plugin should better track changes to routes/web.php
  • config('phase') should pick up a project config/phase.php overrides again
  • phpunit phased/routing tests were fixed
  • ->toVuex() with only one argument again saves to base state i.e. ->toVuex('user') => this.$store.state.user