Skip to content

Latest commit

 

History

History
243 lines (169 loc) · 6.76 KB

changelog.rst

File metadata and controls

243 lines (169 loc) · 6.76 KB

Changelog

  • Documentation improvements.

0.13.1 - 2023-12-07

  • Add support for Python 3.12.
  • Add trove classifier for license.

0.13.0 - 2023-08-01

  • Drop support for Python 3.5 and 3.6. #97
  • Add support for VCR.py 5.0.0. #118
  • Drop direct dependency on attrs.
  • Build: Switch the build backend to Hatch.

0.12.2 - 2023-02-16

  • Add support for Python 3.10 and 3.11. #99

0.12.1 - 2022-06-20

  • Allow block_network.allowed_hosts configuration via vcr_config fixture. #82

0.12.0 - 2021-07-08

Fixed

  • Honor record_mode set via the vcr_config fixture or the vcr mark when block_network is applied. #68

Changed

  • Validate input arguments for the block_network pytest mark. #69

0.11.0 - 2020-11-25

Added

  • --disable-recording CLI option to completely disable the VCR.py integration. #64

0.10.0 - 2020-10-06

Added

  • The pytest.mark.default_cassette marker that overrides the default cassette name.

0.9.0 - 2020-08-13

Added

  • Type annotations to the plugin's internals.

Fixed

  • TypeError when using network blocking with address as bytes or bytearray. #55

Removed

  • Python 2 support. #53

0.8.1 - 2020-06-13

Fixed

  • Honor record_mode passed via pytest.mark.vcr mark or in vcr_config fixture. #47

0.8.0 - 2020-06-06

Added

  • New pytest_recording_configure hook that can be used for registering custom matchers, persisters, etc. #45

0.7.0 - 2020-04-18

Added

  • New rewrite mode that removes cassette before recording. #37

0.6.0 - 2020-01-23

Changed

  • Restore undocumented ability to use relative paths in pytest.mark.vcr. #34

0.5.0 - 2020-01-09

Changed

  • Default cassette (usually named as the test function name) always exists. This changes the behavior in two ways. Firstly, recording will happen only to the default cassette and will not happen to any cassette passed as an argument to pytest.mark.vcr Secondly, it will allow "shared" + "specific" usage pattern, when the default cassette contains data relevant only to the specific test and the custom one contains shared data, which is currently only possible with specifying full paths to both cassettes in pytest.mark.vcr.

0.4.0 - 2019-12-19

Added

  • Ability to list allowed hosts for block_network. #7

0.3.6 - 2019-12-17

Fixed

  • Setting attributes on pycurl.Curl instances

0.3.5 - 2019-11-18

Fixed

  • Broken packaging in 0.3.4.

0.3.4 - 2019-10-21

Added

  • An error is raised if pytest-vcr is installed. pytest-recording is not compatible with it. #20

0.3.3 - 2019-08-18

Added

  • Pytest assertion rewriting for not matched requests.

0.3.2 - 2019-08-01

Fixed

  • Do not add "yaml" extension to cassettes if JSON serializer is used. #10

0.3.1 - 2019-07-28

Added

  • network.block / network.unblock functions for manual network blocking manipulations. #8

0.3.0 - 2019-07-20

Added

  • A pytest mark to block all network requests, except for VCR recording.

0.2.0 - 2019-07-18

Added

  • Reusable vcr_config fixture for VCR.use_cassette call. #2

0.1.0 - 2019-07-16

  • Initial public release