14
0

- update to 0.17.0:

* This release is the last to support Python 2.7.
  * Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop
  * Fixed issue when `passthru_prefixes` persisted across tests.
    Now `add_passthru` is valid only within a context manager or for a single function and
    cleared on exit
  * Deprecate `match_querystring` argument in `Response` and `CallbackResponse`.
    Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher`
  * Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher`
  * Added `responses.registries`. Now user can create custom registries to
    manipulate the order of responses in the match algorithm
    `responses.activate(registry=CustomRegistry)`
  * Fixed issue with response match when requests were performed between adding responses with
    same URL. See Issue #212

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=36
This commit is contained in:
2022-02-16 23:15:56 +00:00
committed by Git OBS Bridge
parent eae844a863
commit 6059bc2485
4 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Feb 16 23:14:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.17.0:
* This release is the last to support Python 2.7.
* Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop
* Fixed issue when `passthru_prefixes` persisted across tests.
Now `add_passthru` is valid only within a context manager or for a single function and
cleared on exit
* Deprecate `match_querystring` argument in `Response` and `CallbackResponse`.
Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher`
* Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher`
* Added `responses.registries`. Now user can create custom registries to
manipulate the order of responses in the match algorithm
`responses.activate(registry=CustomRegistry)`
* Fixed issue with response match when requests were performed between adding responses with
same URL. See Issue #212
-------------------------------------------------------------------
Mon Nov 29 11:54:48 UTC 2021 - Dirk Müller <dmueller@suse.com>