Skip to content

fix: update dependency @angular/compiler to v20.2.0 #2608

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

Merged
merged 1 commit into from
Aug 21, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2025

This PR contains the following updates:

Package Change Age Confidence
@angular/compiler (source) 20.1.4 -> 20.2.0 age confidence

Release Notes

angular/angular (@​angular/compiler)

v20.2.0

Compare Source

Deprecations

animations
core
router
  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.
  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.
animations
Commit Type Description
9766116cea refactor deprecate the animations package (#​62795)
compiler
Commit Type Description
7767aa640c fix allow more characters in square-bracketed attribute names (#​62742)
7b51728813 fix fixes animation event host bindings not firing (#​63217)
compiler-cli
Commit Type Description
5abfe4a899 feat add diagnostic for uninvoked functions in text interpolation (#​59191)
c4917074f1 fix display proper function in NG8117 message (#​62842)
812463c563 fix Ignore diagnostics on ngTemplateContextGuard lines in TCB (#​63054)
45b030b5ce fix prevent dom event assertion in TCB generation on older angular versions (#​63053)
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)
141bb75ff2 feat Promote zoneless to stable (#​62699)
4138aca91f feat render ARIA property bindings as attributes (#​62630)
a409534d6c feat support as aliases on else if blocks (#​63047)
745ea44394 feat support TypeScript 5.9 (#​62541)
593cc8a368 fix checks if body exists before continuing (#​62768)
bdc31675b7 fix ensure animate events do not have duplicate elements (#​63216)
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)
f9d73cc687 fix handle cases where classes added have no animations (#​63242)
6a1184600c fix prevents duplicate nodes when @if toggles with leave animations (#​63048)
063b5e166f fix switch check to documentElement with chaining (#​62773)
320de4e96d refactor deprecate animations field on component interface (#​62895)
forms
Commit Type Description
c353497a01 feat add support for pushing an array of controls to formarray (#​57102)
http
Commit Type Description
0984b30388 feat Add redirected property to HttpResponse and HttpErrorResponse (#​62675)
be811fee79 feat add referrer & integrity support for fetch requests in httpResource (#​62461)
1cf9d9064c feat Add support for fetch referrer & integrity options in HttpClient (#​62417)
1408baff45 fix Add missing timeout and transferCache options to HttpClient (#​62586)
language-service
Commit Type Description
c81e345e72 feat support auto-import for attribute completions (#​62797)
d64dd27a02 feat support to report the deprecated API in the template (#​62054)
591c7e2ec8 fix Support to resolve the re-export component. (#​62585)
platform-browser
Commit Type Description
d24d5742db feat Add IsolatedShadowDom encapsulation method (#​62723)
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)
687c374826 feat add a currentNavigation signal to the Router service. (#​63011)
9c45c322d1 fix ensure preloaded components are properly activated (#​62502)
service-worker
Commit Type Description
8255e0cf15 feat add messageerror event handling and logging (#​62834)
5220b51e75 feat Adds for type in provideServiceWorker (#​62831)
4ac6171b09 feat Adds support for updateViaCache in provideServiceWorker (#​62721)
b65c3d5e19 feat Improves storage full detection in data caching (#​62737)
3b214d2040 feat Logs unhandled promise rejections in service worker (#​63059)
6d011687ec feat notify clients about version failures (#​62718)

v20.1.8

Compare Source

compiler
Commit Type Description
691f5ed033 fix error when ng-content fallback has translated children (#​63156)
b1dec9bc50 fix incorrect source span for expression AST inside template attribute (#​63175)
compiler-cli
Commit Type Description
cda402f1d8 fix account for expression with type arguments during HMR extraction (#​63261)

v20.1.7

Compare Source

compiler
Commit Type Description
d9e37908a5 fix incorrect spans for AST inside input value with leading space (#​63082)
compiler-cli
Commit Type Description
4aa120ac00 fix error when type checking host bindings of generic directive (#​63061)
core
Commit Type Description
322042c5b3 fix destroying the effect on afterRenderEffect (#​63001)
router
Commit Type Description
5fd79424e3 fix attempt to resolve component resources in JIT mode (#​63062)

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)

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

nx-cloud bot commented Aug 6, 2025

View your CI Pipeline Execution ↗ for commit a1695b1

Command Status Duration Result
nx run-many -t e2e-suite --parallel 1 ✅ Succeeded 13m 16s View ↗
nx run-many -t test --codeCoverage ✅ Succeeded 1m 8s View ↗
nx run-many -t build,typecheck,check-rule-docs,... ✅ Succeeded 50s View ↗
nx-cloud record -- pnpm nx sync:check ✅ Succeeded 3s View ↗
nx-cloud record -- pnpm format-check ✅ Succeeded 6s View ↗
nx run-many -t test ✅ Succeeded 59s View ↗
nx run-many -t build ✅ Succeeded 20s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-20 13:16:48 UTC

@renovate renovate bot changed the title fix: update dependency @angular/compiler to v20.1.5 fix: update dependency @angular/compiler to v20.1.6 Aug 6, 2025
@renovate renovate bot force-pushed the renovate/angular-monorepo branch from 4b80743 to 5720416 Compare August 6, 2025 21:47
@renovate renovate bot changed the title fix: update dependency @angular/compiler to v20.1.6 fix: update dependency @angular/compiler to v20.1.7 Aug 13, 2025
@renovate renovate bot force-pushed the renovate/angular-monorepo branch from 5720416 to e9f2d78 Compare August 13, 2025 21:50
@reduckted
Copy link
Contributor

reduckted commented Aug 13, 2025

@JamesHenry This update will fix some problems with the autofix for prefer-template-literal.

// Bug : Wrong autofixes when first line breaks because sourceSpan positions are wrong in this case.

@reduckted
Copy link
Contributor

Actually, this update only contains a fix for input properties. There's still a bug with template attributes.
angular/angular#63157

@renovate renovate bot changed the title fix: update dependency @angular/compiler to v20.1.7 fix: update dependency @angular/compiler to v20.2.0 Aug 20, 2025
@renovate renovate bot force-pushed the renovate/angular-monorepo branch from e9f2d78 to a1695b1 Compare August 20, 2025 13:00
@ffried
Copy link

ffried commented Aug 21, 2025

Currently, I get an error Parsing error: "as" expression is only allowed on the primary @if block when linting a project that uses as in an @else if branch - which is a feature of Angular 20.2 (angular/angular#63047).

I suspect this will be fixed by updating this dependency?

@JamesHenry JamesHenry merged commit 5a4fe05 into main Aug 21, 2025
14 checks passed
@JamesHenry JamesHenry deleted the renovate/angular-monorepo branch August 21, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants