Deliver web apps with confidence 🚀
MIT License
Bot releases are hidden (Show)
Published by jessicajaniuk 7 months ago
Published by dylhunn 7 months ago
Commit | Description |
---|---|
include transferCache when cloning HttpRequest (#54939) | |
manage different body types for caching POST requests (#54980) |
Commit | Description |
---|---|
allow external projects to use provided compiler options (#55035) | |
prevent underlying TS Service from handling template files (#55003) |
Commit | Description |
---|---|
account for variables in imports initializer (#55081) |
Commit | Description |
---|---|
preserve replaceUrl when returning a urlTree from CanActivate (#54042) | |
RouterLinkActive will always remove active classes when links are not active (#54982) |
ComponentFixture.whenStable
now matches the
ApplicationRef.isStable
observable. Prior to this change, stability
of the fixture did not include everything that was considered in
ApplicationRef
. whenStable
of the fixture will now include unfinished
router navigations and unfinished HttpClient
requests. This will cause
tests that await
the whenStable
promise to time out when there are
incomplete requests. To fix this, remove the whenStable
,
instead wait for another condition, or ensure HttpTestingController
mocks responses for all requests. Try adding HttpTestingController.verify()
before your await fixture.whenStable
to identify the open requests.
Also, make sure your tests wait for the stability promise. We found many
examples of tests that did not, meaning the expectations did not execute
within the test body.
In addition, ComponentFixture.isStable
would synchronously switch to
true in some scenarios but will now always be asynchronous.
UrlTree
as a redirect, thereplaceUrl
if the initialreplaceUrl
option. If this is notNavigationBehaviorOptions
byRedirectCommand
with the desired options instead of UrlTree
.Published by dylhunn 7 months ago
Commit | Description |
---|---|
invoke method-based tracking function with context (#54960) |
Commit | Description |
---|---|
report errors when initializer APIs are used on private fields (#55070) |
Commit | Description |
---|---|
establish proper injector resolution order for @defer blocks (#55079) |
Commit | Description |
---|---|
include transferCache when cloning HttpRequest (#54939) | |
manage different body types for caching POST requests (#54980) |
Commit | Description |
---|---|
account for variables in imports initializer (#55081) |
Commit | Description |
---|---|
RouterLinkActive will always remove active classes when links are not active (#54982) |
Published by atscott 7 months ago
Commit | Description |
---|---|
capture data bindings for content projection purposes in blocks (#54876) |
Commit | Description |
---|---|
symbol feature detection for the compiler (#54711) |
Commit | Description |
---|---|
Prevent markForCheck during change detection from causing infinite loops (#54900) |
Commit | Description |
---|---|
unused RESOURCE_CACHE_PROVIDER API has been removed (#54875) |
Commit | Description |
---|---|
Allow Route.redirectTo to be a function which returns a string or UrlTree (#52606) | |
Routed components never inherit RouterOutlet EnvironmentInjector (#54265) |
RESOURCE_CACHE_PROVIDER
APIs have been removed.deprecated platformDynamicServer
has been removed. Add an import @angular/compiler
and replace the usage with platformServer
deprecated ServerTransferStateModule
has been removed. TransferState
can be use without providing this module.
deprecated useAbsoluteUrl
and baseUrl
been removed from PlatformConfig
. Provide and absolute url
instead.
Legacy handling or Node.js URL parsing has been removed from ServerPlatformLocation
.
The main differences are;
pathname
is always suffixed with a /
.port
is empty when http:
protocol and port in url is 80
port
is empty when https:
protocol and port in url is 443
Route.redirectTo
to be a functionredirectTo
toRoute
objects will need to be adjusted.RouterOutlet
. This means that providers available only to theRouterOutlet
will no longer be available toNgModule
or through explicit providers
on the route config.Published by atscott 7 months ago
Published by atscott 7 months ago
Commit | Description |
---|---|
preserve original reference to non-deferrable dependency (#54759) |
Commit | Description |
---|---|
Add ability to return UrlTree with NavigationBehaviorOptions from guards (#45023) |
OnPush
views at the root of the application need toOnPush
change detection strategy.OnPush
views at the root of the application need toOnPush
change detection strategy.ComponentFixture
autoDetect
feature will noOnPush
OnPush
but do not correctly call markForCheck
when theyChangeDetectionStrategy.Default
.ApplicationRef
that are still marked forChangeDetectorRef.detectChanges
. This will be surfaced as a runtimeNG0103
code.ComponentFixture.autoDetect
feature now executesApplicationRef.tick
. This moreApplicationRef
(i.e. dialog components).NgZone
is now the first of eithersetTimeout
or requestAnimationFrame
. Code which relies on thisafterNextRender
setTimeout
.ExpressionChangedAfterItHasBeenCheckedError
or not be refreshed untilRedirectCommand
for redirectsUrlTree
. Code which expects only boolean
or UrlTree
Route
types will need to be adjusted.Published by atscott 7 months ago
Commit | Description |
---|---|
exclude caching for authenticated HTTP requests (#54746) |
Commit | Description |
---|---|
Add reusable types for router guards (#54580) | |
Navigations triggered by cancellation events should cancel previous navigation (#54710) |
Published by pkozlowski-opensource 8 months ago
Commit | Description |
---|---|
support ModuleWithProviders literal detection with typeof (#54650) |
|
unwrap expressions with type parameters in query read property (#54647) |
Commit | Description |
---|---|
Add reusable types for router guards (#54580) |
Published by pkozlowski-opensource 8 months ago
Commit | Description |
---|---|
unwrap expressions with type parameters in query read property (#54647) |
Published by dylhunn 8 months ago
Commit | Description |
---|---|
AsyncPipe should not call markForCheck on subscription (#54554) |
Commit | Description |
---|---|
catch function instance properties in interpolated signal diagnostic (#54325) | |
identify aliased initializer functions (#54480) | |
identify aliased initializer functions (#54609) |
Commit | Description |
---|---|
collect providers from NgModules while rendering @defer block (#52881) |
|
fix typo in injectors.svg file (#54596) |
Commit | Description |
---|---|
resolve infinite loop for a single line element with a long tag name and angle bracket on a new line (#54588) |
Published by dylhunn 8 months ago
Commit | Description |
---|---|
AsyncPipe should not call markForCheck on subscription (#54554) |
Commit | Description |
---|---|
Enable template pipeline by default. (#54571) |
Commit | Description |
---|---|
resolve infinite loop for a single line element with a long tag name and angle bracket on a new line (#54588) |
Published by alxhub 8 months ago
Published by alxhub 8 months ago
Commit | Description |
---|---|
image placeholder not removed in OnPush component (#54515) |
Commit | Description |
---|---|
adding the inert property to the "SCHEMA" array (#53148) |
Commit | Description |
---|---|
correctly detect deferred dependencies across scoped nodes (#54499) | |
use correct symbol name for default imported symbols in defer blocks (#54495) |
Commit | Description |
---|---|
properly execute content queries for root components (#54457) |
Commit | Description |
---|---|
Fix cf migration regular expression to include underscores (#54533) |
Commit | Description |
---|---|
Clear internal transition when navigation finalizes (#54261) |
Published by AndrewKushnir 8 months ago
Published by AndrewKushnir 8 months ago
Commit | Description |
---|---|
add Netlify image loader (#54311) | |
add placeholder to NgOptimizedImage (#53783) |
Commit | Description |
---|---|
Add a TSConfig option useTemplatePipeline (#54057) |
|
scope selectors in @starting-style (#53943) | |
Fix the template pipeline option (#54148) |
Commit | Description |
---|---|
Use string body to generate transfer cache key. (#54379) |
Published by devversion 8 months ago
Published by jessicajaniuk 8 months ago
Commit | Description |
---|---|
add Netlify image loader (#54311) |
Commit | Description |
---|---|
Clear internal transition when navigation finalizes (#54261) |
Published by jessicajaniuk 8 months ago
Commit | Description |
---|---|
Clear internal transition when navigation finalizes (#54261) |
Published by jessicajaniuk 9 months ago
Commit | Description |
---|---|
cta clickability issue in adev homepage. (#52905) |
Commit | Description |
---|---|
cleanup DOM elements when root view is removed with async animations (#53033) |
Commit | Description |
---|---|
add placeholder to NgOptimizedImage (#53783) | |
The date pipe should return ISO format for week and week-year as intended in the unit test. (#53879) |
Commit | Description |
---|---|
Add a TSConfig option useTemplatePipeline (#54057) |
|
Fix the template pipeline option (#54148) | |
Update type check block to fix control flow source mappings (#53980) |
Commit | Description |
---|---|
add toString implementation to signals (#54002) | |
change defer block fixture default behavior to playthrough (#54088) |
Commit | Description |
---|---|
error in standalone migration when non-array value is used as declarations in TestBed (#54122) |
Published by jessicajaniuk 9 months ago
Commit | Description |
---|---|
cta clickability issue in adev homepage. (#52905) |
Commit | Description |
---|---|
cleanup DOM elements when root view is removed with async animations (#53033) |
Commit | Description |
---|---|
The date pipe should return ISO format for week and week-year as intended in the unit test. (#53879) |
Commit | Description |
---|---|
Update type check block to fix control flow source mappings (#53980) |
Commit | Description |
---|---|
change defer block fixture default behavior to playthrough (#54088) |
Commit | Description |
---|---|
error in standalone migration when non-array value is used as declarations in TestBed (#54122) |