-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(platform-browser): remove deprecated BrowserTransferStateModule
symbol
#49718
refactor(platform-browser): remove deprecated BrowserTransferStateModule
symbol
#49718
Conversation
…dule` symbol The `TransferState` class was updated in v14 in a way that the `BrowserTransferStateModule` was no longer required. The `BrowserTransferStateModule` was deprecated in v14.1 and it's currently empty. This commit removes the `BrowserTransferStateModule`. BREAKING CHANGE: The deprecated `BrowserTransferStateModule` was removed, since it's no longer needed. The `TransferState` class can be injected without providing the module. The `BrowserTransferStateModule` was empty starting from v14 and you can just remove the reference to that module from your applications.
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: fw-core, public-api
Important note: this is a cherry-picked commit from PR that @JeanMeche created: #49674. The reason for extracting this commit is that we want to avoid extra complexity of having a schematic, since the migration is trivial (just drop the module reference) and since the module was deprecated 2 major version ago, we expect that a lot of apps already removed this symbol anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@AndrewKushnir Do we want to merge this into v16 today? (since it's a breaking) |
@dylhunn yeah, it'd be great to land it before the release today. Running a presubmit now (though it should mostly be a noop since there are no references to the |
Presubmit looks good. |
Caretaker note: presubmit looks good, this PR is ready for merge. // cc @dylhunn |
This PR was merged into the repository by commit 9bd9a11. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
1 similar comment
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The
TransferState
class was updated in v14 in a way that theBrowserTransferStateModule
was no longer required. TheBrowserTransferStateModule
was deprecated in v14.1 and it's currently empty. This commit removes theBrowserTransferStateModule
.BREAKING CHANGE: The deprecated
BrowserTransferStateModule
was removed, since it's no longer needed. TheTransferState
class can be injected without providing the module. TheBrowserTransferStateModule
was empty starting from v14 and you can just remove the reference to that module from your applications.PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
BrowserTransferStateModule
was removed as no longer needed, see commit description.