unstale

npm / @angular/cli

@angular/cli

What changed in @angular/cli 6 to 22, from its official release notes, upgrade guides and advisories. Also covers @angular-devkit/architect, @angular-devkit/core, @angular-devkit/schematics, @angular/build, @angular/pwa, @angular/ssr, @schematics/angular. Sources checked 2026-11-30.

305 breaking17 security31 deprecations130 new APIs and options23 performance145 behavior and defaults262 tooling256 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@angular/cli 22252 changes

Breaking changes 25

  • The entry-point schematic rejects ng-packagr builders.

    22.3.0release notes

  • Asset followSymlinks now defaults to false.

    22.3.0release notes

  • A library builder is available, and the Angular schematics use it and provide an entry-point schematic.

    22.3.0release notes

  • TypeErrors thrown by content templates are no longer ignored.

    22.2.7release notes

  • When install options are provided, ignoreScripts now defaults to true.

    22.2.6release notes

  • Proxy glob patterns are now matched against the URL pathname only.

    22.2.4release notes

  • Only the first value of the X-Forwarded-Prefix header is now used.

    22.2.4release notes

  • A prerendering failure now fails the build and excludes the affected routes.

    22.1.7release notes

  • The CLI no longer searches the current directory for bare executable names on Windows.

    22.1.4release notes

  • Updating catalog packages now aborts and guides developers through manual mitigation when needed.

    22.1.0release notes

  • The CLI no longer allows a registry environment variable to override Yarn's registry during updates.

    22.1.0release notes

  • All route parameters are replaced when resolving relative redirects.

    22.0.6release notes

  • Removes the unused outDir setting from the generated app tsconfig.

    22.0.5release notes

  • The default workspace VS Code mcp.json configuration is removed.

    22.0.3release notes

  • Options now take precedence over environment variables.

    22.0.2release notes

  • Application builder output paths are restricted to the output directory.

    22.0.1release notes

  • SSR no longer falls back to CSR for requests that fail host validation; unrecognized Host headers return 400, so valid hosts must be configured.

    22.0.0release notes

  • The package is no longer available; the architect CLI tool has moved to @angular-devkit/architect.

    22.0.0release notes

  • The experimental Jest builder has been removed.

    22.0.0release notes

  • The experimental Web Test Runner builder has been removed.

    22.0.0release notes

  • istanbul-lib-instrument is now an optional peer dependency; Karma projects using code coverage must ensure it is installed.

    22.0.0release notes

  • Node.js v20 is no longer supported; the minimum supported versions are v22.22.0 and v24.13.1.

    22.0.0release notes

  • The application builder option experimentalPlatform is renamed to platform.

    22.0.0release notes

  • The dev server gives PORT highest priority, overriding angular.json port settings and the --port flag, including the default port 4200.

    22.0.0release notes

  • Proxy headers require explicit opt-in; when trustProxyHeaders is true, all X-Forwarded-* headers are supported.

    22.0.0release notes

Security 6

  • Adds the CSP nonce to stylesheet and modulepreload link elements.

    22.2.3release notes

  • Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows

    20.3.36, 21.2.23, 22.1.7security advisoryrelease notesrelease notesrelease notes

  • The loader preserves integrity and crossorigin attributes.

    22.1.5release notes

  • The best-practices tool enforces MCP roots and throws when a workspace is outside them; it also handles errors from isAllowedWorkspacePath.

    22.1.5release notes

  • The builder prevents OS command injection.

    22.0.5release notes

  • Dynamically loaded modules receive subresource integrity validation.

    22.0.0release notes

Deprecations 8

  • The ng-packagr builder and its programmatic APIs are deprecated; use the @angular/build:library builder instead.

    22.3.0release notes

  • The testRunner option in the application, library, and ng-new schematics is deprecated; future new projects will only be configured with Vitest.

    22.3.0release notes

  • The splitting option is deprecated because disabling code splitting is no longer needed with Vitest 5.

    22.2.0release notes

  • This API is deprecated; use the standard Web API TextDecoder instead.

    22.1.0release notes

  • This API is deprecated; use the standard Web API TextEncoder instead.

    22.1.0release notes

  • CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.

    22.0.0release notes

  • The @ngtools/webpack loader and plugin are deprecated; use @angular/build instead.

    22.0.0release notes

  • Webpack builders in build-angular and build-webpack are deprecated; use @angular/build builders instead.

    22.0.0release notes

New APIs and options 9

  • The unit-test builder accepts a polyfills option.

    22.3.0release notes

  • Array-form proxy configurations support a string context.

    22.2.2release notes

  • The Vitest browser provider ng-add now adds the browsers option to angular.json.

    22.2.1release notes

  • Adds the --root command-line option to mcp.

    22.2.0release notes

  • The unit-test builder gains an option to enable code splitting.

    22.1.7release notes

  • Vitest isolation can now be disabled from the builder.

    22.0.1release notes

  • The headers option can configure Access-Control-Allow-Origin.

    22.0.0release notes

  • The unit-test builder adds an isolate option.

    22.0.0release notes

  • The unit-test builder adds a quiet option to suppress build noise in unit tests.

    22.0.0release notes

Performance 14

  • Server bundles avoid bundling Domino more than once.

    22.2.5release notes

  • Library parallel compilation avoids web worker channel overhead.

    22.2.5release notes

  • Resolves asset patterns concurrently with bounded concurrency.

    22.2.3release notes

  • Aggregate worker allocation is bounded across dominant files.

    22.2.1release notes

  • Concurrent worker allocation is bounded for dominant files.

    22.2.1release notes

  • The worker no longer loads compiler-cli and TypeScript.

    22.2.1release notes

  • Chokidar no longer scans unimported node_modules in watch mode.

    22.2.1release notes

  • Reduces watcher debounce latency for faster incremental rebuilds.

    22.2.0release notes

  • Updating the sourcemap ignore list avoids full JSON parsing.

    22.1.8release notes

  • Prerender routes are batched and in-memory server bundles are shared.

    22.1.6release notes

  • Releases build resources earlier when not running in watch mode.

    22.1.3release notes

  • Avoids buffering the request body when sanitizing headers.

    22.1.3release notes

  • Semaphore backpressure throttling is implemented in JavaScriptTransformer.

    22.0.2release notes

  • Registry query counts are optimized by fetching package metadata lazily.

    22.0.1release notes

Behavior and default changes 31

  • The official Node.js support check is decoupled from the execution gate.

    22.3.0release notes

  • Library outputPath is allowed within the project root.

    22.3.0release notes

  • A separate server chunk is now generated for each prerendered page.

    22.2.8release notes

  • Optimized chunk hashes now include source map hashes.

    22.2.6release notes

  • The partition rule now supports delegating trees.

    22.2.5release notes

  • Autocompletion is now loaded only in interactive shells.

    22.2.4release notes

  • Integrity metadata is now added for all initial chunks beyond the module preload limit.

    22.2.4release notes

  • Web worker bundles now use distinct chunk naming.

    22.2.4release notes

  • Always uses AOT when extracting i18n messages.

    22.2.3release notes

  • Uses the chokidar watcher when followSymlinks is enabled.

    22.2.0release notes

  • Defaults preloadInitial to false when serviceWorker is enabled.

    22.2.0release notes

  • Recursively ignores output and cache paths while watching.

    22.2.0release notes

  • Temporary package installations are isolated from a parent Yarn workspace.

    22.1.7release notes

  • Supports case-insensitive and alternative license file names.

    22.1.3release notes

  • Always installs the package to inspect its manifest on disk for schematics.

    22.1.3release notes

  • Chunk optimization now uses Rolldown by default.

    22.1.0release notes

  • Angular SSR now supports the standard Forwarded header.

    22.1.0release notes

  • The persistent build cache is shared across Git worktrees.

    22.1.0release notes

  • Chunk optimization is now enabled for server builds.

    22.1.0release notes

  • The Istanbul coverage provider is favored when browser testing is enabled.

    22.0.8release notes

  • The semantic affected-file walk is skipped when type checking is disabled.

    22.0.8release notes

  • The Karma runner now falls back to the build target’s preserveSymlinks option.

    22.0.6release notes

  • The unit-test builder now inherits preserveSymlinks from the build target.

    22.0.5release notes

  • Non-SSG page lookups are no longer cached.

    22.0.2release notes

  • Semaphore backpressure throttling is implemented in PackageManager.

    22.0.2release notes

  • JSON imports are excluded from Vite dependency optimization.

    22.0.1release notes

  • Migrations of the same version are no longer sorted alphabetically.

    22.0.1release notes

  • On the first run, schematic detection falls back to the local package.json.

    22.0.1release notes

  • Chunk optimization is enabled by default with heuristics.

    22.0.0release notes

  • Generated components now default to OnPush change detection.

    22.0.0release notes

  • Generated workspaces rely on the strict template default.

    22.0.0release notes

Tooling 49

  • Builder options for build and test are included in json-help output.

    22.3.0release notes

  • Library watch mode supports incremental asset updates and output cleanup.

    22.3.0release notes

  • Oxfmt is supported for automatic file formatting.

    22.3.0release notes

  • A migration is available to move projects from ng-packagr to the library builder.

    22.3.0release notes

  • Reports the worktree-local cache in the command output.

    22.2.7release notes

  • The build requires only the launchers loaded by the Karma configuration.

    22.2.6release notes

  • The build enables the oxc WASI fallback in WebContainer environments.

    22.2.6release notes

  • The Angular schematics generate pnpm-workspace.yaml with allowBuilds for pnpm projects.

    22.2.6release notes

  • The Tailwind schematic updates the PostCSS configuration used by the build.

    22.2.6release notes

  • The use-application-builder migration now migrates serviceWorker: true to a configuration path.

    22.2.6release notes

  • The generated app-shell component now has an explicit type.

    22.2.5release notes

  • The CLI now supports resolving subproject dependencies in bun workspaces.

    22.2.5release notes

  • The filter rule now supports delegating trees.

    22.2.5release notes

  • The CLI now explains how to choose a project when a schematic cannot determine one.

    22.2.5release notes

  • The migration now handles CallInfo returnValue and object.

    22.2.5release notes

  • The runner now warns about unsupported options.

    22.2.5release notes

  • Disables Vitest fsModuleCache in the unit-test builder.

    22.2.3release notes

  • Sorts discovered unit-test files for deterministic builds.

    22.2.3release notes

  • Emitted HTML assets are now served in the dev-server.

    22.2.1release notes

  • The migration tool now skips components that have a change detection strategy.

    22.2.1release notes

  • Supports splitting browser and server stats JSON files for easier consumption.

    22.2.0release notes

  • Pre-compiles critical CSS plans at build time.

    22.2.0release notes

  • Compiles only included test files.

    22.2.0release notes

  • Code splitting is enabled for Vitest browser tests.

    22.1.7release notes

  • The dev-server Vite cache is kept local to each worktree.

    22.1.7release notes

  • Side-effect annotations are ignored in unit test builds.

    22.1.6release notes

  • The refactor-jasmine-vitest schematic transforms fail() calls to expect.fail().

    22.1.5release notes

  • The i18n inliner traverses the AST with an iterative post-order walker.

    22.1.5release notes

  • Code splitting is disabled for unit test builds.

    22.1.5release notes

  • The Angular schematic generates CLAUDE.md for Claude Code instead of AGENTS.md.

    22.1.4release notes

  • A target is set for Rolldown dependency prebundling in the Vite dev server.

    22.1.4release notes

  • Packages with built-in schematics are added to devDependencies only.

    22.1.2release notes

  • The CLI supports npm 12 metadata arrays and error formats, improving compatibility when using npm 12.

    22.1.1release notes

  • The generated AI configuration now includes Angular MCP server configuration.

    22.1.0release notes

  • A built-in SQLite cache store is available as a fallback.

    22.1.0release notes

  • Builds emit debug IDs to support stable subresource integrity hashes.

    22.1.0release notes

  • Declare devserver_start as not read-only, allowing tools to treat it as a state-changing operation.

    22.0.9release notes

  • Declare devserver_stop as not read-only, allowing tools to treat it as a state-changing operation.

    22.0.9release notes

  • Dependency resolution now supports subproject dependencies in pnpm workspaces.

    22.0.7release notes

  • Library unit tests now automatically inject localize/init.

    22.0.5release notes

  • Library unit tests now load zone.js dynamically.

    22.0.5release notes

  • Registry metadata fetching is supported when using the bun package manager.

    21.2.15, 22.0.2release notesrelease notes

  • The migration now uses null objects and callbacks.

    22.0.1release notes

  • The Karma-to-Vitest migration converts fakeAsync fake timers and migrates flush behavior when used in beforeEach.

    22.0.0release notes

  • The Vitest runner supports Istanbul coverage.

    22.0.0release notes

  • An update migration is added to migrate Karma to Vitest.

    22.0.0release notes

  • ng generate uses the service decorator.

    22.0.0release notes

  • Angular CLI adds support for Node.js 26.0.0.

    22.0.0release notes

  • The Vitest unit test runner supports runtime Zone.js detection.

    22.0.0release notes

