Update dependency msw to v3 - #562
Open
oxide-renovate[bot] wants to merge 1 commit into
Open
oxide-renovate[bot] wants to merge 1 commit into
oxide-renovate[bot] wants to merge 1 commit into
Conversation
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.13.4→^3.0.0Release Notes
mswjs/msw (msw)
v3.0.2Compare Source
v3.0.2 (2026-10-03)
Bug Fixes
virtual:mswimports in vitest (#2802) (e73c381) @kettanaitov3.0.1Compare Source
v3.0.1 (2026-09-30)
Bug Fixes
CONNECTrequests as the transport mechanism (#2796) (7cad86a) @kettanaitov3.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: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.