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
On this page
Latest version 9.4.2, released November 2, 2026. Source repository
Its 9.0.0 release drops Python 3.10. Python end of life dates.
- From 8.5.0 to 9.4.0: 24 breaking changes in 6 versions.
- From 8.0.0 to 9.4.0: 34 breaking changes in 9 versions.
vcrpy 9.4.0 breaking changes
- 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
vcrpy 9.3.2 breaking changes
- 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
vcrpy 9.3.0 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
vcrpy 9.2.0 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 - 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 - 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 - 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
vcrpy 9.1.0 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 - 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
vcrpy 9.0.0 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 - 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 - 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 - Behavior changed
vcr.filters.replace_post_data_parameters
Use the new replace_body_parameters for filtering bodies of any method. github.com - Signature changed
vcr.stubs.urllib3_stubs.VCRRequestsHTTPConnection
Was class VCRRequestsHTTPConnection(VCRHTTPConnection, HTTPConnection); now class VCRRequestsHTTPConnection(_VCRRequestsConnectionMixin, VCRHTTPConnection, HTTPConnection). pypi.org - Signature changed
vcr.stubs.urllib3_stubs.VCRRequestsHTTPConnection.getresponse
Was def getresponse(self, _=False, **kwargs); now def getresponse(self, *args, **kwargs). pypi.org - Signature changed
vcr.stubs.urllib3_stubs.VCRRequestsHTTPSConnection
Was class VCRRequestsHTTPSConnection(VCRHTTPSConnection, VerifiedHTTPSConnection); now class VCRRequestsHTTPSConnection(_VCRRequestsConnectionMixin, VCRHTTPSConnection, VerifiedHTTPSConnection). pypi.org - Signature changed
vcr.stubs.urllib3_stubs.VCRRequestsHTTPSConnection.getresponse
Was def getresponse(self, _=False, **kwargs); now def getresponse(self, *args, **kwargs). pypi.org
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
vcrpy 8.5.0 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 - Removed
vcr.stubs.aiohttp_stubs.MockClientResponse.content
MockClientResponse.content was removed in vcrpy 8.5.0 pypi.org
And 5 more in this version.
vcrpy 8.4.0 breaking changes
- 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
vcrpy 8.3.0 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 - Signature changed
vcr.stubs.VCRHTTPResponse.read
Was def read(self, *args, **kwargs); now def read(self, *args, decode_content=None, **kwargs). pypi.org
vcrpy 8.0.0 breaking changes
- Removed
vcr.stubs.httpx_stubs
vcr.stubs.httpx_stubs was removed in vcrpy 8.0.0 pypi.org - Renamed
vcr.stubs.httpx_stubs.CannotOverwriteExistingCassetteException
Use vcr.stubs.httpcore_stubs.CannotOverwriteExistingCassetteException instead. pypi.org
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, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.