Fixes and other changes 110

  • Array options defined in oneOf schemas are supported.

    22.3.0release notes

  • The library builder respects tsconfig declarationMap and compilationMode settings.

    22.3.0release notes

  • A library rebuilds in watch mode when transitive stylesheet dependencies change.

    22.3.0release notes

  • The Jasmine-to-Vitest refactor preserves stub-by-default semantics for createSpy when it has an original function.

    22.2.8release notes

  • Font stylesheet caching is restored.

    22.2.8release notes

  • The schematic now handles pending() in focused and skipped tests during Jasmine-to-Vitest refactoring.

    22.2.8release notes

  • The schematic now handles done callbacks in focused and skipped tests during Jasmine-to-Vitest refactoring.

    22.2.8release notes

  • Errors thrown by content templates now include the template path.

    22.2.7release notes

  • Adds the manifest link when the index option is an object.

    22.2.7release notes

  • Fixes sanitization of pnpm-workspace.yaml when using pnpm patches.

    22.2.7release notes

  • Forwards the poll option to the Karma build setup.

    22.2.7release notes

  • Passes an explicit port value of 0 through to the dev server.

    22.2.7release notes

  • Forwards the progress option to the Karma build setup.

    22.2.7release notes

  • Adds the missing vi import for toHaveBeenCalledBefore in the refactor-jasmine-vitest schematic.

    22.2.7release notes

  • The build copies assets replaced by a rename and removes every output of a deleted asset while watching.

    22.2.6release notes

  • The CLI validates dist-tags and manifest caching under modern Yarn.

    22.2.6release notes

  • Angular CLI commands now allow command arguments named help.

    22.2.6release notes

  • The modern Yarn error parser strips terminal escape sequences.

    22.2.6release notes

  • The CLI handles modern Yarn registry error output and 404 detection.

    22.2.6release notes

  • SSR destroys the platform when a request is aborted during rendering.

    22.2.6release notes

  • SSR validates prerender parameter values.

    22.2.6release notes

  • The Jasmine-to-Vitest refactor now preserves callThrough() on existing spies and the meaning of negated toHaveBeenCalledOnceWith; it adds a TODO for spy strategies configured with withArgs.

    22.2.6release notes

  • The CLI uses unquoted specifiers for registry manifest cache keys.

    22.2.6release notes

  • The CLI ignores registry manifests that do not match the requested version.

    22.2.6release notes

  • The dev server quotes weak ETags for served assets.

    22.2.6release notes

  • Generating another web worker now keeps the existing worker tsconfig.

    22.2.6release notes

  • The CLI now also cleans the worktree-local cache when running in a Git worktree.

    22.2.6release notes

  • karma-coverage is required only when coverage is enabled.

    22.2.5release notes

  • The generated component now has an explicit type.

    22.2.5release notes

  • Prerender redirect URLs are now escaped.

    20.3.42, 21.2.29, 22.2.5release notesrelease notesrelease notes

  • Trailing slashes are preserved in the query and fragment of redirect URLs.

    22.2.5release notes

  • The migration preserves the default getter access type of spyOnProperty.

    22.2.5release notes

  • The migration now handles spy.calls.first().args.

    22.2.5release notes

  • The dev server resolves sslKey relative to the workspace root.

    22.2.5release notes

  • Adding Tailwind ignores stylesheet entries that are not part of the workspace.

    22.2.5release notes

  • The migration now includes the SSR entry file.

    22.2.5release notes

  • The coverage error now suggests the istanbul provider.

    22.2.5release notes

  • The schematic no longer adds the web worker snippet to server configuration files.

    22.2.5release notes

  • Query parameter placeholders and route parameters are now resolved in redirect targets.

    22.2.4release notes

  • Schematic positional arguments are now kept in index order.

    22.2.4release notes

  • Paths in styles and polyfills now support quotes.

    22.2.4release notes

  • Generated application components now apply the configured viewEncapsulation value.

    22.2.4release notes

  • The Vite module cache is now invalidated for dev server output files that are removed.

    22.2.4release notes

  • Unit-test builder test targets now skip webWorkerTsConfig.

    22.2.4release notes

  • Avoids invalidating the diagnostic cache when a stylesheet changes.

    22.2.3release notes

  • Coalesces external watcher directories to avoid the macOS FSEvents limit.

    22.2.3release notes

  • Accepts array indices with multiple digits.

    22.2.3release notes

  • Continues to work when the package manager is not installed.

    22.2.3release notes

  • Resolves package names in npm workspace members.

    22.2.3release notes

  • Preserves preload metadata for nested empty-path routes.

    22.2.3release notes

  • Resolves relative redirects against the parent route.

    22.2.3release notes

  • Preserves query parameters on relative route redirects.

    22.2.3release notes

  • Ensures Sass importers return global Promise instances.

    22.2.3release notes

  • Avoids stack overflow when chaining many rules.

    22.2.3release notes

  • The migration now keeps the workspace build version.

    22.2.3release notes

  • Keeps the Vite server file watcher disabled in Vitest watch mode.

    22.2.3release notes

  • The SSR dev server preserves the Host header when proxying.

    22.2.2release notes

  • Glob entries in proxy configuration retain their order.

    22.2.2release notes

  • The compiler is now loaded for Vitest TestBed initialization.

    22.2.1release notes

  • The loader now encodes script type.

    22.2.1release notes

  • Spurious polling change events are now deduplicated.

    22.2.1release notes

  • Component updates are reset on each dev-server SSR page request.

    22.2.1release notes

  • The cache now preserves nested workspace paths.

    22.2.1release notes

  • Intermediate files are no longer sharded under worker surplus.

    22.2.1release notes

  • Batch locales are processed sequentially in the worker.

    22.2.1release notes

  • CLI options now correctly parse inline boolean values.

    22.2.1release notes

  • Standalone expression statements are no longer incorrectly marked as pure.

    22.2.1release notes

  • Includes inline component stylesheets among referenced watch files.

    22.2.0release notes

  • Runs setup file hooks for each spec file when coverage is enabled.

    22.2.0release notes

  • Auto-CSP supports standard JavaScript MIME types and case insensitivity.

    22.1.9release notes

  • Unknown options are now named in schema validation errors, making configuration problems easier to identify.

    22.1.9release notes

  • strictPort is disabled when port 0 is used in the dev-server.

    22.1.8release notes

  • The pathname is decoded when constructing the server asset path.

    22.1.7release notes

  • Binary values are preserved in the SQLite cache store.

    22.1.7release notes

  • The web request signal is aborted when the corresponding Node.js request is aborted.

    22.1.6release notes

  • The error message for top-level await is corrected to avoid misleading developers.

    22.1.5release notes

  • The build prevents syntax corruption for Crockford-style enum IIFEs.

    22.1.4release notes

  • The build counts statically imported chunks in the initial total.

    22.1.4release notes

  • The build returns direct file contents for non-Angular TypeScript files.

    22.1.4release notes

  • The build prevents syntax corruption in the oxc transform.

    22.1.4release notes

  • The platform is destroyed when the response stream is cancelled.

    22.1.4release notes

  • Paths in setupFiles are normalized to POSIX for the Vitest runner.

    22.1.4release notes

  • The build returns only the lowest version per target engine.

    22.1.4release notes

  • The guard generator imports UrlSegment instead of using subPath.

    22.1.4release notes

  • Prevents the build process from hanging after an unhandled error.

    22.1.3release notes

  • Retains watched files when an error occurs in the load result cache.

    22.1.3release notes

  • Correctly reports available package updates when running ng update without arguments.

    22.1.3release notes

  • Discovers migrations from installed packages when registry metadata omits them.

    22.1.3release notes

  • Settles when the client disconnects.

    22.1.3release notes

  • Prevents IIFE wrappers from interleaving for adjacent classes in minified files.

    22.1.2release notes

  • Paths from sandboxed execroots are rewritten when running under Bazel.

    22.1.1release notes

  • Update resolution now respects client-side release age settings.

    22.1.0release notes

  • Updates now resolve the correct registry name when package dependencies use npm alias syntax.

    22.1.0release notes

  • The CLI now reverts package.json changes if installation tasks fail during an update.

    22.1.0release notes

  • Safeguard the Karma builder stream controller when it is closed.

    22.0.9release notes

  • Import map integrity keys are now validated as URL-like specifiers.

    22.0.8release notes

  • MCP devserver tool names now conform to the spec regex.

    22.0.8release notes

  • Metafile paths are remapped when the workspace root is a symlink or junction.

    22.0.8release notes

  • Custom config options are preserved in runnerConfig for Vitest.

    22.0.8release notes

  • Drive letter casing is canonicalized for the workspace root on Windows.

    22.0.8release notes

  • Temporary installs now copy the packageManager field and Yarn configuration.

    22.0.7release notes

  • Builder-injected i18n locale data is no longer externalized.

    22.0.6release notes

  • All Vite ID prefixes are stripped from minified code when external dependencies are present.

    22.0.6release notes

  • Update bootstrapping now respects the release age policy.

    21.2.18, 22.0.5release notesrelease notes

  • The command handler now handles package manager errors gracefully.

    22.0.5release notes

  • Response headers are preserved during redirects.

    22.0.5release notes

  • The refactor-jasmine-vitest schematic now maps the browserMode option correctly.

    22.0.1release notes

  • The registry option is now validated as a URL.

    22.0.1release notes

  • Temporary package installation is isolated from the parent pnpm workspace.

    22.0.1release notes

  • The schematic now safely comments out multiline statements during refactoring.

    22.0.1release notes

@angular/cli 21169 changes

Breaking changes 11

  • Removes forceAuth and unscoped credential parsing from registry credential handling.

    21.2.15release notes

  • Asset input paths are asserted to be within the workspace root.

    21.2.13release notes

  • The webpack dev-server no longer applies an unconditional CORS wildcard.

    21.2.13release notes

  • Values of x-forwarded-prefix that start with a backslash are disallowed.

    20.3.21, 21.2.3release notesrelease notes

  • Invalid package manager versions are now rejected with an error.

    21.2.0release notes

  • Using Vitest runtime mocking now fails explicitly.

    21.2.0release notes

  • The library tsconfig template no longer includes inlineSources.

    21.0.4release notes

  • ng commands no longer automatically detect and use cnpm; use .npmrc to configure npm to use the cnpm registry.

    21.0.0release notes

  • The Less javascriptEnabled option is no longer supported; stylesheets using inline JavaScript must be refactored.

    21.0.0release notes

  • TypeScript versions older than 5.9 are no longer supported.

    21.0.0release notes

  • Vitest test isolation is disabled by default, and explicit test isolation configuration is removed.

    21.0.0release notes

Security 7

Deprecations 1

New APIs and options 15

  • Adds support for configuring trusted proxy headers via an environment variable.

    19.2.27, 20.3.27, 21.2.9release notesrelease notesrelease notes

  • The MCP devserver start tool supports a custom port.

    21.2.5release notes

  • Introduces a DI token to signal the route discovery process.

    21.2.1release notes

  • The unit-test builder now supports a headless option.

    21.2.0release notes

  • The jasmine-vitest schematic adds a browserMode option.

    21.1.0release notes

  • The SSR SSL plugin supports the NODE_EXTRA_CA_CERTS environment variable.

    21.0.3release notes

  • The Vitest coverage reportsDirectory option can now be overridden.

    21.0.2release notes

  • The library schematic now supports the testRunner option.

    21.0.1release notes

  • Adds the addTypeToClassName option to relevant schematics.

    21.0.0release notes

  • Adds a define option to the dev-server.

    21.0.0release notes

  • ng new supports different file name style guides.

    21.0.0release notes

  • Adds an include option to the jasmine-to-vitest schematic.

    21.0.0release notes

  • Adds JSON output to ng version, which also reports more details.

    21.0.0release notes

  • Unit tests can use a custom runner configuration file, including an absolute path.

    21.0.0release notes

  • Adds a Tailwind CSS option to the application schematic and ng new.

    21.0.0release notes

Performance 2

  • Avoids redundant package version resolution.

    21.2.2release notes

  • Package manager discovery now uses stat-based probing.

    21.2.0release notes

