- Update
requests
dependency to the version of 2.22.0 or higher. See #584. - [BETA] Added possibility to record responses to TOML files via
@_recorder.record(file_path="out.toml")
decorator. - [BETA] Added possibility to replay responses (populate registry) from TOML files
viaresponses._add_from_file(file_path="out.toml")
method. - Fix type for the
mock
's patcher object. See #556 - Fix type annotation for
CallList
- Add
passthrough
argument toBaseResponse
object. See #557 - Fix
registries
leak. See #563 OriginalResponseShim
is removed. See #585- Add support for the
loose
version ofjson_params_matcher
via named argumentstrict_match
. See #551 - Add lists support as JSON objects in
json_params_matcher
. See #559 - Added project links to pypi listing.
delete
,get
,head
,options
,patch
,post
,put
shortcuts are now implemented usingfunctools.partialmethod
.- Fix
MaxRetryError
exception. Replace exception byRetryError
according torequests
implementation. See #572. - Adjust error message when
Retry
is exhausted. See #580.