Releases: kevin1024/vcrpy
Releases · kevin1024/vcrpy
v4.1.1
- Fix HTTPX support for versions greater than 0.15 (thanks @jairhenrique)
- Include a trailing newline on json cassettes (thanks @AaronRobson)
HTTPX support! And several aiohttp bugfixes and improvements.
- 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
v4.0.1
v4.0.0
v3.0.0
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
- 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
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)
py37 support, aiohttp related fixes and fix before_response_record mutability
- 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)
Improve aiohttp support
- 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.