Behavior and default changes 17

  • External packages are used for polyfills only when no local files are present.

    21.2.3release notes

  • Custom headers are now supported in redirect responses.

    20.3.21, 21.2.3release notesrelease notes

  • Process environment variables are passed to prerender workers.

    20.3.20, 21.2.2release notesrelease notes

  • Extensionless assets are now served without transformation.

    21.2.0release notes

  • Argument parsing now infers boolean types for the string values 'true' and 'false'.

    21.1.2release notes

  • Argument parsing now infers boolean types for the string values 'true' and 'false'.

    21.1.2release notes

  • Vitest dependency checks are loosened when runnerConfig is used.

    21.1.2release notes

  • Allows application assets to be located in the workspace root.

    21.1.1release notes

  • Uses a project-local temporary directory.

    21.1.0release notes

  • SSR processing is skipped for well-known non-Angular URLs such as favicon.ico.

    21.0.4release notes

  • Management of the Vitest UI option is now conditional.

    21.0.4release notes

  • The migration now silently skips build targets that already use one of the new builders.

    21.0.1release notes

  • The MCP documentation search tool now accounts for the Angular version.

    21.0.0release notes

  • Promotes the MCP find_examples tool to stable and adds version-aware search with structured output.

    21.0.0release notes

  • The MCP tool now accounts for the Angular version.

    21.0.0release notes

  • New applications are zoneless by default.

    21.0.0release notes

  • Promotes the zoneless migration MCP tool to stable.

    21.0.0release notes

Tooling 46

  • Imports used only in type re-exports or type declarations are elided.

    20.3.43, 21.2.30release notesrelease notes

  • Non-value aliases and remaining type-only AST constructs are elided.

    20.3.43, 21.2.30release notesrelease notes

  • The update schematic expands package groups for newly added peer dependencies.

    21.2.14release notes

  • Initial package manager workspace awareness is introduced.

    21.2.9release notes

  • The MCP test tool uses the headless option.

    21.2.8release notes

  • MCP tools dynamically resolve the project’s Angular CLI executable.

    21.2.8release notes

  • Vitest validates V8 coverage support for browsers.

    21.2.8release notes

  • Compatibility checks are simplified, with special handling for local builds of new major versions.

    21.2.0release notes

  • MCP tools now use standardized workspace and project options.

    21.2.0release notes

  • Prettier's formatting list now includes Markdown files.

    21.2.0release notes

  • Generated workspaces now include a .prettierrc file and Prettier as a dev dependency.

    21.2.0release notes

  • Files modified by schematics are now formatted automatically.

    21.2.0release notes

  • File formatting is now integrated into update migrations.

    21.2.0release notes

  • The Angular schematic now supports adding Vitest browser providers.

    21.2.0release notes

  • The schematic now provides actionable feedback.

    21.2.0release notes

  • Vitest browser runs with Playwright using the operating system theme.

    21.2.0release notes

  • Warns when the production configuration is missing for a service worker.

    21.1.3release notes

  • Coverage thresholds can now be merged with Vitest runnerConfig.

    21.1.2release notes

  • Improves file system traversal and symlink handling in the MCP tool.

    21.1.0release notes

  • New workspaces include an MCP configuration file.

    21.1.0release notes

  • Adds MCP tools for testing, end-to-end testing, building, and running dev servers, and adds an experimental all tool group.

    21.1.0release notes

  • The unit-test builder directly supports ng-packagr.

    21.1.0release notes

  • Simplifies SSL handling when serving with SSR.

    21.1.0release notes

  • The migration generates a detailed report of its changes.

    21.1.0release notes

  • Adds signal forms lessons.

    21.1.0release notes

  • TestBed teardown is disabled during debugging in Vitest.

    21.1.0release notes

  • Injects source-map-support for browser tests.

    21.1.0release notes

  • Module-based application schematics now use provideZoneChangeDetection in the root module.

    21.0.5release notes

  • Custom middleware presents an Angular-tailored message.

    21.0.3release notes

  • Testing polyfills are injected in the Karma unit-test executor.

    21.0.3release notes

  • The built-in test main file conditionally provides Zone.js change detection.

    21.0.3release notes

  • Filename truncation was added to test discovery.

    21.0.2release notes

  • The Jasmine-to-Vitest migration now includes mock names in its createSpyObj transformation.

    21.0.1release notes

  • The ai-config schematic supports AGENTS.md.

    21.0.0release notes

  • Adds an ai-tutor MCP tool.

    21.0.0release notes

  • Introduces a schematic to refactor unit tests from Jasmine to Vitest, including transformations for spy APIs, matchers, and other constructs.

    21.0.0release notes

  • Adds builder information, style-language and unit-test-framework detection, and improved workspace discovery in monorepos.

    21.0.0release notes

  • Adds advanced filtering, snippet support, and multi-database search to the MCP example search tool.

    21.0.0release notes

  • Adds a migration to update moduleResolution to bundler.

    20.0.0, 21.0.0release notesrelease notes

  • Adds fallback support for packages without direct ng add functionality and provides detailed peer dependency conflict errors.

    21.0.0release notes

  • Dry runs show planned actions; dependency lookups are cached and peer dependency checks are parallelized.

    21.0.0release notes

  • Overhauls command output with more details, including Vitest.

    21.0.0release notes

  • New projects set packageManager in package.json.

    21.0.0release notes

  • New projects are configured for Vitest and can choose a test runner.

    21.0.0release notes

  • The unit-test builder supports .test.ts files by default and adds options for listing and filtering tests, coverage, reporters, and browser viewport.

    21.0.0release notes

  • zone.js is optional in server and app-shell builders.

    21.0.0release notes

Fixes and other changes 70

  • Asset paths in the server manifest are serialized.

    21.2.29release notes

  • Prevents the esbuild service from leaking child processes.

    21.2.14release notes

  • Virtual esbuild paths with (disabled) are ignored.

    21.2.12release notes

  • npm manifests represented as arrays are now parsed robustly.

    21.2.11release notes

  • The refactor adds missing imports for the focus and skip APIs.

    21.2.9release notes

  • Route segments are decoded when building and matching the route tree.

    21.2.9release notes

  • The router normalizes URLs for comparison.

    21.2.9release notes

  • The app-shell route format is fixed.

    21.2.8release notes

  • HMR component update path resolution uses rootDir.

    21.2.8release notes

  • MCP project scans ignore EBADF file system errors.

    21.2.8release notes

  • The prerender builder ensures routes have a leading slash.

    21.2.8release notes

  • Handles a missing package manager during analytics initialization.

    21.2.7release notes

  • Scopes the Chrome executable path to individual Playwright instances.

    21.2.6release notes

  • Preserves error stack traces during prerendering.

    21.2.6release notes

  • Ensures errors from transitive SCSS partials are tracked in watch mode.

    21.2.6release notes

  • Fixes sourceRoot resolution for the MCP projects tool.

    21.2.6release notes

  • Ensures Vitest mock patching runs only once.

    21.2.6release notes

  • Console methods are restored after the logger completes.

    21.2.4release notes

  • Migrate-only updates use the parsed package name.

    21.2.3release notes

  • Redirect responses now ensure unique values in the Vary header.

    20.3.21, 21.2.3release notesrelease notes

  • The vitest Playwright provider now allows any CHROME_BIN value.

    21.2.2release notes

  • Line endings are normalized when generating CSP hashes.

    21.2.2release notes

  • Assets are resolved correctly during i18n prerendering.

    21.2.2release notes

  • Package names are quoted conditionally based on host requirements when adding dependencies.

    21.2.2release notes

  • Preserves the exact requested version when adding a package.

    21.2.2release notes

  • The unit-test builder treats an empty browsers array as undefined.

    21.2.1release notes

  • Polyfills are bundled to preserve their execution order in the development server.

    21.2.1release notes

  • Improves header validation logic in SSR.

    21.2.1release notes

  • When the minimal option is enabled, schematics no longer add test dependencies.

    21.2.1release notes

  • Corrects dev dependency detection when running ng add.

    21.2.1release notes

  • Fixes a memory leak when serving applications with i18n.

    21.2.1release notes

  • Ensures group members are updated to the targeted version.

    21.2.1release notes

  • Formatting schematic changes now ignores unknown files.

    21.2.1release notes

  • The unit-test builder resolves style include paths relative to ng-package.json.

    21.2.1release notes

  • Non-relative imports are conditionally allowed with vi.mock.

    21.2.1release notes

  • The dev-server now normalizes allowedHosts.

    21.2.0release notes

  • Complex range specifiers are now quoted when passed to the package manager.

    21.2.0release notes

  • Prettier execution now enables the shell option on Windows.

    21.2.0release notes

  • Renamed files are now identified by their new path.

    21.2.0release notes

  • Scoped packages in Yarn Classic list output are now parsed correctly.

    21.2.0release notes

  • Absolute setup file paths are now resolved correctly in Vitest.

    21.1.4release notes

  • Addresses the Node.js deprecation DEP0190.

    21.1.3release notes

  • Prevents incorrect catch binding removal when downleveling for-await code.

    21.1.1release notes

  • Removes special characters from the jasmine-vitest report filename.

    21.1.1release notes

  • Removes a nonexistent link from the MCP response.

    21.1.1release notes

  • Corrects the VS Code MCP configuration generated for new projects.

    21.1.1release notes

  • Correctly spawns package managers on Windows.

    21.1.0release notes

  • Normalizes roots to POSIX to improve Windows compatibility.

    21.1.0release notes

  • Resolves test files correctly on Windows when using non-C drives.

    21.1.0release notes

  • Handles platform destruction during rendering.

    21.0.6release notes

  • Project targeting is corrected during Vitest debugging.

    21.0.5release notes

  • Non-prefixed requests are allowed when using SSR with a base href.

    21.0.4release notes

  • The status code is propagated to redirects.

    21.0.4release notes

  • Tests run when a compilation error is resolved.

    21.0.4release notes

  • The resolver now includes the browser condition for Vitest.

    21.0.4release notes

  • Well-known non-Angular URLs receive a leading slash.

    21.0.4release notes

  • The locale base href retains its leading slash.

    21.0.3release notes

  • The Jasmine-to-Vitest refactor now handles createSpyObj calls without a base name.

    21.0.1release notes

  • The Jasmine-to-Vitest migration improves the safety of transforming done callbacks.

    21.0.1release notes

  • Redirects no longer enter a loop with encoded query parameters.

    20.3.12, 21.0.1release notesrelease notes

  • Paths passed with --include are now normalized to POSIX format.

    21.0.1release notes

  • The migration now adds missing imports for lifecycle hooks, so migrated tests can reference those hooks.

    21.0.1release notes

  • The Jasmine-to-Vitest migration now handles jasmine.clock().mockDate() correctly.

    21.0.1release notes

  • The migration no longer sets esModuleInterop or moduleResolution when module is preserve.

    21.0.1release notes

  • The CLI now resolves dependencies correctly for the node modules directory check.

    21.0.1release notes

  • The Vitest runner now configures headless mode correctly per browser.

    21.0.1release notes

  • URL joining for prerender routes is now handled correctly.

    20.3.12, 21.0.1release notesrelease notes

  • The dev server now uses HTTP/1.1 when SSR is used with SSL.

    21.0.1release notes

  • Coverage paths now resolve correctly for JSDOM on Windows.

    21.0.1release notes

  • Redirects now handle X-Forwarded-Prefix and APP_BASE_HREF.

    20.3.12, 21.0.1release notesrelease notes

@angular/cli 2050 changes

Breaking changes 13

  • forceAuth is removed.

    20.3.28release notes

  • Unscoped credential parsing is removed.

    20.3.28release notes

  • Generated directives do not use a .directive extension or type.

    20.0.0release notes

  • Generated guards use a dash type separator.

    20.0.0release notes

  • Generated modules use a dash type separator.

    20.0.0release notes

  • Node.js v18 and versions 22.0 to 22.10 are no longer supported; the minimum supported versions are 20.19, 22.11, and 24.0.

    20.0.0release notes

  • The API is exposed, replacing provideServerRouting.

    20.0.0release notes

  • The migration updates provideServerRoutesConfig to provideServerRendering.

    20.0.0release notes

  • The API is removed as provideServerRendering is exposed.

    20.0.0release notes

  • Generated resolvers use a dash type separator.

    20.0.0release notes

  • The option is removed from several schematics; server routing is used with the application builder.

    20.0.0release notes

  • Generated services do not use a .service extension or type.

    20.0.0release notes

  • TypeScript versions less than 5.8 are no longer supported.

    20.0.0release notes

Security 2

New APIs and options 6

  • A default application browser option is supported.

    20.0.0release notes

  • Applications can use a default outputPath option.

    20.0.0release notes

  • Application builds can control source map sources content.

    20.0.0release notes

  • The reporters option is enabled for the unit-test builder.

    20.0.0release notes

  • Vitest-based unit testing can use the watch option.

    20.0.0release notes

  • New apps can be generated as zoneless through a prompt.

    20.0.0release notes

