mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces a new `SwUpdate#versionUpdates` observalbe, which provides more granular information about Service Worker version updates than the already existing `SwUpdate#available` observable. The new events emitted by `SwUpdate#versionUpdates` basically add the possibility for application to get notified if a new version is available on the server (not yet downloaded) and if an installation of a new version failed. Closes #39840 DEPRECATED: The `SwUpdate#availalbe` observable is deprecated. The new `SwUpdate#versionUpdates` observable provides the same information and more. Therefore, it is possible to rebuild the same behavior as `SwUpdate#availalbe` using the events emitted by `SwUpdate#versionUpdates` and filtering for `VersionReadyEvent` events. As a result, the `SwUpdate#availalbe` observable is now redundant. PR Close #43668 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| data_spec.ts | ||
| happy_spec.ts | ||
| idle_spec.ts | ||
| prefetch_spec.ts | ||