responses v0.22.0 Release Notes

    • โšก๏ธ 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 via responses._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 to BaseResponse object. See #557
    • ๐Ÿ›  Fix registries leak. See #563
    • ๐Ÿ‘€ OriginalResponseShim is removed. See #585
    • Add support for the loose version of json_params_matcher via named argument strict_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 using functools.partialmethod.
    • ๐Ÿ›  Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
    • ๐Ÿ‘€ Adjust error message when Retry is exhausted. See #580.