-
-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.17.0 #1403
Version 0.17.0 #1403
Conversation
Looking all good on my side! |
Looks like we'll also want #1465 in for this. Anything else? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomchristie I updated the changelog against 0.16.1...HEAD with the latest entries since this PR was opened. Also updated the version, and updated the docs to point to 0.17.*
. :-) I think we're ready to release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah this looks like a great release 🎉
Co-authored-by: Jamie Hewland <[email protected]>
OK, let's roll with this. :-) |
Version 0.17.0 (encode#1403)
Preliminary bit of drawing up 0.17.0 change log.
httpx.HTTPTransport()
- AddHTTPTransport
andAsyncHTTPTransport
#1399 (Need to make a call on how to fit in proxy support there too.)httpx.MockTransport()
- Addhttpx.MockTransport()
#1401 (Once we've pulled in AddHTTPTransport
andAsyncHTTPTransport
#1399. For a nice consistency.)__version__.py
and any notes in docs.I'm somewhat minded to keep the
httpx.json = ...
(#1352) on the shelf a little longer.Is there anything else pressing?
0.17.0
Added
httpx.MockTransport()
, allowing to mock out a transport using pre-determined responses. (Pull Addhttpx.MockTransport()
#1401, Pull Allow handler to optionally be async when MockTransport is used with AsyncClient #1449)httpx.HTTPTransport()
andhttpx.AsyncHTTPTransport()
default transports. (Pull AddHTTPTransport
andAsyncHTTPTransport
#1399)httpx.Client(mounts=...)
. (Pull Add support for Mount API #1362)chunk_size
parameter toiter_raw()
,iter_bytes()
,iter_text()
. (Pull Support forchunk_size
#1277)keepalive_expiry
parameter tohttpx.Limits()
configuration. (Pull Add keepalive_expiry to Limits config #1398)tuple
of query parameters (previously onlylist
was accepted). (Pull Allow tuple as input of query parameters. #1426)Fixed
PATH_INFO
should be URL escaped. (Pull WSGI 'PATH_INFO' should be URL unquoted #1391)raw_path
to ASGI scope. (Pull Add raw_path to scope in ASGITransport #1357)create_ssl_context
defaults to usetrust_env=True
. (Pull Tweakcreate_ssl_context
defaults -trust_env=True
, notNone
. #1447)base_url
. (Pull Properly preserve encoded slashes when usingbase_url
#1407)request.aclose()
. (Pull map_exceptions in request.aclose() #1465)