Update dependency @angular-devkit/build-angular to v20 #142
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate_angular-devkit-build-angular-20.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
~13.3.3
->~20.0.0
Release Notes
angular/angular-cli (@angular-devkit/build-angular)
v20.0.1
Compare Source
@angular/cli
@schematics/angular
@angular/build
v20.0.0
Compare Source
Breaking Changes
@angular/cli
Node.js v18 is no longer supported with Angular.
Before updating a project to Angular v20, the Node.js version must be
at least 20.11.1. For the full list of supported Node.js versions,
see https://angular.dev/reference/versions.
Node.js versions from 22.0 to 22.10 are no longer supported
@schematics/angular
--server-routing
option has been removed from several schematics. Server routing will be used when using the application builder.@angular-devkit/schematics
The
NodePackageLinkTask
has been removed without a replacement. Create a custom task if needed.Note: This does not affect application developers.
@angular/build
@schematics/angular
moduleResolution
tobundler
@angular/build
in new projects--server-routing
option@angular/ssr
dependency only whenprovideServerRendering
import has been updated.ng.html
extensionwithAppShell
.ng.html
file extension.component
extension/typeprovideServerRoutesConfig
toprovideServerRendering
scripts
option value from new applicationsoutputPath
option value from generated applications@angular/cli
@angular-devkit/build-angular
@angular-devkit/schematics
NodePackageLinkTask
@angular/build
browser
optioncomposite
option with Angular compilercom.chrome.devtools.json
is consistently served after initial runcom.chrome.devtools.json
if project is moved@angular/pwa
@angular/ssr
provideServerRendering
and removeprovideServerRouting
AngularNodeAppEngine
,AngularAppEngine
, andprovideServerRouting
APIs@angular/router
@ngtools/webpack
v19.2.14
Compare Source
@angular/build
v19.2.13
Compare Source
@angular/pwa
background_color
andtheme_color
from manifestv19.2.12
Compare Source
@angular/cli
require()
errors with ESM modulesv19.2.11
Compare Source
@angular-devkit/build-angular
@angular/build
v19.2.10
Compare Source
@angular/build
v19.2.9
Compare Source
@angular-devkit/build-angular
@angular/build
preserveSymlinks
option to Karma esbuild builder@angular/ssr
getPrerenderParams
for wildcard routesv19.2.8
Compare Source
@angular/build
module
value check when adding custom conditionsv19.2.7
Compare Source
@angular/build
v19.2.6
Compare Source
@angular-devkit/schematics
@angular/build
false
value in server optionv19.2.5
Compare Source
@angular/build
getOrCreateAngularServerApp
during error compilationv19.2.4
Compare Source
@schematics/angular
@angular/platform-browser-dynamic
with@angular/platform-browser
@angular/build
v19.2.3
Compare Source
@angular/build
v19.2.2
Compare Source
@angular/cli
@angular/build
extract-i18n
does not respect@angular/ssr
write
does not return a booleanv19.2.1
Compare Source
@angular/build
v19.2.0
Compare Source
@schematics/angular
@angular-devkit/build-angular
@angular/build
allowedHosts
option for development server@angular/ssr
v19.1.9
Compare Source
@angular/build
v19.1.8
Compare Source
@angular/cli
@angular-devkit/build-angular
@angular/build
/index.html
requestsautoCsp
v19.1.7
Compare Source
@schematics/angular
@angular/build
--localize
@angular/ssr
\r\n
v19.1.6
Compare Source
@schematics/angular
@angular/ssr
is not a dependency@angular/build
@angular/ssr
v19.1.5
Compare Source
@schematics/angular
@angular-devkit/build-angular:ng-packagr
@angular/build
removeComments
option@angular/ssr
provideServerRoutesConfig
toprovideServerRouting
v19.1.4
Compare Source
@angular-devkit/schematics
@angular/build
/@​ng/components
on WindowssubPaths
with inlined localesi18n.baseHref
with a warning@angular/ssr
withEnabledBlockingInitialNavigation
v19.1.3
Compare Source
@angular/build
@ng/components
$localize
usagev19.1.2
Compare Source
@angular/build
v19.1.1
Compare Source
@angular/build
v19.1.0
Compare Source
Deprecations
@angular/build
The
baseHref
option underi18n.locales
andi18n.sourceLocale
inangular.json
is deprecated in favor ofsubPath
.The
subPath
defines the URL segment for the locale, serving as both the HTML base HREF and the directory name for output. By default, if not specified,subPath
will use the locale code.@schematics/angular
@angular/build
package in library generation schematic@angular-devkit/architect
@angular-devkit/core
@angular-devkit/schematics
Rule
type to support returning aPromise
ofTree
@angular/build
subPath
isolatedModules
andemitDecoratorMetadata
@angular/ssr
modulepreload
for lazy-loaded routesv19.0.7
Compare Source
@angular-devkit/architect
@angular-devkit/build-angular
@angular/build
define
option defined in application builder to Vite prebundling@angular/localize/init
is imported directlyv19.0.6
Compare Source
@angular-devkit/build-angular
@angular/build
@angular/ssr
Location
header for redirects behind a proxyv19.0.5
Compare Source
@angular-devkit/build-angular
@angular/build
@angular/
packages during SSR (#29094)@angular/ssr
Content-Language
header when locale is setv19.0.4
Compare Source
@angular-devkit/build-angular
@angular/build
ng serve
v19.0.3
Compare Source
@angular/cli
ng add
@schematics/angular
CanDeactivate
guard (#29004)@angular/build
index.output
for SSR@angular/ssr
Http2ServerResponse
typev19.0.2
Compare Source
@schematics/angular
@angular/build
inject
to prevent code reorderinggetPrerenderParams
is undefined@angular/ssr
v19.0.1
Compare Source
@angular-devkit/build-angular
@angular/build
sha256
instead ofsha-256
as hash algorithm name@angular/ssr
./
v19.0.0
Compare Source
Breaking Changes
@schematics/angular
@angular-devkit/build-angular
The
browserTarget
option has been removed from the DevServer and ExtractI18n builders.buildTarget
is to be used instead.Protractor is no longer supported.
Protractor was marked end-of-life in August 2023 (see https://protractortest.org/). Projects still relying on Protractor should consider migrating to another E2E testing framework, several support solid migration paths from Protractor.
@angular-devkit/core
The deprecated
fileBuffer
function is no longer available. Update your code to usestringToFileBuffer
instead to maintain compatibility.Note: that this change does not affect application developers.
@angular/build
@angular/localize/init
polyfill will no longer be added automatically to projects. To prevent runtime issues, ensure that this polyfill is manually included in the "polyfills" section of your "angular.json" file if your application relies on Angular localization features.@angular/ssr
The
CommonEngine
API now needs to be imported from@angular/ssr/node
.Before
After
@angular-devkit/schematics-cli
@schematics/angular
withEventReplay()
inprovideClientHydration
for new SSR appsbrowser
builder@angular/ssr
featuredeclaration
andsourceMap
from default tsconfigexpress
@angular/cli
@angular-devkit/architect
@angular-devkit/build-angular
browser-sync
is not installedbrowserTarget
@angular-devkit/core
fileBuffer
function in favor ofstringToFileBuffer
@angular/build
sass
tostylePreprocessorOptions
in application builderoutputMode
option to the application builderssr.experimentalPlatform
optionssr.entry
during prerendering to enable access to local API routesssr.entry
in Vite dev-server when available--prerendering
or--app-shell
are no-opsindex.csr.html
is always generated when prerendering or SSR are enabled--import
from execArgv when spawning workersAPP_BASE_HREF
correctly in prerendered routesngServerMode
during vite prebundling--no-server
via command linereqHandler
for server.ts request handling@angular/localize/init
polyfill and related warnings@angular/ssr
createRequestHandler
andcreateNodeRequestHandler
utilitiesgetHeaders
Method toAngularAppEngine
andAngularNodeAppEngine
for handling pages static headersisMainModule
functionAngularAppEngine
as public APIwriteResponseToNodeResponse
andcreateWebRequestFromNodeRequest
in public APIAngularServerApp
AngularNodeAppEngine
API for Node.js integrationCommonEngine
API to/node
entry-point@angular/platform-server
provideServerRoutesConfig
in browser contextRESPONSE_INIT
,REQUEST
, andREQUEST_CONTEXT
tokensnull
to avoid requiring them to be set to optionalbootstrap is not a function
errorRenderMode.AppShell
v18.2.19
Compare Source
@angular-devkit/build-angular
v18.2.18
Compare Source
@angular/build
v18.2.17
Compare Source
@angular/build
v18.2.16
Compare Source
@angular-devkit/build-angular
@vitejs/plugin-basic-ssl
from dependencies@angular/build
v18.2.15
Compare Source
@angular-devkit/build-angular
v18.2.14
Compare Source
@angular-devkit/build-angular
vite
dependencyv18.2.13
Compare Source
@angular/cli
ng add
@angular/build
v18.2.12
Compare Source
@angular/cli
@angular/build
v18.2.11
Compare Source
@angular/build
v18.2.10
Compare Source
@angular-devkit/build-angular
http-proxy-middleware
to3.0.3
@angular/build
v18.2.9
Compare Source
@schematics/angular
@angular/build
v18.2.8
Compare Source
@schematics/angular
index.csr.html
in resources asset group@angular/build
Ctrl + C
not terminating dev-server with SSRv18.2.7
Compare Source
@schematics/angular
@angular/build
animate
to valid self-closing elementsv18.2.6
Compare Source
@angular/build
v18.2.5
Compare Source
@angular/build
5.4.6
v18.2.4
Compare Source
@angular/build
v18.2.3
Compare Source
@angular-devkit/build-angular
webpack-dev-middleware
to7.4.2
v18.2.2
Compare Source
@angular-devkit/build-angular
5.94.0
v18.2.1
Compare Source
@angular-devkit/build-angular
v18.2.0
Compare Source
@schematics/angular
@angular/build
v18.1.4
Compare Source
@angular/build
v18.1.3
Compare Source
@angular/build
nonce
attribute to script tags when inline critical CSS is disabledextract-i18n
builder for librariesv18.1.2
Compare Source
@angular/build
v18.1.1
Compare Source
@angular-devkit/build-angular
@angular/build
v18.1.0
Compare Source
@angular/cli
@schematics/angular
@angular/build
--inspect
option to the dev-serverv18.0.7
Compare Source
@angular/cli
ng update
to keep newline at the end of package.json@angular-devkit/build-angular
5.29.2
@angular/build
v18.0.6
Compare Source
@angular/build
v18.0.5
Compare Source
@schematics/angular
@angular-devkit/build-angular
@angular/build
.mjs
files when using Vitev18.0.4
Compare Source
@angular/build
@angular/localize/init
v18.0.3
Compare Source
@angular/cli
schema.json
options to parsed command, also when a version is passed tong add <package>@​<version>
@angular/build
v18.0.2
Compare Source
@schematics/angular
assets
option correctly for new applications@angular/build
@warn
location@angular/pwa
icons
location to matchassets
builder optionv18.0.1
Compare Source
@schematics/angular
@angular/build
polyfills
option asstring
duringng serve
v18.0.0
Compare Source
Breaking Changes
@angular/cli
ng doc
command has been removed without a replacement. To perform searches, please visit www.angular.dev@angular-devkit/build-angular
By default, the index.html file is no longer emitted in the browser directory when using the application builder with SSR. Instead, an index.csr.html file is emitted. This change is implemented because in many cases server and cloud providers incorrectly treat the index.html file as a statically generated page. If you still require the old behavior, you can use the
index
option to specify theoutput
file name.The support for the legacy Sass build pipeline, previously accessible via
NG_BUILD_LEGACY_SASS
when utilizing webpack-based builders, has been removed.Deprecations
@angular-devkit/schematics
NodePackageLinkTask
in@angular-devkit/schematics
. A custom task should be created instead.@angular/cli
ng dev
alias tong serve
--version
option@angular/build
package to update group listng version
commandng doc
command@schematics/angular
assets
withpublic
directory@angular-devkit/architect
@angular-devkit/build-angular
poll
option in the library builderindex.html
file in the browser directory when using SSR.@angular-devkit/schematics
NodePackageLinkTask
@angular/build
ansi-colors
andpicomatch
dependenciesv17.3.17
Compare Source
@angular-devkit/build-angular
v17.3.16
Compare Source
@angular-devkit/build-angular
v17.3.15
Compare Source
@angular-devkit/build-angular
v17.3.14
Compare Source
@angular-devkit/build-angular
v17.3.13
Compare Source
@angular-devkit/build-angular
v17.3.12
Compare Source
@angular-devkit/build-angular
v17.3.11
Compare Source
@angular-devkit/build-angular
http-proxy-middleware
to2.0.7
v17.3.10
Compare Source
@angular-devkit/build-angular
v17.3.9
Compare Source
@angular-devkit/build-angular
5.94.0
v17.3.8
Compare Source
@angular/cli
@angular-devkit/schematics
SchematicTestRunner.runExternalSchematic
fails with "The encoded data was not valid for encoding utf-8"v17.3.7
Compare Source
@angular-devkit/build-angular
@angular-devkit/schematics
v17.3.6
Compare Source
@angular-devkit/build-angular
v17.3.5
Compare Source
@angular-devkit/build-angular
Unable to deserialize cloned data
issue with Yarn PnPtype="text/css"
fromstyle
tagv17.3.4
Compare Source
@angular-devkit/build-angular
v17.3.3
Compare Source
@schematics/angular
v17.3.2
Compare Source
@schematics/angular
@angular-devkit/build-angular
Internal server error: Invalid URL
when using a non localhost IPwebpack-dev-middleware
to6.1.2
v17.3.1
Compare Source
@angular-devkit/build-angular
v17.3.0
Compare Source
@schematics/angular
@angular-devkit/build-angular
deployUrl
to application builderv17.2.3
Compare Source
@angular-devkit/build-angular
deployUrl
when using vite dev-serverv17.2.2
Compare Source
@angular-devkit/build-angular
v17.2.1
Compare Source
@angular-devkit/build-angular
mts
andcts
file replacementv17.2.0
Compare Source
@angular/cli
bun
package manager@schematics/angular
bun
package manager@angular-devkit/build-angular
.html
served with Vite dev-server@angular-devkit/schematics
bun
to known package managers@angular/create
bun
package managerv17.1.4
Compare Source
@angular/cli
package.json
duringng update
@angular-devkit/build-angular
v17.1.3
Compare Source
@angular-devkit/build-angular
./
baseHref when using vite based serverv17.1.2
Compare Source
@angular-devkit/build-angular
required
modules as externals importsoutput-path
when using esbuild based buildersv17.1.1
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
ENOENT: no such file or directory
on Windows during component rebuild@angular/ssr
v17.1.0
Compare Source
@schematics/angular
outputPath
---skip-install
and--ssr
@angular-devkit/build-angular
--no-browsers
in karma builderallowedCommonJsDependencies
@web/test-runner
builderbrowser-sync
as optional dependencyOPTIONS
requests to be proxied when usingvite
v17.0.10
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/core
v17.0.9
Compare Source
@angular/cli
@angular-devkit/schematics
v17.0.8
Compare Source
@angular/cli
ng e2e
andng lint
prompt requires to hit Enter twice to proceed on Windows-d
alias for--dry-run
@schematics/angular
ng generate module
@angular-devkit/build-angular
@screen
directive in matcherv17.0.7
Compare Source
@angular-devkit/build-angular
baseHref
with trailing slash causes server not to be accessible without trailing slashnpm link
library from another workspace whenpreserveSymlinks
istrue
v17.0.6
Compare Source
@schematics/angular
skipLibCheck
in new workspace@angular-devkit/build-angular
preserveSymlinks
optionv17.0.5
Compare Source
Rolling back bbbe13d67 which appears to break file watching on Mac devices.
v17.0.4
Compare Source
@schematics/angular
@angular-devkit/build-angular
serve-path
v17.0.3
Compare Source
@angular-devkit/build-angular
v17.0.2
Compare Source
@angular-devkit/build-angular
localize
is enabled when using the esbuild based buildersv17.0.1
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/core
v17.0.0
Compare Source
Breaking Changes
@schematics/angular
ng generate application
andng new
. The--no-routing
command line option can be used to disable this behaviour.ng g interceptor
now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the--no-functional
command flag should be used.rootModuleClassName
,rootModuleFileName
andmain
options have been removed from the publicpwa
andapp-shell
schematics.appId
option has been removed.@angular-devkit/build-angular
Node.js v16 support has been removed
Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17.
For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule
@angular-devkit/schematics
runExternalSchematicAsync
andrunSchematicAsync
methods have been removed in favor ofrunExternalSchematic
andrunSchematic
.Deprecations
@angular-devkit/build-angular
browserTarget
in the dev-server and extract-i18n builders have been deprecated in favor ofbuildTarget
.@angular/cli
@angular/ssr
as part of the ng updatepackageGroup
@schematics/angular
ng new --ssr
@nguniversal
to@angular/ssr
@nguniversal/builders
ng new
generated applicationng new
to use the esbuild application builder based builderREQUEST
andRESPONSE
tokens@angular/ssr
during migrationesModuleInterop
by default for ESM compliancessr
option to application schematicsbaseUrl
fromtsconfig.json
@angular-devkit/build-angular
buildTarget
option to dev-server andextract-i18n
buildersvite
browser-esbuild
builderbaseUrl
URL is not set to root@angular/common/locales/global
Angular is running in development mode.
in the server console when running prerender in dev modeAngular is running in development mode.
in the server console when running prerender in dev modessr
option definitionfetch
to load assets from memory@angular-devkit/schematics
runExternalSchematicAsync
andrunSchematicAsync
@angular/pwa
@angular/ssr
CommonEngine
prerender
andssr
for all build configuration@ngtools/webpack
v16.2.16
Compare Source
@angular-devkit/build-angular
v16.2.15
Compare Source
@angular-devkit/build-angular
5.94.0
v16.2.14
Compare Source
@angular-devkit/build-angular
4.5.3
v16.2.13
Compare Source
@angular-devkit/build-angular
update webpack-dev-middleware
to6.1.2
v16.2.12
Compare Source
@angular-devkit/build-angular
v16.2.11
Compare Source
@angular-devkit/build-angular
v16.2.10
Compare Source
@angular-devkit/build-angular
v16.2.9
Compare Source
16.2.9 (2023-11-01)
@schematics/angular
@angular-devkit/schematics
v16.2.8
Compare Source
@angular/cli
--migrate-only
when--name
is used duringng update
v16.2.7
Compare Source
@schematics/angular
v16.2.6
Compare Source
@angular-devkit/build-angular
v16.2.5
Compare Source
@angular-devkit/build-angular
Angular is running in development mode.
in the server console when using dev-serverv16.2.4
Compare Source
@schematics/angular
@angular/cli
version specifier to use^
v16.2.3
Compare Source
@angular-devkit/build-angular
@ngtools/webpack
v16.2.2
Compare Source
@angular-devkit/build-angular
v16.2.1
Compare Source
@angular-devkit/build-angular
v16.2.0
Compare Source
@angular-devkit/build-angular
ssr
option in application builderv16.1.8
Compare Source
v16.1.7
Compare Source
@angular-devkit/build-angular
.mjs
v16.1.6
Compare Source
@angular-devkit/build-angular
v16.1.5
Compare Source
@angular/cli
zone.js
tong version
output@angular-devkit/build-angular
v16.1.4
Compare Source
@angular-devkit/build-angular
v16.1.3
Compare Source
@angular-devkit/build-angular
v16.1.2
Compare Source
@angular/cli
semver
dependencies to 7.5.3@angular-devkit/build-angular
v16.1.1
Compare Source
@angular-devkit/build-angular
es2015
to main fields for RxJS v6 compatibilitybrowserslist
v16.1.0
Compare Source
@schematics/angular
@angular-devkit/build-angular
v16.0.6
Compare Source
@angular-devkit/build-angular
v16.0.5
Compare Source
@angular-devkit/build-angular
v16.0.4
Compare Source
@angular-devkit/build-angular
v16.0.3
Compare Source
@angular-devkit/build-angular
v16.0.2
Compare Source
@angular-devkit/build-angular
v16.0.1
Compare Source
@angular-devkit/build-angular
@angular-devkit/schematics
@angular/pwa
v16.0.0
Compare Source
Breaking Changes
@angular/cli
The deprecated
defaultCollection
workspace option has been removed. UseschematicCollections
instead.Before
After
The deprecated
defaultProject
workspace option has been removed. The project to use will be determined from the current working directory.Node.js v14 support has been removed
Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16.
Angular v16 will continue to officially support Node.js versions v16 and v18.
@schematics/angular
ng g resolver
andng g guard
now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by usingng g resolver --no-functional
orng g guard --no-functional
.CanLoad
guards. UseCanMatch
instead.@angular-devkit/build-angular
Deprecated
outputPath
andoutputPaths
from the server and browser builder have been removed from the builder output. Useoutputs
instead.Note: this change does not effect application developers.
@angular-devkit/core
SchemaRegistry
.compile
method now returns aPromise
.flatten
has been removed without replacement.ContentHasMutatedException
,InvalidUpdateRecordException
,UnimplementedException
andMergeConflictException
API from@angular-devkit/core
have been removed in favor of the API from@angular-devkit/schematics
.UnsupportedPlatformException
- A custom error exception should be created instead.@angular-devkit/schematics
UpdateBuffer
has been removed andUpdateBuffer2
is renamed to
UpdateBuffer
. With this change the related anddeprecated symbols
ContentCannotBeRemovedException
andChunk
have also been removed.
@ngtools/webpack
@schematics/angular
BrowserModule.withServerTransition
app.server.module.ts
toapp.module.server.ts
provideServerSupport
withprovideServerRendering
@angular/cli
defaultCollection
from workspace configurationdefaultProject
from workspace configuration@angular-devkit/architect
@angular-devkit/build-angular
x_google_ignoreList
support for esbuild builderlooseEnums
build optimizer rulepreserveWhitespaces
is set in the tsconfig provided to the server builder@angular/platform-server/init
from unsafe optimizationsoutputPaths
andoutputPath
Builder output@angular-devkit/core
compile
to returnPromise
@angular-devkit/schematics
UpdateBuffer
and renameUpdateBuffer2
toUpdateBuffer
@ngtools/webpack
v15.2.11
Compare Source
@angular-devkit/build-angular
update webpack-dev-middleware
to6.1.2
v15.2.10
Compare Source
@angular-devkit/build-angular
v15.2.9
Compare Source
@angular/cli
v15.2.8
Compare Source
@angular/cli
v15.2.7
Compare Source
@angular/cli
@schematics/angular
pwa-chrome
tochrome
v15.2.6
Compare Source
@schematics/angular
v15.2.5
Compare Source
@angular/cli
Special Thanks
Alan Agius
v15.2.4
Compare Source
@angular-devkit/build-angular
webpack
dependency to5.76.1
Special Thanks
Alan Agius
v15.2.3
Compare Source
@angular-devkit/build-angular
Special Thanks
Alan Agius and Paul Gschwendtner
v15.2.2
Compare Source
@angular-devkit/schematics-cli
@angular-devkit/build-angular
Special Thanks
Alan Agius
v15.2.1
Compare Source
@angular-devkit/build-angular
update webpack-dev-middleware
to6.1.2
v15.2.0
Compare Source
@angular/cli
ng update
@angular-devkit/schematics-cli
@angular-devkit/build-angular
Special Thanks
Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Marvin and Paul Gschwendtner
v15.1.6
Compare Source
@angular/cli
SessionEngaged
in GAbefore
option in.npmrc
to Dateos.version
withos.release
.@angular-devkit/build-angular
safety-worker.js
contentsscripts
optionSpecial Thanks
Alan Agius and Charles Lyding
v15.1.5
Compare Source
@angular/cli
DebugView
whenNG_DEBUG
is passed@schematics/angular
@angular-devkit/build-angular
Special Thanks
Alan Agius, Charles Lyding, Kristiyan Kostadinov and Ricardo
v15.1.4
Compare Source
@angular-devkit/build-angular
Special Thanks
Alan Agius
v15.1.3
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
@angular-devkit/core
Special Thanks
Alan Agius, Charles Lyding and Doug Parker
v15.1.2
Compare Source
@angular/cli
ng generate
--to
option from being required when using--from
inng update
@schematics/angular
BrowserModule.withServerTransition
calls when running universal schematic@angular-devkit/build-angular
Special Thanks
Alan Agius, Charles Lyding and Doug Parker
v15.1.1
Compare Source
@angular-devkit/build-angular
esbuild
to0.16.17
Special Thanks
Alan Agius
v15.1.0
Compare Source
Deprecations
@angular-devkit/schematics
SchematicTestRunner.runSchematicAsync
andSchematicTestRunner.runExternalSchematicAsync
method have been deprecated in favor of the Promise basedSchematicTestRunner.runSchematic
andSchematicTestRunner.runExternalSchematic
.@schematics/angular
guardType
as an alias ofimplements
in guard schematic@angular-devkit/build-angular
assets
option to server builderexclude
specs in Karma builder@angular-devkit/schematics
runSchematic
andrunExternalSchematic
methodsSpecial Thanks
Alan Agius, Andrew Scott, Charles Lyding, Cédric Exbrayat, Doug Parker, Felix Hamann, Jason Bedard, Joey Perrott and Kristiyan Kostadinov
v15.0.5
Compare Source
@angular-devkit/build-angular
Special Thanks
Alan Agius, Kristiyan Kostadinov, Paul Gschwendtner and aanchal
v15.0.4
Compare Source
@angular-devkit/build-angular
css-loader
to6.7.3
globalThis
.Special Thanks
Alan Agius and Charles Lyding
v15.0.3
Compare Source
@angular-devkit/build-angular
Special Thanks
Charles Lyding, Dominic Elm and Paul Gschwendtner
v15.0.2
Compare Source
@angular-devkit/build-angular
@ngtools/webpack
Special Thanks
Alan Agius and Juuso Valkeejärvi
v15.0.1
Compare Source
@angular/cli
ng new
@schematics/angular
@angular-devkit/build-angular
Special Thanks
Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr Wysocki
v15.0.0
Compare Source
Breaking Changes
@angular/cli
16.10.x
,16.11.x
and16.12.x
. Current minimum versions of Node.js are14.20.0
,16.13.0
and18.10.0
.@schematics/angular
appDir
option from Universal and App-Shell schematic. This option can safely be removed if present since it no longer has effect.analyticsSharing
option in the global angular configuration has beenremoved without replacement. This option was used to configure the Angular CLI to access to your own users' CLI usage data.
If this option is used, it can be removed using
ng config --global cli.analyticsSharing undefined
.analytics APIs have been removed without replacement from
@angular-devkit/core
and@angular-devkit/architect
.@angular-devkit/build-angular
TypeScript versions older than 4.8.2 are no longer supported.
The server builder
bundleDependencies
option has been removed. This option was used pre Ivy. Currently, using this option is unlikely to produce working server bundles.The
externalDependencies
option can be used instead to exclude specific node_module packages from the final bundle.~
.Before
After
NG_BUILD_LEGACY_SASS=1
.Internally the Angular CLI now always set the TypeScript
target
toES2022
anduseDefineForClassFields
tofalse
unless the target is set toES2022
or later in the TypeScript configuration. To control ECMA version and features use the Browerslist configuration.require.context
are no longer parsed. Webpack specific features are not supported nor guaranteed to work in the future.Producing ES5 output is no longer possible. This was needed for Internet Explorer which is no longer supported. All browsers that Angular supports work with ES2015+
server builder
bundleDependencies
option now only accept a boolean value.Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and its usage in the Angular CLI is minimal. It's recommended to migrate to another CSS preprocessor that the Angular CLI supports.
@angular-devkit/core
root
is now an error.@ngtools/webpack
@schematics/angular
polyfills.ts
file from new templatesprojectRoot
as non hidden option in application schematickarma.conf.js
from newly generated projectsngOnInit
from component template@angular/localize
as type when localize package is installed@angular/cli
ng add
to find prerelease versions when CLI is prerelease@angular/localize@<10.0.0
from ng add pa… (#24152)@angular/material@7.x
from ng add package discovery@angular-devkit/build-angular
ng-server-context
when using app-shell builderpolyfills
option in all builders to support an array of module specifiers@angular/localize/init
when found intypes
@angular/platform-server/init
during server builds@angular/platform-server
symbols in server bundlemain
option is now optionalbundleDependencies
from server builder@angular/platform-server
as an optional peer dependencyscripts
andstyles
option@angular/platform-server/init
when package is installed.requireContext
parsingbundleDependencies
enum logic@angular-devkit/core
forEach
promiseCtor
type@angular-devkit/schematics
UpdateBuffer
and renameUpdateBuffer2
toUpdateBuffer
@ngtools/webpack
Special Thanks
Alan Agius, Brent Schmidt, Charles Lyding, Cédric Exbrayat, Dariusz Ostolski, Doug Parker, Günhan Gülsoy, Jason Bedard, Lukas Spirig, Ruslan Lekhman, angular-robot[bot] and minijus
v14.2.13
Compare Source
@angular-devkit/build-angular
v14.2.12
Compare Source
@angular/cli
v14.2.11
Compare Source
@angular-devkit/build-angular
5.76.1
Special Thanks
Alan Agius and Joey Perrott
v14.2.10
Compare Source
@angular/cli
@angular/localize@<10.0.0
from ng add pa… (#24152)@angular/material@7.x
from ng add package discovery@angular-devkit/build-angular
loader-utils
to3.2.1
Special Thanks
Alan Agius and Charles Lyding
v14.2.9
Compare Source
@angular-devkit/architect
@angular-devkit/build-angular
Special Thanks
Alan Agius and Charles Lyding
v14.2.8
Compare Source
@schematics/angular
Special Thanks
Andrew Scott
v14.2.7
Compare Source
@angular/cli
@angular-devkit/build-angular
Special Thanks
Alan Agius and Charles Lyding
v14.2.6
Compare Source
@angular/cli
which
binary in pathng update
without package names@angular-devkit/core
Special Thanks
AgentEnder and Alan Agius
v14.2.5
Compare Source
@angular-devkit/schematics
Special Thanks
Alan Agius and Charles Lyding
v14.2.4
Compare Source
@angular/cli
Special Thanks
Alan Agius, Jason Bedard and Paul Gschwendtner
v14.2.3
Compare Source
@angular-devkit/build-angular
@ngtools/webpack
Special Thanks
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
v14.2.2
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
@media
queries inside css layersSpecial Thanks
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
v14.2.1
Compare Source
@angular-devkit/build-angular
v14.2.0
Compare Source
@angular/cli
@angular-devkit/build-angular
Special Thanks
Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Kristiyan Kostadinov and angular-robot[bot]
v14.1.3
Compare Source
@angular-devkit/core
Special Thanks
AgentEnder, Alan Agius, Charles Lyding and Jason Bedard
v14.1.2
Compare Source
@angular-devkit/build-angular
@ngtools/webpack
emitDecoratorMetadata
Special Thanks
Alan Agius, Charles Lyding and Jason Bedard
v14.1.1
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
ngDevMode
in esbuilder@angular-devkit/core
classify
string util should concat string without using a.
@angular/create
Special Thanks
Alan Agius, Charles Lyding, Jason Bedard and Paul Gschwendtner
v14.1.0
Compare Source
@angular/cli
@schematics/angular
addDependency
utility rule install behavior@angular-devkit/build-angular
externalDependencies
to the esbuild browser builder@angular-devkit/schematics
chain
rule to accept iterables of rules@angular/create
yarn create
andnpm init
Special Thanks
Alan Agius, Charles Lyding, Derek Cormier, Doug Parker, Jason Bedard, Joey Perrott, Paul Gschwendtner, Victor Porof and renovate[bot]
v14.0.7
Compare Source
@schematics/angular
@angular-devkit/build-angular
@angular-devkit/core
Special Thanks
Alan Agius, Fortunato Ventre, Katerina Skroumpelou and Kristiyan Kostadinov
v14.0.6
Compare Source
@angular/cli
no
prefixed schema options@schematics/angular
@angular-devkit/build-angular
@angular-devkit/core
root
propertySpecial Thanks
Alan Agius and martinfrancois
v14.0.5
Compare Source
@angular/cli
@schematics/angular
RouterModule
parallel toRoutingModule
@angular-devkit/build-angular
@ngtools/webpack
node_modules
does not existSpecial Thanks
Alan Agius, Charles Lyding, JoostK and Paul Gschwendtner
v14.0.4
Compare Source
@angular/cli
--collection
option inng new
@schematics/angular
sourceRoot
instead ofsrc
in universal schematic@angular-devkit/architect
@angular-devkit/build-angular
@ngtools/webpack
Special Thanks
Alan Agius, Charles Lyding and Tim Bowersox
v14.0.3
Compare Source
@angular/cli
ng completion
commands--configuration
withng run
no
@angular-devkit/build-angular
--include
optioncodeCoverageExclude
correctly in Windows@angular-devkit/core
Special Thanks
Alan Agius, Charles Lyding and Paul Gschwendtner
v14.0.2
Compare Source
@angular/cli
@schematics/angular
minimal
workspaces@angular-devkit/build-angular
en-US
Special Thanks
Alan Agius and Julien Marcou
v14.0.1
Compare Source
@angular/cli
@schematics/angular
@angular-devkit/build-angular
verbose
option/ws
to/ng-cli-ws
@angular/pwa
Special Thanks
Alan Agius, Charles Lyding and Doug Parker
v14.0.0
Compare Source
Breaking Changes
@angular/cli
Several changes to the
ng analytics
command syntax.ng analytics project <setting>
has been replaced withng analytics <setting>
ng analytics <setting>
has been replaced withng analytics <setting> --global
Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
--all
option fromng update
has been removed without replacement. To update packages which don’t provideng update
capabilities in your workspacepackage.json
usenpm update
,yarn upgrade-interactive
oryarn upgrade
instead.Deprecated option
--prod
has been removed from all builders.--configuration production
/-c production
should be used instead if the default configuration of the builder is not configured toproduction
.--configuration
cannot be used withng run
. Provide the configuration as part of the target. Ex:ng run project:builder:configuration
.Deprecated
ng x18n
andng i18n-extract
commands have been removed in favor ofng extract-i18n
.Several changes in the Angular CLI commands and arguments handling.
ng help
has been removed in favour of the—-help
option.ng —-version
has been removed in favour ofng version
andng v
.—-sourceMap
instead of—-source-map
will result in an error.ng update
,—-migrate-only
option no longer accepts a string of migration name, instead use—-migrate-only -—name <migration-name>
.—-help json
help has been removed.@angular-devkit/architect-cli
@angular-devkit/schematics-cli
@angular-devkit/build-angular
browser
andkarma
buildersscript
andstyles
options input files extensions are now validated.Valid extensions for
scripts
are:.js
.cjs
.mjs
.jsx
.cjsx
.mjsx
Valid extensions for
styles
are:.css
.less
.sass
.scss
.styl
We now issue a build time error since importing a CSS file as an ECMA module is non standard Webpack specific feature, which is not supported by the Angular CLI.
This feature was never truly supported by the Angular CLI, but has as such for visibility.
Reflect metadata polyfill is no longer automatically provided in JIT mode
Reflect metadata support is not required by Angular in JIT applications compiled by the CLI.
Applications built in AOT mode did not and will continue to not provide the polyfill.
For the majority of applications, the reflect metadata polyfill removal should have no effect.
However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating.
To replicate the previous behavior, the
core-js
package should be manually installed and theimport 'core-js/proposals/reflect-metadata';
statement should be added to the application'spolyfills.ts
file.NG_BUILD_CACHE
environment variable has been removed.cli.cache
in the workspace configuration should be used instead.The deprecated
showCircularDependencies
browser and server builder option has been removed. The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tools.@angular-devkit/core
parseJson
andParseJsonOptions
APIs have been removed in favor of 3rd party JSON parsers such asjsonc-parser
.fs
namespaceclean
mapObject
@angular-devkit/schematics
NodePackageInstallTask
will not execute package scripts by defaultThe
NodePackageInstallTask
will now use the package manager's--ignore-scripts
option by default.The
--ignore-scripts
option will prevent package scripts from executing automatically during an install.If a schematic installs packages that need their
install
/postinstall
scripts to be executed, theNodePackageInstallTask
now contains anallowScripts
boolean option which can be enabled to provide theprevious behavior for that individual task. As with previous behavior, the
allowScripts
option willprevent the individual task's usage of the
--ignore-scripts
option but will not override the packagemanager's existing configuration.
analytics
property has been removed fromTypedSchematicContext
interface@ngtools/webpack
ivy
namespace has been removed from the public API.ivy.AngularWebpackPlugin
->AngularWebpackPlugin
ivy.AngularPluginOptions
->AngularPluginOptions
Deprecations
@angular/cli
The
defaultCollection
workspace option has been deprecated in favor ofschematicCollections
.Before
After
The
defaultProject
workspace option has been deprecated. The project to use will be determined from the current working directory.@angular-devkit/core
ContentHasMutatedException
,InvalidUpdateRecordException
,UnimplementedException
andMergeConflictException
symbol from@angular-devkit/core
have been deprecated in favor of the symbol from@angular-devkit/schematics
.UnsupportedPlatformException
- A custom error exception should be created instead.@angular/cli
--global
option tong analytics
commandng analytics info
commandng cache
commandng analytics
commanddefaultProject
optionng update
andng completion
commandsng completion
set up CLI autocompletion by modifying.bashrc
filespnpm-lock.yaml
existsng doc
doesn't open browser in Windowsng g
show description fromcollection.json
if not present inschema.json
ng update
--search
option inng doc
ng update
ng analytics
ng g
help outputng config
ng update
--all
option fromng update
--prod
flagextract-i18n
.@schematics/angular
defaultProject
in workspace configaddDependency
rule to utilities^
as version prefixES2020
package.json
in libraries secondary entrypointsbeforeEach()
@types/node
from new projects@angular-devkit/architect-cli
@angular-devkit/schematics-cli
@angular-devkit/build-angular
scripts
andstyles
optionstailwind.config.cjs
as valid tailwindcss configurationNG_BUILD_CACHE
environment variableshowCircularDependencies
browser and server builder option@angular-devkit/core
parseJson
andParseJsonOptions
APIs@angular-devkit/schematics
listSchematicNames
to allow returning hidden schematics.NodePackageInstallTask
analytics
property@angular/pwa
@schematics/angular
utility deep import usage@ngtools/webpack
Special Thanks
Adrien Crivelli, Alan Agius, Charles Lyding, Cédric Exbrayat, Daniil Dubrava, Doug Parker, Elton Coelho, George Kalpakas, Jason Bedard, Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Tobias Speicher and alkavats1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Gitea.