Update angular-cli monorepo to v19 (major) #1181
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^18.2.9
->^19.0.0
~18.2.9
->~19.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
angular/angular-cli (@angular-devkit/build-angular)
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
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.