Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make worker integrity mismatch a warning #2090

Merged
merged 2 commits into from Mar 16, 2024
Merged

Conversation

kettanaito
Copy link
Member

There's no need to treat service worker integrity mismatches as errors anymore. Using a mismatched version of the worker script may result in issues but it's extremely unlikely. Not every change to the worker script implies a breaking change. In fact, it's up to us to ensure that the breaking changes there are accompanied by major version bumps. The worker logic has been consistent for years now, and we rely on the worker only as the interception mechanism.

@kettanaito kettanaito changed the title fix: make integrity mismatch a warning fix: make worker integrity mismatch a warning Mar 16, 2024
@kettanaito kettanaito merged commit a0f8021 into main Mar 16, 2024
7 of 8 checks passed
@kettanaito kettanaito deleted the fix/integrity-warning branch March 16, 2024 12:02
@kettanaito
Copy link
Member Author

Released: v2.2.5 🎉

This has been released in v2.2.5!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant