Skip to content

v0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@fkleuver fkleuver released this 23 Feb 00:46
· 92 commits to master since this release

0.5.0 (2018-02-23)

Bug Fixes

  • improve the resource loading to make the plugin work with all build systems (cf5e9c0), closes #5 #2

Code Refactoring

  • Rename decorators to make the API more consistent with aurelia-router terminology (ab54664)

BREAKING CHANGES

  • The following items were renamed:
  • [class] RoutableResource -> RouterResource
  • [method] RoutableResource.ROUTABLE -> RouterResource.ROUTE_CONFIG
  • [method] RoutableResource.MAP_ROUTABLES -> RouterResource.CONFIGURE_ROUTER
  • [properties] *.routableModuleIds -> *.routeConfigModuleIds
  • [decorator] routable -> routeConfig
  • [decorator] mapRoutables -> configureRouter
  • [interface] IRoutableInstruction -> IRouteConfigInstruction
  • [interface] IMapRoutablesInstruction -> IConfigureRouterInstruction
  • [interface] IRouteConfigInstruction -> ICreateRouteConfigInstruction
    Functionality remains unchanged; find/replace should be enough to make it work again.