RENOVATE: Update dependency msw to v3 - #714
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
renovate
Bot
force-pushed
the
renovate/msw-3.x
branch
from
October 2, 2026 13:21
9988a23 to
e1c8a9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.11.1→^3.0.0Release Notes
mswjs/msw (msw)
v3.0.0Compare Source
v3.0.0 (2026-09-28)
2bb4342) @kettanaito @Andaristmsw/nativeis removed in favor of@msw/react-native.worker.stop()returns a Promise (#2724). Awaiting it is relevant only for in-flight critical scenarios.graphqlis now exported asmsw/graphql(#2691). GraphQL is now handled as a proper optional peer dependency.handleRequest()utility. Please use thedefineNetwork()API instead.GraphQLLinkHandlerstype has been renamed toGraphQLLink.file://requests now throw in Node.js as they normally do (not supported byfetch).Content-Lengthrequest header is now removed bybypass().fetch()now throw in Node.js as they normally do (not supported byfetch).connectionlife cycle event has been renamed towebsocket:connection(#2783).onUnhandledRequestoption has been renamed toonUnhandledFrame.setTimeoutto circumvent fake timers in test runners. You should advance the fake timers normally for delayed mocked responses to resolve.request.headers.get('cookie')in the handlers. It returnsnullin all environments. Please use thecookiesresolver argument to have cookie-based logic.Features
delayorpassthrough, from the newmsw/utilsentrypoint for smaller footprint on your bundle.path-to-regexpto@msw/url(#2678).graphqlpath-to-regexppicocolorsstatusesstrict-event-emitterwebsocket:errorlife cycle event to listen to WebSocket connection errors (#2784).Bug fixes
beforeunloadlistener would unregister the MSW worker (#1105).maxWorkers: 1(#2726).worker.stop()(#2724, #2597).localStoragewould cause a maximum quota exceeded errors.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.