2 Features Released with 17.0.0
Browse Other Releases
Top Contributors in 17.0.0
Directory Browser for 17.0.0
All files are compared to previous version, 17.0.0-rc.5. Click here to browse diffs between other versions.
Release Notes Published
@angular/cli
| Commit | Description |
| -- | -- |
| | add @angular/ssr
as part of the ng update packageGroup
|
| | add Node.js 20 as supported version |
| | ignore peer mismatch when updating @nguniversal/builders |
| | remove Node.js 16 from supported checks |
@schematics/angular
| Commit | Description |
| -- | -- |
| | add ng new --ssr
|
| | add migration to migrate from @nguniversal
to @angular/ssr
|
| | add migration to replace usages of @nguniversal/builders
|
| | enable hydration when adding SSR, SSG or AppShell |
| | enable routing by default for new applications |
| | enable standalone by default in new applications |
| | generate functional interceptors by default |
| | update ng new
generated application |
| | updateng new
to use the esbuild application builder based builder |
| | account for new block syntax in starter template |
| | add missing express REQUEST
and RESPONSE
tokens |
| | add missing icons in ng-new template |
| | do not add unnecessary dependency on @angular/ssr
during migration |
| | enable TypeScript esModuleInterop
by default for ESM compliance |
| | noop workspace config migration when already executed |
| | pass ssr
option to application schematics |
| | remove baseUrl
from tsconfig.json
|
| | use @types/node v18 |
| | remove deprecated appId option |
@angular-devkit/build-angular
| Commit | Description |
| -- | -- |
| | add buildTarget
option to dev-server and extract-i18n
builders |
| | add initial support for bundle budgets to esbuild builders |
| | apply global CSS updates without a live-reload when using vite
|
| | enable localize support for SSR with application builder |
| | initial i18n extraction support for application builder |
| | initial support for application Web Worker discovery with esbuild |
| | standardize application builder output structure |
| | support basic web worker bundling with esbuild builders |
| | support component style budgets in esbuild builders |
| | support deploy URL option for browser-esbuild
builder |
| | support i18n inlining with esbuild-based builder |
| | support i18n with service worker and app-shell with esbuild builders |
| | support namedChunks option in application builder |
| | support standalone apps route discovery during prerendering |
| | account for arrow function IIFE |
| | account for styles specified as string literals and styleUrl |
| | add a maximum rendering timeout for SSR and SSG during development |
| | address a path concatenation on Windows |
| | allow SSR compilation to work with TS allowJs option |
| | automatically include known packages in vite prebundling |
| | avoid binary content in architect results with browser-esbuild |
| | avoid dev server update analysis when build fails with vite |
| | avoid dev-server proxy rewrite normalization when invalid value |
| | avoid in-memory prerendering ESM loader errors |
| | avoid repeat error clear in vite development server |
| | avoid spawning workers when there are no routes to prerender |
| | clean up internal Angular state during rendering SSR |
| | clear diagnostic cache when external templates change with esbuild builders |
| | conditionally enable deprecated Less stylesheet JavaScript support |
| | convert AOT compiler exceptions into diagnostics |
| | correctly resolve polyfills when baseUrl
URL is not set to root |
| | disable dependency optimization for SSR |
| | disable parallel TS/NG compilation inside WebContainers |
| | do not perform advanced optimizations on @angular/common/locales/global
|
| | do not print Angular is running in development mode.
in the server console when running prerender in dev mode |
| | do not print Angular is running in development mode.
in the server console when running prerender in dev mode |
| | elide setClassDebugInfo calls |
| | elide setClassMetadataAsync calls |
| | ensure all SSR chunks are resolved correctly with dev server |
| | ensure correct web worker URL resolution in vite dev server |
| | ensure css url() prefix warnings support Sass rebasing |
| | ensure i18n locale data is included in SSR application builds |
| | ensure localize polyfill and locale specifier are injected when not inlining |
| | ensure recalculation of component diagnostics when template changes |
| | ensure secondary Angular compilations are unblocked on start errors |
| | ensure that externalMetadata is defined |
| | ensure unique internal identifiers for inline stylesheet bundling |
| | ensure Web Worker code file is replaced in esbuild builders |
| | exclude node.js built-ins from vite dependency optimization |
| | expose ssr-dev-server builder in the public api |
| | fail build on non bundling error when using the esbuild based builders |
| | fully track Web Worker file changes in watch mode |
| | generate a file containing a list of prerendered routes |
| | handle HTTP requests to assets during prerendering |
| | handle HTTP requests to assets during SSG in dev-server |
| | improve sharing of TypeScript compilation state between various esbuild instances during rebuilds |
| | in vite skip SSR middleware for path with extensions |
| | keep dependencies pre-bundling validate between builds |
| | limit concurrent output file writes with application builder |
| | log number of prerendered routes in console |
| | media files download files in vite |
| | normalize paths when invalidating stylesheet bundler |
| | only show changed output files in watch mode with esbuild |
| | only watch used files with application builder |
| | prebundle dependencies for SSR when using Vite |
| | process nested tailwind usage in application builder |
| | provide server baseUrl result property in Vite-based dev server |
| | re-add TestBed compileComponents in schematics to support defer block testing |
| | remove CJS usage warnings for inactionable packages |
| | remove support for Node.js v16 |
| | remove unactionable error overlay suggestion from Vite-based dev server |
| | resolve and load sourcemaps during prerendering to provide better stacktraces |
| | resolve and load sourcemaps when using vite dev server with prerendering and ssr |
| | several fixes to assets and files writes in browser-esbuild builder |
| | silence xhr2 not ESM module warning |
| | skip checking CommonJS module descendants |
| | support custom index option paths in Vite-based dev server |
| | update ssr
option definition |
| | use a dash in bundle names |
| | use browserslist when processing global scripts in application builder |
| | use component style load result caching information for file watching |
| | use incremental component style bundling only in watch mode |
| | warn if using partial mode with application builder |
| | Windows Node.js 20 prerendering failure (#26186) |
| | cache polyfills virtual module result |
| | conditionally add Angular compiler plugin to polyfills bundling |
| | disable ahead of time prerendering in vite dev-server |
| | fully avoid rebuild of component stylesheets when unchanged |
| | only perform a server build when either prerendering, app-shell or ssr is enabled |
| | only rebundle browser polyfills on explicit changes |
| | only rebundle global scripts/styles on explicit changes |
| | only rebundle server polyfills on explicit changes |
| | optimize server or browser only dependencies once |
| | patch fetch
to load assets from memory |
| | reduce CLI loading times by removing critters from critical path |
| | remove JavaScript transformer from server polyfills bundling |
| | reuse esbuild generated output file hashes |
| | start SSR dependencies optimization before the first request |
| | use incremental bundling for component styles in esbuild builders |
| | use single JS transformer instance during dev-server prebundling |
@angular-devkit/schematics
| Commit | Description |
| -- | -- |
| | remove deprecated runExternalSchematicAsync
and runSchematicAsync
|
@angular/pwa
| Commit | Description | | -- | -- | | | replace Angular logos |
@angular/ssr
| Commit | Description |
| -- | -- |
| | add performance profiler to CommonEngine
|
| | correctly set config URL |
| | enable prerender
and ssr
for all build configuration |
| | enable performance profiler option name |
@ngtools/webpack
| Commit | Description | | -- | -- | | | add automated preconnects for image domains | | | account for arrow function IIFE | | | account for styles specified as string literals and styleUrl | | | adjust static scan to find image domains in standlone components | | | remove setClassDebugInfo calls | | | remove setClassMetadataAsync calls | | | skip transforming empty inline styles in Webpack JIT compilations |
Breaking Changes
@schematics/angular
- Routing is enabled by default for new applications when using
ng generate application
andng new
. The--no-routing
command line option can be used to disable this behaviour. ng g interceptor
now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the--no-functional
command flag should be used.rootModuleClassName
,rootModuleFileName
andmain
options have been removed from the publicpwa
andapp-shell
schematics.- App-shell and Universal schematics deprecated unused
appId
option has been removed. ### @angular-devkit/build-angular - Node.js v16 support has been removed
Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule
@angular-devkit/schematics
- deprecated
runExternalSchematicAsync
andrunSchematicAsync
methods have been removed in favor ofrunExternalSchematic
andrunSchematic
. ## Deprecations ### StateTransferInitializerModule
,TransferHttpCacheInterceptor
anddomContentLoadedFactory
have been deprecated in favor ofprovideClientHydration
. See: https://angular.io/api/platform-browser/provideClientHydration ### @angular-devkit/build-angular- The
browserTarget
in the dev-server and extract-i18n builders have been deprecated in favor ofbuildTarget
.