feat: add support for Angular 22
Merged
FA
4mo ago+10107+10107+01234567890123456789012345678901234567890123456789-6-6-0123456789
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
(For Windows users, please run the script in WSL)./mvnw clean package || exit ./bin/generate-samples.sh ./bin/configs/*.yaml || exit ./bin/utils/export_docs_generators.sh || exit
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed. - If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
Summary by cubic
Adds Angular 22 support to the typescript-angular generator and makes 22.0.0 the default. Updates docs, dependency mappings, samples, tests, and CI to generate and validate Angular 22 clients.
-
New Features
- Default
ngVersionset to 22.0.0; help/docs now show 9.x–22.x. - Added Angular 22 mapping: TypeScript >=6.0.0 <6.1.0,
rxjs7.4.0,ng-packagr22.0.0,zone.js0.15.0. - New configs:
bin/configs/typescript-angular-v22.yamland...-v22-provided-in-root.yaml, with generated samples and a provided-in-root test app; CI updated to includetypescript-angular-v22-provided-in-root.
- Default
-
Migration
- To stay on Angular ≤21, set
additionalProperties.ngVersionto your target (e.g., 21.0.0) or use the v21 configs.
- To stay on Angular ≤21, set