Skip to content

v0.5.0

Compare
Choose a tag to compare
@reed-jones reed-jones released this 07 Aug 14:06
· 25 commits to master since this release

v0.5.0 - 2020-08-03

Added

  • added Phased/Routing/Commands/GeneratePhaseRouter::getJsonOutput($withConfig) helper to encode & retrieve output
  • added phase.assets.ssr.server & phase.assets.ssr.client configuration for js bundles.
  • added Vuex::get
  • Front end log levels. passing { logLevel: 'debug' } as the options to the hydrate method, for example will enable the most verbose logging.
  • 'example' app with cypress/pest test suite, tailwindcss, laravel auth
  • Added gzipped filesize output to buildscript
  • removed default stylesheet sass/app.scss from config
  • helper functions added to example app such as 'resolve route by phase name' (phaseRoute example/app/helpers.php)
  • added vue-ssr-failed attribute to blade file when an error occurs during rendering
  • [experimental] added Phased/State/Factories/VuexFactory::get(...) method to access previously saved state.
  • Migrated test suite to use PestPHP & Cypress (for browser based tests)

Changed

  • Migrated test suite to use pest
  • Phased/Routing/Commands/GeneratePhaseRouter::getFormattedRoutes() changed from protected to public
  • Phased/Routing/Commands/GeneratePhaseRouter::outputTable() changed from protected to public
  • Phased/Routing/Commands/GeneratePhaseRouter::outputJson() changed from protected to public
  • Phased/Routing/Factories/PhaseFactory::addRoute() signature changed from variadic (...$args) to ($uri, $action)

Deprecated

  • Automatic axios redirects. This may be revived in a future release.

Removed

  • auto axios redirects (301/302) have been removed. For direct entry redirects (301/302) the standard laravel redirects can be used. For SPA redirects, these must by manually set using vue-router.