Skip to content

Commit 48d15fc

Browse files
alan-agius4mhevery
authored andcommitted
docs: update cli deprecations (angular#39547)
Add new CLI deprecations and remove old ones PR Close angular#39547
1 parent cf88ea0 commit 48d15fc

File tree

1 file changed

+11
-30
lines changed

1 file changed

+11
-30
lines changed

aio/content/guide/deprecations.md

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -437,46 +437,27 @@ This section contains a complete list all of the currently deprecated CLI flags.
437437

438438
| API/Option | May be removed in | Notes |
439439
| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- |
440-
| `i18nFile` | <!--v9--> v11 | Specified in the project locale configuration in version 9 and later. |
441-
| `i18nFormat` | <!--v9--> v11 | Format is now automatically detected. |
442-
| `i18nLocale` | <!--v9--> v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. |
443-
| `lazyModules` | <!--v9--> v11 | Used with deprecated SystemJsNgModuleLoader. |
444-
| `rebaseRootRelativeCssUrls` | <!--v8--> v11 | Intended only to assist with specific migration issues. |
445-
| `scripts[].lazy` | <!--v8--> v11 | Renamed to `scripts[].inject`. |
446-
| `styles[].lazy` | <!--v8--> v11 | Renamed to `styles[].inject`. |
447-
| `i18nFormat` | <!--v9--> v11 | Renamed to `format` to simplify the user experience. |
448-
| `i18nLocale` | <!--v9--> v11 | Redundant with project’s source locale. |
449-
| `scripts[].lazy` | <!--v8--> v11 | Renamed to `scripts[].inject`. |
450-
| `styles[].lazy` | <!--v8--> v11 | Renamed to `styles[].inject`. |
451-
| `i18nFile` | <!--v9--> v11 | Specified in the project locale configuration in version 9 and later. |
452-
| `i18nFormat` | <!--v9--> v11 | Format is now automatically detected. |
453-
| `i18nLocale` | <!--v9--> v11 | New [localization option](/guide/i18n#localize-config) in version 9 and later. |
454-
| `lazyModules` | <!--v9--> v11 | Used with deprecated SystemJsNgModuleLoader. |
455-
456-
### @angular-devkit/core
457-
458-
| API/Option | May be removed in | Notes |
459-
| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- |
460-
| `ModuleNotFoundException` | <!--v8--> 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).|
461-
| `resolve` | <!--v8--> 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).|
462-
| `setResolveHook` | <!--v8--> 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).|
463-
| `ResolveOptions` | <!--v8--> 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).|
464-
| `terminal` | <!--v8--> v10 | Unused implementation of terminal codes (color). |
465-
| `isObservable` | <!--v8--> v10 | Not used within projects. Used with Tooling API only. Use `isObservable` function from the `rxjs` package.|
440+
| `extractCss` | <!--v11--> v13 | No longer required to disable CSS extraction during development. |
441+
| `i18nFormat` | <!--v9--> v12 | Format is now automatically detected. |
442+
| `i18nLocale` | <!--v9--> v12 | New [localization option](/guide/i18n#localize-config) in version 9 and later. |
443+
| `lazyModules` | <!--v9--> v12 | Used with deprecated SystemJsNgModuleLoader. |
444+
| `hmrWarning` | <!--v11--> v13 | No longer has an effect. |
445+
| `servePathDefaultWarning` | <!--v11--> v13 | No longer has an effect. |
466446

467447
### @ngtools/webpack
468448

469449
| API/Option | May be removed in | Notes |
470450
| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- |
471-
| `discoverLazyRoutes` | <!--v9--> TBD | Used with deprecated SystemJsNgModuleLoader. |
472-
| `additionalLazyModules` | <!--v9--> TBD | Used with deprecated SystemJsNgModuleLoader. |
473-
| `additionalLazyModuleResources` | <!--v9--> TBD | Used with deprecated SystemJsNgModuleLoader. |
451+
| `discoverLazyRoutes` | <!--v9--> v12 | Used with deprecated SystemJsNgModuleLoader. |
452+
| `additionalLazyModules` | <!--v9--> v12 | Used with deprecated SystemJsNgModuleLoader. |
453+
| `additionalLazyModuleResources` | <!--v9--> v12 | Used with deprecated SystemJsNgModuleLoader. |
474454

475455
### @schematics/angular
476456

477457
| API/Option | May be removed in | Notes |
478458
| ------------------------------- | ----------------- |-------------------------------------------------------------------------------- |
479-
| `entryComponent` | <!--v9--> TBD | No longer needed with Ivy. |
459+
| `entryComponent` | <!--v9--> v12 | No longer needed with Ivy. |
460+
| `lintFix` | <!--v11--> v12 | Deprecated as part of TSLint deprecation. |
480461

481462
{@a removed}
482463
## Removed APIs

0 commit comments

Comments
 (0)