Update dependency @angular-devkit/build-angular to v16 - autoclosed #97
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate_angular-devkit-build-angular-16.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
->~16.2.0
Release Notes
angular/angular-cli (@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
resourcesOutputPath
with esbuild builderextraEntryPoints
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.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
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.
9d7cd92ee4
tof6c515206a
f6c515206a
to55a458efb8
55a458efb8
toe69c20b712
⚠ 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
e69c20b712
to603d854a11
603d854a11
to71e348644a
71e348644a
to9af5fe5ac2
Update dependency @angular-devkit/build-angular to v16to Update dependency @angular-devkit/build-angular to v16 - autoclosedPull request closed