Skip to content

[#62481] Upgrade Angular to v19 #19288

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

Draft
wants to merge 11 commits into
base: code-maintenance/esbuild
Choose a base branch
from

Conversation

myabc
Copy link
Contributor

@myabc myabc commented Jun 23, 2025

Ticket

https://community.openproject.org/wp/62481

What are you trying to accomplish?

Screenshots

What approach did you choose and why?

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

myabc added 11 commits June 23, 2025 17:57
* Switches ng build to browser-esbuild builder.
* Fixes static and dynamic imports.
* Switches to relative asset paths.
* Modernizes tsconfig files.
* Vendors jquery-ui. / HT https://gorails.com/episodes/how-to-use-jquery-with-esbuild
* Fixes various out-of-date path references.

See https://angular.dev/tools/cli/build-system-migration\#manual-migration-to-the-compatibility-builder
Updates `Assets.rebuild_manifest!` hash format.
Force updates Angular dependencies:

    ng update @angular/core@18 @angular/cli@18 --force

And performs automated upgrade:

- Replace deprecated HTTP related modules with provider functions
Force updates Angular dependencies:

    ng update @angular/core@19 @angular/cli@19 --force

And performs automated upgrade:

- Updates non-standalone Directives, Component and Pipes to
  'standalone:false' and removes 'standalone:true' from those who are
  standalone.
Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` &
`PLATFORM_INITIALIZER` respectively with `provideAppInitializer`,
`provideEnvironmentInitializer` & `providePlatformInitializer`
@myabc myabc added maintenance dependencies Pull requests that update a dependency file DO NOT MERGE labels Jun 23, 2025
@myabc myabc changed the title Code maintenance/angular 19 [#62481] Upgrade Angular to v19 Jun 24, 2025
@myabc myabc force-pushed the code-maintenance/esbuild branch 4 times, most recently from bd5089e to 878474e Compare June 28, 2025 23:00
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 DO NOT MERGE maintenance
Development

Successfully merging this pull request may close these issues.

1 participant