Behavior and default changes 4

  • When resolving version ranges, deprecated versions are now used as a fallback if no non-deprecated version is found.

    20.3.28release notes

  • The API is stabilized.

    20.0.0release notes

  • The browser support policy expands to widely available Baseline.

    20.0.0release notes

  • New projects use the TypeScript module preserve option.

    20.0.0release notes

Tooling 15

  • Version 30 is now allowed for jest.

    20.3.8release notes

  • Version 30 is now allowed for jest-environment-jsdom.

    20.3.8release notes

  • New projects directly use @angular/build.

    20.0.0release notes

  • Generated components do not use a .component extension or type.

    20.0.0release notes

  • Generated component templates use a .ng.html file extension.

    20.0.0release notes

  • Applications can use custom resolution conditions.

    20.0.0release notes

  • Newly generated applications include global error listeners.

    20.0.0release notes

  • Generated interceptors use a dash type separator.

    20.0.0release notes

  • Generated pipes use a dash type separator.

    20.0.0release notes

  • The @angular/ssr dependency is added only when the provideServerRendering import has been updated.

    20.0.0release notes

  • Sass package importers are supported.

    20.0.0release notes

  • Migrations are added for server rendering updates.

    20.0.0release notes

  • An update migration preserves previous style guide generation behavior.

    20.0.0release notes

  • Generated applications and libraries use TypeScript project references.

    20.0.0release notes

  • Experimental Vitest unit testing and browser support are added to unit testing.

    20.0.0release notes

Fixes and other changes 10

  • Common engine rendering options now allow all hosts to prevent validation errors.

    19.2.26, 20.3.26release notesrelease notes

  • Prevents removing @angular/localize when external packages are present.

    20.3.10release notes

  • Corrects the include configuration for spec files.

    20.3.10release notes

  • Locale handling in app-engine is improved.

    20.3.9release notes

  • Route matching for wildcard routes is improved.

    20.3.9release notes

  • Redirects from guards are now handled during prerendering.

    20.3.8release notes

  • The Angular locale data namespace is resolved correctly in esbuild.

    20.3.7release notes

  • Schematics now respect --force when a schematic contains host.create.

    20.3.7release notes

  • SSR now correctly handles routes with matrix parameters.

    20.3.7release notes

  • Server-side navigation now triggers a redirect.

    20.3.7release notes

@angular/cli 1944 changes

Breaking changes 5

  • The polyfill is no longer added automatically; applications relying on Angular localization must include it manually in angular.json's polyfills section.

    19.0.0release notes

  • CommonEngine must now be imported from @angular/ssr/node instead of @angular/ssr.

    19.0.0release notes

  • The DevServer and ExtractI18n builders no longer accept browserTarget; use buildTarget instead.

    19.0.0release notes

  • Protractor is no longer supported; projects relying on it should consider migrating to another E2E testing framework.

    19.0.0release notes

  • Validation prevents using provideServerRoutesConfig in a browser context.

    19.0.0release notes

New APIs and options 22

  • An opt-in for a new @angular/ssr feature is enabled.

    19.0.0release notes

  • AngularAppEngine adds getHeaders for handling static page headers.

    19.0.0release notes

  • AngularNodeAppEngine adds getHeaders for handling static page headers.

    19.0.0release notes

  • A new API provides Node.js integration.

    19.0.0release notes

  • A Node.js request handler utility is added to @angular/ssr.

    19.0.0release notes

  • A request handler utility is added to @angular/ssr.

    19.0.0release notes

  • Component generation can opt to export the component as the default export.

    19.0.0release notes

  • Dynamic route resolution using the Angular router is added.

    19.0.0release notes

  • A new hybrid rendering API is introduced.

    19.0.0release notes

  • The isMainModule function is added.

    19.0.0release notes

  • Disabling server features via the command line is simplified with --no-server.

    19.0.0release notes

  • The application builder adds the outputMode option.

    19.0.0release notes

  • The blank schematic accepts a package manager option.

    19.0.0release notes

  • PrerenderFallback is exported.

    19.0.0release notes

  • The REQUEST token is exported.

    19.0.0release notes

  • The REQUEST_CONTEXT token is exported.

    19.0.0release notes

  • The RESPONSE_INIT token is exported.

    19.0.0release notes

  • The application builder supports sass in stylePreprocessorOptions.

    19.0.0release notes

  • The angular.json schema supports Auto-CSP configuration.

    19.0.0release notes

  • A server routing configuration API is added.

    19.0.0release notes

  • The application builder adds the experimentalPlatform option under ssr.

    19.0.0release notes

  • New workspaces or applications can be set up in zoneless mode.

    19.0.0release notes

Performance 1

  • The CLI enables Node.js compile code cache when available.

    19.0.0release notes

Behavior and default changes 8

  • AngularAppEngine is exported as a public API.

    19.0.0release notes

  • Object options supplied from the CLI are merged.

    19.0.0release notes

  • Component stylesheet hot replacement is enabled by default.

    19.0.0release notes

  • New SSR apps include withEventReplay() in provideClientHydration.

    19.0.0release notes

  • Prerendering uses ssr.entry, enabling access to local API routes.

    19.0.0release notes

  • The generated default tsconfig no longer includes declaration.

    19.0.0release notes

  • The generated default tsconfig no longer includes sourceMap.

    19.0.0release notes

  • The utility is exposed in the public API.

    19.0.0release notes

Tooling 5

  • The builder sets the development or production condition.

    19.0.0release notes

  • Karma coverage is supported with the application builder.

    19.0.0release notes

  • Karma is supported with esbuild, including watch mode.

    19.0.0release notes

  • The app-shell and SSR schematics adopt the new Server Rendering API.

    19.0.0release notes

  • The Vite dev-server uses ssr.entry when available.

    19.0.0release notes

Fixes and other changes 3

  • String key/value pairs are handled, including values passed with --define.

    19.0.0release notes

  • The schematic no longer shows the server routing prompt when using the browser builder.

    19.0.0release notes

  • Generated components explicitly set standalone to false.

    19.0.0release notes

@angular/cli 1819 changes

Breaking changes 4

  • With the application builder and SSR, index.html is no longer emitted in the browser directory by default; index.csr.html is emitted instead.

    18.0.0release notes

  • The legacy Sass build pipeline support is removed for webpack-based builders.

    18.0.0release notes

  • The ng doc command is removed without a replacement; searches can be performed at angular.dev.

    18.0.0release notes

  • Adds support for Node.js v22 and removes support for versions below 18.19.1 and 20.11.1.

    18.0.0release notes

Deprecations 1

  • NodePackageLinkTask is deprecated; create a custom task instead.

    18.0.0release notes

New APIs and options 5

  • Use the index option's output field to retain the old index.html output behavior with SSR.

    18.0.0release notes

  • Adds ng dev as an alias for ng serve.

    18.0.0release notes

  • Adds the --version option to the default command.

    18.0.0release notes

  • The library builder adds support for the poll option.

    18.0.0release notes

  • Adds a maximum rendering timeout for SSG.

    18.0.0release notes

Performance 1

  • Adds persistent caching of JavaScript transformations.

    18.0.0release notes

Behavior and default changes 5

  • New projects use TypeScript bundler module resolution.

    18.0.0release notes

  • Standalone bootstrap uses the eventCoalescing option by default.

    18.0.0release notes

  • Supports native async/await when an app is zoneless.

    18.0.0release notes

  • Module bootstrap uses the ngZoneEventCoalescing option by default.

    18.0.0release notes

  • Injects event-dispatch in the SSR HTML page.

    18.0.0release notes

Tooling 3

  • Introduces a new official build system package.

    18.0.0release notes

  • New projects replace the assets directory with a public directory.

    18.0.0release notes

  • Enhances Sass rebasing for resource URLs defined in variables and handling of external paths.

    18.0.0release notes

@angular/cli 1744 changes

Breaking changes 10

  • The deprecated appId option is removed.

    17.0.0release notes

  • The unused appId option has been removed from the app-shell and Universal schematics.

    17.0.0release notes

  • Generated tsconfig.json no longer includes baseUrl.

    17.0.0release notes

  • The dev-server and extract-i18n builders gain a buildTarget option.

    17.0.0release notes

  • Node.js 16 is no longer supported.

    17.0.0release notes

  • Node.js v16 is no longer supported.

    17.0.0release notes

  • prerender and ssr are enabled for all build configurations.

    17.0.0release notes

  • This option has been removed from the public pwa and app-shell schematics.

    17.0.0release notes

  • The deprecated method has been removed in favor of runExternalSchematic.

    17.0.0release notes

  • The deprecated method has been removed in favor of runSchematic.

    17.0.0release notes

Deprecations 2

  • The browserTarget option in the dev-server and extract-i18n builders is deprecated in favor of buildTarget.

    17.0.0release notes

  • This API is deprecated in favor of provideClientHydration.

    17.0.0release notes

New APIs and options 4

  • A performance profiler has been added to CommonEngine.

    17.0.0release notes

  • The browser-esbuild builder supports the deploy URL option.

    17.0.0release notes

  • The application builder supports the namedChunks option.

    17.0.0release notes

  • The ng new command gains an --ssr option for creating an application with server-side rendering.

    17.0.0release notes

Performance 1

  • Automated preconnects have been added for image domains.

    17.0.0release notes

Behavior and default changes 8

  • TypeScript esModuleInterop is enabled by default for ESM compliance.

    17.0.0release notes

  • Hydration is enabled when adding SSR, SSG, or AppShell.

    17.0.0release notes

  • Generated interceptors are functional by default.

    17.0.0release notes

  • The command now generates a functional interceptor by default; use --no-functional to generate a class-based interceptor.

    17.0.0release notes

  • Routing is enabled by default for new applications.

    17.0.0release notes

  • The ssr-dev-server builder is exposed in the public API.

    17.0.0release notes

  • A maximum rendering timeout is added for SSR and SSG during development.

    17.0.0release notes

  • Standalone is enabled by default in new applications.

    17.0.0release notes

Tooling 18

  • The application builder's output structure is standardized.

    17.0.0release notes

  • The ssr option definition is updated.

    17.0.0release notes

  • Esbuild builders gain initial support for bundle budgets.

    17.0.0release notes

  • Esbuild builders support component style budgets.

    17.0.0release notes

  • Esbuild builders support i18n with service worker and app-shell.

    17.0.0release notes

  • The application builder gains initial i18n extraction support.

    17.0.0release notes

  • The esbuild-based builder supports i18n inlining.

    17.0.0release notes

  • SSR with the application builder gains localize support.

    17.0.0release notes

  • New applications use a builder based on the esbuild application builder.

    17.0.0release notes

  • The ng update package group now includes @angular/ssr.

    17.0.0release notes

  • A migration is available to migrate from @nguniversal to @angular/ssr.

    17.0.0release notes

  • A migration is available to replace usages of @nguniversal/builders.

    17.0.0release notes

  • Node.js 20 is now a supported version.

    17.0.0release notes

  • A file containing a list of prerendered routes is generated.

    17.0.0release notes

  • Standalone application routes can be discovered during prerendering.

    17.0.0release notes

  • The Vite-based dev server provides the server baseUrl result property.

    17.0.0release notes

  • The application builder gains initial Web Worker discovery support with esbuild.

    17.0.0release notes

  • Esbuild builders support basic Web Worker bundling.

    17.0.0release notes

Fixes and other changes 1

  • Global CSS updates are applied without a live reload when using Vite.

    17.0.0release notes

@angular/cli 1633 changes

Breaking changes 12

  • The CLI no longer generates CanLoad guards; use CanMatch instead.

    16.0.0release notes

  • This deprecated symbol has been removed along with the UpdateBuffer changes.

    16.0.0release notes

  • This @angular-devkit/core API has been removed in favor of the API from @angular-devkit/schematics.

    16.0.0release notes

  • The deprecated workspace option has been removed; use schematicCollections instead.

    16.0.0release notes

  • The deprecated workspace option has been removed; the project is determined from the current working directory.

    16.0.0release notes

  • The deprecated flatten API has been removed without replacement.

    16.0.0release notes

  • NGCC integration has been removed, so Angular View Engine libraries no longer work.

    16.0.0release notes

  • Node.js v14 is no longer supported; Angular v16 continues to officially support Node.js versions v16 and v18.

    16.0.0release notes

  • The compile method now returns a Promise.

    16.0.0release notes

  • TypeScript 4.8 is no longer supported.

    16.0.0release notes

  • The exception was removed; create a custom error exception instead.

    16.0.0release notes

  • The deprecated UpdateBuffer was removed and UpdateBuffer2 was renamed to UpdateBuffer.

    16.0.0release notes

