Skip to content

build: update cross-repo angular dependencies to v22#3478

Open
angular-robot wants to merge 1 commit intoangular:mainfrom
angular-robot:ng-renovate/cross-repo-angular-dependencies
Open

build: update cross-repo angular dependencies to v22#3478
angular-robot wants to merge 1 commit intoangular:mainfrom
angular-robot:ng-renovate/cross-repo-angular-dependencies

Conversation

@angular-robot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/common (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/compiler (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/compiler-cli (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/core (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/forms (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/platform-browser (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence
@angular/router (source) 21.2.0-rc.022.0.0-next.0 age adoption passing confidence

Release Notes

angular/angular (@​angular/animations)

v22.0.0-next.0

Compare Source

Breaking Changes

  • Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
compiler
  • data prefixed attribute no-longer bind inputs nor outputs.
  • The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
  • in variables will throw in template expressions.
core
  • change AnimationCallbackEvent.animationComplete signature
http
  • Use the HttpXhrBackend with provideHttpClient(withXhr) if you want to keep supporting upload progress reports.
router
  • provideRoutes() has been removed. Use provideRouter() or ROUTES as multi token if necessary.
upgrade
  • Deprecated getAngularLib/setAngularLib have been removed use getAngularJSGlobal/setAngularJSGlobal instead.

Deprecations

http
  • withFetch is now deprecated, it can be safely removed.
Commit Type Description
d550bf713a build update minimum supported Node.js versions
compiler
Commit Type Description
488d962bc7 fix Don't bind inputs/outputs for data- attributes
03db2aefaa fix throw on duplicate input/outputs
786ef8261f fix throw on invalid in expressions
compiler-cli
Commit Type Description
2c87f21abe fix always parenthesize object literals in TCB
core
Commit Type Description
17d3ea44e2 feat add IdleRequestOptions support to IdleService
3bc095d508 feat Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
cb4cb77053 feat Add migration to add ChangeDetectionStrategy.Eager where applicable
2206efa55f feat add special return statuses for resource params
246a984a5d feat add TestBed.getFixture
a5981b83a6 feat support customization of @​defer's on idle behavior
98eb24cea0 feat Support optional timeout for idle deferred triggers
f9d8da6924 fix bind global context to idle callback shims in @​defer's idle service
b9b5c279b4 refactor enhance AnimationCallbackEvent.animationComplete signature
forms
Commit Type Description
fb166772d2 fix split the touched model into an input and touch output
2061fd8253 fix Untrack setValue in reactive forms
http
Commit Type Description
5c432fb8bb feat Use FetchBackend as default for the HttpBackend implementation
language-service
Commit Type Description
c6f98c723c feat Add support for idle timeout in defer blocks
router
Commit Type Description
3683902234 feat adds browserUrl input support to router links
bdb6ae9dbc refactor remove deprecated provideRoutes function.
upgrade
Commit Type Description
01a179577b refactor remove getAngularLib/setAngularLib

v21.2.1

Compare Source

core
Commit Type Description
e2e9a9a531 fix adds transfer cache to httpResource to fix hydration
b4ec3cc4e4 fix prevent child animation elements from being orphaned
e923d88398 fix Prevent removal of elements during drag and drop
http
Commit Type Description
277ade97ac fix correctly cache blob responses in transfer cache (#​67002)

v21.2.0

Compare Source

common
Commit Type Description
18003a33bb feat add an 'outlet' injector option for ngTemplateOutlet
8bbe6dc46c feat Add Location strategies to manage trailing slash on write
51cc914807 feat support height in ImageLoaderConfig and built-in loaders
compiler
Commit Type Description
72534e2a34 feat Add support for the instanceof binary operator
95b3f37d4a feat Exhaustive checks for switch blocks
04ba09a8d9 feat support AstVisitor.visitEmptyExpr()
ce80136e7b fix optimize away unnecessary restore/reset view calls
3242a61bae fix variable counter visiting some expressions twice
compiler-cli
Commit Type Description
473dd3e1cb fix attach source spans to object literal keys in TCB
a904d9f77b fix support nested component declaration
2ea6dfc6c9 fix update diagnostic to flag no-op arrow functions in listeners
core
Commit Type Description
8d5210c9fe feat add ChangeDetectionStrategy.Eager alias for Default
92d2498910 feat add host node to DeferBlockData (#​66546)
ea2016a6dc feat add support for nested animations
81cabc1477 feat add support for TypeScript 6
1ba9b7ac50 feat resource composition via snapshots
d9923b72a2 feat support arrow functions in expressions
a7e8abbb7e fix correctly handle SkipSelf when resolving from embedded view injector
0806ee3826 fix prevent animated element duplication with dynamic components in zoneless mode
ed78fa05c7 fix Remove note to skip arrow functions in best practices
forms
Commit Type Description
f56bb07d83 feat add field param to submit action and onInvalid
ba009b6031 feat add form directive
22afbb2f36 feat add parsing support to native inputs (#​66917)
95c386469c feat Add passing focus options to form field
95ecce8334 feat allow setting submit options at form-level
ebae211add feat introduce parse errors in signal forms
3937afc316 feat introduce SignalFormControl for Reactive Forms compatibility
30f0914754 feat support binding null to number input (#​66917)
dd208ca259 feat update submit function to accept options object
27397b3f4f fix clear parse errors when model updates (#​66917)
63d8005703 fix preserve custom-control focus context in signal forms
631f60d1f9 fix preserve parse errors when parse returns value
adfb83146b fix simplify design of parse errors
fb05fc86d0 fix sort error summary by DOM order
567f292e8e fix support custom controls as host directives
bdfb60f3e3 fix use consistent error format returned from parse
d75046bc09 fix warn when showing hidden field state
language-server
Commit Type Description
ebc90c26f5 feat Add completions and hover info for inline styles
26fd0839c3 feat Add folding range support for inline styles
573aadef7e feat Add quick info for inline styles
6fb39d9b62 feat Support client-side file watching via onDidChangeWatchedFiles
language-service
Commit Type Description
496967e7b1 feat add JSON schema for angularCompilerOptions
8c21866f49 feat add linked editing ranges for HTML tag synchronization
d2137928e8 perf use lightweight project warmup for Angular analysis
router
Commit Type Description
b51bab583d feat Add partial ActivatedRouteSnapshot information to canMatch params
cf9620f7d0 feat Make match options optional in isActive
907a94dcec feat Update IsActiveMatchOptions APIs to accept a Partial

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

See associated pull request for more information.
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels Mar 4, 2026
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request, generated by Renovate, updates Angular dependencies to version 22.0.0-next.0. My review focuses on the risk of adopting a pre-release version. I've added a comment to the root package.json recommending to wait for a stable release of Angular v22 to avoid potential instability and breaking changes.

},
"devDependencies": {
"@angular/compiler-cli": "21.2.0-rc.0",
"@angular/compiler-cli": "22.0.0-next.0",

Choose a reason for hiding this comment

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

high

This pull request updates multiple Angular dependencies across the repository to a pre-release version (22.0.0-next.0). Using pre-release versions (like -next.0) is risky as they can be unstable, contain bugs, and are not recommended for production or stable environments. It is advisable to use stable releases to ensure the stability and reliability of the applications. Please consider waiting for a stable release of Angular v22 before merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant