Deliver web apps with confidence 🚀
MIT License
Bot releases are hidden (Show)
Published by devversion 15 days ago
Commit | Description |
---|---|
execute checks and remove placeholder when image is already loaded (#55444) | |
prevent warning about oversize image twice (#58021) | |
skip checking whether SVGs are oversized (#57966) |
Commit | Description |
---|---|
provide flag to opt into manual cleanup for after render hooks (#57917) |
Commit | Description |
---|---|
cleanup JSONP script listeners once loading completed (#57877) | |
preserve all headers from Headers object (#57802) |
Commit | Description |
---|---|
support migrating full classes to signal inputs in VSCode (#57975) |
Commit | Description |
---|---|
add schematic to migrate to signal queries (#58032) | |
delete constructor if it only has super call (#58013) |
Commit | Description |
---|---|
support input signal bindings (#57020) |
Published by devversion 15 days ago
Commit | Description |
---|---|
execute checks and remove placeholder when image is already loaded (#55444) | |
prevent warning about oversize image twice (#58021) | |
skip checking whether SVGs are oversized (#57966) |
Commit | Description |
---|---|
correctly get the type of nested function call expressions (#57010) |
Commit | Description |
---|---|
provide flag to opt into manual cleanup for after render hooks (#57917) |
Commit | Description |
---|---|
cleanup JSONP script listeners once loading completed (#57877) |
Commit | Description |
---|---|
delete constructor if it only has super call (#58013) |
Commit | Description |
---|---|
support input signal bindings (#57020) |
Published by atscott 22 days ago
Commit | Description |
---|---|
The suppress diagnostics option should work for external templates (#57873) |
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 to
await whenStable()
or call .detectChanges()
in order for effects to
run.
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 fully
rendered (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 for
this style of effect.
effect()
s which synchronize with the forms system are particularly
timing-sensitive and might need to adjust their initialization timing.
ExperimentalPendingTasks
has been renamed to
PendingTasks
.
Published by atscott 22 days ago
Published by pkozlowski-opensource 29 days ago
Commit | Description |
---|---|
extended diagnostics not validating ICUs (#57845) |
Commit | Description |
---|---|
introduce signal input migration as ng generate schematic (#57805) |
|
account for explicit standalone: false in migration (#57803) |
Published by pkozlowski-opensource 29 days ago
Published by thePunderWoman about 1 month ago
Published by thePunderWoman about 1 month ago
Commit | Description |
---|---|
produce less noisy errors when parsing control flow (#57711) |
Commit | Description |
---|---|
Add a schematics to migrate to standalone: false . (#57643) |
Published by AndrewKushnir about 1 month ago
Commit | Description |
---|---|
add diagnostic for unused standalone imports (#57605) |
Commit | Description |
---|---|
drop support for TypeScript 5.4 (#57577) | |
initial version of the output migration (#57604) | |
introduce afterRenderEffect (#57549) |
Commit | Description |
---|---|
support output() -shaped outputs (#57535) |
Commit | Description |
---|---|
Dynamicaly call the global fetch implementation (#57531) |
Published by AndrewKushnir about 1 month ago
Published by alxhub about 2 months ago
Commit | Description |
---|---|
automatically use sizes auto in NgOptimizedImage (#57479) |
Commit | Description |
---|---|
reduce duplicate component style resolution (#57502) |
Commit | Description |
---|---|
switch to ComponentRef.setInput & remove custom scheduler (#56728) |
Commit | Description |
---|---|
Dynamicaly call the global fetch implementation (#57531) |
Commit | Description |
---|---|
Do not unnecessarily run matcher twice on route matching (#57530) |
Commit | Description |
---|---|
Address Trusted Types violations in @angular/upgrade (#57454) |
Render default fallback with empty projectableNodes
.
When passing an empty array to projectableNodes
in the createComponent
API, the default fallback content of the ng-content
will be rendered if present. To prevent rendering the default content, pass document.createTextNode('')
as a projectableNode
.
For example:
// The first ng-content will render the default fallback content if present
createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
// To prevent projecting the default fallback content:
createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
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 to fakeAsync
and can be affected by tick
or flush
.
Published by alxhub about 2 months ago
Commit | Description |
---|---|
avoid leaking memory if component throws during creation (#57546) | |
Do not bubble capture events. (#57476) |
Commit | Description |
---|---|
Dynamicaly call the global fetch implementation (#57531) |
Commit | Description |
---|---|
Do not unnecessarily run matcher twice on route matching (#57530) |
Commit | Description |
---|---|
Address Trusted Types violations in @angular/upgrade (#57454) |
Published by dylhunn about 2 months ago
Commit | Description |
---|---|
Allow zoneless scheduler to run inside fakeAsync (#56932) |
|
handle hydration of components that project content conditionally (#57383) |
Commit | Description |
---|---|
account for members with doc strings and no modifiers (#57389) | |
avoid migrating route component in tests (#57317) | |
preserve type when using inject decorator (#57389) |
Published by dylhunn about 2 months ago
Commit | Description |
---|---|
ensure template style elements are preprocessed as inline styles (#57429) |
Commit | Description |
---|---|
account for members with doc strings and no modifiers (#57389) | |
avoid migrating route component in tests (#57317) | |
preserve type when using inject decorator (#57389) |
autoDetect
feature of ComponentFixture
will nowApplicationRef
. As a result, errors duringErrorHandler
.Published by AndrewKushnir 2 months ago
Commit | Description |
---|---|
rethrow errors during ApplicationRef.tick in TestBed (#57200) |
Errors that are thrown during ApplicationRef.tick
will now be rethrown when using TestBed
. These errors should be
resolved by ensuring the test environment is set up correctly to
complete change detection successfully. There are two alternatives to
catch the errors:
expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
TestBed
will reject any outstanding ComponentFixture.whenStable
promises. A jasmine test,expectAsync(fixture.whenStable()).toBeRejected()
.As a last resort, you can configure errors to not be rethrown by
setting rethrowApplicationErrors
to false
in TestBed.configureTestingModule
.
Router.errorHandler
property has been removed.withNavigationErrorHandler
with provideRouter
or the errorHandler
RouterModule.forRoot
. In addition,resolveNavigationPromiseOnError
.Resolve
interface now includesRedirectCommand
.Published by AndrewKushnir 2 months ago
Commit | Description |
---|---|
Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295) |
Commit | Description |
---|---|
support writing code refactorings (#56895) | |
quick exit if no code fixes can exist (#57000) |
Commit | Description |
---|---|
Add defaultQueryParamsHandling to router configuration (#57198) |
fakeAsync
will now flush pending timers at the end of{flush: false}
in options parameter of fakeAsync
Published by AndrewKushnir 2 months ago
Commit | Description |
---|---|
generate valid TS 5.6 type checking code (#57303) |
Published by thePunderWoman 2 months ago
Commit | Description |
---|---|
reduce chance of conflicts between generated factory and local variables (#57181) |
Commit | Description |
---|---|
improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291) |
Commit | Description |
---|---|
Add 'flush' parameter option to fakeAsync to flush after the test (#57239) | |
Add whenStable helper on ApplicationRef (#57190) |
fakeAsync
will now flush pending timers at the end of{flush: false}
in options parameter of fakeAsync
Published by thePunderWoman 2 months ago
Commit | Description |
---|---|
reduce chance of conflicts between generated factory and local variables (#57181) |
Commit | Description |
---|---|
support JIT transforms before other transforms modifying classes (#57262) | |
improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291) |
Commit | Description |
---|---|
avoid generating TS suggestion diagnostics for templates (#56241) |