Skip to content

Releases: angular/angular

v18.0.0

22 May 17:54
Compare
Choose a tag to compare

18.0.0 (2024-05-22)

animations

Commit Description
refactor - bcce85af72 remove deprecated matchesElement from AnimationDriver (#55479)

common

Commit Description
refactor - d34c033902 Deprecate Local Data API functions (#54483)
refactor - 3b0de30b37 remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302)

compiler

Commit Description
fix - 91b007e58f add math elements to schema (#55631)
fix - 33d0102304 allow comments between connected blocks (#55966)
fix - 7fc7f3f05f capture all control flow branches for content projection in if blocks (#54921)
fix - a369f43fbd capture switch block cases for content projection (#54921)
fix - eb625d3783 declare for loop aliases in addition to new name (#54942)
fix - f824911510 For FatalDiagnosticError, hide the message field without affecting the emit (#55160)
fix - a040fb720a maintain multiline CSS selectors during CSS scoping (#55509)
fix - 39624c6b12 output input flags as a literal (#55215)
fix - eba92cfa55 prevent usage of reserved control flow symbol in custom interpolation context. (#55809)
fix - 7d5bc1c628 remove container index from conditional instruction (#55190)
fix - 4eb0165750 remove support for unassignable expressions in two-way bindings (#55342)
fix - e1650e3b13 throw error if item name and context variables conflict (#55045)

compiler-cli

Commit Description
feat - 5bd188a394 add partial compilation support for deferred blocks (#54908)
feat - b02b31a915 drop support for TypeScript older than 5.4 (#54961)
fix - 78188e877a add diagnostic if initializer API is used outside of an initializer (#54993)
fix - 69a83993b3 do not throw when retrieving TCB symbol for signal input with restricted access (#55774)
fix - 4f4f41016e dom property binding check in signal extended diagnostic (#54324)
fix - 7a16d7e969 don't type check the bodies of control flow nodes in basic mode (#55360)
fix - 8d93597a82 fix type narrowing of @if with aliases (#55835)
fix - 9b424d7224 preserve original reference to non-deferrable dependency (#54759)
fix - 694ba79cbf report cases where initializer APIs are used in a non-directive class (#54993)
fix - 6219341d26 report errors when initializer APIs are used on private fields (#54981)
fix - c04ffb1fa6 use switch statements to narrow Angular switch blocks (#55168)

core

Commit Description
feat - a730f09ae9 Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356)
feat - fdd560ea14 Add ability to configure zone change detection to use zoneless scheduler (#55252)
feat - bce5e2344f Add build target for jsaction contract binary. (#55319)
feat - 666d646575 Add event delegation library to queue up events and replay them when the application is ready (#55121)
feat - 5f06ca8f55 add HOST_TAG_NAME token (#54751)
feat - a600a39d0c add support for fallback content in ng-content (#54854)
feat - 146306a141 add support for i18n hydration (#54823)
feat - f09c5a7bc4 Add zoneless change detection provider as experimental (#55329)
feat - d28614b90e Modify EventType from an enum to an object. (#55323)
feat - ac863ded48 provide ExperimentalPendingTasks API (#55487)
feat - 1ee9f32621 Synchronize changes from internal JSAction codebase. (#55182)
fix - d888da4606 ApplicationRef.tick should respect OnPush for host bindings (#53718)
fix - 64f870c12b ApplicationRef.tick should respect OnPush for host bindings (#53718) (#53718)
fix - 8cad4e8cbe ComponentFixture autoDetect respects OnPush flag of host view (#54824)
fix - 658cf8c384 ComponentFixture stability should match ApplicationRef (#54949)
fix - 2fc11eae9e account for re-projected ng-content elements wi...
Read more

v17.3.10

22 May 18:15
Compare
Choose a tag to compare

17.3.10 (2024-05-22)

v18.0.0-rc.3

21 May 21:37
Compare
Choose a tag to compare
v18.0.0-rc.3 Pre-release
Pre-release

18.0.0-rc.3 (2024-05-21)

compiler

Commit Description
fix - 33d0102304 allow comments between connected blocks (#55966)
fix - eba92cfa55 prevent usage of reserved control flow symbol in custom interpolation context. (#55809)

compiler-cli

Commit Description
fix - 69a83993b3 do not throw when retrieving TCB symbol for signal input with restricted access (#55774)
fix - 4f4f41016e dom property binding check in signal extended diagnostic (#54324)
fix - 8d93597a82 fix type narrowing of @if with aliases (#55835)

core

Commit Description
fix - 0cbd73c6e9 add warning when using zoneless but zone.js is still loaded (#55769)
fix - 69085ea26e error about provideExperimentalCheckNoChangesForDebug uses wrong name (#55824)
fix - 0147e0b85a exhaustive checkNoChanges should only do a single pass (#55839)

service-worker

Commit Description
fix - e598634c10 remove controllerchange listener when app is destroyed (#55365)

v18.0.0-rc.2

15 May 22:50
Compare
Choose a tag to compare
v18.0.0-rc.2 Pre-release
Pre-release

18.0.0-rc.2 (2024-05-15)

core

Commit Description
refactor - 1fd63e9cff deprecate @Component.interpolation (#55778)

forms

Commit Description
fix - 61007dced0 Add event for forms submitted & reset (#55667)
fix - 2e27ca9ddf Allow canceled async validators to emit. (#55134)

migrations

Commit Description
fix - c4b2f18709 migrate HttpClientTestingModule in test modules (#55803)
fix - bb4a4016a9 preserve existing properties in HttpClientModule migration (#55777)

Deprecations

core

  • @Component.interpolation is deprecated. Use Angular's
    delimiters instead.

v17.3.9

15 May 20:43
Compare
Choose a tag to compare

17.3.9 (2024-05-15)

v18.0.0-rc.1

08 May 16:03
Compare
Choose a tag to compare
v18.0.0-rc.1 Pre-release
Pre-release

18.0.0-rc.1 (2024-05-08)

compiler

Commit Description
fix - 91b007e58f add math elements to schema (#55631)
fix - a040fb720a maintain multiline CSS selectors during CSS scoping (#55509)

core

Commit Description
fix - d5edfde6ee afterRender hooks registered outside change detection can mark views dirty (#55623)
fix - 36130b2e72 don't schedule timer triggers on the server (#55605)
fix - 0510930a25 TestBed should not override NgZone from initTestEnvironment (#55226)

http

Commit Description
fix - d9b339fdbc resolve withRequestsMadeViaParent behavior with withFetch (#55652)

migrations

Commit Description
fix - 8459ee46cb handle more cases in HttpClientModule migration (#55640)

platform-browser

Commit Description
fix - 23f914f101 Use the right namespace for mathML. (#55622)

platform-server

Commit Description
fix - e71e869112 remove event dispatch script from HTML when hydration is disabled (#55681)

v17.3.8

08 May 15:46
Compare
Choose a tag to compare

17.3.8 (2024-05-08)

compiler

Commit Description
fix - c21b459ba6 add math elements to schema (#55631) (#55645)

core

Commit Description
fix - 3818436ebc don't schedule timer triggers on the server (#55605)

v18.0.0-rc.0

01 May 18:47
Compare
Choose a tag to compare
v18.0.0-rc.0 Pre-release
Pre-release

18.0.0-rc.0 (2024-05-01)

core

Commit Description
fix - 44c0ed83a6 hide implementation details of ExperimentalPendingTasks (#55516)
fix - a177abef1b render hooks should not specifically run outside the Angular zone (#55399)
fix - a5c57c7484 resolve error for multiple component instances that use fallback content (#55478)

migrations

Commit Description
fix - f93e5180be resolve multiple structural issues with HttpClient migration (#55557)

router

Commit Description
fix - aefee87074 Scroller should scroll as soon as change detection completes (#55105)

v17.3.7

01 May 18:39
Compare
Choose a tag to compare

17.3.7 (2024-05-01)

compiler-cli

Commit Description
fix - 51ac883167 don't type check the bodies of control flow nodes in basic mode (#55558)

core

Commit Description
fix - af0eb846a5 render hooks should not specifically run outside the Angular zone (#55399)

router

Commit Description
fix - 3eea50da64 Scroller should scroll as soon as change detection completes (#55105)

v18.0.0-next.6

25 Apr 15:34
Compare
Choose a tag to compare
v18.0.0-next.6 Pre-release
Pre-release

18.0.0-next.6 (2024-04-25)

animations

Commit Description
refactor - bcce85af72 remove deprecated matchesElement from AnimationDriver (#55479)

common

Commit Description
refactor - d34c033902 Deprecate Local Data API functions (#54483)

compiler-cli

Commit Description
fix - 7a16d7e969 don't type check the bodies of control flow nodes in basic mode (#55360)

core

Commit Description
feat - a730f09ae9 Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356)
feat - 5f06ca8f55 add HOST_TAG_NAME token (#54751)
feat - ac863ded48 provide ExperimentalPendingTasks API (#55487)
fix - 5a10f405d3 complete the removal of deprecation async function (#55491)
fix - c175bca364 DeferBlockFixture.render should not wait for stability (#55271)
fix - 9894278e71 make ActivatedRoute inject correct instance inside @defer blocks (#55374)
fix - 5948193e13 skip defer timers on the server (#55480)

http

Commit Description
feat - 6f88d80758 allow caching requests with different origins between server and client (#55274)
feat - 8eacb6e4b9 exclude caching for authenticated HTTP requests (#55034)
refactor - ef665a40a5 Deprecate HttpClientModule & related modules (#54020)

migrations

Commit Description
feat - f914f6a362 Migration schematics for HttpClientModule (#54020)

platform-browser

Commit Description
refactor - cba336d4f1 remove deprecated transfer state APIs (#55474)

platform-server

Commit Description
fix - 5674c644ab add nonce attribute to event record script (#55495)

router

Commit Description
feat - 4a42961393 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:

    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.