unstale

npm / openapi-msw

openapi-msw

What changed in openapi-msw 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

6 breaking1 behavior and defaults1 tooling

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

openapi-msw 25 changes

Breaking changes 3

  • Colons in OpenAPI paths are escaped and matched literally as static path parts instead of being interpreted by MSW as path parameters.

    2.1.1release notes

  • OpenAPI-MSW no longer publishes CommonJS compilation or exports; requiring the package still works on actively maintained Node.js versions.

    2.0.0release notes

  • The MSW peer dependency was updated; this is a breaking change only for users not already using the latest MSW version.

    2.0.0release notes

Behavior and default changes 1

  • OpenAPI-MSW is compatible with both MSW v2 and v3.

    2.1.0release notes

Tooling 1

  • Declaration maps and packaged source files enable editors to jump directly to TypeScript source with Go To Definition.

    2.0.0release notes

openapi-msw 13 changes

Breaking changes 3

  • The MSW peer dependency requirement was updated from v2.0.0 to v2.7.0; this is breaking only for projects not already using the latest MSW version.

    1.0.0release notes

  • Removed the dependency so projects should no longer resolve to multiple versions of openapi-typescript-helpers.

    1.0.0release notes

  • Renamed the HttpHandlerFactory type to OpenApiHttpRequestHandler to align its name with MSW's equivalent HttpRequestHandler type.

    1.0.0release notes