@angular/forms
Advanced tools
Changelog
17.3.9 (2024-05-15)
<!-- CHANGELOG SPLIT MARKER --><a name="18.0.0-rc.1"></a>
Changelog
18.0.0-rc.1 (2024-05-08)
| Commit | Type | Description | | -- | -- | -- | | 91b007e58f | fix | add math elements to schema (#55631) | | a040fb720a | fix | maintain multiline CSS selectors during CSS scoping (#55509) |
| Commit | Type | Description | | -- | -- | -- | | d5edfde6ee | fix | afterRender hooks registered outside change detection can mark views dirty (#55623) | | 36130b2e72 | fix | don't schedule timer triggers on the server (#55605) | | 0510930a25 | fix | TestBed should not override NgZone from initTestEnvironment (#55226) |
| Commit | Type | Description |
| -- | -- | -- |
| d9b339fdbc | fix | resolve withRequestsMadeViaParent
behavior with withFetch
(#55652) |
| Commit | Type | Description | | -- | -- | -- | | 8459ee46cb | fix | handle more cases in HttpClientModule migration (#55640) |
| Commit | Type | Description | | -- | -- | -- | | 23f914f101 | fix | Use the right namespace for mathML. (#55622) |
| Commit | Type | Description | | -- | -- | -- | | e71e869112 | fix | remove event dispatch script from HTML when hydration is disabled (#55681) |
<!-- CHANGELOG SPLIT MARKER --><a name="17.3.8"></a>
Changelog
17.3.8 (2024-05-08)
| Commit | Type | Description | | -- | -- | -- | | c21b459ba6 | fix | add math elements to schema (#55631) (#55645) |
| Commit | Type | Description | | -- | -- | -- | | 3818436ebc | fix | don't schedule timer triggers on the server (#55605) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.0.0-rc.0"></a>
Changelog
18.0.0-rc.0 (2024-05-01)
| Commit | Type | Description | | -- | -- | -- | | 44c0ed83a6 | fix | hide implementation details of ExperimentalPendingTasks (#55516) | | a177abef1b | fix | render hooks should not specifically run outside the Angular zone (#55399) | | a5c57c7484 | fix | resolve error for multiple component instances that use fallback content (#55478) |
| Commit | Type | Description | | -- | -- | -- | | f93e5180be | fix | resolve multiple structural issues with HttpClient migration (#55557) |
| Commit | Type | Description | | -- | -- | -- | | aefee87074 | fix | Scroller should scroll as soon as change detection completes (#55105) |
<!-- CHANGELOG SPLIT MARKER --><a name="17.3.7"></a>
Changelog
17.3.7 (2024-05-01)
| Commit | Type | Description | | -- | -- | -- | | 51ac883167 | fix | don't type check the bodies of control flow nodes in basic mode (#55558) |
| Commit | Type | Description | | -- | -- | -- | | af0eb846a5 | fix | render hooks should not specifically run outside the Angular zone (#55399) |
| Commit | Type | Description | | -- | -- | -- | | 3eea50da64 | fix | Scroller should scroll as soon as change detection completes (#55105) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.0.0-next.6"></a>
Changelog
18.0.0-next.6 (2024-04-25)
matchesElement
method has been removed from AnimationDriver
as it is unused.async
has been removed, use waitForAsync
instead.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:
withHttpTransferCache({
includeRequestsWithAuthHeaders: true,
})
StateKey
, TransferState
and makeStateKey
have been removed from @angular/platform-browser
, use the same APIs from @angular/core
.getCurrencySymbol
, getLocaleCurrencyCode
, getLocaleCurrencyName
, getLocaleCurrencySymbol
, getLocaleDateFormat
, getLocaleDateTimeFormat
, getLocaleDayNames
, getLocaleDayPeriods
, getLocaleDirection
, getLocaleEraNames
, getLocaleExtraDayPeriodRules
, getLocaleExtraDayPeriods
, getLocaleFirstDayOfWeek
, getLocaleId
, getLocaleMonthNames
, getLocaleNumberFormat
, getLocaleNumberSymbol
, getLocalePluralCase
, getLocaleTimeFormat
, getLocaleWeekEndRange
, getNumberOfCurrencyDigits
HttpClientModule
, HttpClientXsrfModule
and HttpClientJsonpModule
As mentionned, those modules can be replaced by provider function only.
| Commit | Type | Description |
| -- | -- | -- |
| bcce85af72 | refactor | remove deprecated matchesElement
from AnimationDriver
(#55479) |
| Commit | Type | Description | | -- | -- | -- | | d34c033902 | refactor | Deprecate Local Data API functions (#54483) |
| Commit | Type | Description | | -- | -- | -- | | 7a16d7e969 | fix | don't type check the bodies of control flow nodes in basic mode (#55360) |
| Commit | Type | Description |
| -- | -- | -- |
| a730f09ae9 | feat | Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356) |
| 5f06ca8f55 | feat | add HOST_TAG_NAME token (#54751) |
| ac863ded48 | feat | provide ExperimentalPendingTasks API (#55487) |
| 5a10f405d3 | fix | complete the removal of deprecation async
function (#55491) |
| c175bca364 | fix | DeferBlockFixture.render should not wait for stability (#55271) |
| 9894278e71 | fix | make ActivatedRoute
inject correct instance inside @defer
blocks (#55374) |
| 5948193e13 | fix | skip defer timers on the server (#55480) |
| Commit | Type | Description |
| -- | -- | -- |
| 6f88d80758 | feat | allow caching requests with different origins between server and client (#55274) |
| 8eacb6e4b9 | feat | exclude caching for authenticated HTTP requests (#55034) |
| ef665a40a5 | refactor | Deprecate HttpClientModule
& related modules (#54020) |
| Commit | Type | Description |
| -- | -- | -- |
| f914f6a362 | feat | Migration schematics for HttpClientModule
(#54020) |
| Commit | Type | Description | | -- | -- | -- | | cba336d4f1 | refactor | remove deprecated transfer state APIs (#55474) |
| Commit | Type | Description |
| -- | -- | -- |
| 5674c644ab | fix | add nonce
attribute to event record script (#55495) |
| Commit | Type | Description |
| -- | -- | -- |
| 4a42961393 | feat | withNavigationErrorHandler
can convert errors to redirects (#55370) |
<a name="17.3.6"></a>
Changelog
17.3.6 (2024-04-25)
| Commit | Type | Description |
| -- | -- | -- |
| 826861b1fa | fix | DeferBlockFixture.render should not wait for stability (#55271) |
| 5cf14da35c | fix | make ActivatedRoute
inject correct instance inside @defer
blocks (#55374) |
| 8979fba2c5 | fix | skip defer timers on the server (#55480) |
<a name="18.0.0-next.5"></a>
Changelog
18.0.0-next.5 (2024-04-17)
isPlatformWorkerUi
and isPlatformWorkerApp
have been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.Angular will ensure change detection runs, even when the state update originates from outside the zone, tests may observe additional rounds of change detection compared to the previous behavior.
This change will be more likely to impact existing unit tests.
This should usually be seen as more correct and the test should be updated,
but in cases where it is too much effort to debug, the test can revert to the old behavior by adding
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to the TestBed
providers.
Similarly, applications which may want to update state outside the zone
and not trigger change detection can add
provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly})
to the providers in bootstrapApplication
or add
schedulingMode: NgZoneSchedulingMode.NgZoneOnly
to the
BootstrapOptions
of bootstrapModule
.
Testability methods increasePendingRequestCount
,
decreasePendingRequestCount
and getPendingRequestCount
have been
removed. This information is tracked with zones.
| Commit | Type | Description |
| -- | -- | -- |
| 3b0de30b37 | refactor | remove deprecated isPlatformWorkerApp
and isPlatformWorkerUi
API (#55302) |
| Commit | Type | Description | | -- | -- | -- | | 7d5bc1c628 | fix | remove container index from conditional instruction (#55190) | | 4eb0165750 | fix | remove support for unassignable expressions in two-way bindings (#55342) |
| Commit | Type | Description |
| -- | -- | -- |
| fdd560ea14 | feat | Add ability to configure zone change detection to use zoneless scheduler (#55252) |
| bce5e2344f | feat | Add build target for jsaction contract binary. (#55319) |
| f09c5a7bc4 | feat | Add zoneless change detection provider as experimental (#55329) |
| d28614b90e | feat | Modify EventType from an enum to an object. (#55323) |
| 1ee9f32621 | feat | Synchronize changes from internal JSAction codebase. (#55182) |
| de7447d15e | fix | Angular should not ignore changes that happen outside the zone (#55102) |
| 0cec9e4f9a | fix | Fix null dereference error addEvent
(#55353) |
| 6534c035c0 | fix | Remove deprecated Testability methods (#53768) |
| Commit | Type | Description |
| -- | -- | -- |
| 3bc63eaaf3 | fix | avoid running CDs on controllerchange
(#54222) |
<a name="17.3.5"></a>
Changelog
17.3.5 (2024-04-17)
<!-- CHANGELOG SPLIT MARKER --><a name="18.0.0-next.4"></a>