Security 1

  • The build system adds CSP support for inline styles.

    16.0.0release notes

Deprecations 1

  • The server builder displays a warning when preserveWhitespaces is set in its tsconfig.

    16.0.0release notes

New APIs and options 6

  • The esbuild builder adds a progress option.

    16.0.0release notes

  • The esbuild builder supports the scripts option.

    16.0.0release notes

  • The esbuild development server supports SSL options.

    16.0.0release notes

  • An option is provided to run build-optimizer on server bundles.

    16.0.0release notes

  • A standalone flag is available for new applications.

    16.0.0release notes

  • A standalone option is available when generating a library.

    16.0.0release notes

Behavior and default changes 2

  • Guard generation now creates a functional guard by default; use --no-functional to generate a deprecated class-based guard.

    16.0.0release notes

  • Resolver generation now creates a functional resolver by default; use --no-functional to generate a deprecated class-based resolver.

    16.0.0release notes

Tooling 11

  • The app-shell schematic now supports standalone applications.

    16.0.0release notes

  • The generated server module file is now named app.module.server.ts instead of app.server.module.ts.

    16.0.0release notes

  • The schematic no longer generates BrowserModule.withServerTransition.

    16.0.0release notes

  • An initial development server is available for the esbuild-based builder.

    16.0.0release notes

  • CSS in the esbuild builder gains initial Autoprefixer support.

    16.0.0release notes

  • The esbuild builder adds initial Tailwind CSS support.

    16.0.0release notes

  • The esbuild builder supports module resolution with Less stylesheets.

    16.0.0release notes

  • The esbuild builder supports standalone app-shell generation.

    16.0.0release notes

  • The update process now shows optional migrations.

    16.0.0release notes

  • Generated server-rendering setup uses provideServerRendering instead of provideServerSupport.

    16.0.0release notes

  • The universal schematic now supports standalone applications.

    16.0.0release notes

@angular/cli 1547 changes

Breaking changes 23

  • Analytics APIs were removed from @angular-devkit/core and @angular-devkit/architect without replacement.

    15.0.0release notes

  • The unused appDir option was removed from Universal and App-Shell schematics and can be deleted from existing configurations.

    15.0.0release notes

  • Browserslist configuration files are no longer generated in projects.

    15.0.0release notes

  • The server builder's bundleDependencies option was removed; use externalDependencies to exclude specific node_module packages from the final bundle.

    15.0.0release notes

  • The global analyticsSharing option was removed without replacement; remove it from global Angular configuration if present.

    15.0.0release notes

  • New applications no longer include environment files.

    15.0.0release notes

  • Producing ES5 output is no longer possible because Internet Explorer is no longer supported.

    15.0.0release notes

  • Use externalDependencies to exclude specific node_module packages from the final bundle.

    15.0.0release notes

  • Newly generated projects no longer include karma.conf.js.

    15.0.0release notes

  • Set NG_BUILD_LEGACY_SASS=1 to opt into the legacy Sass API.

    15.0.0release notes

  • Node.js versions older than 14.20 are no longer supported; supported versions are 14.20.x, 16.13.x, and 18.10.x.

    15.0.0release notes

  • The path option in schematics schema no longer has a special meaning; use the workingDirectory smart default provider instead.

    15.0.0release notes

  • New project templates no longer include a polyfills.ts file.

    15.0.0release notes

  • require.context is no longer parsed; webpack-specific features are not supported or guaranteed to work in the future.

    15.0.0release notes

  • Workspace projects with a missing root property now cause an error.

    15.0.0release notes

  • The CLI now uses the Sass modern API by default; the legacy API remains available by setting NG_BUILD_LEGACY_SASS=1.

    15.0.0release notes

  • Deprecated support for Stylus was removed; migrate to another CSS preprocessor supported by the CLI.

    15.0.0release notes

  • New projects no longer include test.ts.

    15.0.0release notes

  • Deprecated support for tilde imports was removed; remove the tilde from Sass imports.

    15.0.0release notes

  • The CLI sets TypeScript target to ES2022 and useDefineForClassFields to false unless the configured target is ES2022 or later; use Browserslist to control ECMA version and features.

    15.0.0release notes

  • TypeScript versions older than 4.8.2 are no longer supported.

    15.0.0release notes

  • Tests now report errors for unknown properties and elements.

    15.0.0release notes

  • Use the workingDirectory smart default provider instead of relying on the special meaning previously given to the path option.

    15.0.0release notes

New APIs and options 2

  • The app-shell builder adds ng-server-context.

    15.0.0release notes

  • The library schematics now provide a --project-root option.

    15.0.0release notes

Behavior and default changes 6

  • Analytics are not collected when the CLI runs in non-TTY mode.

    15.0.0release notes

  • Providing a Karma configuration is now optional.

    15.0.0release notes

  • The Karma builder's main option is now optional.

    15.0.0release notes

  • The polyfills option in all builders now supports an array of module specifiers.

    15.0.0release notes

  • Both script and module sourceTypes can now be localized.

    15.0.0release notes

  • New projects are generated using TypeScript 4.8.2.

    15.0.0release notes

Tooling 13

  • The builder automatically includes @angular/localize/init when it is found in types.

    15.0.0release notes

  • The builder automatically includes @angular/platform-server/init during server builds when the package is installed.

    15.0.0release notes

  • Browserslist is used to determine ECMA output.

    15.0.0release notes

  • The builder warns when component styles sourcemaps are not generated while styles optimization is enabled.

    15.0.0release notes

  • The esbuild builder warns when the TypeScript target is older than ES2022.

    15.0.0release notes

  • The esbuild-based builder adds initial incremental code rebuilding and watch support.

    15.0.0release notes

  • The esbuild-based builder now has initial support for fileReplacements.

    15.0.0release notes

  • The esbuild builder adds initial incremental rebuilds for global styles.

    15.0.0release notes

  • Generated component templates no longer include ngOnInit.

    15.0.0release notes

  • The build tooling switches to the Sass modern API.

    15.0.0release notes

  • The esbuild builder uses a Sass worker pool for Sass support.

    15.0.0release notes

  • Using bundleDependencies is unlikely to produce working server bundles; externalDependencies can instead exclude selected packages.

    15.0.0release notes

  • Vendor chunking was added to the server builder.

    15.0.0release notes

Fixes and other changes 3

  • Server bundles now export @angular/platform-server symbols.

    15.0.0release notes

  • ng add can now find prerelease package versions when the CLI itself is a prerelease.

    15.0.0release notes

  • Conditional exports are now handled in the scripts and styles options.

    15.0.0release notes

@angular/cli 1445 changes

Breaking changes 26

  • Deprecated camel-cased arguments are no longer supported; use kebab-case arguments such as --source-map.

    14.0.0release notes

  • The API was removed; use other Node.js or other APIs.

    14.0.0release notes

  • Importing a CSS file as an ECMA module now causes a build-time error because this non-standard Webpack-specific feature is not supported by the Angular CLI.

    14.0.0release notes

  • The @angular-devkit/core fs namespace was removed; use other Node.js or other APIs.

    14.0.0release notes

  • JSON-formatted help output was removed.

    14.0.0release notes

  • The public namespace was removed; AngularWebpackPlugin and AngularPluginOptions are now used directly instead.

    14.0.0release notes

  • The API was removed; use other Node.js or other APIs.

    14.0.0release notes

  • The option no longer accepts a migration name string; use --migrate-only --name <migration-name>.

    14.0.0release notes

  • The command syntax changed: project settings use ng analytics <setting>, and global settings use ng analytics <setting> --global.

    14.0.0release notes

  • The environment variable was removed; use cli.cache in workspace configuration instead.

    14.0.0release notes

  • The deprecated ng x18n and ng i18n-extract commands were removed in favor of this command.

    14.0.0release notes

  • The command was removed; use the --help option instead.

    14.0.0release notes

  • The --configuration option cannot be used with ng run; provide the configuration as part of the target.

    14.0.0release notes

  • The --all option was removed without replacement; use package-manager update or upgrade commands for packages without ng update capabilities.

    14.0.0release notes

  • The ng --version form was removed; use ng version or ng v.

    14.0.0release notes

  • Node.js v12 support was removed; use Node.js v14.15 or later.

    14.0.0release notes

  • Package scripts are now ignored by default during installation; set allowScripts to true for a task that needs install or postinstall scripts to execute.

    14.0.0release notes

  • The API was removed; use a third-party JSON parser such as jsonc-parser.

    14.0.0release notes

  • The deprecated option was removed from all builders; use --configuration production or -c production when the builder's default is not production.

    14.0.0release notes

  • The polyfill is no longer automatically provided in JIT mode; applications that use its JavaScript APIs must add core-js and import the reflect-metadata proposal in polyfills.ts.

    14.0.0release notes

  • Workspace configuration can now specify multiple schematic collections using this option, replacing defaultCollection.

    14.0.0release notes

  • The browser and karma builders now validate script input file extensions; valid extensions include .js, .cjs, .mjs, .jsx, .cjsx, and .mjsx.

    14.0.0release notes

  • The deprecated browser and server builder option was removed; use a lint rule or external tool to detect circular dependencies in project code.

    14.0.0release notes

  • The browser and karma builders now validate style input file extensions; valid extensions include .css, .less, .sass, .scss, and .styl.

    14.0.0release notes

  • The deprecated analytics property was removed from the interface.

    14.0.0release notes

  • TypeScript 4.4 and 4.5 support was removed; update to TypeScript 4.6.

    14.0.0release notes

Deprecations 2

  • The workspace option is deprecated in favor of schematicCollections.

    14.0.0release notes

  • The workspace option is deprecated; the project to use will be determined from the current working directory.

    14.0.0release notes

New APIs and options 10

  • A new rule was added to the schematics utilities.

    14.0.0release notes

  • Use this option with ng analytics to apply a setting globally.

    14.0.0release notes

  • A parameter was added to allow returning hidden schematics.

    14.0.0release notes

  • Disable and enable aliases are available for the off and on analytics commands.

    14.0.0release notes

  • A new command provides analytics information.

    14.0.0release notes

  • A new command is available for managing the CLI cache.

    14.0.0release notes

  • The new --standalone option is available when generating Angular code.

    14.0.0release notes

  • A utility subpath export is available for Angular rules and utilities.

    14.0.0release notes

  • Schematics utilities can read JSON content directly from a Tree.

    14.0.0release notes

  • Schematics utilities can read text content directly from a Tree.

    14.0.0release notes

Behavior and default changes 2

  • New and existing projects now use ES2020 as their compilation target.

    14.0.0release notes

  • The CLI uses PNPM as the package manager when pnpm-lock.yaml exists.

    14.0.0release notes

Tooling 4

  • Generated dependency version ranges now use ^ as the version prefix.

    14.0.0release notes

  • The CLI supports autocompletion and can prompt users to set it up.

    14.0.0release notes

  • An initial experimental esbuild-based application browser builder is available.

    14.0.0release notes

  • The command can set up CLI autocompletion by modifying .bashrc files.

    14.0.0release notes

Fixes and other changes 1

@angular/cli 1340 changes

Breaking changes 33

  • The deprecated TSLint builder was removed; the notes recommend angular-eslint instead.

    13.0.0release notes

  • Removed as a deprecated dev-server builder option; configure it in the browser builder instead.

    13.0.0release notes

  • The build no longer automatically includes ES2015 polyfills for ES5 browsers; manually added polyfills are unaffected.

    13.0.0release notes

  • Removed as a deprecated dev-server builder option; configure it in the browser builder instead.

    13.0.0release notes

  • Removed from application polyfills and uninstalled; add it back to the polyfills file and install the package if needed.

    13.0.0release notes

  • Configure the build cache in the workspace configuration; this replaces NG_PERSISTENT_BUILD_CACHE.

    13.0.0release notes

  • Removed from the web-worker schematic because it was unused.

    13.0.0release notes

  • Listed among removed deprecated dev-server options; a separate change also deprecates deployUrl.

    13.0.0release notes

  • Removed from the public API; use jsonc-parser instead.

    13.0.0release notes

  • Support for producing and conditionally loading ES5 and ES2015+ application variants was removed.

    13.0.0release notes

  • Applications using webpack-cli directly must set this environment variable to 1 to avoid builds failing with dynamic imports.

    13.0.0release notes

  • Removed from the browser builder; CSS is now always extracted.

    13.0.0release notes

  • Inlining of Google fonts in WOFF format was removed; supported browsers use WOFF2.

    13.0.0release notes

  • Use $id instead of the deprecated schema id transformation behavior.

    13.0.0release notes

  • Use this option in place of the removed inlineStyleMimeType option.

    13.0.0release notes

  • Removed from AngularWebpackPluginOptions; use inlineStyleFileExtension instead.

    13.0.0release notes

  • Removed without replacement because it was unused.

    13.0.0release notes

  • Support was dropped in favor of the official Karma coverage plugin karma-coverage.

    13.0.0release notes

  • Removed from the application schematics because IE 11 is no longer supported.

    13.0.0release notes

  • Removed from all schematics; use ng lint --fix instead.

    13.0.0release notes

  • Use this command to fix lint issues instead of the removed lintFix schematic option.

    13.0.0release notes

  • This environment variable no longer has effect; configure cli.cache in the workspace configuration instead.

    13.0.0release notes

  • Support was removed; sass is used by default to compile SASS and SCSS files.

    13.0.0release notes

  • Node.js versions prior to 12.20 are no longer supported.

    13.0.0release notes

  • Used by default to compile SASS and SCSS files after support for node-sass was removed.

    13.0.0release notes

  • Removed from the dev-server builder because it had no effect.

    13.0.0release notes

  • Removed as a deprecated dev-server builder option; configure it in the browser builder instead.

    13.0.0release notes

  • Removed from the service-worker schematic because it was unused.

    13.0.0release notes

  • Removed as a deprecated schematics API.

    13.0.0release notes

  • Removed as a deprecated schematics API.

    13.0.0release notes

  • Versions prior to 4.4 are no longer supported.

    13.0.0release notes

  • Version 3 is no longer supported by @angular-devkit/build-webpack.

    13.0.0release notes

  • The dev-server uses WebSockets for HMR and live-reload communication; proxy users need to enable WebSocket proxying.

    13.0.0release notes

