Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 3.89 KB

CHANGELOG.md

File metadata and controls

52 lines (31 loc) · 3.89 KB

1.5.1 (2016-02-10)

  • Added thorough inline documentation, migrated to jasmine 2.0 and added tests against angular 1.5.0 (thanks to wingedfox).
  • Fixed memory leak with watchers are not torn down properly on route change (#106, thanks to jgrund).

1.5.0 (2015-06-15)

  • Changed $routeSegmentProvider.when signature to when(path, name, route) which enables to extend the route information object with any custom properties, like reloadOnSearch or caseInsensitiveMatch (425ac) thanks to krmarien.
  • Published to npm repository.

1.4.0 (2015-03-13)

  • Refactored render directive using modern $transclude cloning mechanism instead of manual cloning (32dea). ATTENTION: AngularJS 1.1.x is no longer supported due to this fix!
  • Fixed a bug with a segment placed inside ng-if (32dea).
  • Fixed a bug with camelCasing default segment names (74b64).

1.3.3 (2014-09-30)

1.3.2 (2014-09-19)

  • Fixed a case when watcher is provided in annotated array form rather than as a function (84602).

1.3.1 (2014-08-12)

  • Fixed a compatibility bug in IE8 (0aaa2) thanks to jincod.

1.3.0 (2014-05-15)

Features

  • New function $routeSegment.getSegmentUrl(segmentName, routeParams) which can return URL for the given segment (2b255).
  • Some handy filters like routeSegmentUrl,routeSegmentEqualsTo, etc (2b255).
  • New segment config option default:true which can be set if this child segment should be loaded by default when no child segment is specified in the route (2eee0).
  • template and templateUrl can be set as injectable functions (8d1ac).

See updated docs and demo example for usage.

Bug fixes

  • Fixed a bug when reloading a segment does not recover after the resolving error has gone (ed11d).

1.2.4 (2014-05-08)

  • Fixed a bug with null exception on contains function (1b014 thanks to paivaric).

1.2.3 (2014-04-07)

  • Fixed a bug with double updates of view segments (eb0d8).
  • options.autoLoadTemplates is true by default (afab3).