Skip to content

feat!: 3.0#2692

Draft
kettanaito wants to merge 25 commits into
mainfrom
feat/3.0
Draft

feat!: 3.0#2692
kettanaito wants to merge 25 commits into
mainfrom
feat/3.0

Conversation

@kettanaito

@kettanaito kettanaito commented Apr 6, 2026

Copy link
Copy Markdown
Member

BREAKING CHANGES

Features

Bug fixes


Todos

  • Document the changes.
  • Write the migration guidelines.
  • Stress-test the features.
  • Support more TypeScript versions.
  • Support Node.js v26.
  • Upgrade cookie package since it now ships ESM (drop the shim).
  • Migrate to pnpm@11.
  • Migrate to undici@latest now that node@20 is dropped.

@kettanaito kettanaito added the BREAKING CHANGE Pull request introducing breaking changes. label Apr 6, 2026
@coderabbitai

coderabbitai Bot commented Apr 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6d045a25-c895-4b45-949f-3412f652d3b0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/3.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Apr 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/msw@2692

commit: 40aa5b0

@socket-security

socket-security Bot commented May 11, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​msw/​url@​0.1.27410010089100
Addedcookie@​2.0.110010010090100
Updatedundici@​7.28.0 ⏵ 8.7.097100100 +198100

View full report

@socket-security

socket-security Bot commented May 12, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@dsonet

dsonet commented May 15, 2026

Copy link
Copy Markdown

Hey @kettanaito, thanks a lot for your great work!

Is it possible to include this feature? Here’s the link: #2357
It would be nice if it could cross the finish line.

@kettanaito

Copy link
Copy Markdown
Member Author

@dsonet GraphQL subscriptions will likely make it either to 3.0 or even to 2.0. They aren't as tedious to implement with the new architecture now. I've introduced the concept of handlers merging in the recent changes to 2.0 and that was the missing piece for the subscriptions.

As always, if your company needs that support in MSW, please consider becoming a sponsor! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BREAKING CHANGE Pull request introducing breaking changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support intercepting navigate requests My app hooks in beforeunload with a confirmation message and then MSW stops working

2 participants