NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #818 most downloaded on PyPI
Automatically mock your HTTP interactions to simplify and speed up testing
Latest stable
9.4.2
Last release 20 days ago
02 Nov 2026
Release timing varies
gaps range from 8 days to 11 months
Most releases are documented
notes for 48 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
91 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Filter post data parameters (thanks @eadmundo), support for posting files through requests, inject_cassette kwarg to access cassette from use_cassette
Filter post data parameters (thanks @eadmundo), support for posting files through requests, inject_cassette kwarg to access cassette from use_cassette decorated function, with_current_defaults actually works (thanks @samstav).
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add custom_patches argument to VCR/Cassette objects to allow users to stub custom classes when cassettes become active.
Add custom_patches argument to VCR/Cassette objects to allow users to stub custom classes when cassettes become active.
Add force reset around calls to actual connection from stubs, to ensure compatibility with the version of httplib/urlib2 in python 2.7.9.
Add force reset around calls to actual connection from stubs, to ensure compatibility with the version of httplib/urlib2 in python 2.7.9.
Fix python3 headers field (thanks @rtaboada), fix boto test (thanks @telaviv), fix new_episodes record mode (thanks @jashugan), fix Windows connection
Fix python3 headers field (thanks @rtaboada), fix boto test (thanks @telaviv), fix new_episodes record mode (thanks @jashugan), fix Windows connectionpool stub bug (thanks @gazpachoking)
Also: Make json serialize error handling correct. Improve logging of match failures.
Also: Make json serialize error handling correct. Improve logging of match failures.
Use function signature preserving wrapt.decorator to write the decorator portion of use_cassette in order to ensure compatibility with py.test fixture
Use function signature preserving wrapt.decorator to write the
decorator portion of use_cassette in order to ensure compatibility with
py.test fixtures and python 2. Move all request filtering into the
before_record_callable.
Move context management of use_cassette into CassetteContextDecorator so that a separate cassette is created for each invocation of a use_cassette dec
Fixes a bug with the requests 2.4 stub.
Fixes a bug with the requests 2.4 stub.
Nothing published for this version
Nothing published for this version
BACKWARDS INCOMPATIBLE: Please see the 'upgrade' section in the README.
BACKWARDS INCOMPATIBLE: Please see the 'upgrade' section in the README.
Add support for filtering sensitive data from requests, matching query strings after the order changes and improving the built-in matchers, (thanks to @mshytikov), support for ignoring requests to certain hosts, bump supported Python3 version to 3.4, fix some bugs with Boto support (thanks @marusich), fix error with URL field capitalization in README (thanks @simon-weber), added some log messages to help with debugging, added all_played property on cassette (thanks @mshytikov)
Nothing published for this version
Store response headers as a list since a HTTP response can have the same header twice (happens with set-cookie sometimes). This has the added benefit
Store response headers as a list since a HTTP response can have the same header twice (happens with set-cookie sometimes). This has the added benefit of preserving the order of headers. Thanks @smallcode for the bug report leading to this change. I have made an effort to ensure backwards compatibility with the old cassettes' header storage mechanism, but if you want to upgrade to the new header storage, you should delete your cassettes and re-record them. Also this release adds better error messages (thanks @msabramo) and adds support for using VCR as a decorator (thanks @smallcode for the motivation)
Change the response_of method to responses_of since cassettes can now contain more than one response for a request. Since this changes the API, I'm bu
Change the response_of method to responses_of since cassettes can now contain more than one response for a request. Since this changes the API, I'm bumping the version. Also includes 2 bugfixes: a better error message when attempting to overwrite a cassette file, and a fix for a bug with requests sessions (thanks @msabramo)
Change default request recording behavior for multiple requests. If you make the same request multiple times to the same URL, the response might be di
Change default request recording behavior for multiple requests. If you make the same request multiple times to the same URL, the response might be different each time (maybe the response has a timestamp in it or something), so this will make the same request multiple times and save them all. Then, when you are replaying the cassette, the responses will be played back in the same order in which they were received. If you were making multiple requests to the same URL in a cassette before version 0.4.0, you might need to regenerate your cassette files. Also, removes support for the cassette.play_count counter API, since individual requests aren't unique anymore. A cassette might contain the same request several times. Also removes secure overwrite feature since that was breaking overwriting files in Windows, and fixes a bug preventing requests's automatic decompression from working
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix issue causing full paths to be sent on the HTTP request line.
Fix issue causing full paths to be sent on the HTTP request line.
Backwards incompatible release - Added support for record modes, and changed the default recording behavior to the "once" record mode. Please see the…
Backwards incompatible release - Added support for record modes, and changed the default recording behavior to the "once" record mode. Please see the documentation on record modes for more. Added support for custom request matching, and changed the default request matching behavior to match only on the URL and method. Also, improved the httplib mocking to add support for the HTTPConnection.send() method. This means that requests won't actually be sent until the response is read, since I need to record the entire request in order to match up the appropriate response. I don't think this should cause any issues unless you are sending requests without ever loading the response (which none of the standard httplib wrappers do, as far as I know. Thanks to @fatuhoku for some of the ideas and the motivation behind this release.
This is a minor version increase to fix an installation issue
This is a minor version increase to fix an installation issue
Added configuration API, which lets you configure some settings on VCR (see the README).
_backwards incompatible release - delete your old cassette files_: This release adds the ability to access the cassette to make assertions on it, as w…
backwards incompatible release - delete your old cassette files: This release adds the ability to access the cassette to make assertions on it, as well as a major code refactor thanks to @dlecocq. It also fixes a couple longstanding bugs with redirects and HTTPS. [#3 and #4]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.