Vcrpy Versions Save

Automatically mock your HTTP interactions to simplify and speed up testing

v4.1.0

3 years ago
  • 4.1.0
    • Add support for httpx!! (thanks @herdigiorgi)
    • Add the new allow_playback_repeats option (thanks @tysonholub)
    • Several aiohttp improvements (cookie support, multiple headers with same key) (Thanks @pauloromeira)
    • Use enums for record modes (thanks @aaronbannin)
    • Bugfix: Do not redirect on 304 in aiohttp (Thanks @royjs)
    • Bugfix: Fix test suite by switching to mockbin (thanks @jairhenrique)

v4.0.2

4 years ago
  • Correct mock imports. Fixes #504
  • Remove move dependency that was masking error from tox.ini

v4.0.1

4 years ago

Fix logo alignment for PyPI release

v4.0.0

4 years ago
  • Remove Python2 support (@hugovk)
  • Add Python 3.8 TravisCI support (@neozenith)
  • Updated the logo to a modern material design (@sean0x42)

v3.0.0

4 years ago

v3.0.0

  • This release is a breaking change as it changes how aiohttp follows redirects and your cassettes may need to be re-recorded with this update.
  • Fix multiple requests being replayed per single request in aiohttp stub #495 (@nickdirienzo)
  • Add support for request_info on mocked responses in aiohttp stub #495 (@nickdirienzo)
  • doc: fixed variable name (a -> cass) in an example for rewind #492 (@yarikoptic)

v2.1.1

4 years ago
  • 2.1.1
  • Format code with black (@neozenith)
  • Use latest pypy3 in Travis (@hugovk)
  • Improve documentation about custom matchers (@gward)
  • Fix exception when body is empty (@keithprickett)
  • Add pytest-recording to the documentation as an alternative Pytest plugin (@Stranger6667)
  • Fix yarl and python3.5 version issue (@neozenith)
  • Fix header matcher for boto3 - fixes #474 (@simahawk)

v2.1.0

4 years ago

v2.1.0

Updates

  • Add a rewind method to reset a cassette (thanks @khamidou)
  • New error message with more details on why the cassette failed to play a request (thanks @arthurHamon2, @neozenith)
  • Handle connect tunnel URI (thanks @jeking3)
  • Add code coverage to the project (thanks @neozenith)
  • Drop support to python 3.4
  • Add deprecation warning on python 2.7, next major release will drop python 2.7 support

Fixes

  • Fix build problems on requests tests (thanks to @dunossauro)
  • Fix matching on 'body' failing when Unicode symbols are present in them (thanks @valgur)
  • Fix bugs on aiohttp integration (thanks @graingert, @steinnes, @stj, @lamenezes, @lmazuel)
  • Fix Biopython incompatibility (thanks @rishab121)
  • Fix Boto3 integration (thanks @1oglop1, @arthurHamon2)

v2.0.0

5 years ago
  • Support python 3.7 (fix httplib2 and urllib2, thanks @felixonmars)
  • [#356] Fixes before_record_response so the original response isn't changed (thanks @kgraves)
  • Fix requests stub when using proxy (thanks @samuelfekete @daneoshiga)
  • (only for aiohttp stub) Drop support to python 3.4 asyncio.coroutine (aiohttp doesn't support python it anymore)
  • Fix aiohttp stub to work with aiohttp client (thanks @stj)
  • Fix aiohttp stub to accept content type passed
  • Improve docs (thanks @adamchainz)

v1.13.0

5 years ago
  • Fix support to latest aiohttp version (3.3.2).
  • Fix content-type bug in aiohttp stub.
  • Properly save URL with query params properly when using aiohttp.

v1.12.0

5 years ago
  • Fix support to latest aiohttp version (3.2.1)
  • Adapted setup to PEP508
  • Support binary responses on aiohttp
  • Dropped support for EOL python versions (2.6 and 3.3)