npm @angular/service-worker 16.0.0-next.7
v16.0.0-next.7

latest releases: 19.0.0-next.6, 18.2.5, 19.0.0-next.5...
17 months ago

16.0.0-next.7 (2023-04-05)

Breaking Changes

core

  • QueryList.filter now supports type guard functions, which will result in type narrowing. Previously if you used type guard functions, it resulted in no changes to the return type. Now the type would be narrowed, which might require updates to the application code that relied on the old behavior.
  • The ReflectiveInjector and related symbols were removed. Please update the code to avoid references to the ReflectiveInjector symbol. Use Injector.create as a replacement to create an injector instead.

platform-browser

  • The deprecated BrowserTransferStateModule was removed, since it's no longer needed. The TransferState class can be injected without providing the module. The BrowserTransferStateModule was empty starting from v14 and you can just remove the reference to that module from your applications.

core

Commit Description
feat - b2327f4df1 Allow typeguards on QueryList.filter (#48042)
feat - b35fa73968 change the URL sanitization to only block javascript: URLs (#49659)
feat - 061f3d1086 Drop public factories property for IterableDiffers : Breaking change (#49598)
feat - a5f1737d1c expose onDestroy on ApplicationRef (#49677)
feat - aad05ebeb4 support usage of non-experimental decorators with TypeScript 5.0 (#49492)
fix - df1dfc4c17 make sure that lifecycle hooks are not tracked (#49701)
fix - a4e749ffca When using setInput, mark view dirty in same was as markForCheck (#49711)
refactor - 3b863ddc1e Remove ReflectiveInjector symbol (#48103)

http

Commit Description
feat - aff1512950 allow HttpClient to cache requests (#49509)

platform-browser

Commit Description
feat - 761e02d912 add a public API function to enable non-destructive hydration (#49666)
feat - 81e7d15ef6 enable HTTP request caching when using provideClientHydration (#49699)
refactor - 9bd9a11f4e remove deprecated BrowserTransferStateModule symbol (#49718)

platform-server

Commit Description
feat - 7870fb07fe rename provideServerSupport to provideServerRendering (#49678)

router

Commit Description
fix - b203e4c19d create correct URL relative to path with empty child (#49691)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Charles Lyding, Dylan Hunn, Guillaume Weghsteen, Jessica Janiuk, JoostK, Matthieu Riegler, Pawel Kozlowski, Robin Richtsfeld, Sandra Limacher and vikram menon

Don't miss a new service-worker release

NewReleases is sending notifications on new releases.