Releases: angular/angular
Releases Β· angular/angular
v18.0.0
18.0.0 (2024-05-22)
animations
Commit | Description |
---|---|
remove deprecated matchesElement from AnimationDriver (#55479) |
common
Commit | Description |
---|---|
Deprecate Local Data API functions (#54483) | |
remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) |
compiler
Commit | Description |
---|---|
add math elements to schema (#55631) | |
allow comments between connected blocks (#55966) | |
capture all control flow branches for content projection in if blocks (#54921) | |
capture switch block cases for content projection (#54921) | |
declare for loop aliases in addition to new name (#54942) | |
For FatalDiagnosticError , hide the message field without affecting the emit (#55160) |
|
maintain multiline CSS selectors during CSS scoping (#55509) | |
output input flags as a literal (#55215) | |
prevent usage of reserved control flow symbol in custom interpolation context. (#55809) | |
remove container index from conditional instruction (#55190) | |
remove support for unassignable expressions in two-way bindings (#55342) | |
throw error if item name and context variables conflict (#55045) |
compiler-cli
Commit | Description |
---|---|
add partial compilation support for deferred blocks (#54908) | |
drop support for TypeScript older than 5.4 (#54961) | |
add diagnostic if initializer API is used outside of an initializer (#54993) | |
do not throw when retrieving TCB symbol for signal input with restricted access (#55774) | |
dom property binding check in signal extended diagnostic (#54324) | |
don't type check the bodies of control flow nodes in basic mode (#55360) | |
fix type narrowing of @if with aliases (#55835) |
|
preserve original reference to non-deferrable dependency (#54759) | |
report cases where initializer APIs are used in a non-directive class (#54993) | |
report errors when initializer APIs are used on private fields (#54981) | |
use switch statements to narrow Angular switch blocks (#55168) |
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 ability to configure zone change detection to use zoneless scheduler (#55252) | |
Add build target for jsaction contract binary. (#55319) | |
Add event delegation library to queue up events and replay them when the application is ready (#55121) | |
add HOST_TAG_NAME token (#54751) | |
add support for fallback content in ng-content (#54854) | |
add support for i18n hydration (#54823) | |
Add zoneless change detection provider as experimental (#55329) | |
Modify EventType from an enum to an object. (#55323) | |
provide ExperimentalPendingTasks API (#55487) | |
Synchronize changes from internal JSAction codebase. (#55182) | |
ApplicationRef.tick should respect OnPush for host bindings (#53718) |
|
ApplicationRef.tick should respect OnPush for host bindings (#53718) (#53718) |
|
ComponentFixture autoDetect respects OnPush flag of host view (#54824) |
|
ComponentFixture stability should match ApplicationRef (#54949) |
|
account for re-projected ng-content elements wi... |
v17.3.10
v18.0.0-rc.3
18.0.0-rc.3 (2024-05-21)
compiler
Commit | Description |
---|---|
allow comments between connected blocks (#55966) | |
prevent usage of reserved control flow symbol in custom interpolation context. (#55809) |
compiler-cli
Commit | Description |
---|---|
do not throw when retrieving TCB symbol for signal input with restricted access (#55774) | |
dom property binding check in signal extended diagnostic (#54324) | |
fix type narrowing of @if with aliases (#55835) |
core
Commit | Description |
---|---|
add warning when using zoneless but zone.js is still loaded (#55769) | |
error about provideExperimentalCheckNoChangesForDebug uses wrong name (#55824) | |
exhaustive checkNoChanges should only do a single pass (#55839) |
service-worker
Commit | Description |
---|---|
remove controllerchange listener when app is destroyed (#55365) |
v18.0.0-rc.2
18.0.0-rc.2 (2024-05-15)
core
Commit | Description |
---|---|
deprecate @Component.interpolation (#55778) |
forms
Commit | Description |
---|---|
Add event for forms submitted & reset (#55667) | |
Allow canceled async validators to emit. (#55134) |
migrations
Commit | Description |
---|---|
migrate HttpClientTestingModule in test modules (#55803) | |
preserve existing properties in HttpClientModule migration (#55777) |
Deprecations
core
@Component.interpolation
is deprecated. Use Angular's
delimiters instead.
v17.3.9
v18.0.0-rc.1
18.0.0-rc.1 (2024-05-08)
compiler
Commit | Description |
---|---|
add math elements to schema (#55631) | |
maintain multiline CSS selectors during CSS scoping (#55509) |
core
Commit | Description |
---|---|
afterRender hooks registered outside change detection can mark views dirty (#55623) | |
don't schedule timer triggers on the server (#55605) | |
TestBed should not override NgZone from initTestEnvironment (#55226) |
http
Commit | Description |
---|---|
resolve withRequestsMadeViaParent behavior with withFetch (#55652) |
migrations
Commit | Description |
---|---|
handle more cases in HttpClientModule migration (#55640) |
platform-browser
Commit | Description |
---|---|
Use the right namespace for mathML. (#55622) |
platform-server
Commit | Description |
---|---|
remove event dispatch script from HTML when hydration is disabled (#55681) |
v17.3.8
v18.0.0-rc.0
18.0.0-rc.0 (2024-05-01)
core
Commit | Description |
---|---|
hide implementation details of ExperimentalPendingTasks (#55516) | |
render hooks should not specifically run outside the Angular zone (#55399) | |
resolve error for multiple component instances that use fallback content (#55478) |
migrations
Commit | Description |
---|---|
resolve multiple structural issues with HttpClient migration (#55557) |
router
Commit | Description |
---|---|
Scroller should scroll as soon as change detection completes (#55105) |
v17.3.7
17.3.7 (2024-05-01)
compiler-cli
Commit | Description |
---|---|
don't type check the bodies of control flow nodes in basic mode (#55558) |
core
Commit | Description |
---|---|
render hooks should not specifically run outside the Angular zone (#55399) |
router
Commit | Description |
---|---|
Scroller should scroll as soon as change detection completes (#55105) |
v18.0.0-next.6
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 fromAnimationDriver
as it is unused.
core
async
has been removed, usewaitForAsync
instead.
http
-
By default we now prevent caching of HTTP requests that require authorization . To opt-out from this behaviour use the
includeRequestsWithAuthHeaders
option inwithHttpTransferCache
.Example:
withHttpTransferCache({ includeRequestsWithAuthHeaders: true, })
platform-browser
- Deprecated
StateKey
,TransferState
andmakeStateKey
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
andHttpClientJsonpModule
As mentionned, those modules can be replaced by provider function only.