From 48d15fc760e276453687440a1bbb8daadce5ccd5 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 3 Nov 2020 12:37:46 +0100 Subject: [PATCH] docs: update cli deprecations (#39547) Add new CLI deprecations and remove old ones PR Close #39547 --- aio/content/guide/deprecations.md | 41 +++++++++---------------------- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/aio/content/guide/deprecations.md b/aio/content/guide/deprecations.md index 2a2c04d720..eb395f686d 100644 --- a/aio/content/guide/deprecations.md +++ b/aio/content/guide/deprecations.md @@ -437,46 +437,27 @@ This section contains a complete list all of the currently deprecated CLI flags. | 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.| +| `extractCss` | v13 | No longer required to disable CSS extraction during development. | +| `i18nFormat` | v12 | Format is now automatically detected. | +| `i18nLocale` | v12 | New [localization option](/guide/i18n#localize-config) in version 9 and later. | +| `lazyModules` | v12 | Used with deprecated SystemJsNgModuleLoader. | +| `hmrWarning` | v13 | No longer has an effect. | +| `servePathDefaultWarning` | v13 | No longer has an effect. | ### @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. | +| `discoverLazyRoutes` | v12 | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModules` | v12 | Used with deprecated SystemJsNgModuleLoader. | +| `additionalLazyModuleResources` | v12 | Used with deprecated SystemJsNgModuleLoader. | ### @schematics/angular | API/Option | May be removed in | Notes | | ------------------------------- | ----------------- |-------------------------------------------------------------------------------- | -| `entryComponent` | TBD | No longer needed with Ivy. | +| `entryComponent` | v12 | No longer needed with Ivy. | +| `lintFix` | v12 | Deprecated as part of TSLint deprecation. | {@a removed} ## Removed APIs