Releases: artch/angular-route-segment
Releases · artch/angular-route-segment
1.5.1
- 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
- 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
- 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.2
- Fixed a case when
watcher
is provided in annotated array form rather than as a function (84602).
1.3.1
- Fixed a compatibility bug in IE8 (0aaa2) thanks to jincod.
1.3.0
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
- Fixed a bug with null exception on
contains
function (1b014 thanks to paivaric).
1.2.3
- Fixed a bug with double updates of view segments (eb0d8).
options.autoLoadTemplates
is true by default (afab3).
Support of angular 1.2.0rc1