Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.27.0
->^0.28.0
^0.32.0
->^0.35.0
Release Notes
encode/httpx (httpx)
v0.28.0
Compare Source
The 0.28 release includes a limited set of deprecations.
Deprecations:
We are working towards a simplified SSL configuration API.
For users of the standard
verify=True
orverify=False
cases, orverify=<ssl_context>
case this should require no changes. The following cases have been deprecated...verify
argument as a string argument is now deprecated and will raise warnings.cert
argument is now deprecated and will raise warnings.Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
proxies
argument has now been removed.app
argument has now been removed.certifi
andhttpcore
are only imported if required. (#3377)socks5h
as a valid proxy scheme. (#3178)Request()
method signature in line withclient.request()
andhttpx.request()
. (#3378)Colin-b/pytest_httpx (pytest-httpx)
v0.35.0
Compare Source
Changed
httpx
==0.28.*v0.34.0
Compare Source
Added
is_optional
parameter is now available on responses and callbacks registration. Allowing to add optional responses while keeping other responses as mandatory. Refer to documentation for more details.is_reusable
parameter is now available on responses and callbacks registration. Allowing to add multi-match responses while keeping other responses as single-match. Refer to documentation for more details.Fixed
httpx_mock.get_request
will now also propose to refine filters if more than one request is found instead of only proposing to switch tohttpx_mock.get_requests
.v0.33.0
Compare Source
Added
3.13
.should_mock
option (callable returning a boolean) is now available, defaulting to always returningTrue
. Refer to documentation for more details.match_files
andmatch_data
parameters. Refer to documentation for more details.match_extensions
parameter. Refer to documentation for more details.Removed
non_mocked_hosts
option is not available anymore. Useshould_mock
instead as in the following sample:www.
depending on your usage.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.