yarn @angular/language-service 18.0.0-next.6
v18.0.0-next.6

latest releases: 18.0.0-rc.0, 17.3.7
9 days ago

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.

Don't miss a new language-service release

NewReleases is sending notifications on new releases.