Releases: jamielennox/requests-mock
Releases · jamielennox/requests-mock
1.12.1
Set python_requires to >3 to prevent installation in python2 deployments.
Full Changelog: 1.12.0...1.12.1
1.12.0
What's Changed
- Update copyright year by @KrishanBhasin in #239
- Remove py2 by @jamielennox in #248
- Allow
raw
parameter to accept callable like body elements by @jamielennox in #249 - Improve type definition of
Mocker.__call__
by @Viicos in #244 - Drop PBR Support by @jamielennox in #250
- fix(mocker.pyi): fix Mocker class type hints by @pavellos21 in #251
- Remove unused
six
dependency by @Viicos in #252
New Contributors
- @KrishanBhasin made their first contribution in #239
- @Viicos made their first contribution in #244
- @pavellos21 made their first contribution in #251
Full Changelog: 1.11.0...1.12.0
1.11.0
What's Changed
- Upgrade GitHub Actions by @cclauss in #224
- Typing analysis and public type aliases by @noirbizarre in #226
- Use unittest.mock when available on Python > 3.3 by @jelly in #230
- Tell urllib3 to ignore content length mismatch by @jamielennox in #232
- Remove testrepository dependency by @jamielennox in #229
New Contributors
- @cclauss made their first contribution in #224
- @noirbizarre made their first contribution in #226
- @jelly made their first contribution in #230
Full Changelog: 1.10.0...1.11.0
1.10.0
What's Changed
- Response parameters type hints by @OldSneerJaw in #178
- Support Python 3.10. by @adamchainz in #190
- Avoid using distutils to check pytest version. by @adamchainz in #189
- Add reset methods on the Mocker class type. by @zozoens31 in #184
- add GitHub URL for PyPi by @andriyor in #196
- Prevent race condition when using requests_futures and ThreadPoolExecutor by @phodge in #183
- pytest plugin should lazy-load requests_mock by @ikonst in #195
- Update homepage/doc URLs of requests library by @soxofaan in #206
- Thread Locking by @phodge in #203
- Shorten line length of comments by @jamielennox in #183 and #200
- Improvements to Type Hints by @jamielennox in #199
- Allow passing json_encoder to mocking by @jamielennox in #198
New Contributors
- @petrem made their first contribution in #185
- @mgorny made their first contribution in #164
- @akhsiM made their first contribution in #194
- @adamchainz made their first contribution in #190
- @zozoens31 made their first contribution in #184
- @andriyor made their first contribution in #196
- @phodge made their first contribution in #183
- @ikonst made their first contribution in #195
- @soxofaan made their first contribution in #206
Full Changelog: 1.9.3...1.10.0
1.9.3
Minor improvement to typing annotations.
1.9.2
v1.9.2
1.9.1
Bug Fix on 1.9.0 release:
- Added py.typed file required to make type annotations work.
1.9.0
1.8.0
Solidifies the behaviour of nested mocking and the real_http variable.