0.19.0
Fixed
- Support HTTPX 0.21.0.
- Use Session.notify when chaining nox sessions, thanks @flaeppe.
- Add overloads to MockRouter.__call__, thanks @flaeppe.
- Enhance AND pattern evaluation to fail fast.
- Fix CallList assertion error message.
Changed
- Prevent method and url as lookups in HTTP method helpers, thanks @flaeppe.
- Fail pattern match when JSON path not found.
0.21.0 (15th November, 2021)
The 0.21.0 release integrates against a newly redesigned httpcore backend.
Both packages ought to automatically update to the required versions, but if you are seeing any issues, you should ensure that you have httpx==0.21.* and httpcore==0.14.* installed.
Added
The command-line client will now display connection information when -v/--verbose is used.
The command-line client will now display server certificate information when -v/--verbose is used.
The command-line client is now able to properly detect if the outgoing request should be formatted as HTTP/1.1 or HTTP/2, based on the result of the HTTP/2 negotiation.
Removed
Curio support is no longer currently included. Please get in touch if you require this, so that we can assess priorities.
0.14.1 (November 12th, 2021)
max_connections becomes optional.
certifi is now included in the install dependancies.
h2 is now strictly optional.
0.14.0 (November 11th, 2021)
The 0.14 release is a complete reworking of httpcore, comprehensively addressing some underlying issues in the connection pooling, as well as substantially redesigning the API to be more user friendly.
Some of the lower-level API design also makes the components more easily testable in isolation, and the package now has 100% test coverage.
There's some other neat bits in there too, such as the "trace" extension, which gives a hook into inspecting the internal events that occur during the request/response cycle. This extension is needed for the HTTPX cli, in order to...
Log the point at which the connection is established, and the IP/port on which it is made.
Determine if the outgoing request should log as HTTP/1.1 or HTTP/2, rather than having to assume it's HTTP/2 if the --http2 flag was passed. (Which may not actually be true.)
Log SSL version info / certificate info.
Note that curio support is not currently available in 0.14.0. If you're using httpcore with curio please get in touch, so we can assess if we ought to prioritize it as a feature or not.
For tcsh and defaults for other variants, unless otherwise noted:
- Option nls enables building of NLS catalogs. Enabled by default.
- Option static enables static linking. Disabled by default.
For standalone-tcsh:
- Option static is enabled by default, except on SunOS.
- Fix building of NLS catalogs, which possibly worked at some point
in time given the existence of the NLSDIR variable in Makefile.
- Use PLIST from tcsh, with some awk to transform the entries.
- Use DESCR from tcsh as base, with an additional local DESCR. Adjust the
local DESCR to not say that the package is static, as that is controlled
by an option now (and never was true for all platforms).
- Remove unnecessary DISTINFO_FILE, INSTALLATION_DIRS, and WRKSRC.
For static-tcsh:
- Option static is not available: the package is always built like tcsh
with the static option enabled.
- Remove unnecessary DISTINFO_FILE.