Deprecations 2

  • Deprecated because its functionality is included in @angular-devkit/build-angular; the package is no longer needed by the CLI.

    13.0.0release notes

  • The environment variable will be removed in the next major version; configure cli.cache in the workspace configuration instead.

    13.0.0release notes

Behavior and default changes 3

Tooling 2

  • The dev server supports proxy configuration files using ESM.

    13.0.0release notes

  • Added to the workspace TypeScript configuration for newly generated workspaces.

    13.0.0release notes

@angular/cli 1267 changes

Breaking changes 40

  • This option, previously used to support string-based lazy loading, is removed without replacement.

    12.0.0release notes

  • This option, previously used to support string-based lazy loading, is removed without replacement.

    12.0.0release notes

  • The deprecated View Engine Webpack plugin is removed; custom standalone Webpack configurations should use AngularWebpackPlugin instead.

    12.0.0release notes

  • The browser builder default for AOT changes from false to true.

    12.0.0release notes

  • App-shell generation now supports Ivy only.

    12.0.0release notes

  • The browser builder default for buildOptimizer changes from false to true.

    12.0.0release notes

  • This option, previously used to support string-based lazy loading, is removed without replacement.

    12.0.0release notes

  • This option, previously used to support string-based lazy loading, is removed without replacement.

    12.0.0release notes

  • The component schematic no longer supports the entryComponent option because it was intended for View Engine.

    12.0.0release notes

  • The leftover experimentalRollupPass option has been removed.

    12.0.0release notes

  • The browser builder default for extractLicenses changes from false to true.

    12.0.0release notes

  • The deprecated browser and server builder option is removed; use the locales object in project metadata instead.

    12.0.0release notes

  • The deprecated browser and server builder option is removed because the format is determined automatically.

    12.0.0release notes

  • The extract-i18n option is removed; use the format option instead.

    12.0.0release notes

  • The deprecated i18nLocale and i18nFormat options have been removed from i18n-extract.

    12.0.0release notes

  • The deprecated browser and server builder option is removed; use the localize option instead.

    12.0.0release notes

  • The extract-i18n option is removed; use i18n.sourceLocale in project configuration instead.

    12.0.0release notes

  • Webpack-specific importing or requiring of non-module files is removed; use an HTML img element for image assets instead.

    12.0.0release notes

  • Critical CSS inlining is enabled by default; set inlineCritical to false to turn it off.

    12.0.0release notes

  • Schema validation no longer supports draft-04 and draft-06. Schema authors using id should replace it with $id; top-level id is auto-renamed temporarily.

    12.0.0release notes

  • Support for Karma 5.2 has been dropped.

    12.0.0release notes

  • Support for karma version 5.2 is dropped; the minimum supported version is 6.0.0.

    12.0.0release notes

  • The server and browser builder option is removed without replacement.

    12.0.0release notes

  • The browser builder default for namedChunks changes from true to false.

    12.0.0release notes

  • The command always uses the Ivy compiler; the --ivy option is removed. Applications opted out of Ivy receive a warning and an attempted Ivy extraction.

    12.0.0release notes

  • Support for ng-packagr 11 has been dropped.

    12.0.0release notes

  • Support for ng-packagr version 11 is dropped; the minimum supported version is 12.0.0-next.

    12.0.0release notes

  • Angular CLI 12 requires Node.js 12.13+ or 14.15+.

    12.0.0release notes

  • The browser and server builder default for optimization changes from false to true.

    12.0.0release notes

  • Production builds are enabled by default.

    12.0.0release notes

  • The browser and server builder default for sourceMap changes from true to false.

    12.0.0release notes

  • Support for string-based lazy loading has been dropped.

    12.0.0release notes

  • Stylus is no longer a supported style value in the application, component, and ng-new schematics.

    12.0.0release notes

  • The browser builder default for vendorChunk changes from true to false.

    12.0.0release notes

  • Application builds no longer use the View Engine compiler; Ivy is always used, with a warning and attempted Ivy build for applications opted out of Ivy.

    12.0.0release notes

  • Deprecated View Engine support for i18n extraction has been removed.

    12.0.0release notes

  • The build system has been upgraded to Webpack 5.

    12.0.0release notes

  • Webpack 5 changes lazy-loaded JavaScript filenames in development when namedChunks is enabled; post-build processes that assume filenames may need adjustment.

    12.0.0release notes

  • Web worker URLs must use new URL with import.meta.url in the Worker constructor.

    12.0.0release notes

  • Support for zone.js 0.10 is dropped; the minimum supported version is 0.11.4.

    12.0.0release notes

Deprecations 2

  • The application and ng-new legacyBrowsers option is deprecated.

    12.0.0release notes

  • The --prod command-line argument is deprecated.

    12.0.0release notes

New APIs and options 4

  • Architect target definitions now support defaultConfiguration, which the architect handles when selecting a target configuration.

    12.0.0release notes

  • The legacy-migrate message format is exposed.

    12.0.0release notes

  • Skips the ng add confirmation prompt and directly installs and executes the package, for example in CI or automated scripts.

    12.0.0release notes

  • A stylesheet language can now be specified for inline component styles.

    12.0.0release notes

Performance 1

  • Webpack's garbage-collection memory caching is used in watch mode.

    12.0.0release notes

Behavior and default changes 7

  • inlineCritical is enabled by default.

    12.0.0release notes

  • The CLI confirms the ng add action before installing packages.

    12.0.0release notes

  • The command asks for confirmation of the package and version before installing and executing an uninstalled package.

    12.0.0release notes

  • Webpack caching is disabled when NG_BUILD_CACHE is used.

    12.0.0release notes

  • Programmatic builder execution functions are marked as experimental.

    12.0.0release notes

  • showCircularDependencies is disabled by default.

    12.0.0release notes

  • Strict mode is enabled by default in generated projects.

    12.0.0release notes

Tooling 12

  • A migration removes deprecated options from angular.json.

    12.0.0release notes

  • Builder results now provide the output path.

    12.0.0release notes

  • The build displays a warning when a project requires IE 11 support.

    12.0.0release notes

  • Inline component CSS styles can now be processed, including in AOT and JIT builds.

    12.0.0release notes

  • The webpack integration supports generating data URIs for inline component styles in JIT.

    12.0.0release notes

  • Inline component styles are processed in AOT builds.

    12.0.0release notes

  • The JIT mode linker is integrated into the build tooling.

    12.0.0release notes

  • ng version output now includes the package manager name and version.

    12.0.0release notes

  • Stage 3 CSS features are now provided through postcss-preset-env.

    12.0.0release notes

  • TypeScript 4.2 is supported.

    12.0.0release notes

  • Webpack 5 is supported by the build-webpack tooling.

    12.0.0release notes

  • The CLI now supports the XDG Base Directory Specification.

    12.0.0release notes

Fixes and other changes 1

  • Schematic defaults are inferred correctly when using --project.

    12.0.0release notes

@angular/cli 1168 changes

Breaking changes 24

  • The deprecated builder package was removed; use the ng-packagr builder from @angular-devkit/build-angular instead.

    11.0.0release notes

  • New projects no longer include IE9 or IE10 in browserslist.

    11.0.0release notes

  • Generated E2E tests use native promise support.

    11.0.0release notes

  • A migration removes the deprecated environment option.

    11.0.0release notes

  • The deprecated Karma builder option was removed.

    11.0.0release notes

  • The experimental @angular-devkit/core workspace API was removed and replaced by the stable workspace API.

    11.0.0release notes

  • External schematics are resolved from the collection that requests them.

    11.0.0release notes

  • The browser builder option's default changed from false to true, reflecting the behavior expected when this deprecated option is removed.

    11.0.0release notes

  • Values for fileReplacement receive validation.

    11.0.0release notes

  • The deprecated isObservable function is removed.

    11.0.0release notes

  • The deprecated function was removed from @angular-devkit/core; use isObservable from the rxjs package instead.

    11.0.0release notes

  • Coverage reporting switches to karma-coverage.

    11.0.0release notes

  • The default value for lint fix is removed.

    11.0.0release notes

  • The deprecated API was removed; use MODULE_NOT_FOUND instead.

    11.0.0release notes

  • The supported ng-packagr version is updated to 11.

    11.0.0release notes

  • A migration removes rebaseRootRelativeCssUrls from workspace configuration.

    11.0.0release notes

  • The deprecated browser builder option was removed without replacement; it previously rebased root-relative stylesheet URLs to include the base HREF and deploy URL.

    11.0.0release notes

  • The deprecated API was removed; use require.resolve instead.

    11.0.0release notes

  • Using --strict no longer generates a special package.json or no-any.

    11.0.0release notes

  • The deprecated option was renamed to styles[].inject; direct build-angular users are affected, while users will be migrated automatically.

    11.0.0release notes

  • The deprecated terminal API was removed; use third-party packages such as chalk, colors, or ansi-colors instead.

    11.0.0release notes

  • The deprecated API was removed; use the logging API from @angular-devkit/core instead.

    11.0.0release notes

  • TypeScript 3.9 is no longer supported by the build tooling; upgrade to TypeScript 4.0.

    11.0.0release notes

  • Package package.json files are resolved from the workspace directory.

    11.0.0release notes

Deprecations 2

  • The build warns when using unsupported IE9 or IE10 browsers.

    11.0.0release notes

  • A deprecation warning is added for node-sass.

    11.0.0release notes

New APIs and options 3

Performance 1

  • Font inlining optimizations are enabled to improve builds.

    11.0.0release notes

Behavior and default changes 11

  • Using --defaults no longer displays deprecation messages for default values.

    11.0.0release notes

  • The install task shows the active package manager.

    11.0.0release notes

  • Ivy extraction is enabled by default for Ivy applications.

    11.0.0release notes

  • ng add skips searching deprecated packages.

    11.0.0release notes

  • The CLI uses the newer update command when the globally installed version is newer.

    11.0.0release notes

  • When the requested port is in use, the CLI asks to use a new port.

    11.0.0release notes

  • A default value is added to the progress option.

    11.0.0release notes

  • The scripts option supports package references.

    11.0.0release notes

  • The styles option supports package references.

    11.0.0release notes

  • The strict mode option now includes user-analytics.

    11.0.0release notes

  • The version command no longer assumes Node module installation.

    11.0.0release notes

Tooling 16

  • The build supports emitting AVIF image files.

    11.0.0release notes

  • Build stats output is improved, including bundle size presentation.

    11.0.0release notes

  • A migration adds declaration maps to libraries.

    11.0.0release notes

  • A migration replaces deprecated options.

    11.0.0release notes

  • The dev-server headers option is now included in the IDE schema.

    11.0.0release notes

  • Hot module replacement is available out of the box.

    11.0.0release notes

  • I18n messages can be extracted from libraries.

    11.0.0release notes

  • inlineTemplate and inlineStyle can be used with a minimal application.

    11.0.0release notes

  • JIT mode supports guarded class metadata removal.

    11.0.0release notes

  • Karma is available as an optional peer dependency.

    11.0.0release notes

  • Logs from ng update are improved.

    11.0.0release notes

  • protractor is available as an optional peer dependency.

    11.0.0release notes

  • The deprecated option was renamed to scripts[].inject; direct build-angular users are affected, while users will be migrated automatically.

    11.0.0release notes

  • A prompt is added for strict mode.

    11.0.0release notes

  • tslint is available as an optional peer dependency.

    11.0.0release notes

  • A warning is shown when using ES2017 or newer with an incompatible zone.js configuration.

    11.0.0release notes

