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
perf(core): remove support for the deprecated WrappedValue
#43507
Conversation
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.
Ah, good catch! Totally forgot that we deprecated that.
LGTM. As I recall, there were a couple places in g3 that used WrappedValue that we'll need to update.
|
@JoostK quick update: there is a couple places in Google's codebase where we need to do some cleanup (someone relies on the Could you please rebase this PR and resolve merge conflicts, so we can rerun tests if needed? Thank you. |
78e2a3f
to
edbbb88
Compare
|
@AndrewKushnir rebased! |
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! This is a great cleanup! Thank you, @JoostK. ❤️
Reviewed-for: public-api, global-approvers
edbbb88
to
9fa936f
Compare
38c37aa
to
1b0374d
Compare
1b0374d
to
72fd072
Compare
|
Global Presubmit #2 (with cleanup). |
|
FYI, global presubmit with the cleanup looks good. Once all the changes in Google's codebase land, we should be able to proceed with merging this PR. Thank you. |
This commit removes the `WrappedValue` public API from `@angular/core` which was deprecated in Angular 10 without replacement. BREAKING CHANGE: The `WrappedValue` class can no longer be imported from `@angular/core`, which may result in compile errors or failures at runtime if outdated libraries are used that are still using `WrappedValue`. The usage of `WrappedValue` should be removed as no replacement is available.
72fd072
to
6b76e6c
Compare
|
FYI I've started one more presubmit to make sure there are no new regressions (should have results in ~1hr). |
|
Note to Caretaker: cleanup in g3 is completed, TGP is green for this PR. If there are any regressions reported in g3, let's see if we can fix them forward (please reach out to me). Thank you. |
A rebase of angular#43507 seems to have inadvertently dropped the note about the removed `WrappedValue` API from the deprecations page, so this commit reintroduces the text.
|
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. |


This commit removes the
WrappedValuepublic API from@angular/corewhich was deprecated in Angular 10 without replacement.
BREAKING CHANGE:
The
WrappedValueclass can no longer be imported from@angular/core,which may result in compile errors or failures at runtime if outdated
libraries are used that are still using
WrappedValue. The usage ofWrappedValueshould be removed as no replacement is available.