Angular CLI: 19.1.0 Release

Release date:
January 15, 2025
Previous version:
19.1.0-rc.0 (released January 8, 2025)
Magnitude:
157 Diff Delta
Contributors:
6 total committers
Data confidence:
Commits:

30 Features Released with 19.1.0

Top Contributors in 19.1.0

devversion
alan-agius4
angular-robot
clydin
josephperrott
dgp1130

Directory Browser for 19.1.0

All files are compared to previous version, 19.1.0-rc.0. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

<a name="19.1.0"></a>

19.1.0 (2025-01-15)

@schematics/angular

| Commit | Description | | -- | -- | | feat - 02825eec5 | use @angular/build package in library generation schematic | | fix - 88431b756 | application migration should migrate ng-packagr builder package |

@angular-devkit/architect

| Commit | Description | | -- | -- | | feat - 2b8a02bac | require build schemas from modules | | fix - fe1ae6933 | avoid Node.js resolution for relative builder schema |

@angular-devkit/core

| Commit | Description | | -- | -- | | fix - ce7c4e203 | handle Windows drive letter case insensitivity in path functions |

@angular-devkit/schematics

| Commit | Description | | -- | -- | | fix - 2f55209dd | update Rule type to support returning a Promise of Tree |

@angular/build

| Commit | Description | | -- | -- | | feat - 2c9d7368f | add ng-packagr builder to the package | | feat - 0a570c0c2 | add support for customizing URL segments with i18n | | feat - 298b554a7 | enable component template hot replacement by default | | fix - d350f357b | correctly validate locales subPath | | fix - 8aa1ce608 | handle loaders correctly in SSR bundles for external packages | | fix - 3b7e6a8c6 | invalidate component template updates with dev-server SSR | | fix - 8fa682e57 | remove deleted assets from output during watch mode | | fix - 48cae815c | skip vite SSR warmup file configuration when SSR is disabled | | fix - ba16ad6b5 | support incremental build file results in watch mode | | fix - 955acef3d | trigger browser reload on asset changes with Vite dev server | | fix - e74300a2c | use component updates for component style HMR | | fix - 6a19c217e | warn when using both isolatedModules and emitDecoratorMetadata |

@angular/ssr

| Commit | Description | | -- | -- | | feat - 8d7a51dfc | add modulepreload for lazy-loaded routes | | feat - 41ece633b | redirect to preferred locale when accessing root route without a specified locale | | fix - 3feecddbb | disable component boostrapping when running route extraction | | fix - 6edb90883 | throw error when using route matchers |

Deprecations

@angular/build

  • The baseHref option under i18n.locales and i18n.sourceLocale in angular.json is deprecated in favor of subPath.

The subPath defines the URL segment for the locale, serving as both the HTML base HREF and the directory name for output. By default, if not specified, subPath will use the locale code.