Fixes and other changes 11

  • The generated canLoad guard signature is corrected.

    11.0.0release notes

  • Replaced resources emit require when CommonJS is used as the module format.

    11.0.0release notes

  • JSON help now includes deprecated options.

    11.0.0release notes

  • ng update --all is a no-op when there is nothing to update.

    11.0.0release notes

  • Missing defaults are included for the optimization property.

    11.0.0release notes

  • Project names are validated using the correct validation logic.

    11.0.0release notes

  • Prompt answers are coerced to the requested property types.

    11.0.0release notes

  • Prompts are no longer displayed twice.

    11.0.0release notes

  • Resolution of @schematics/angular favors dirname.

    11.0.0release notes

  • Type-only imports are elided when emitDecoratorMetadata is enabled.

    11.0.0release notes

  • Updates no longer fail when Yarn 2 protocols are used.

    11.0.0release notes

@angular/cli 1045 changes

Breaking changes 24

  • The server builder no longer accepts the commonChunk option; direct build-angular users are affected.

    10.0.0release notes

  • The Protractor builder elementExplorer option is removed; the notes point to an alternative debugging method.

    10.0.0release notes

  • A migration removes the deprecated es5BrowserSupport option.

    10.0.0release notes

  • A migration removes the deprecated evalSourceMap option.

    10.0.0release notes

  • The app-shell schematic no longer accepts the index option.

    10.0.0release notes

  • AngularCompilerPlugin no longer exposes the deprecated isSupported method.

    10.0.0release notes

  • The app-shell schematic no longer accepts the name option.

    10.0.0release notes

  • Use the NG_BUILD_PROFILING environment variable in place of the removed profile option.

    10.0.0release notes

  • The deprecated ng get command is removed; use ng config instead.

    10.0.0release notes

  • The deprecated ng set command is removed; use ng config instead.

    10.0.0release notes

  • The app-shell schematic no longer accepts the outDir option.

    10.0.0release notes

  • A migration removes the deprecated profile option.

    10.0.0release notes

  • The CLI throws an error when a specified project does not exist.

    10.0.0release notes

  • The app-shell schematic no longer accepts the root option.

    10.0.0release notes

  • Out-of-the-box support for the rxjs-compat path mapping is no longer provided.

    10.0.0release notes

  • A migration removes deprecated server options from project configuration.

    10.0.0release notes

  • A migration removes the deprecated skipAppShell option.

    10.0.0release notes

  • Use sourceMap.vendor in place of the removed vendorSourceMap option.

    10.0.0release notes

  • The universal schematic no longer accepts the test option.

    10.0.0release notes

  • The universal schematic no longer accepts the testTsconfigFileName option.

    10.0.0release notes

  • The deprecated typescriptMismatch warning option is removed; disableTypeScriptVersionCheck is the alternative for disabling version checks.

    10.0.0release notes

  • The app-shell schematic no longer accepts the universalProject option.

    10.0.0release notes

  • The server builder no longer accepts the vendorChunk option; direct build-angular users are affected.

    10.0.0release notes

  • A migration removes the deprecated vendorSourceMap option.

    10.0.0release notes

New APIs and options 3

  • Use the Angular compiler option disableTypeScriptVersionCheck to disable TypeScript version checks.

    10.0.0release notes

  • Strict mode enables stricter type checking and effective optimization coding rules.

    10.0.0release notes

  • The strict setting is added to angular.json.

    10.0.0release notes

Behavior and default changes 7

  • Generated compiler target and module settings are updated.

    10.0.0release notes

  • CSS calc optimizations are disabled.

    10.0.0release notes

  • New applications are evergreen.

    10.0.0release notes

  • Lazy loading on the server is enabled for new projects.

    10.0.0release notes

  • The --strict option configures stricter bundle budgets.

    10.0.0release notes

  • The default TSLint formatter changes to stylish.

    10.0.0release notes

  • New projects are generated using TypeScript 3.9.

    10.0.0release notes

Tooling 6

  • Generated projects use .browserslistrc instead of a file named browserslist.

    10.0.0release notes

  • The build displays warnings when projects depend on CommonJS.

    10.0.0release notes

  • Server bundles use ES2016 as their syntax target.

    10.0.0release notes

  • Generated projects use a solutions-style TypeScript configuration structure.

    10.0.0release notes

  • Strict mode adds the TSLint no-any and typedef rules.

    10.0.0release notes

  • Webpack can resolve packages using Yarn Plug’n’Play.

    10.0.0release notes

Fixes and other changes 5

  • Duplicate modules are deduplicated during builds.

    10.0.0release notes

  • The missing experimentalRollupPass option is added to the CLI schema.

    10.0.0release notes

  • CSS declaration order is retained when extractCss is used with an @import rule.

    10.0.0release notes

  • Relative stylesheet assets are rebased when preprocessors are used.

    10.0.0release notes

  • Webpack tilde resolution behavior is ensured for stylesheet resources.

    10.0.0release notes

@angular/cli 9104 changes

Breaking changes 19

  • The package is removed from the application when localizing.

    9.0.0release notes

  • Pattern validation is added for browserTarget and serverTarget.

    9.0.0release notes

  • The server builder now defaults bundleDependencies to all, bundling all of node_modules in the final server bundle.

    9.0.0release notes

  • The alias for the deploy command was removed.

    9.0.0release notes

  • The deprecated constructor that accepted a directory path has been removed; provide a virtualFs.Host instead.

    9.0.0release notes

  • The enableIvy option is removed.

    9.0.0release notes

  • FileSystemSink has been removed; use the virtualFs.Host classes from @angular-devkit/core.

    9.0.0release notes

  • I18n migrations are disabled.

    9.0.0release notes

  • Async files are excluded from the initial bundle budget.

    9.0.0release notes

  • EngineHost.listSchematics has been removed; use listSchematicNames instead.

    9.0.0release notes

  • The universal schematic is hidden and can no longer be used with ng generate; use ng add @nguniversal/express-engine or ng add @nguniversal/hapi-engine for a working universal application.

    9.0.0release notes

  • When installing packages, the CLI no longer uses the global command and instead installs in a separate folder.

    9.0.0release notes

  • The ngcc postinstall hook is removed.

    9.0.0release notes

  • The optimize function has been removed because trees are optimized automatically.

    9.0.0release notes

  • The deprecated spec option has been removed; use skipTests instead.

    9.0.0release notes

  • The deprecated styleext option has been removed; use style instead.

    9.0.0release notes

  • i18n translation file paths are relative to the workspace.

    9.0.0release notes

  • Translation files use the project root as their base.

    9.0.0release notes

  • The build supports TSLint 6.0 and later.

    9.0.0release notes

Deprecations 5

  • The additionalLazyModuleResources option is deprecated.

    9.0.0release notes

  • The additionalLazyModules option is deprecated.

    9.0.0release notes

  • The discoverLazyRoutes option is deprecated.

    9.0.0release notes

  • Deprecated i18n options are supported alongside the new configuration.

    9.0.0release notes

  • The lazyModules option is deprecated.

    9.0.0release notes

New APIs and options 15

  • The webpack-dev-server allowedHosts option is exposed.

    9.0.0release notes

  • The CLI supports custom npmrc file paths.

    9.0.0release notes

  • Adds the experimentalRollupPass option.

    9.0.0release notes

  • The server builders support externalDependencies.

    9.0.0release notes

  • Ivy libraries are introduced for development.

    9.0.0release notes

  • With minimal set to true, ng generate does not create test files.

    9.0.0release notes

  • Multiselect lists can specify defaults.

    9.0.0release notes

  • Packages added with ng-add can be configured not to be saved as dependencies.

    9.0.0release notes

  • A generator for interceptors is available.

    9.0.0release notes

  • The ng new command gains a strict option.

    9.0.0release notes

  • A packageManager option is available in the Angular package schematic.

    9.0.0release notes

  • Project metadata can be accessed through the architect host.

    9.0.0release notes

  • PWA functionality is available in CLI applications.

    9.0.0release notes

  • The component generator accepts a type option.

    9.0.0release notes

  • runWebpackDevServer accepts a webpackDevServerFactory.

    9.0.0release notes

Performance 2

  • Script bundles are fully optimized when bundle downleveling is used.

    9.0.0release notes

  • Scripts optimization is enabled for the server bundle.

    9.0.0release notes

Behavior and default changes 15

  • Budgets check differential builds separately.

    9.0.0release notes

  • The server builder enables bundleDependencies by default.

    9.0.0release notes

  • bundleDependencies can be specified as a boolean.

    9.0.0release notes

  • Assets are copied outside webpack only when differential loading is needed.

    9.0.0release notes

  • i18nFile may be omitted when using i18nLocale.

    9.0.0release notes

  • The update tooling includes prerelease peer dependencies when using the next option.

    9.0.0release notes

  • Update commit creation is disabled by default, so running migrations no longer creates a commit unless requested.

    9.0.0release notes

  • The update command skips the project analytics prompt.

    9.0.0release notes

  • Package installation output for add and update is shown only when errors occur.

    9.0.0release notes

  • The CLI no longer passes no-bin-links during npm or Yarn installs.

    9.0.0release notes

  • The update tooling validates peer dependencies; missing peer dependencies produce warnings instead of errors, and out-of-range peers are updated.

    9.0.0release notes

  • A default poll value is used when none is present.

    9.0.0release notes

  • The workspace tsconfig now includes skipLibCheck.

    9.0.0release notes

  • The workspace tsconfig generated by the CLI includes the strict compiler option.

    9.0.0release notes

  • The update command creates a separate commit for each migration.

    9.0.0release notes

Tooling 27

  • The app-shell schematic can be added after using the nguniversal schematics.

    9.0.0release notes

  • The guard schematic adds a CanDeactivate guard.

    9.0.0release notes

  • The app-shell schematic can be added without specifying clientProject.

    9.0.0release notes

  • Lazy chunks receive a crossorigin attribute.

    9.0.0release notes

  • i18n extraction is supported with Ivy.

    9.0.0release notes

  • Localization is supported for non-differential builds.

    9.0.0release notes

  • Localization can run in parallel.

    9.0.0release notes

  • Localization can be used with the development server.

    9.0.0release notes

  • The CLI improves i18n option migrations, including output path and localized base HREF handling.

    9.0.0release notes

  • Initial support is added for inlining translations during builds.

    9.0.0release notes

  • The CLI adds Ivy library migration support, allowing library projects to be migrated for Ivy.

    9.0.0release notes

  • The CLI supports using multiple configurations.

    9.0.0release notes

  • Schema prompt types for multiselect are automatically discovered.

    9.0.0release notes

  • The update command supports prerelease CLI versions when bootstrapping an update.

    9.0.0release notes

  • The command prints when a commit is made and includes the migration name in the commit header.

    9.0.0release notes

  • After Angular migrations, the command provides a link to the update guide.

    9.0.0release notes

  • The command reports whether Ivy is enabled.

    9.0.0release notes

  • ngcc runs during postinstall.

    9.0.0release notes

  • Peer dependency support is updated.

    9.0.0release notes

  • New projects use an updated Protractor version.

    9.0.0release notes

  • The CLI can run a single migration from a package.

    9.0.0release notes

  • Test coverage collection supports JSX and TSX files.

    9.0.0release notes

  • The migration replaces deprecated TestBed.get calls with TestBed.inject.

    9.0.0release notes

  • tsickle is an optional peer dependency of build-ng-packagr.

    9.0.0release notes

  • Differential loading is supported for web workers.

    9.0.0release notes

  • The CLI checks for and prompts users about workspace-level analytics configuration.

    9.0.0release notes

  • The translation file parser supports XMB and XTB files.

    9.0.0release notes

