Skip to content

chore(deps): upgrade frontend to Angular 20#4528

Merged
aglinxinyuan merged 35 commits into
mainfrom
xinyuan-angular-20
Apr 27, 2026
Merged

chore(deps): upgrade frontend to Angular 20#4528
aglinxinyuan merged 35 commits into
mainfrom
xinyuan-angular-20

Conversation

@aglinxinyuan
Copy link
Copy Markdown
Contributor

@aglinxinyuan aglinxinyuan commented Apr 26, 2026

What changes were proposed in this PR?

Upgrade the frontend from Angular 19 to Angular 20 and make the supporting compatibility fixes needed for the current Texera app, build, and test setup.

  • Upgraded Angular packages to Angular 20
    • @angular/*
    • @angular/cli
    • @angular-devkit/*
    • @angular/cdk
  • Updated related frontend tooling and ecosystem packages
    • ng-zorro-antd
    • ngx-markdown
    • @angular-builders/custom-webpack
    • @angular-eslint/*
    • typescript
    • @types/node
    • y-websocket
  • Applied Angular migration updates
    • updated angular.json
    • updated TS config for Angular 20 compatibility
  • Fixed Angular 20 app/module issues
    • removed invalid NzMessageModule import usage
    • restored correct AppModule declarations/imports
  • Fixed typing and compatibility issues in editor/debugger code
    • Monaco type imports
    • Yjs / y-websocket typings
    • interval/timer typing updates
  • Updated affected specs to pass under Angular 20
    • replaced outdated Angular testing APIs where needed
    • simplified Monaco-heavy tests to avoid brittle runtime setup
  • Kept the existing app structure intact instead of doing a broader standalone migration

Any related issues, documentation, discussions?

Closes #4432

How was this PR tested?

  • yarn --cwd frontend format:ci
  • yarn --cwd frontend run build:ci
  • yarn --cwd frontend run test:ci

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Codex

@aglinxinyuan aglinxinyuan self-assigned this Apr 26, 2026
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI labels Apr 26, 2026
@github-actions github-actions Bot added the ci changes related to CI label Apr 26, 2026
@aglinxinyuan aglinxinyuan changed the base branch from main to xinyuan-angular-19 April 26, 2026 07:48
@github-actions github-actions Bot removed the ci changes related to CI label Apr 26, 2026
Base automatically changed from xinyuan-angular-19 to main April 27, 2026 19:45
Copy link
Copy Markdown
Contributor

@Xiao-zhen-Liu Xiao-zhen-Liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@aglinxinyuan aglinxinyuan enabled auto-merge (squash) April 27, 2026 21:18
@aglinxinyuan aglinxinyuan disabled auto-merge April 27, 2026 21:28
@aglinxinyuan aglinxinyuan enabled auto-merge (squash) April 27, 2026 21:28
@aglinxinyuan aglinxinyuan merged commit f4384f9 into main Apr 27, 2026
18 of 19 checks passed
@aglinxinyuan aglinxinyuan deleted the xinyuan-angular-20 branch April 27, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Angular 20

3 participants