Skip to content

Releases: kevin1024/vcrpy

1.4.0

02 Apr 19:21
Compare
Choose a tag to compare

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).

urllib3 fixes

24 Mar 01:21
Compare
Choose a tag to compare
v1.3.0

Version 1.3.0.

custom_patches

08 Jan 19:10
Compare
Choose a tag to compare

Add custom_patches argument to VCR/Cassette objects to allow users to stub custom classes when cassettes become active.

python 2.7.9 compatibility

26 Dec 10:27
Compare
Choose a tag to compare

Add force reset around calls to actual connection from stubs, to ensure compatibility with the version of httplib/urlib2 in python 2.7.9.

Several bugfixes

09 Dec 03:11
Compare
Choose a tag to compare

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)

Add urllib==1.7.1 support

08 Oct 19:17
Compare
Choose a tag to compare

Also: Make json serialize error handling correct. Improve logging of match failures.

Add py.test fixture compatibility in python 2

23 Sep 02:24
Compare
Choose a tag to compare

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.

Add before_record_response callback to use_cassette; Various bugfixes

21 Sep 12:22
Compare
Choose a tag to compare
  • Move context management of use_cassette into CassetteContextDecorator so that a separate cassette is created for each invocation of a use_cassette decorated function.
  • VCR now passes a callable to CassetteContextDecorator (instead of passing the arguments for cassette creation) so that changes to the VCRs default configuration can propagate to functions that have already been decorated.
  • Add mock and contextlib2 as dependencies.
  • Do all patching through mock.patch. This made it so that CassetteContextDecorators actually stack properly.
  • Remove enter and exit from Cassette class.
  • Add before_record_response hook to Cassette and VCR classes. This is mainly for the purpose of scrubbing responses.
  • Version bump (1.0.3 -> 1.1.0).
  • Remove contextdecorator dependency.

Requests 2.4 bugfix

02 Sep 02:06
Compare
Choose a tag to compare

Fixes a bug with the requests 2.4 stub.

Fix bug with requests 2.3.x

17 May 23:20
Compare
Choose a tag to compare
v1.0.2

bump version