<a name="18.0.0-next.6"></a>
18.0.0-next.6 (2024-04-25)
animations
| Commit | Description |
| -- | -- |
|
| remove deprecated matchesElement
from AnimationDriver
(#55479) |
common
| Commit | Description |
| -- | -- |
|
| Deprecate Local Data API functions (#54483) |
compiler-cli
| Commit | Description |
| -- | -- |
|
| don't type check the bodies of control flow nodes in basic mode (#55360) |
core
| Commit | Description |
| -- | -- |
|
| Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356) |
|
| add HOST_TAG_NAME token (#54751) |
|
| provide ExperimentalPendingTasks API (#55487) |
|
| complete the removal of deprecation async
function (#55491) |
|
| DeferBlockFixture.render should not wait for stability (#55271) |
|
| make ActivatedRoute
inject correct instance inside @defer
blocks (#55374) |
|
| skip defer timers on the server (#55480) |
http
| Commit | Description |
| -- | -- |
|
| allow caching requests with different origins between server and client (#55274) |
|
| exclude caching for authenticated HTTP requests (#55034) |
|
| Deprecate HttpClientModule
& related modules (#54020) |
migrations
| Commit | Description |
| -- | -- |
|
| Migration schematics for HttpClientModule
(#54020) |
platform-browser
| Commit | Description |
| -- | -- |
|
| remove deprecated transfer state APIs (#55474) |
platform-server
| Commit | Description |
| -- | -- |
|
| add nonce
attribute to event record script (#55495) |
router
| Commit | Description |
| -- | -- |
|
| withNavigationErrorHandler
can convert errors to redirects (#55370) |
Breaking Changes
animations
- Deprecated
matchesElement
method has been removed from AnimationDriver
as it is unused.
### core
async
has been removed, use waitForAsync
instead.
### http
- By default we now prevent caching of HTTP requests that require authorization . To opt-out from this behaviour use the
includeRequestsWithAuthHeaders
option in withHttpTransferCache
.
Example:
ts
withHttpTransferCache({
includeRequestsWithAuthHeaders: true,
})
platform-browser
- Deprecated
StateKey
, TransferState
and makeStateKey
have been removed from @angular/platform-browser
, use the same APIs from @angular/core
.
## Deprecations
### common
getCurrencySymbol
, getLocaleCurrencyCode
, getLocaleCurrencyName
, getLocaleCurrencySymbol
, getLocaleDateFormat
, getLocaleDateTimeFormat
, getLocaleDayNames
, getLocaleDayPeriods
, getLocaleDirection
, getLocaleEraNames
, getLocaleExtraDayPeriodRules
, getLocaleExtraDayPeriods
, getLocaleFirstDayOfWeek
, getLocaleId
, getLocaleMonthNames
, getLocaleNumberFormat
, getLocaleNumberSymbol
, getLocalePluralCase
, getLocaleTimeFormat
, getLocaleWeekEndRange
, getNumberOfCurrencyDigits
### http
HttpClientModule
, HttpClientXsrfModule
and HttpClientJsonpModule
As mentionned, those modules can be replaced by provider function only.