---
title: "vcrpy 9.4.0 Breaking Changes on PyPI | Since.dev"
description: "What each vcrpy release removed, renamed or changed: 43 breaking changes in 10 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/vcrpy
last_updated: 2026-12-04
---

# vcrpy breaking changes

vcrpy 9.4.0 (November 1, 2026) is its newest release with breaking changes. The first: Behavior changed filter_post_data_parameters. Every breaking API change we have recorded in vcrpy on PyPI: 43 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9.4.2`, released November 2, 2026. [Source repository](https://github.com/kevin1024/vcrpy)

Its 9.0.0 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [8.5.0](#v-8-5-0) to [9.4.0](#v-9-4-0): 24 breaking changes in 6 versions.
- From [8.0.0](#v-8-0-0) to [9.4.0](#v-9-4-0): 34 breaking changes in 9 versions.

## vcrpy 9.4.0 breaking changes

vcrpy 9.4.0, released November 1, 2026: 1 breaking change.

- **Behavior changed** `filter_post_data_parameters`  

Multipart form fields are now filtered, so recorded values change. If you match on body, cassettes recorded with unfiltered multipart bodies must be re-recorded. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.4.0)

## vcrpy 9.3.2 breaking changes

vcrpy 9.3.2, released November 1, 2026: 1 breaking change.

- **Behavior changed** `use_cassette`  

Using use_cassette() without a path as a context manager now raises a TypeError instead of KeyError: 'path'. Code that catches KeyError for this case must catch TypeError instead. A path can be omitted only when decorating a function. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.3.2)

## vcrpy 9.3.0 breaking changes

vcrpy 9.3.0, released October 31, 2026: 8 breaking changes.

- **Behavior changed** `allow_playback_repeats`  

A request matching one already recorded now gets the recorded response instead of being sent and recorded again. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.3.0)
- **Behavior changed** `before_record_response`  

The hook now also runs on cassette load, so it must be safe to run more than once. Make it idempotent. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.3.0)
- **Signature changed** `vcr.cassette.Cassette.__init__`  

Was def \_\_init\_\_(self, path, serializer=None, persister=None, record_mode=RecordMode.ONCE, match_on=(uri, method), before_record_request=None, before_record_response=None, custom_patches=(), inject=False, allow_playback_repeats=False... [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)
- **Signature changed** `vcr.config.Cassette.__init__`  

Was def \_\_init\_\_(self, path, serializer=None, persister=None, record_mode=RecordMode.ONCE, match_on=(uri, method), before_record_request=None, before_record_response=None, custom_patches=(), inject=False, allow_playback_repeats=False... [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)
- **Signature changed** `vcr.config.VCR.__init__`  

Was def \_\_init\_\_(self, path_transformer=None, before_record_request=None, custom_patches=(), filter_query_parameters=(), ignore_hosts=(), record_mode=RecordMode.ONCE, ignore_localhost=False, filter_headers=(), before_record_response=None... [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)
- **Signature changed** `vcr.filters.replace_body_parameters`  

Was def replace_body_parameters(request, replacements); now def replace_body_parameters(request, replacements, recursive=False). [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)
- **Signature changed** `vcr.filters.replace_post_data_parameters`  

Was def replace_post_data_parameters(request, replacements); now def replace_post_data_parameters(request, replacements, recursive=False). [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)
- **Signature changed** `vcr.VCR.__init__`  

Was def \_\_init\_\_(self, path_transformer=None, before_record_request=None, custom_patches=(), filter_query_parameters=(), ignore_hosts=(), record_mode=RecordMode.ONCE, ignore_localhost=False, filter_headers=(), before_record_response=None... [pypi.org](https://pypi.org/project/vcrpy/9.3.0/)

## vcrpy 9.2.0 breaking changes

vcrpy 9.2.0, released October 25, 2026: 4 breaking changes.

- **Signature changed** `vcr.cassette.Cassette.__init__`  

Was def \_\_init\_\_(self, path, serializer=None, persister=None, record_mode=RecordMode.ONCE, match_on=(uri, method), before_record_request=None, before_record_response=None, custom_patches=(), inject=False, allow_playback_repeats=False... [pypi.org](https://pypi.org/project/vcrpy/9.2.0/)
- **Signature changed** `vcr.config.Cassette.__init__`  

Was def \_\_init\_\_(self, path, serializer=None, persister=None, record_mode=RecordMode.ONCE, match_on=(uri, method), before_record_request=None, before_record_response=None, custom_patches=(), inject=False, allow_playback_repeats=False... [pypi.org](https://pypi.org/project/vcrpy/9.2.0/)
- **Signature changed** `vcr.config.VCR.__init__`  

Was def \_\_init\_\_(self, path_transformer=None, before_record_request=None, custom_patches=(), filter_query_parameters=(), ignore_hosts=(), record_mode=RecordMode.ONCE, ignore_localhost=False, filter_headers=(), before_record_response=None... [pypi.org](https://pypi.org/project/vcrpy/9.2.0/)
- **Signature changed** `vcr.VCR.__init__`  

Was def \_\_init\_\_(self, path_transformer=None, before_record_request=None, custom_patches=(), filter_query_parameters=(), ignore_hosts=(), record_mode=RecordMode.ONCE, ignore_localhost=False, filter_headers=(), before_record_response=None... [pypi.org](https://pypi.org/project/vcrpy/9.2.0/)

## vcrpy 9.1.0 breaking changes

vcrpy 9.1.0, released October 25, 2026: 2 breaking changes.

- **Behavior changed** `filter_post_data_parameters`  

Filtering now also matches urlencoded forms of parameter names, so a filter for api:key also removes api%3Akey from recorded post data. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.1.0)
- **Behavior changed** `ignore_localhost`  

The ignore_localhost option now also skips the IPv6 loopback address ::1, so requests to it are no longer recorded or replayed. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.1.0)

## vcrpy 9.0.0 breaking changes

vcrpy 9.0.0, released October 25, 2026: 8 breaking changes.

- **Removed**  

Python 3.10 is no longer supported; on 3.10, pip keeps installing 8.x. Use Python 3.11 or later. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.0.0)
- **Behavior changed** `CannotOverwriteExistingCassetteException`  

Code that matches on the exception message text must be updated; the class and its attributes are unchanged, and a new reason attribute is available. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.0.0)
- **Behavior changed** `filter_post_data_parameters`  

Request bodies are now filtered for PUT, PATCH, DELETE and other methods, not just POST. If you match on body, re-record cassettes with unfiltered bodies. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.0.0)
- **Behavior changed** `vcr.filters.replace_post_data_parameters`  

Use the new replace_body_parameters for filtering bodies of any method. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v9.0.0)
- **Signature changed** `vcr.stubs.urllib3_stubs.VCRRequestsHTTPConnection`  

Was class VCRRequestsHTTPConnection(VCRHTTPConnection, HTTPConnection); now class VCRRequestsHTTPConnection(\_VCRRequestsConnectionMixin, VCRHTTPConnection, HTTPConnection). [pypi.org](https://pypi.org/project/vcrpy/9.0.0/)
- **Signature changed** `vcr.stubs.urllib3_stubs.VCRRequestsHTTPConnection.getresponse`  

Was def getresponse(self, \_=False, \*\*kwargs); now def getresponse(self, \*args, \*\*kwargs). [pypi.org](https://pypi.org/project/vcrpy/9.0.0/)
- **Signature changed** `vcr.stubs.urllib3_stubs.VCRRequestsHTTPSConnection`  

Was class VCRRequestsHTTPSConnection(VCRHTTPSConnection, VerifiedHTTPSConnection); now class VCRRequestsHTTPSConnection(\_VCRRequestsConnectionMixin, VCRHTTPSConnection, VerifiedHTTPSConnection). [pypi.org](https://pypi.org/project/vcrpy/9.0.0/)
- **Signature changed** `vcr.stubs.urllib3_stubs.VCRRequestsHTTPSConnection.getresponse`  

Was def getresponse(self, \_=False, \*\*kwargs); now def getresponse(self, \*args, \*\*kwargs). [pypi.org](https://pypi.org/project/vcrpy/9.0.0/)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### vcrpy 8.5.0 breaking changes

vcrpy 8.5.0, released October 25, 2026: 7 breaking changes.

- **Removed** `vcr.stubs.aiohttp_stubs`  

Remove any test patches of vcr.stubs.aiohttp_stubs made to work around #502 or #927; they are no longer needed and no longer work. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v8.5.0)
- **Removed** `vcr.stubs.aiohttp_stubs.MockClientResponse.content`  

MockClientResponse.content was removed in vcrpy 8.5.0 [pypi.org](https://pypi.org/project/vcrpy/8.5.0/)

And 5 more in this version.

### vcrpy 8.4.0 breaking changes

vcrpy 8.4.0, released October 25, 2026: 1 breaking change.

- **Behavior changed** `drop_unused_requests`  

With drop_unused_requests=True in all mode, the cassette is now replaced with only the interactions just recorded instead of being saved empty. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v8.4.0)

### vcrpy 8.3.0 breaking changes

vcrpy 8.3.0, released July 4, 2026: 2 breaking changes.

- **Behavior changed**  

Recording now raises an error if a request or response contains a Python object the safe YAML loader cannot read back, instead of writing a cassette. Register the object as the error message describes if you need to record it. [github.com](https://github.com/kevin1024/vcrpy/releases/tag/v8.3.0)
- **Signature changed** `vcr.stubs.VCRHTTPResponse.read`  

Was def read(self, \*args, \*\*kwargs); now def read(self, \*args, decode_content=None, \*\*kwargs). [pypi.org](https://pypi.org/project/vcrpy/8.3.0/)

### vcrpy 8.0.0 breaking changes

vcrpy 8.0.0, released December 3, 2025: 9 breaking changes.

- **Removed** `vcr.stubs.httpx_stubs`  

vcr.stubs.httpx_stubs was removed in vcrpy 8.0.0 [pypi.org](https://pypi.org/project/vcrpy/8.0.0/)
- **Renamed** `vcr.stubs.httpx_stubs.CannotOverwriteExistingCassetteException`  

Use vcr.stubs.httpcore_stubs.CannotOverwriteExistingCassetteException instead. [pypi.org](https://pypi.org/project/vcrpy/8.0.0/)

And 7 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
