-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
area: routerregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous version
Milestone
Description
Which @angular/* package(s) are the source of the bug?
router
Is this a regression?
Yes
Description
After upgrade to Angular 16 we observed different behaviour of createUrlTree but I don't know if this is expected
Angular 15 stackblitz navigate to /foo/(bar//other:baz)
console output
{tree1Str: '/foo/bar', tree1: UrlTree}
{tree2Str: '/foo/(bar//other:test)', tree2: UrlTree}
Angular 16 stackblitz navigate to /foo/(bar//other:baz)
console output
{tree1Str: '/foo/(bar//other:baz)', tree1: UrlTree}
{tree2Str: '/foo/(bar//other:baz)', tree2: UrlTree}
If this behaviour is expected? If so what is correct way to change or remove 'other' outlet part from url?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 16.0.1
Node: 16.19.1
Package Manager: yarn 1.21.1
OS: darwin arm64
Angular: 16.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... pwa, router, service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1600.1
@angular-devkit/build-angular 16.0.1
@angular-devkit/build-webpack 0.1600.1
@angular-devkit/core 16.0.1
@angular-devkit/schematics 16.0.1
@angular/cdk 16.0.0
@ngtools/webpack 16.0.1
@schematics/angular 16.0.1
ng-packagr 16.0.1
rxjs 7.6.0
typescript 5.0.4
webpack 5.80.0
Anything else?
mokosa, j-zielinski, fmad89, ArturMiszkowicz, madakerez and 3 moremadakerez and NiaroNiaro and michael-hein
Metadata
Metadata
Assignees
Labels
area: routerregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous version