angular-cn/modules/@angular/router/CHANGELOG.md

37 lines
865 B
Markdown
Raw Normal View History

2016-06-17 12:18:00 -04:00
# 3.0.0-alpha.7 (2016-06-17)
2016-06-16 18:25:16 -04:00
## Features
* feat(router): add route config validation
* feat(router): do not support paths starting with /
* feat(router): drop index property
## Bug Fixes
* fix(router): stringify positional parameters when using routerLink
* fix(router): change serialize not to require parenthesis in query string to be encoded
2016-06-16 18:25:16 -04:00
## Breaking Changes
No longer supporting paths starting with /
BEFORE
The following two routes were equivalent:
{ path: '/a', component: ComponentA }
{ path: 'a', component: ComponentA }
AFTER
Only the following works:
{ path: 'a', component: ComponentA }
No longer supporting index routs
BEFORE
The following two routes were equivalent:
{ path: '', component: ComponentA }
{ index: true, component: ComponentA }
AFTER
Only the following works:
{ path: '', component: ComponentA }
# 3.0.0-alpha.6 (2016-06-16)