Releases: devanshshukla99/pytest-remote-response
Releases · devanshshukla99/pytest-remote-response
v2.1.2
What's Changed
- Fix for conda-recipie by @devanshshukla99 in #35
- Fix codecov action by @devanshshukla99 in #36
Full Changelog: v2.1.1...v2.1.2
v2.1.1
v2.1
What's Changed
- fix codestlyle by @devanshshukla99 in #32
- Workflow for checking towncrier changelog entry by @devanshshukla99 in #33
Full Changelog: v2.0.1...v2.1
v2.0.1
v2.0.0
Added/Improved Documentation
- Added documentation and examples for :func:
~pytest_response.Response.activate
. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>
__)
Backwards Incompatible Changes
-
Renamed
urllib_full
to_urllib
andurllib3_full
to_urllib3
, to indicate their threading instability. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>
__) -
Moving away from commandline arguments
--remote-db
/--remote-database
in favour of ini-config optionremote_response_database
set through pytest with default valuedatabase.db
. (#30 <https://github.com/devanshshukla99/pytest-remote-response/pull/30>
__)
Deprecations and Removals
- Ability to activate interceptors via command-line argument
--remote={INTERCEPTOR}
has been removed in favour of activating via :func:~pytest_response.Response.activate
decorator. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>
__)
Features
- pytest-remote-response now has a decorator :func:
~pytest_response.Response.activate
to apply interceptors on individual functions. It supports string, regex pattern or list of interceptors as argument. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>
__)
Bug Fixes
- Fixed the documentation examples. (
#26 <https://github.com/devanshshukla99/pytest-remote-response/pull/26>
__)
Trivial/Internal Changes
- Moving from :mod:
tinydb
to :mod:sqlite3
for better threading support and reliability; no changes in public API. (#28 <https://github.com/devanshshukla99/pytest-remote-response/pull/28>
__)
What's Changed
- Fixed examples by @devanshshukla99 in #26
- Activate decorator by @devanshshukla99 in #16
- Moving to SQLite3 by @devanshshukla99 in #28
- changelog by @devanshshukla99 in #29
- Moving away from cmd-line arg to ini config for specifying database by @devanshshukla99 in #30
Full Changelog: v1.0.0...v2.0.0
v1.0.0
Bug Fixes
- Fixed
pytest_response.app.Response
and added another exception~pytest_response.exceptions.DatabaseNotFound
. (#13)
Added/Improved Documentation
- More simplified
README.rst
page. (#7) - Added more informative doc-strings. (#10)
- Added a supported clients list in the documentation. (#18)
- Documentation now hosts
getting-started
,why
andhow-it-works
pages! (#21) - Added documentation and example usage of
~pytest_response.database.ResponseDB
in thehow-it-works
page. (#23)
Backwards Incompatible Changes
- Renamed package from
pytest-response
topytest-remote-response
. (#9) - Renamed interceptors to a more clear norm. (#15)
Features
- Instead of moving through entire pipleline, now the interceptors will return a
pytest_response.app.BaseMockResponse
directly. (#1) - Added a
pytest_response.app.Response.configure
method for setting values of remote, capture and response. (#3) - Added interceptor for
aiohttp
library. (#4)
Trivial/Internal Changes
- Similified
pytest_response.logger.log
use. (#3) - Now the
pytest_response.database.ResponseDB.get
method will automatically rstrip "/", useful in comparing URLs. (#4) - Now
status
code will also be dumped/responded with along withdata
andheaders
. (#6) - Simplified GitHub actions as a two step process. (#8)
v0.21
fixed readme
0.2.1
release
v0.2
fix readme
v0.1
configuring release