Skip to content

fix(router): Remove urlHandlingStrategy from public Router properties#51631

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:removeSetterForUrlHandlingStrategy
Closed

fix(router): Remove urlHandlingStrategy from public Router properties#51631
atscott wants to merge 1 commit intoangular:mainfrom
atscott:removeSetterForUrlHandlingStrategy

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Sep 1, 2023

This commit removes the urlHandlingStrategy from the public Router's API

BREAKING CHANGE:
urlHandlingStrategy has been removed from the Router public API. This should instead be configured through the provideRouter or RouterModule.forRoot APIs.

@atscott atscott added the target: major This PR is targeted for the next major release label Sep 1, 2023
@angular-robot angular-robot bot added the detected: breaking change PR contains a commit with a breaking change label Sep 1, 2023
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Sep 1, 2023

note: blocked by 2 remaining uses in g3 (cl/560104673, cl/560104678)

This commit removes the `urlHandlingStrategy` from the public Router's API

BREAKING CHANGE:
`urlHandlingStrategy` has been removed from the Router public API.
This should instead be configured through the provideRouter or RouterModule.forRoot APIs.
@atscott atscott force-pushed the removeSetterForUrlHandlingStrategy branch from e47bdf1 to 16723ba Compare September 1, 2023 21:37
Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

@ngbot ngbot bot added this to the Backlog milestone Sep 5, 2023
@atscott atscott added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Sep 5, 2023
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Sep 5, 2023

caretaker note: cl/560104678 is not submitted but every reviewer has removed themselves from the change. Please merge this PR and refer to that CL if anyone reaches out to you due to the breakage.

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Sep 5, 2023
Copy link
Copy Markdown
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@josephperrott
Copy link
Copy Markdown
Member

This PR was merged into the repository by commit b2aff43.

@jessicajaniuk
Copy link
Copy Markdown
Contributor

Looks like this caused several G3 issues and needs to be reverted for now.

@jessicajaniuk jessicajaniuk reopened this Sep 6, 2023
jessicajaniuk pushed a commit to jessicajaniuk/angular that referenced this pull request Sep 6, 2023
@jessicajaniuk jessicajaniuk added state: blocked and removed action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Sep 6, 2023
@jessicajaniuk jessicajaniuk added action: merge The PR is ready for merge by the caretaker and removed state: blocked labels Sep 6, 2023
@jessicajaniuk
Copy link
Copy Markdown
Contributor

We were able to resolve the G3 issues. Closing again.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 7, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…es (angular#51631)

This commit removes the `urlHandlingStrategy` from the public Router's API

BREAKING CHANGE:
`urlHandlingStrategy` has been removed from the Router public API.
This should instead be configured through the provideRouter or RouterModule.forRoot APIs.

PR Close angular#51631
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: router detected: breaking change PR contains a commit with a breaking change target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants