Skip to content

Releases: artch/angular-route-segment

1.5.1

10 Feb 16:01
Compare
Choose a tag to compare
  • 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

15 Jun 12:21
Compare
Choose a tag to compare
  • 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

13 Mar 14:15
Compare
Choose a tag to compare
  • 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

30 Sep 08:58
Compare
Choose a tag to compare

1.3.2

19 Sep 18:24
Compare
Choose a tag to compare
  • Fixed a case when watcher is provided in annotated array form rather than as a function (84602).

1.3.1

16 Sep 09:07
Compare
Choose a tag to compare
  • Fixed a compatibility bug in IE8 (0aaa2) thanks to jincod.

1.3.0

14 May 23:13
Compare
Choose a tag to compare

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

14 May 23:14
Compare
Choose a tag to compare
  • Fixed a bug with null exception on contains function (1b014 thanks to paivaric).

1.2.3

14 May 23:14
Compare
Choose a tag to compare
  • Fixed a bug with double updates of view segments (eb0d8).
  • options.autoLoadTemplates is true by default (afab3).

Support of angular 1.2.0rc1

15 Aug 22:17
Compare
Choose a tag to compare
v1.0.2

Update README.md