# What changed in responses

> 9 changes in responses 0.26 from its official release notes, upgrade guides and advisories: 2 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/pypi/responses/

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

## responses 0.26

### Breaking changes

- Default headers are stripped from recorded files regardless of header-name case, preventing redundant headers from being retained. (0.26.2) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.2)
- When both content_type and headers['content-type'] are in a response mock file, content_type is now used. (0.26.1) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.1)

### New APIs and options

- Adds keep_headers to preserve named headers otherwise stripped as verbose defaults, allowing signed responses to be recorded and later verified. Matching is case-insensitive. (0.26.3) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.3)
- Adds keep_headers to preserve named headers otherwise stripped as verbose defaults, allowing signed responses to be recorded and later verified. Matching is case-insensitive. (0.26.3) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.3)
- Added strict_match, enabling partial request parameter matching. (0.26.1) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.1)

### Fixes and other changes

- Fixes the exposed element type so static type checkers infer Call values when iterating, indexing, or filtering recorded calls. (0.26.3) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.3)
- Opaque fragments without `=` are no longer treated as always equal, preventing a required fragment from matching a different fragment or none at all. (0.26.3) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.3)
- Preserves blank-valued query parameters, preventing requests with an extra or missing blank parameter from matching incorrectly; this also fixes query matching automatically applied to a registered URL's own query string. (0.26.3) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.3)
- Fixed mutation of the caller's params dict when numeric values are provided. (0.26.2) — [release notes](https://github.com/getsentry/responses/releases/tag/0.26.2)
