Skip to content

build: update cross-repo angular dependencies #2177

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented May 12, 2025

This PR contains the following updates:

Package Type Update Change
@angular/common (source) dependencies major 13.3.9 -> 20.2.0-rc.0
@angular/common (source) dependencies major 18.1.0-rc.0 -> 20.2.0-rc.0
@angular/common (source) dependencies major 18.2.10 -> 20.2.0-rc.0
@angular/common (source) dependencies major 12.2.16 -> 20.2.0-rc.0
@angular/compiler (source) dependencies major 13.3.9 -> 20.2.0-rc.0
@angular/compiler (source) dependencies major 18.1.0-rc.0 -> 20.2.0-rc.0
@angular/compiler (source) dependencies major 12.2.16 -> 20.2.0-rc.0
@angular/compiler-cli (source) dependencies major 13.3.9 -> 20.2.0-rc.0
@angular/compiler-cli (source) dependencies major 18.1.0-rc.0 -> 20.2.0-rc.0
@angular/compiler-cli (source) dependencies major 12.2.16 -> 20.2.0-rc.0
@angular/core (source) devDependencies minor ^20.0.0-rc.2 -> ^20.2.0-rc
@angular/core (source) dependencies major 13.3.9 -> 20.2.0-rc.0
@angular/core (source) dependencies major 18.1.0-rc.0 -> 20.2.0-rc.0
@angular/core (source) peerDependencies major ^13.0.0 -> ^20.2.0-rc
@angular/core (source) dependencies major 18.2.10 -> 20.2.0-rc.0
@angular/core (source) dependencies major 12.2.16 -> 20.2.0-rc.0
@angular/dev-infra-private devDependencies digest 262cb3b -> 6d9c069
@angular/language-service (source) dependencies patch 20.2.0-next.6 -> 20.2.0-rc.0
angular/dev-infra action digest f89362d -> a7e9f67
ng-packagr devDependencies major ^18.0.0-next.0 -> ^20.2.0-next

🔡 If you wish to disable git hash updates, add ":disableDigestUpdates" to the extends array in your config.


Release Notes

angular/angular (@​angular/common)

v20.2.0-rc.0

Compare Source

