diff --git a/aio/content/guide/deprecations.md b/aio/content/guide/deprecations.md index 34c1e5a304..778c9260a5 100644 --- a/aio/content/guide/deprecations.md +++ b/aio/content/guide/deprecations.md @@ -489,6 +489,56 @@ If you rely on the behavior that the same object instance should cause change de - Clone the resulting value so that it has a new identity. - Explicitly call [`ChangeDetectorRef.detectChanges()`](api/core/ChangeDetectorRef#detectchanges) to force the update. +{@ deprecated-cli-flags} +## Deprecated CLI APIs and Options + +This section contains a complete list all of the currently deprecated CLI flags. + +### @angular-devkit/build-angular + +| API/Option | May be removed in | Notes | +| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- | +| `i18nFile` | v11 | Specified in the project locale configuration in version 9 and later. | +| `i18nFormat` | v11 | Format is now automatically detected. | +| `i18nLocale` | v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. | +| `lazyModules` | v11 | Used with deprecated SystemJsNgModuleLoader. | +| `rebaseRootRelativeCssUrls` | v11 | Intended only to assist with specific migration issues. | +| `scripts[].lazy` | v11 | Renamed to `scripts[].inject`. | +| `styles[].lazy` | v11 | Renamed to `styles[].inject`. | +| `i18nFormat` | v11 | Renamed to `format` to simplify the user experience. | +| `i18nLocale` | v11 | Redundant with project’s source locale. | +| `scripts[].lazy` | v11 | Renamed to `scripts[].inject`. | +| `styles[].lazy` | v11 | Renamed to `styles[].inject`. | +| `i18nFile` | v11 | Specified in the project locale configuration in version 9 and later. | +| `i18nFormat` | v11 | Format is now automatically detected. | +| `i18nLocale` | v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. | +| `lazyModules` | v11 | Used with deprecated SystemJsNgModuleLoader. | + +### @angular-devkit/core + +| API/Option | May be removed in | Notes | +| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- | +| `ModuleNotFoundException` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options).| +| `resolve` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options).| +| `setResolveHook` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options).| +| `ResolveOptions` | v10 | Not used within projects. Used with Tooling API only. Not Yarn PnP compatible and not used in the Angular CLI. Use Node.js [require.resolve](https://nodejs.org/api/modules.html#modules_require_resolve_request_options).| +| `terminal` | v10 | Unused implementation of terminal codes (color). | +| `isObservable` | v10 | Not used within projects. Used with Tooling API only. Use `isObservable` function from the `rxjs` package.| + +### @ngtools/webpack + +| API/Option | May be removed in | Notes | +| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- | +| `discoverLazyRoutes` | TBD | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModules` | TBD | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModuleResources` | TBD | Used with deprecated SystemJsNgModuleLoader. | + +### @schematics/angular + +| API/Option | May be removed in | Notes | +| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- | +| `entryComponent` | TBD | No longer needed with Ivy. | + {@a removed} ## Removed APIs