Angular v22 is now supported
June 3, 2026
Angular v22 was released today and it is supported on Netlify on day one.
To upgrade, follow the Angular upgrade steps and update @netlify/angular-runtime to v4.0.0 or later.
Notable changes
- Minimum Node.js version: Angular v22 requires Node.js 22.12.0 or later. Make sure your Netlify site is configured to use a supported Node.js version.
allowedHostsconfig: Angular v21.x (specifically,@angular/ssr) introduced anallowedHostsoption in theAngularAppEngineconfiguration, giving you explicit control over which hosts are permitted to connect. Angular 22 started returning a HTTP 400 for requests with other host headers.@netlify/angular-runtimehandles adding the most common URLs for a Netlify deploy to theallowedHostsconfig automatically allowing developers to use Netlify’s branch and deploy previews without the HTTP 400 error.- Forwarded headers support with
trustProxyHeaders: A newtrustProxyHeadersoption lets Angular applications behind a reverse proxy correctly read forwarded headers such asX-Forwarded-ForandX-Forwarded-Proto.@netlify/angular-runtimehandles adding the required headers automatically.
Learn more: