Posts tagged "Angular"
-
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-runtimeto 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:
-
Angular v21 was released today and it is supported on Netlify on day one.
To upgrade, follow the Angular upgrade steps and update
@netlify/angular-runtimeto v3.0.1 or later.Learn more:
-
Angular 20 is now fully supported on Netlify with zero configuration required.
What’s new
-
Full Angular 20 compatibility: Deploy Angular 20 projects with all the latest features including stable signals APIs, zoneless change detection in developer preview, and incremental hydration.
-
Updated Angular template: We’ve refreshed our Angular starter template to showcase Angular 20’s capabilities, including the new control flow syntax and simplified component naming conventions.
-
Optimized SSR support: Angular 20’s stable incremental hydration and route-level rendering modes work with Netlify’s edge network for faster, more efficient server-side rendering.
How to get started
Add your existing Angular 20 project by connecting your Git repository–or deploy our template–no configuration changes needed. For new projects, try our updated template with Angular 20’s latest features.
If you’re planning to upgrade from version 18 or earlier, check out our guidance on the Angular runtime.
-