# What changed in openapi-msw

> 8 changes in openapi-msw 1 to 2 from its official release notes, upgrade guides and advisories: 6 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/openapi-msw/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## openapi-msw 2

### Breaking changes

- Colons in OpenAPI paths are escaped and matched literally as static path parts instead of being interpreted by MSW as path parameters. (2.1.1) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v2.1.1)
- OpenAPI-MSW no longer publishes CommonJS compilation or exports; requiring the package still works on actively maintained Node.js versions. (2.0.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v2.0.0)
- The MSW peer dependency was updated; this is a breaking change only for users not already using the latest MSW version. (2.0.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v2.0.0)

### Behavior and default changes

- OpenAPI-MSW is compatible with both MSW v2 and v3. (2.1.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v2.1.0)

### Tooling

- Declaration maps and packaged source files enable editors to jump directly to TypeScript source with Go To Definition. (2.0.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v2.0.0)

## openapi-msw 1

### Breaking changes

- 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.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v1.0.0)
- Removed the dependency so projects should no longer resolve to multiple versions of openapi-typescript-helpers. (1.0.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v1.0.0)
- Renamed the HttpHandlerFactory type to OpenApiHttpRequestHandler to align its name with MSW's equivalent HttpRequestHandler type. (1.0.0) — [release notes](https://github.com/christoph-fricke/openapi-msw/releases/tag/v1.0.0)
