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_fullto_urllibandurllib3_fullto_urllib3, to indicate their threading instability. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__) -
Moving away from commandline arguments
--remote-db/--remote-databasein favour of ini-config optionremote_response_databaseset 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.activatedecorator. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__)
Features
- pytest-remote-response now has a decorator :func:
~pytest_response.Response.activateto 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:
tinydbto :mod:sqlite3for 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.Responseand added another exception~pytest_response.exceptions.DatabaseNotFound. (#13)
Added/Improved Documentation
- More simplified
README.rstpage. (#7) - Added more informative doc-strings. (#10)
- Added a supported clients list in the documentation. (#18)
- Documentation now hosts
getting-started,whyandhow-it-workspages! (#21) - Added documentation and example usage of
~pytest_response.database.ResponseDBin thehow-it-workspage. (#23)
Backwards Incompatible Changes
- Renamed package from
pytest-responsetopytest-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.BaseMockResponsedirectly. (#1) - Added a
pytest_response.app.Response.configuremethod for setting values of remote, capture and response. (#3) - Added interceptor for
aiohttplibrary. (#4)
Trivial/Internal Changes
- Similified
pytest_response.logger.loguse. (#3) - Now the
pytest_response.database.ResponseDB.getmethod will automatically rstrip "/", useful in comparing URLs. (#4) - Now
statuscode will also be dumped/responded with along withdataandheaders. (#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