-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(root): update angular monorepo to v19 (major) #1171
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/root/major-19-angular-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
d41d884
to
4db669d
Compare
fd492e7
to
59a9625
Compare
4cf0a91
to
a709700
Compare
d02b092
to
aa4b88e
Compare
1fdfed9
to
448c4c3
Compare
b8ddfda
to
e9517d9
Compare
45d4911
to
6451150
Compare
2e79fbf
to
fd375e2
Compare
cfd96f2
to
494badb
Compare
415c140
to
52cc014
Compare
52cc014
to
c0d45e9
Compare
c0d45e9
to
6c32041
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
18.2.13
->19.2.1
Release Notes
angular/angular (@angular/animations)
v19.2.1
Compare Source
common
onUrlChange
listener when root scope is destroyed (#60004)compiler-cli
core
language-service
v19.2.0
Compare Source
common
httpResource
(#59876)compiler
compiler-cli
core
resource()
(#59655)hasValue
narrowing toResourceRef
(#59708)resource()
'sprevious.state
(#59708)forms
migrations
platform-browser
platform-server
v19.1.8
Compare Source
benchpress
common
core
language-service
v19.1.7
Compare Source
common
urlChanges
subscribers when root scope is destroyed (#59703)compiler-cli
forms
FormRecord
. (#59993)v19.1.6
Compare Source
compiler
compiler-cli
core
migrations
v19.1.5
Compare Source
compiler-cli
v19.1.4
Compare Source
core
elements
platform-browser
baseHref
tosourceMappingURL
in CSS content (#59730)_originalEvent
property (#59690)_originalEvent
property (#59690)_originalEvent
property (#59690)router
service-worker
rxjs
peer dependency (#59747)v19.1.3
Compare Source
compiler
compiler-cli
core
migrations
platform-browser
v19.1.2
Compare Source
compiler
@ng/component
URL to be relative (#59620)compiler-cli
core
Resource
to use explicitundefined
in its typings (#59024)_ejsa
when app is destroyed (#59492)equal
as part of computation (#55818)v19.1.1
Compare Source
core
platform-browser
v19.1.0
Compare Source
common
compiler
compiler-cli
core
migrations
platform-browser
router
events
on dispose (#59327)v19.0.7
Compare Source
compiler-cli
core
migrations
v19.0.6
Compare Source
compiler-cli
core
effect
never run. (#59415)platform-browser
router
v19.0.5
Compare Source
core
on timer
andon idle
on the server (#59177)platform-server
v19.0.4
Compare Source
compiler-cli
core
platform-browser
v19.0.3
Compare Source
v19.0.2
Compare Source
compiler-cli
core
migrations
platform-server
v19.0.1
Compare Source
compiler-cli
core
forms
language-service
migrations
v19.0.0
Compare Source
Blog post: https://blog.angular.dev/meet-angular-v19-7b29dfd05b84
Breaking Changes
compiler
this.foo
property reads no longer refer to template context variables. If you intended to read the template variable, do not usethis.
.:where()
and:is()
,parsing of
:host
andhost-context
, parsing selectors within pseudo selector arguments (for instance comma separated selectors).These changes could lead to a different specificity of the resulting selectors and/or previously broken selectors being applied now,
for example
:where(:host)
used to transform to:where()[ng-host]
and is being:where([ng-host])
now. Unlike the previous outcome,the new result can target elements and therefore could lead to breakages.
core
Angular directives, components and pipes are now standalone by default.
standalone: false
for declarations that are currently declared in@NgModule
s.ng update
for v19 will take care of this automatically.TypeScript versions less than 5.5 are no longer supported.
Timing changes for
effect
API (in developer preview):effects which are triggered outside of change detection run as part of
the change detection process instead of as a microtask. Depending on the
specifics of application/test setup, this can result in them executing
earlier or later (or requiring additional test steps to trigger; see below
examples).
effects which are triggered during change detection (e.g. by input
signals) run earlier, before the component's template.
ExperimentalPendingTasks
has been renamed toPendingTasks
.The
autoDetect
feature ofComponentFixture
will nowattach the fixture to the
ApplicationRef
. As a result, errors duringautomatic change detection of the fixture be reported to the
ErrorHandler
.This change may cause custom error handlers to observe new failures that were previously unreported.
createComponent
will now render default fallback with emptyprojectableNodes
.projectableNodes
in thecreateComponent
API, the default fallback contentof the
ng-content
will be rendered if present. To prevent rendering the default content, passdocument.createTextNode('')
as aprojectableNode
.Errors that are thrown during
ApplicationRef.tick
will now be rethrown when using
TestBed
. These errors should beresolved by ensuring the test environment is set up correctly to
complete change detection successfully. There are two alternatives to
catch the errors:
it synchronously and expect the error. For example, a jasmine test
could write
expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
TestBed
will reject any outstandingComponentFixture.whenStable
promises. A jasmine test,for example, could write
expectAsync(fixture.whenStable()).toBeRejected()
.As a last resort, you can configure errors to not be rethrown by
setting
rethrowApplicationErrors
tofalse
inTestBed.configureTestingModule
.The timers that are used for zone coalescing and hybrid
mode scheduling (which schedules an application state synchronization
when changes happen outside the Angular zone) will now run in the zone
above Angular rather than the root zone. This will mostly affect tests
which use
fakeAsync
: these timers will now be visible tofakeAsync
and can be affected by
tick
orflush
.The deprecated
factories
property inKeyValueDiffers
has been removed.elements
hybrid scheduler, timing of change detection around custom elements has
changed subtly. These changes make elements more efficient, but can cause
tests which encoded assumptions about how or when elements would be checked
to require updating.
localize
name
option in theng add
@localize`` schematic has been removed in favor of theproject
option.platform-browser
BrowserModule.withServerTransition
method has been removed. Please use theAPP_ID
DI token to set the application id instead.router
Router.errorHandler
property has been removed.Adding an error handler should be configured in either
withNavigationErrorHandler
withprovideRouter
or theerrorHandler
property in the extra options of
RouterModule.forRoot
. In addition,the error handler cannot be used to change the return value of the
router navigation promise or prevent it from rejecting. Instead, if you
want to prevent the promise from rejecting, use
resolveNavigationPromiseOnError
.Resolve
interface now includesRedirectCommand
.common
compiler
typeof
keyword in template expressions. (#58183)this.a
should always refer to class propertya
(#55183):host
parsing in pseudo-selectors (#58681):host:host-context(.foo)
(#58681)compiler-cli
core
standalone: false
. (#57643)run
method onExperimentalPendingTasks
(#56546)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.