-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore(deps): update angular monorepo to v19 (major) #31
base: main
Are you sure you want to change the base?
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
183c8fc
to
0e04880
Compare
60c10ae
to
6d9e871
Compare
6944188
to
e76776a
Compare
e76776a
to
2ad96f1
Compare
f794a3d
to
0533440
Compare
0533440
to
4f5344f
Compare
9b8042c
to
1572072
Compare
73235e0
to
a0b335f
Compare
a0b335f
to
cb898d7
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
ab46530
to
515d208
Compare
515d208
to
f615c64
Compare
f615c64
to
cf7f667
Compare
55a5d10
to
e8fadc8
Compare
3cbd96c
to
262ac0b
Compare
262ac0b
to
0a2c484
Compare
2cc11ea
to
91bda78
Compare
32995b6
to
4cb58e8
Compare
d7aaa67
to
b4b8408
Compare
b4b8408
to
95d860e
Compare
a5bd070
to
b8c19ef
Compare
4a419fc
to
405b203
Compare
405b203
to
128615f
Compare
b277bea
to
760118d
Compare
760118d
to
b7cc741
Compare
c31456a
to
43415d7
Compare
43415d7
to
69ae772
Compare
1c328cb
to
89dd759
Compare
d8568bf
to
72c1bbb
Compare
72c1bbb
to
e14831a
Compare
a67ec8b
to
d2dddd5
Compare
d2dddd5
to
4951a87
Compare
This PR contains the following updates:
^12.2.17
->^19.1.4
^12.2.17
->^19.1.4
Release Notes
angular/angular (@angular/compiler)
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
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.
.core
Generally this PR has two implications:
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.
We've seen a few common failure cases:
Tests which used to rely on the
Promise
timing of effects now need toawait whenStable()
or call.detectChanges()
in order for effects torun.
Tests which use faked clocks may need to fast-forward/flush the clock to
cause effects to run.
effect()
s triggered during CD could rely on the application being fullyrendered (for example, they could easily read computed styles, etc). With
the change, they run before the component's updates and can get incorrect
answers. The recent
afterRenderEffect()
API is a natural replacement forthis style of effect.
effect()
s which synchronize with the forms system are particularlytiming-sensitive and might need to adjust their initialization timing.
ExperimentalPendingTasks
has been renamed toPendingTasks
.Angular directives, components and pipes are now standalone by default. Specify for declarations that are currently declared in s. for v19 will take care of this automatically.
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.
Render default fallback with empty
projectableNodes
.When passing an empty array to
projectableNodes
in thecreateComponent
API, the default fallback content of theng-content
will be rendered if present. To prevent rendering the default content, passdocument.createTextNode('')
as aprojectableNode
.For example:
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)undefined
without needing to include it in the type argument ofinput
(#57621)allowSignalWrites
(#57874)resource()
API for async dependencies (#58255)rxResource()
(#58255)standalone
totrue
(#58169)afterRenderEffect
(#57549)outputFromObservable
&outputToObservable
to stable. (#58214)takeUntilDestroyed
to stable. (#58200)@let
syntax (#57813)ViewContext
is retained after closure minification (#57903)None
for empty component styles (#57130)factories
Property inKeyValueDiffers
(#58064)elements
output()
-shaped outputs (#57535)ComponentRef.setInput
& remove custom scheduler (#56728)forms
http
withRequestsMadeViaParent
to stable. (#58221)language-service
@Input
to signal-input (#57214)localize
name
option. (#58063)migrations
ng generate
schematic (#57805)platform-browser
Configuration
📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), 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.