Releases: GoogleChrome/workbox
Workbox v7.3.0
v7.1.0
What's Changed ✏️
- Updating dependencies with critical vulnerabilities, plus some other dependencies maintenance
Thanks 🙏
Full Changelog: v7.0.0...v7.1.0
Workbox v7.0.0
- Minimum required version Node 16
v6.5.4
What's New 👀
- Webpack plugin can be extended and subclasses can access the
configproperty [#3056] - In
workbox-precachingduring a fall back to the network, if the request'smodeisno-cors,integritywill not be used and the cache entry will not be repaired. [#3099]
What's fixed 🐛
Misc 🤹
- updated
idbandselenium-assitantversions
Thank yous 🌿
- Thank you @DibyodyutiMondal & @theghostbel for your contributions!
Full Changelog: v6.5.3...v6.5.4
Workbox v6.5.2
Workbox v6.5.2 includes a number of improvements to the TypeScript documentation and exported types, which should in turn improve the generated documentation.
A full changelog is available at v6.5.1...v6.5.2
Workbox v6.5.1
The Workbox v6.5.1 release includes a few changes related to our TypeScript interfaces and documentation.
A full changelog is available at v6.5.0...v6.5.1
What's New
- Additional inline
@examples of using our build tools have been added to the TSDocs forworkbox-buildandworkbox-webpack-plugin. [#3038] - The TypeScript type for the
generateSW(),injectManifest(), andgetManifest()methods inworkbox-buildhas been updated fromunknownto an appropriate actual type specific to each method. This should lead to better TSDoc generation and type inferences for developers. As this takes what was previously only a runtime check and moves it to a compile-time check, we believe that it should be functionally equivalent to prior releases, but if you run into problems, please let us know by opening an issue. [#3037]
What's Fixed
- We have re-added the
defaultexport toworkbox-webpack-plugin. [#3036]
Workbox v6.5.0
The Workbox v6.5.0 release includes a number of smaller fixes, as well as a major rewrite of the workbox-webpack-plugin to TypeScript.
A full changelog is available at v6.4.2...v6.5.0
What's New
workbox-webpack-pluginhas been rewritten in TypeScript, and has public TypeScript definitions for its interfaces published as part of this release. We do not anticipate any changes in the underlying functionality as part of this rewrite. [#2882]- A
forceSyncFallbackparameter has been added toworkbox-background-sync, without changing the default behavior. WhenforceSyncFallbackis explicitly set totrue,workbox-background-syncwill always attempt to replay queued requests when the service worker starts up and never rely on thesyncevent listener. Most developers will not need this behavior, but it can be useful when targeting environments that have a non-functional Background Sync implementation, like some Electron runtimes. [#3020]
What's Fixed
- A more informative message is returned when an opaque response is erroneously used in
workbox-streams. [#3001] - Removed a dynamic method call in
workbox-background-syncwhich could lead to errors when run through with certain aggressive minifiers. [#3012] - A
waitUntil()was added to theStaleWhileRevalidatestrategy, ensuring that it works properly with navigation preload responses. [#3015] - Removed the dependency on the deprecated
source-map-urlpackage. [#3031]
New Contributors
Thank you to @roikoren755 for their contributions to the workbox-webpack-plugin TypeScript migration!
Workbox v6.4.2
The Workbox v6.4.2 release fixes a few issues:
What's Changed
- fix: update
@apideck/better-ajv-errorsto ^0.3.1 by @wopian in #2988 - Fix request vs. response in
ExpirationPlugindocs by @mungojam in #2987 - Skip ignoreURLParametersMatching in
workbox wizard --injectManifestby @jeffposnick in #2992
New Contributors
Full Changelog: v6.4.1...v6.4.2
Workbox v6.4.1
The Workbox v6.4.1 release fixes a few issues:
🐛 What's Fixed?
workbox-build
- The dependency on
@apideck/better-ajv-errorshas been updated, which in turn addresses a security issue in one of its dependencies. [#2977]
worbox-navigation-preload
- The inline TypeScript definition for
preloadResponsewas incorrect, and has been fixed to reflect the previous definition that used to be provided by the TypeScript standard library. [#2975]
worbox-strategies
- Take
request.urlinto account inStrategyHandler.getCacheKey(). This ensures if a custom strategy overrides theStrategy._handle()method and performs multiple cache operations on different URLs, the cache key is properly calculated for each distinct URL. [#2973]
Workbox v6.4.0
Workbox v6.4.0 includes:
🎉 What's New?
- We upgraded to TypeScript 4.4.3. This required us to declare inline some types that are now longer part of the TypeScript standard; see #2946 for more context. [#2950]
worbox-background-sync
- You can check the number of requests in the sync queue with the new method
size(). [#2941]
🐛 What's Fixed?
- We upgraded @surma/rollup-plugin-off-main to patch a vulnerability from the dependency. [#2962]
- A missing sourcemap is no longer a fatal error when running
injectManifest. It returns now returns a warning and continues with execution. [#2959]
🎁 Thank you
To our new contributors in this version: @StephanBijzitter and @fuzail-ahmed!