compiler-cli
Commit Type Description
c77e51930d fix error when type checking host bindings of generic directive (#​63061)
core
Commit Type Description
a409534d6c feat support as aliases on else if blocks (#​63047)
85d51a3215 fix destroying the effect on afterRenderEffect (#​63001)
6a1184600c fix prevents duplicate nodes when @if toggles with leave animations (#​63048)
router
Commit Type Description
660444fbf2 fix attempt to resolve component resources in JIT mode (#​63062)
service-worker
Commit Type Description
3b214d2040 feat Logs unhandled promise rejections in service worker (#​63059)

v20.2.0-next.6

Compare Source

compiler-cli
Commit Type Description
812463c563 fix Ignore diagnostics on ngTemplateContextGuard lines in TCB (#​63054)
45b030b5ce fix prevent dom event assertion in TCB generation on older angular versions (#​63053)

v20.2.0-next.5

Compare Source

Deprecations

router
  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.
platform-browser
Commit Type Description
d24d5742db feat Add IsolatedShadowDom encapsulation method (#​62723)
router
Commit Type Description
687c374826 feat add a currentNavigation signal to the Router service. (#​63011)

v20.2.0-next.4

Compare Source

Deprecations

router
  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.
compiler-cli
Commit Type Description
fb1fc823c4 fix correctly type check host listeners to own outputs (#​62965)
core
Commit Type Description
141bb75ff2 feat Promote zoneless to stable (#​62699)
de3a0c5cf3 fix Fix animate.enter class removal when composing classes (#​62981)
6597ac0af7 fix fix support for space separated strings in leave animations (#​62979)
ebd622b344 fix fixes empty animations when recalculating styles (#​63007)
455b147488 fix fixes timing issues with enter animations (#​62925)
648bbb097e fix properly recognize failed fetch responses when loading external resources in JIT (#​62992)
forms
Commit Type Description
c353497a01 feat add support for pushing an array of controls to formarray (#​57102)
http
Commit Type Description
e5d6fb5825 fix Reset headers, progress, and statusCode when using set() in HttpResource (#​62873)
migrations
Commit Type Description
b1514d512e fix incorrect filtering in inject migration (#​62913)
platform-browser
Commit Type Description
52b8e07d6e feat Warns on conflicting hydration and blocking navigation (#​62963)
router
Commit Type Description
d00b3fed58 feat add a currentNavigation signal to the Router service. (#​62971)
service-worker
Commit Type Description
8255e0cf15 feat add messageerror event handling and logging (#​62834)
5220b51e75 feat Adds for type in provideServiceWorker (#​62831)

v20.2.0-next.3

Compare Source

Deprecations

animations
core
animations
Commit Type Description
9766116cea refactor deprecate the animations package (#​62795)
compiler
Commit Type Description
5b25d93f27 fix exclude more safe reads expression from 2way-binding (#​62852)
compiler-cli
Commit Type Description
c4917074f1 fix display proper function in NG8117 message (#​62842)
core
Commit Type Description
92c2d2a006 fix update symbols for new signals api (#​62284)
320de4e96d refactor deprecate animations field on component interface (#​62895)
http
Commit Type Description
0984b30388 feat Add redirected property to HttpResponse and HttpErrorResponse (#​62675)
245494ad29 fix add missing http options allowed in fetch API (#​62881)
1b73c23597 fix propagate plain errors when parsing fails (#​62765)
service-worker
Commit Type Description
b65c3d5e19 feat Improves storage full detection in data caching (#​62737)
6d011687ec feat notify clients about version failures (#​62718)

v20.2.0-next.2

Compare Source

compiler
Commit Type Description
7767aa640c fix allow more characters in square-bracketed attribute names (#​62742)
3171d01452 fix fix detection of directive deps in JIT (#​62666)
compiler-cli
Commit Type Description
5abfe4a899 feat add diagnostic for uninvoked functions in text interpolation (#​59191)
core
Commit Type Description
6b1f4b9e8b feat add enter and leave animation instructions (#​62682)
cec91c0035 feat add option to infer the tag names of components in tests (#​62283)
4138aca91f feat render ARIA property bindings as attributes (#​62630)
593cc8a368 fix checks if body exists before continuing (#​62768)
b8e415a717 fix fix change tracking for Resource#hasValue (#​62595)
063b5e166f fix switch check to documentElement with chaining (#​62773)
platform-browser
Commit Type Description
74d99ed379 fix resolve component resources before bootstrapping in JIT mode (#​62758)
service-worker
Commit Type Description
4ac6171b09 feat Adds support for updateViaCache in provideServiceWorker (#​62721)

v20.2.0-next.1

Compare Source

compiler
Commit Type Description
a1e3f2bcd1 fix incorrect spans for left side of binary operation (#​62641)
18a675081f fix more permissive parsing of @​ characters (#​62644)
compiler-cli
Commit Type Description
527bd778a7 fix infer type of event target for void elements (#​62648)
core
Commit Type Description
745ea44394 feat support TypeScript 5.9 (#​62541)
859958dbfe fix Ensure application remains unstable during bootstrap (#​62631)
780774f948 fix InputBinding marks component a dirty. (#​62613)
http
Commit Type Description
be811fee79 feat add referrer & integrity support for fetch requests in httpResource (#​62461)
1408baff45 fix Add missing timeout and transferCache options to HttpClient (#​62586)
75a5d08c5e fix do not display warnings Angular detected that a HttpClientrequest with thekeepalive option was sent using XHR when option is not true (#​62536)
language-service
Commit Type Description
d64dd27a02 feat support to report the deprecated API in the template (#​62054)
router
Commit Type Description
9c45c322d1 fix ensure preloaded components are properly activated (#​62502)
e9f215624f fix handle errors from view transition readiness (#​62535)

v20.2.0-next.0

Compare Source

http
Commit Type Description
1cf9d9064c feat Add support for fetch referrer & integrity options in HttpClient (#​62417)

v20.1.6

Compare Source

v20.1.5

Compare Source

compiler-cli
Commit Type Description
3b2e8efcac fix correctly type check host listeners to own outputs (#​62965)
core
Commit Type Description
c9f3976eba fix properly recognize failed fetch responses when loading external resources in JIT (#​62992)
http
Commit Type Description
ae443f8eb0 fix Reset headers, progress, and statusCode when using set() in HttpResource (#​62873)
migrations
Commit Type Description
7a5851e4b0 fix incorrect filtering in inject migration (#​62913)

v20.1.4

Compare Source

compiler
Commit Type Description
db3c5826ee fix exclude more safe reads expression from 2way-binding (#​62852)
core
Commit Type Description
c633b63e56 fix update symbols for new signals api (#​62284)
http
Commit Type Description
ab6033979a fix add missing http options allowed in fetch API (#​62881)
15670d8417 fix propagate plain errors when parsing fails (#​62765)

v20.1.3

Compare Source

core
Commit Type Description
2c522efbe5 fix fix change tracking for Resource#hasValue (#​62595)
platform-browser
Commit Type Description
2fd1f7beb5 fix resolve component resources before bootstrapping in JIT mode (#​62758)

v20.1.2

Compare Source

compiler
Commit Type Description
8ad10fd63b fix fix detection of directive deps in JIT (#​62666)

v20.1.1

Compare Source

compiler
Commit Type Description
75d2a349b4 fix incorrect spans for left side of binary operation (#​62641)
70c8780c54 fix more permissive parsing of @​ characters (#​62644)
compiler-cli
Commit Type Description
9506cdfaad fix infer type of event target for void elements (#​62648)
core
Commit Type Description
26ade4a337 fix Ensure application remains unstable during bootstrap (#​62631)
a81f0faa1a fix InputBinding marks component a dirty. (#​62613)
http
Commit Type Description
276836ee73 fix do not display warnings Angular detected that a HttpClientrequest with thekeepalive option was sent using XHR when option is not true (#​62536)
router
Commit Type Description
5949373692 fix handle errors from view transition readiness (#​62535)

v20.1.0

Compare Source

common
Commit Type Description
58aedc37d1 feat add support for a custom EnvironmentInjector to NgComponentOutlet directive (#​54764)
ef10aa4005 feat support decoding in NgOptimizedImage (#​61905)
compiler
Commit Type Description
0dcf230d52 feat add support for new binary assignment operators (#​62064)
5a76826d26 fix only report parser errors on invalid expression (#​61793)
089ad0ee15 fix produce more accurate errors for interpolations (#​62258)
e9fcbb8af1 fix remove TypeScript from linker (#​61618)
compiler-cli
Commit Type Description
e62fb359d6 feat add experimental support for fast type declaration emission (#​61334)
0cf1001715 feat support host directives with direct external references in fast type declaration emission (#​61469)
b7ab5fa256 fix add signal checks to handle negated calls (#​59970)
77fa204ad1 fix rename flag for enabling fast type declaration emission (#​61353)
c439d6938d fix symbol builder duplicating host directives (#​61240)
3e1baa5a95 fix typo in NG2026 message (#​61325)
core
Commit Type Description
8163a8995e feat Add destroyed property on DestroyRef (#​61849)
737b35b684 feat Add destroyed property to EnvironmentInjector (#​61951)
2e0c98bd3f feat support bindings in TestBed (#​62040)
4356e85456 fix fakeAsync should not depend on module import order (#​61375)
8424b3bcd5 fix Fixes template outlet hydration (#​61989)
583b9a7be5 fix missing useExisting providers throwing for optional calls (#​61137)
8f65223bd8 fix update min Node.js support to 20.19, 22.12, and 24.0 (#​61499)
b785256b9e perf avoid intermediate arrays in definition (#​61445)
56769de4d8 perf move property remapping for dom properties to compiler (#​62421)
forms
Commit Type Description
610bebfce9 fix Allow ControlState as reset arguments for FormGroup/FormRecord (#​55860)
4f0221e193 fix improve select performance (#​61949)
http
Commit Type Description
55fa38a1e5 feat add cache & priority support for fetch requests in httpResource (#​62301)
b6ef42843c feat add credentials support for fetch requests in httpResource (#​62390)
73269cf5ce feat add keepalive support for fetch requests in httpResource (#​61833)
27b7ec0a62 feat add mode & redirect for fetch request in httpResource (#​62337)
f0965c7acd feat Add support for fetch credentials options in HttpClient (#​62354)
87322449a3 feat add support for fetch mode and redirect options in HttpClient (#​62315)
9791ab1b6f feat Add support for fetch request cache and priority options (#​61766)
aa861c42ff feat add timeout option on httpResource. (#​62326)
c4cffe2063 feat Add timeout option to HTTP requests (#​57194)
cfbbb08437 feat add warning when withCredentials overrides explicit credentials (#​62383)
language-service
Commit Type Description
20c1f991e6 feat add semantic tokens for templates (#​60260)
cf55d1bdd4 feat Support importing the external module's export about the angular metadata. (#​61122)
5d2e85920e feat support to fix missing required inputs diagnostic (#​50911)
router
Commit Type Description
9833d9ea47 feat Run loadComponent and loadChildren functions in the route's injection context (#​62133)
service-worker
Commit Type Description
c67dbda8ff feat support notification closes (#​61442)
6e1df54799 feat support push subscription changes (#​61856)

v20.0.7

Compare Source

compiler-cli
Commit Description
fix - 2c18043240 use proper name for diagnostic type (#​62479)

v20.0.6

Compare Source

v20.0.5

Compare Source

compiler-cli
Commit Type Description
de0d525ad7 fix add suggestion when pipe is missing (#​62146)
3eb5a79a83 fix handle initializer APIs wrapped in type casts (#​62203)
core
Commit Type Description
a2e6f317a7 fix allow to set a resource in an error state (#​62253)
4c00238a69 fix avoid injecting ErrorHandler from a destroyed injector (#​61886)
369f03ad7f fix unable to retrieve defer blocks in tests when component injects ViewContainerRef (#​62156)
router
Commit Type Description
65c59dd796 fix handle scrollRestoration error in restricted environments (#​62186)
upgrade
Commit Type Description
144c429230 fix Make zoneless work with hybrid apps (#​61660)

v20.0.4

Compare Source

core
Commit Type Description
e343cdfb86 fix Fixes template outlet hydration (#​62012)
67f657e4a3 fix inject APP_ID before injector is destroyed (#​61885)
ae212b51ee fix Wrap ErrorEvent with no error property (#​62081)
migrations
Commit Type Description
82bf9848a1 fix more robust trailing comma removal in unused imports migration (#​62118)

v20.0.3

Compare Source

v20.0.2

Compare Source

core
Commit Type Description
1e8158baee fix components marked for traversal resets reactive context (#​61663)
1cd23be57e fix unregister onDestroy in outputToObservable (#​61882)

v20.0.1

Compare Source

compiler
Commit Type Description
66a0ec6510 fix move defer trigger assertions out of parser (#​61747)
8ecb1ba027 fix recover invalid parenthesized expressions (#​61815)
core
Commit Type Description
8c60cbfd1c fix takeUntilDestroyed completes immediately if DestroyRef already destroyed (#​61847)
b1d960d082 fix produce an error when incremental hydration is expected, but not configured (#​61741)
b4ed62ddf6 fix properly handle the case where getSignalGraph is called on a componentless NodeInjector (#​60772)
ddd22bea48 fix unregister onDestroy in ResourceImpl when destroy() is called (#​61870)
5c31e7e28d fix unregister onDestroy when observable errors in toSignal (#​61596)
migrations
Commit Type Description
e9820a6d48 fix avoid trailing whitespaces in unused imports migration (#​61698)
service-worker
Commit Type Description
b93fa22f25 fix prevent duplicate fetches during concurrent update checks (#​61443)
9743bd1317 fix update service worker to handle seeking better for videos (#​60029)

v20.0.0

Compare Source

Blog post: https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301

Breaking Changes

common
  • Using the Y formatter (week-numbering year) without also including w (week number) is now detected as suspicious date pattern, as y is typically intended.
  • AsyncPipe now directly catches unhandled errors in
    subscriptions and promises and reports them to the application's
    ErrorHandler. For Zone-based applications, these errors would have
    been caught by ZoneJS and reported to ErrorHandler so the result is
    generally the same. The change to the exact mechanism for reporting can
    result in differences in test environments that will require test
    updates.
compiler
  • 'in' in an expression now refers to the operator

  • void in an expression now refers to the operator

    Previously an expression in the template like {{void}} referred to a
    property on the component class. After this change it now refers to the
    void operator, which would make the above example invalid. If you have
    existing expressions that need to refer to a property named void,
    change the expression to use this.void instead: {{this.void}}.

  • Parenthesis are always respected.

    This can lead to runtime breakages when a nullish coalescing operator is nested within parentheses.
    eg. {{ (foo?.bar).baz }} will throw if foo is nullish. This is the same behavior as native JavaScript.

core
  • TypeScript versions less than 5.8 are no longer supported.

  • the TestBed.flushEffects() was removed - use
    the TestBed.tick() instead.

  • provideExperimentalCheckNoChangesForDebug has several
    breaking changes:

    • It is renamed to provideCheckNoChangesConfig
    • The behavior applies to all checkNoChanges runs
    • The useNgZoneOnStable option is removed. This wasn't found to be generally
      more useful than interval
  • provideExperimentalZonelessChangeDetection is
    renamed to provideZonelessChangeDetection as it is now "Developer
    Preview" rather than "Experimental".

    • InjectFlags has been removed.
    • inject no longer accepts InjectFlags.
    • Injector.get no longer accepts InjectFlags.
    • EnvironmentInjector.get no longer accepts InjectFlags.
    • TestBed.get no longer accepts InjectFlags.
    • TestBed.inject no longer accepts InjectFlags.
    • TestBed.get has been removed. Use TestBed.inject instead.
  • afterRender was renamed to afterEveryRender.

    • Angular no longer supports Node.js v18.
    • Node.js versions 22.0 to 22.10 are also no longer supported.

    Before upgrading to Angular v20, ensure the Node.js version is at least 20.11.1.
    For the full list of supported versions, visit: https://angular.dev/reference/versions

  • PendingTasks.run no longer returns the result of the
    async function. If this behavior is desired, it can be re-implemented
    manually with the PendingTasks.add. Be aware, however, that promise rejections
    will need to be handled or they can cause the node process to shut down
    when using SSR.

  • Uncaught errors in listeners which were previously only reported to
    ErrorHandler are now also reported to Angular's internal error
    handling machinery. For tests, this means that the error will be
    rethrown by default rather than only logging the error. Developers
    should fix these errors, catch them in the test if the test is
    intentionally covering an error case, or use rethrowApplicationErrors: false in configureTestingModule as a last resort.

  • The any overload has been removed from
    injector.get. It now only supports ProviderToken<T> and (deprecated
    since v4) string.

  • Animations are guaranteed to be flushed when Angular
    runs automatic change detection or manual calls to ApplicationRef.tick.
    Prior to this change, animations would not be flushed in some situations
    if change detection did not run on any views attached to the
    application. This change can affect tests which may rely on the old
    behavior, often by making assertions on DOM elements that should have
    been removed but weren't because DOM removal is delayed until animations
    are flushed.

  • ApplicationRef.tick will no longer catch and report
    errors to the appplication ErrorHandler. Errors will instead be thrown out of
    the method and will allow callers to determine how to handle these
    errors, such as aborting follow-up work or reporting the error and
    continuing.

  • This commit deprecates ng-reflect-* attributes and updates the runtime to stop producing them by default. Please refactor application and test code to avoid relying on ng-reflect-* attributes.

    To enable a more seamless upgrade to v20, we've added the provideNgReflectAttributes() function (can be imported from the @angular/core package), which enables the mode in which Angular would be producing those attribites (in dev mode only). You can add the provideNgReflectAttributes() function to the list of providers within the bootstrap call.

router
  • The RedirectFn can now return Observable or
    Promise. Any code that directly calls functions returning this type
    may need to be adjusted to account for this.
  • Several methods in the public API of the Router which
    required writable arrays have now been updated to accept readonly
    arrays when no mutations are done.
  • The guards arrays on Route no longer include any in
    the type union. The union includes functions for the functional guards
    as well as a type matching Injector.get: ProviderToken<T>|string.
    Note that string is still deprecated on both the route guards and
    Injector.get.

Deprecations

core
  • ngIf/ngFor/ngSwitch are deprecated. Use the control flow blocks instead (@for/@if/@switch).
platform-browser
  • All entries of the @angular/platform-browser-dynamic
  • HammerJS support is deprecated and will be removed in a future major version.
platform-server
  • @angular/platform-server/testing

    Use e2e tests to verify SSR behavior instead.

common
Commit Type Description
2e5362a469 feat accept undefined inputs in NgTemplateOutlet (#​61404)
b7d3f3dbfc feat Allow passing ScrollOptions to ViewportScroller (#​61002)
74cceba587 feat throw error for suspicious date patterns (#​59798)
255c79e048 fix cleanup updateLatestValue if view is destroyed before promise resolves (#​58041)
739cadae62 fix Handle errors in async pipe

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch from e758ce6 to b1871cd Compare May 12, 2025 17:40
@angular-robot angular-robot changed the title build: update @angular/dev-infra-private digest to 6d9c069 build: update cross-repo angular dependencies May 12, 2025
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch 16 times, most recently from a7386db to 950c62a Compare May 19, 2025 12:03
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch 8 times, most recently from 9197463 to 696d4c1 Compare May 26, 2025 06:06
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch 3 times, most recently from 7add060 to 384a2d3 Compare May 28, 2025 10:06
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch 18 times, most recently from 4100de6 to d47be69 Compare August 6, 2025 22:40
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch 10 times, most recently from bed367b to 4b9ad56 Compare August 11, 2025 18:13
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch from 4b9ad56 to e636918 Compare August 11, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant