-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): update @angular to v21 #126
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/@angular
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3aa875f to
8d01ab5
Compare
88b52e8 to
560984e
Compare
9b32c58 to
972ceca
Compare
82a8ec5 to
62702ce
Compare
973fb4d to
1e9222b
Compare
1e9222b to
00bfe9c
Compare
00bfe9c to
7d7c439
Compare
7d7c439 to
9318198
Compare
9318198 to
5532b68
Compare
5532b68 to
7524988
Compare
7524988 to
79e822e
Compare
79e822e to
6387ac5
Compare
6387ac5 to
bdb1e6a
Compare
bdb1e6a to
24b5658
Compare
347c722 to
eb030fa
Compare
eb030fa to
80db07b
Compare
80db07b to
19ac141
Compare
a148452 to
910bb38
Compare
910bb38 to
91f5b3e
Compare
5bbad7a to
5a460a8
Compare
884293c to
d06a608
Compare
d06a608 to
9a0ffa4
Compare
671ed6c to
f33be89
Compare
f33be89 to
3cec38f
Compare
da106ee to
a9fffd4
Compare
1202b3a to
10f6f3c
Compare
cbd62c8 to
bb84a6a
Compare
de8d282 to
502216b
Compare
af03391 to
83acf6a
Compare
266a89d to
f394f95
Compare
f394f95 to
64ebe2c
Compare
4c6ddc4 to
64f6c68
Compare
64f6c68 to
91acf21
Compare
91acf21 to
f72567f
Compare
f72567f to
637ed7a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5~7.2.15->~21.0.5Release Notes
angular/angular (@angular/animations)
v21.0.5Compare Source
core
InjectionTokenwith factory onlyforms
v21.0.4Compare Source
compiler
compiler-cli
forms
Fielddirectivev21.0.3Compare Source
compiler-cli
core
[field]binding instructions (#65599)forms
FormUiControlsignals[field]bindings (#65599)http
router
v21.0.2Compare Source
compiler
attributeNameand MathML/SVG URLsv21.0.1Compare Source
compiler-cli
core
platformBrowserDynamicDOCUMENTforCSP_NONCEforms
Fielddirectivetypebindings on signal form controlshttp
migrations
v21.0.0Compare Source
Blog post "Announcing Angular v21".
Breaking Changes
common
TestBednow provides a fakePlatformLocationimplementation that supports the Navigation API. This may break some
tests, though we have not observed any failures internally. You can revert to the
old default for
TestBedby providing theMockPlatformLocationfrom@angular/common/testingin your providers:{provide: PlatformLocation, useClass: MockPlatformLocation}ngComponentOutletContentis now of typeNode[][] | undefinedinstead ofany[][] | undefined.compiler-cli
"typeCheckHostBindings": falsein theangularCompilerOptionssection of your tsconfig.the
emitDeclarationOnlyTS compiler option is enabled as this mode isnot supported.
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
After:
A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.Using a combination of
provideZoneChangeDetectionwhile also removing ZoneJS polyfills will no longer result in the
internal scheduler being disabled. All Angular applications now
consistenly use the same scheduler, and those with the Zone change detection
provider include additional automatic scheduling behaviors based on
NgZone stabilization.
(test only) - Using
provideZoneChangeDetectionin theTestBed providers would previously prevent
TestBedfrom rethrowingerrors as it should. Errors in the test will now be rethrown, regardless
of the usage of
provideZoneChangeDetection. Tests should be adjusted toprevent or account for these errors. As in previous major versions,
this behavior can be disabled with
rethrowApplicationErrors: falseinconfigureTestingModuleas a last resort.ignoreChangesOutsideZoneis no longer available as anoption for configuring ZoneJS change detection behavior.
Angular no longer provides a change detection scheduler
for ZoneJS-based change detection by default. Add
provideZoneChangeDetectionto the providers of yourbootstrapApplicationfunction or yourAppModule(if usingbootstrapModule). This provider addition will be covered by anautomated migration.
moduleIdwas removed fromComponentmetadata.The
interpolationoption on Components has been removed. Only the default{{ ... }}is now supported.elements
Fix signal input getter behavior in custom elements.
Before this change, signal inputs in custom elements required function calls to access their values (
elementRef.newInput()), while decorator inputs were accessed directly (elementRef.oldInput). This inconsistency caused confusion and typing difficulties.The getter behavior has been standardized so signal inputs can now be accessed directly, matching the behavior of decorator inputs:
Before:
elementRef.oldInputelementRef.newInput()After:
elementRef.oldInputelementRef.newInputforms
platform-browser
ApplicationConfigexport from@angular/platform-browserhas been removed.Please import
ApplicationConfigfrom@angular/coreinstead.router
lastSuccessfulNavigationis now a signal and needs to be invokedmicrotasks to complete. Tests have been found to often be highly
dependent on the exact timing of navigation completions with respect to
the microtask queue. The most common fix for tests is to ensure all
navigations have been completed before making assertions. On rare
occasions, this can also affect production applications. This can be
caused by multiple subscriptions to router state throughout the application,
both of which trigger navigations that happened to not conflict with the
previous timing.
upgrade
UpgradeAdapteris no longer available. Useupgrade/staticinsteadzone.js
Deprecations
http
HttpResponseBase.statusTextis deprecatedcommon
ngComponentOutletContent(#63674)ngModuleFactoryinput ofNgComponentOutlet(#62838)compiler
compiler-cli
@defertriggers (#64069)emitDeclarationOnlyTS compiler option enabled (#61609)core
bootstrapModuleoptions (#64354)BootstrapContextfor improved server bootstrapping (#63562)@foriteration over field is reactive (#64113)moduleIdfrom Component metadata (#63482)interpolationoption on Components. (#63474)elements
forms
debounce()rule for signal formsFormResetEventwhen resetting control (#64024)ControlValueAccessor(#64471)[field]binding instructions (#64351)http
HttpResponseBase.statusText(#64176)language-server
language-service
migrations
platform-browser
ApplicationConfigexport (#63529)router
lastSuccessfulNavigationto signal (#63057)UrlSerializerhandling of query parameters (#64449)upgrade
v20.3.15Compare Source
compiler
attributeNameand MathML/SVG URLsv20.3.14Compare Source
http
v20.3.13Compare Source
v20.3.12Compare Source
v20.3.11Compare Source
common
compiler
core
v20.3.10Compare Source
compiler-cli
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.