1+ <a name="18.2.21"></a>
2+
3+ # 18.2.21 (2025-09-10)
4+
5+ ## Breaking Changes
6+
7+ ### @angular/ssr
8+
9+ - The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
10+
11+ Before:
12+
13+ ```ts
14+ const bootstrap = () => bootstrapApplication(AppComponent, config);
15+ ```
16+
17+ After:
18+
19+ ```ts
20+ const bootstrap = (context: BootstrapContext) =>
21+ bootstrapApplication(AppComponent, config, context);
22+ ```
23+
24+ ### @angular-devkit/build-angular
25+
26+ | Commit | Type | Description |
27+ | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------ |
28+ | [700e6bc01](https://github.com/angular/angular-cli/commit/700e6bc0177a3e345a88e31be22496cc3054349b) | fix | avoid extra tick in SSR builds |
29+
30+ ### @angular/build
31+
32+ | Commit | Type | Description |
33+ | --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------- |
34+ | [cccc91b91](https://github.com/angular/angular-cli/commit/cccc91b919b4a8365efce9ee691940e351349075) | fix | avoid extra tick in SSR dev-server builds |
35+
36+ ### @angular/ssr
37+
38+ | Commit | Type | Description |
39+ | --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------- |
40+ | [4af385201](https://github.com/angular/angular-cli/commit/4af385201bf8ba05352faec26c6efa866b69d999) | feat | introduce BootstrapContext for isolated server-side rendering |
41+
42+ <!-- CHANGELOG SPLIT MARKER -->
43+
144<a name="18.2.20"></a>
245
346# 18.2.20 (2025-06-11)
@@ -3512,7 +3555,6 @@ Alan Agius, Charles Lyding and Doug Parker
35123555### @angular/cli
35133556
35143557- Several changes to the `ng analytics` command syntax.
3515-
35163558 - `ng analytics project <setting>` has been replaced with `ng analytics <setting>`
35173559 - `ng analytics <setting>` has been replaced with `ng analytics <setting> --global`
35183560
@@ -3523,7 +3565,6 @@ Alan Agius, Charles Lyding and Doug Parker
35233565- `--configuration` cannot be used with `ng run`. Provide the configuration as part of the target. Ex: `ng run project:builder:configuration`.
35243566- Deprecated `ng x18n` and `ng i18n-extract` commands have been removed in favor of `ng extract-i18n`.
35253567- Several changes in the Angular CLI commands and arguments handling.
3526-
35273568 - `ng help` has been removed in favour of the `—-help` option.
35283569 - `ng —-version` has been removed in favour of `ng version` and `ng v`.
35293570 - Deprecated camel cased arguments are no longer supported. Ex. using `—-sourceMap` instead of `—-source-map` will result in an error.
@@ -3543,7 +3584,6 @@ Alan Agius, Charles Lyding and Doug Parker
35433584- `browser` and `karma` builders `script` and `styles` options input files extensions are now validated.
35443585
35453586 Valid extensions for `scripts` are:
3546-
35473587 - `.js`
35483588 - `.cjs`
35493589 - `.mjs`
@@ -3552,7 +3592,6 @@ Alan Agius, Charles Lyding and Doug Parker
35523592 - `.mjsx`
35533593
35543594 Valid extensions for `styles` are:
3555-
35563595 - `.css`
35573596 - `.less`
35583597 - `.sass`
@@ -3595,7 +3634,6 @@ Alan Agius, Charles Lyding and Doug Parker
35953634### @ngtools/webpack
35963635
35973636- `ivy` namespace has been removed from the public API.
3598-
35993637 - `ivy.AngularWebpackPlugin` -> `AngularWebpackPlugin`
36003638 - `ivy.AngularPluginOptions` -> `AngularPluginOptions`
36013639
0 commit comments