@schematics/angular
Advanced tools
Changelog
19.1.0 (2025-01-15)
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.
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------- |
| 02825eec5 | feat | use @angular/build
package in library generation schematic |
| 88431b756 | fix | application migration should migrate ng-packagr builder package |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------- | | 2b8a02bac | feat | require build schemas from modules | | fe1ae6933 | fix | avoid Node.js resolution for relative builder schema |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------------- | | ce7c4e203 | fix | handle Windows drive letter case insensitivity in path functions |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------- |
| 2f55209dd | fix | update Rule
type to support returning a Promise
of Tree
|
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------ |
| 2c9d7368f | feat | add ng-packagr builder to the package |
| 0a570c0c2 | feat | add support for customizing URL segments with i18n |
| 298b554a7 | feat | enable component template hot replacement by default |
| d350f357b | fix | correctly validate locales subPath
|
| 8aa1ce608 | fix | handle loaders correctly in SSR bundles for external packages |
| 3b7e6a8c6 | fix | invalidate component template updates with dev-server SSR |
| 8fa682e57 | fix | remove deleted assets from output during watch mode |
| 48cae815c | fix | skip vite SSR warmup file configuration when SSR is disabled |
| ba16ad6b5 | fix | support incremental build file results in watch mode |
| 955acef3d | fix | trigger browser reload on asset changes with Vite dev server |
| e74300a2c | fix | use component updates for component style HMR |
| 6a19c217e | fix | warn when using both isolatedModules
and emitDecoratorMetadata
|
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------------------------- |
| 8d7a51dfc | feat | add modulepreload
for lazy-loaded routes |
| 41ece633b | feat | redirect to preferred locale when accessing root route without a specified locale |
| 3feecddbb | fix | disable component boostrapping when running route extraction |
| 6edb90883 | fix | throw error when using route matchers |
<a name="19.0.7"></a>
Changelog
19.0.7 (2025-01-08)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------ | | 95c22aeff | fix | provide better error when builder is not defined |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | --------------------------------- | | 028652992 | fix | preserve css type for jasmine.css |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------- |
| f7522342a | fix | add asset tracking to application builder watch files |
| e973643bf | fix | do not mark Babel _defineProperty helper function as pure |
| 881095eec | fix | enable serving files with bundle-like names |
| db10af0b3 | fix | fix incorrect budget calculation |
| c822f8f15 | fix | handle relative URLs when constructing new URLs during server fetch |
| b43c648b0 | fix | mitigate JS transformer worker execArgv errors |
| 1f2481a4f | fix | pass define
option defined in application builder to Vite prebundling |
| c94f568a4 | fix | warn when @angular/localize/init
is imported directly |
<a name="19.1.0-next.2"></a>
Changelog
19.1.0-next.2 (2024-12-18)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------- | | fe1ae6933 | fix | avoid Node.js resolution for relative builder schema |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------ | | a9a347014 | fix | jasmine.clock with app builder |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------- | | 298b554a7 | feat | enable component template hot replacement by default | | 19bb2d480 | fix | force HTTP/1.1 in dev-server SSR with SSL | | 3b7e6a8c6 | fix | invalidate component template updates with dev-server SSR |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------- |
| 1bf9381c8 | fix | correctly resolve pre-transform resources in Vite SSR without AppEngine |
| ad1d7d76f | fix | ensure correct Location
header for redirects behind a proxy |
<a name="19.0.6"></a>
Changelog
19.0.6 (2024-12-18)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------ | | db7421231 | fix | jasmine.clock with app builder |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------- | | 5fbc105ed | fix | force HTTP/1.1 in dev-server SSR with SSL |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------- |
| 2f4df6b2b | fix | correctly resolve pre-transform resources in Vite SSR without AppEngine |
| 0789a9e13 | fix | ensure correct Location
header for redirects behind a proxy |
<a name="19.1.0-next.1"></a>
Changelog
19.1.0-next.1 (2024-12-12)
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.
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------- | | 2b8a02bac | feat | require build schemas from modules |
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------- | | fb41d182e | fix | fix webpack config transform for karma | | 9e2d3fbd1 | fix | handle windows spec collisions |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------- |
| 0a570c0c2 | feat | add support for customizing URL segments with i18n |
| 210bf4e2b | fix | Fixing auto-csp edge cases where |
| d811a7ffb | fix | handle external @angular/
packages during SSR (#29094) |
| 64f32c769 | fix | provide component HMR update modules to dev-server SSR |
| c832bac9b | fix | show error when Node.js built-ins are used during ng serve
|
| 887599822 | fix | use consistent path separators for template HMR identifiers |
| 75998ebab | perf | reuse TS package.json cache when rebuilding |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------------------------- |
| 8d7a51dfc | feat | add modulepreload
for lazy-loaded routes |
| 41ece633b | feat | redirect to preferred locale when accessing root route without a specified locale |
| d7214e961 | fix | include Content-Language
header when locale is set |
| 10a5b8b6b | fix | disable component bootstrapping during route extraction |
<a name="19.0.5"></a>
Changelog
19.0.5 (2024-12-12)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------- | | 6c319e44c | fix | fix webpack config transform for karma |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------- |
| 251bd9f22 | fix | Fixing auto-csp edge cases where |
| 1047b8635 | fix | handle external @angular/
packages during SSR (#29094) |
| 376ee9966 | fix | provide component HMR update modules to dev-server SSR |
| 5ea9ce376 | fix | use consistent path separators for template HMR identifiers |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------- |
| b3c6c7eb2 | fix | include Content-Language
header when locale is set |
| 4203efb90 | fix | disable component bootstrapping during route extraction |
<a name="19.0.4"></a>
Changelog
19.0.4 (2024-12-05)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------ | | 23667ed4a | fix | handle windows spec collisions |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------ |
| fc41f50b5 | fix | show error when Node.js built-ins are used during ng serve
|
| 14451e275 | perf | reuse TS package.json cache when rebuilding |
<a name="19.1.0-next.0"></a>