Fixes and other changes 21

  • The app-shell builder works with Ivy.

    9.0.0release notes

  • The deprecation of baseUrl in the Protractor builder was removed.

    9.0.0release notes

  • Fixes optimization and bundleDependencies issues in universal builds.

    9.0.0release notes

  • Correct SRI values are injected in downlevel bundles.

    9.0.0release notes

  • The migration handles aliased or already-existing environment imports.

    9.0.0release notes

  • Permission errors for ES5 bundles are fixed.

    9.0.0release notes

  • The extract i18n format option is normalized.

    9.0.0release notes

  • Licenses are kept when license extraction is disabled.

    9.0.0release notes

  • The HTML lang attribute is set when localizing.

    9.0.0release notes

  • Fixes i18n with Ivy in the universal builder.

    9.0.0release notes

  • The document locale is set when i18nLocale is used.

    9.0.0release notes

  • Lazy-loading module generation correctly looks up the routing module.

    9.0.0release notes

  • A locale identifier is set when localizing.

    9.0.0release notes

  • Using an array option multiple times no longer produces a warning.

    9.0.0release notes

  • Update logic now accounts for linked packages when determining packages to update.

    9.0.0release notes

  • The outdated CLI message and logic for determining whether the installed CLI is out of date are clarified and corrected.

    9.0.0release notes

  • The Node.js version check is more robust.

    9.0.0release notes

  • Proxy configuration works with Windows authentication.

    9.0.0release notes

  • Generated routes are inserted before wildcard routes so they are not shadowed.

    9.0.0release notes

  • Fixes sockPath handling for a custom path.

    9.0.0release notes

  • Sourcemaps are updated during localization.

    9.0.0release notes

@angular/cli 8125 changes

Breaking changes 28

  • Adds an Angular version check to required builders.

    8.0.0release notes

  • The libraries tsconfig no longer includes annotateForClosureCompiler.

    8.0.0release notes

  • Requires browserTarget to match the target pattern.

    8.0.0release notes

  • angular-devkit/core no longer depends on chokidar; users relying on its file-watching functionality must add chokidar to their devDependencies.

    8.0.0release notes

  • Deprecated test functions were removed from the public API.

    8.0.0release notes

  • Throws an error when multiple bundles are given the same name.

    8.0.0release notes

  • The experimentalImportFactories option has been removed.

    8.0.0release notes

  • The experimentalIvy option is renamed to enableIvy.

    8.0.0release notes

  • The importFactories option was removed.

    8.0.0release notes

  • New applications no longer include the ivy-ngcc postinstall script.

    8.0.0release notes

  • The ES6 polyfill is dropped from modern polyfills.

    8.0.0release notes

  • The unsupported dryRun and force options have been removed from ng add.

    8.0.0release notes

  • The deprecated eject command has been removed.

    8.0.0release notes

  • The generated service worker files are relocated.

    8.0.0release notes

  • Schematics commands now fail when given unknown options.

    8.0.0release notes

  • The update command checks that the Git repository is clean before proceeding.

    8.0.0release notes

  • The minimum required Node.js version is now 10.9.

    8.0.0release notes

  • Changes the es5BrowserSupport output filename to polyfills.es5.js.

    8.0.0release notes

  • The unimplemented prompt priority was removed.

    8.0.0release notes

  • Errors when both baseUrl and devServerTarget are used in Protractor.

    8.0.0release notes

  • Type checking is added for the Protractor configuration file.

    8.0.0release notes

  • Removes pure_getters.

    8.0.0release notes

  • Root-relative stylesheet URL rebasing is disabled by default; this compatibility option is available during the 8.x release cycle for transition.

    8.0.0release notes

  • The build system now uses dart-sass instead of node-sass by default; install node-sass as a dev dependency to keep using it.

    8.0.0release notes

  • Fails the build if the service worker fails.

    8.0.0release notes

  • Disables stylesheet root-relative URL rebasing by default.

    8.0.0release notes

  • The end-to-end TypeScript configuration file is renamed to tsconfig.json.

    8.0.0release notes

  • The worker alias is dropped.

    8.0.0release notes

Security 1

  • Stops the dev server fallback from serving paths outside the configured serve path.

    8.0.0release notes

Deprecations 5

New APIs and options 18

  • Analytics interfaces and basic implementations were added, with support in schematics.

    8.0.0release notes

  • Adds a new AppShell builder API.

    8.0.0release notes

  • A build builder was added to @angular-devkit/build-webpack.

    8.0.0release notes

  • A new API lets tooling developers replace the behavior of CLI commands such as build and test; Architect is also being used to support a deploy command.

    8.0.0release notes

  • Aliases were added to collection-schema.json.

    8.0.0release notes

  • An API builder for the dev server was added.

    8.0.0release notes

  • The Ivy configuration option is named enableIvy and is set to true.

    8.0.0release notes

  • Adds the experimentalImportFactories option.

    8.0.0release notes

  • An option was added to control lazy route discovery.

    8.0.0release notes

  • The library schematic gains a project name option.

    8.0.0release notes

  • pnpm is now supported as a package manager option.

    8.0.0release notes

  • Project type was added as a workspace special extension.

    8.0.0release notes

  • A reusable JobStrategy was added.

    8.0.0release notes

  • Adds a server output path.

    8.0.0release notes

  • An API builder for webpack was added.

    8.0.0release notes

  • Tools can use the Workspace API to read or write the angular.json file.

    8.0.0release notes

  • Core APIs to read and write workspace JSON were added.

    8.0.0release notes

  • The workspace project type is available as a special extension.

    8.0.0release notes

Behavior and default changes 19

  • Implements the stable Architect API.

    8.0.0release notes

  • New projects are scaffolded with Angular packages at version 8.

    8.0.0release notes

  • Ignores bundle budgets when running Karma or the dev server.

    8.0.0release notes

  • createJobFactory no longer requires options.

    8.0.0release notes

  • Builds modern and legacy application bundles; enabled by default when the application tsconfig.json target is es2015. Set target to es5 to disable it.

    8.0.0release notes

  • Implements the stable Architect API for extract-i18n.

    8.0.0release notes

  • Limits extract-i18n output to warnings and errors.

    8.0.0release notes

  • Implements the stable Architect API for Karma.

    8.0.0release notes

  • Ivy supports string syntax for loadChildren, and ViewEngine supports import syntax.

    8.0.0release notes

  • newProjectRoot defaults to the current directory.

    8.0.0release notes

  • Updating the CLI automatically updates Angular builders.

    8.0.0release notes

  • Prevents polyfill chunks from being split.

    8.0.0release notes

  • Progress bar updates are no longer throttled.

    8.0.0release notes

  • Implements the stable Architect API for Protractor.

    8.0.0release notes

  • Karma configuration templates set restartOnFileChange to true.

    8.0.0release notes

  • Schematics are now all asynchronous, which affects authors writing schematics.

    8.0.0release notes

  • The default TypeScript module format changes to esnext.

    8.0.0release notes

  • New workspaces set the TypeScript target to es2015.

    8.0.0release notes

  • The root component schematic no longer includes ViewEncapsulation by default, and provided ViewEncapsulation values are now configured.

    8.0.0release notes

Tooling 34

  • @ngtools/webpack added support for Angular 8.

    8.0.0release notes

  • Experimental package versions now follow the formula 0.(major × 100 + minor).patch; for this release, @angular-devkit/build-angular is version 0.800.0.

    8.0.0release notes

  • Adds support for ng-packagr version 5.

    8.0.0release notes

  • Generated scaffolding no longer includes @angular/http as a dependency.

    8.0.0release notes

  • Adds Browser Builder v2.

    8.0.0release notes

  • Adds analytics for build operations.

    8.0.0release notes

  • Generated projects gained support for Chrome 41.

    8.0.0release notes

  • Opt-in reporting lets developers share CLI usage data with the Angular team and their own Google Analytics account.

    8.0.0release notes

  • More codelyzer rules are used in generated workspaces.

    8.0.0release notes

  • Updates to core-js 3.

    8.0.0release notes

  • New projects no longer include the unused core-js dependency.

    8.0.0release notes

  • Moves dev-server to the new API.

    8.0.0release notes

  • The migration runs only for projects using @angular-devkit/build-angular:browser.

    8.0.0release notes

  • Runs differential-loading build steps in sequence to avoid confusing progress information.

    8.0.0release notes

  • Existing ES5 projects are migrated to support differential loading.

    8.0.0release notes

  • Uses named chunks for dynamic imports.

    8.0.0release notes

  • Adds web worker support and webpack transformation to the Karma builder.

    8.0.0release notes

  • Lazy-loaded routes support EcmaScript dynamic import(); ng update changes loadChildren syntax, and the string-based style is no longer recommended.

    8.0.0release notes

  • NGCC was added to the webpack workflow, and its errors and warnings are redirected to webpack.

    8.0.0release notes

  • Loads polyfills-es5 when running tests.

    8.0.0release notes

  • Schematics rules gained support for promises and async operations.

    8.0.0release notes

  • Workspace projects can use scoped names.

    8.0.0release notes

  • Adds Server Builder v2.

    8.0.0release notes

  • A JSON schema is added for service worker configuration.

    8.0.0release notes

  • The browserslist file is moved and updated, and the differential loading migration is aligned with its template.

    8.0.0release notes

  • Enables webpack profiling when using the stats-json flag.

    8.0.0release notes

  • SVG files can be used as templates.

    8.0.0release notes

  • Adds support for TypeScript web workers, including module web workers.

    8.0.0release notes

  • The worker TypeScript configuration is generated outside the src folder and added to the linted tsconfig files.

    8.0.0release notes

  • Moves TSLint to the new API.

    8.0.0release notes

  • Relaxes the TypeScript peer dependency requirement.

    8.0.0release notes

  • A migration is added to update the web-animations-js polyfill.

    8.0.0release notes

  • Schematics for web workers are added.

    8.0.0release notes

  • The CLI bundles WebWorkers automatically into a separate browser script, making it easier to move expensive computation to another thread.

    8.0.0release notes

Fixes and other changes 20

  • Fixes base href insertion when HTML is on a single line.

    8.0.0release notes

  • The build waits for the last output before completing.

    8.0.0release notes

  • Avoids bundling linked modules in the server builder when bundleDependencies is none.

    8.0.0release notes

  • Makes end-to-end tests respect dev-server host and port settings.

    8.0.0release notes

  • Corrects the port number shown in logs when using port=0.

    8.0.0release notes

  • Adds a promise polyfill to the provided polyfills when ES5 browser support is enabled.

    8.0.0release notes

  • Resolves fonts with spaces in their filenames.

    8.0.0release notes

  • No longer shows a warning when font shorthand is used.

    8.0.0release notes

  • Fixes the inability to disable live reload.

    8.0.0release notes

  • Shows an error for missing modules.

    8.0.0release notes

  • Fixed parsing of positional arrays in ng config.

    8.0.0release notes

  • Corrects the location of index.html when outputPath is absolute.

    8.0.0release notes

  • Fixes serving with port 0 so a suitable port can be found.

    8.0.0release notes

  • Uses the dev-server baseUrl in Protractor and accounts for its dynamic port.

    8.0.0release notes

  • Propagates Protractor errors during execution.

    8.0.0release notes

  • Ensures the correct dev-server path when using the public host option.

    8.0.0release notes

  • The .sass file extension is supported again.

    8.0.0release notes

  • Normalizes sourceMap options in the Karma webpack plugin and fixes the option in tests.

    8.0.0release notes

  • Fixes the sourceMap option in tests.

    8.0.0release notes

  • Path handling is fixed to support Windows.

    8.0.0release notes

@angular/cli 617 changes

Breaking changes 8

  • The allowOutsideOutDir option in assets has been removed.

    6.0.0release notes

  • Replaces .angular-cli.json with a workspace configuration file that supports multiple projects and contains CLI configuration and defaults.

    6.0.0release notes

  • The completion command has been removed because its functionality no longer aligns with this CLI version.

    6.0.0release notes

  • Replaces the serve option in ng e2e to specify which server target to use; an empty string means nothing will be served.

    6.0.0release notes

  • The environment option in build-related commands is replaced with fileReplacements.

    6.0.0release notes

  • Replaces the environment option in build-related commands for configuring application environments.

    6.0.0release notes

  • The eject command is temporarily disabled because it is not compatible with the new angular.json format.

    6.0.0release notes

  • The serve option in ng e2e is replaced with devServerTarget, which selects the server target; an empty value means nothing will be served.

    6.0.0release notes

New APIs and options 8

  • Smart defaults let schematic authors control how values are parsed, including assigning an unnamed command-line argument to an option.

    6.0.0release notes

  • Adds configuration and assets to configure the supplied project as a progressive web application.

    6.0.0release notes

  • Installing a package with ng add runs its ng-add schematic when present, allowing package authors to provide dynamic setup instructions.

    6.0.0release notes

  • Generates another individual application inside a workspace, with separate configurations and defaults.

    6.0.0release notes

  • Generates a library in an existing workspace, with a component and service inside a NgModule.

    6.0.0release notes

  • Can serve an application in a multi-application workspace by passing the project name.

    6.0.0release notes

  • A new command helps keep projects up to date by applying package-defined logic and changes that reduce the impact of breaking changes.

    6.0.0release notes

  • Configure default values for any property in any schematic collection at the workspace root, project, or global level.

    6.0.0release notes

Tooling 1

  • The CLI build system upgrades to Webpack 4, which comes with performance and bundling improvements.

    6.0.0release notes