Support async cancellations, ensuring that the connection pool is left in a clean state when cancellations occur. (#726)
The networking backend interface has been added to the public API. Some classes which were previously private implementation detail are now part of the top-level public API. (#699)
Graceful handling of HTTP/2 GoAway frames, with requests being transparently retried on a new connection. (#730)
Add exceptions when a synchronous trace callback is passed to an asynchronous request or an asynchronous trace callback is passed to a synchronous request. (#717)
Version 0.17.2
0.17.2 (May 23th, 2023)
Add socket_options argument to ConnectionPool and HTTProxy classes. (#668)
Improve logging with per-module logger names. (#690)
Support async cancellations, ensuring that the connection pool is left in a clean state when cancellations occur. (#726)
The networking backend interface has been added to the public API. Some classes which were previously private implementation detail are now part of the top-level public API. (#699)
Graceful handling of HTTP/2 GoAway frames, with requests being transparently retried on a new connection. (#730)
Add exceptions when a synchronous trace callback is passed to an asynchronous request or an asynchronous trace callback is passed to a synchronous request. (#717)
More robust checking for opening upload files in binary mode. (#2630)
Properly support IP addresses in NO_PROXY environment variable. (#2659)
Set default file for NetRCAuth() to None to use the stdlib default. (#2667)
Set logging request lines to INFO level for async requests, in line with sync requests. (#2656)
Fix which gen-delims need to be escaped for path/query/fragment components in URL. (#2701)
Version 0.24.0
0.24.0 (6th April, 2023)
Changed
The logging behaviour has been change to be more in-line with other standard Python logging usages. We no longer have a custom TRACE log level, and we no longer use the HTTPX_LOG_LEVEL environment variable to auto-configure logging. We now have a significant amount of DEBUG logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)
The Response.iter_lines() method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)
Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from requests, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)
More robust checking for opening upload files in binary mode. (#2630)
Properly support IP addresses in NO_PROXY environment variable. (#2659)
Set default file for NetRCAuth() to None to use the stdlib default. (#2667)
Set logging request lines to INFO level for async requests, in line with sync requests. (#2656)
Fix which gen-delims need to be escaped for path/query/fragment components in URL. (#2701)
0.24.0 (6th April, 2023)
Changed
The logging behaviour has been changed to be more in-line with other standard Python logging usages. We no longer have a custom TRACE log level, and we no longer use the HTTPX_LOG_LEVEL environment variable to auto-configure logging. We now have a significant amount of DEBUG logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)
The Response.iter_lines() method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)
Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from requests, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)
* Parse raw metadata (:issue:`671`)
* Import underlying parser functions as an underscored variable (:issue:`663`)
* Improve error for local version label with unsupported operators (:issue:`675`)
* Add dedicated error for specifiers with incorrect `.*` suffix
* Replace spaces in platform names with underscores (:issue:`620`)
* Relax typing of ``_key`` on ``_BaseVersion`` (:issue:`669`)
* Handle prefix match with zeros at end of prefix correctly (:issue:`674`)
23.0 - 2023-01-08
Allow "extra" to be None in the marker environment (:issue:650)
Refactor tags._generic_api to use EXT_SUFFIX (:issue:607)
Correctly handle trailing whitespace on URL requirements (:issue:642)
Fix typing for specifiers.BaseSpecifier.filter() (:issue:643)
Use stable Python 3.11 in tests (:issue:641)
Correctly handle non-normalised specifiers in requirements (:issue:634)
Move to src/ layout (:issue:626)
Remove __about__ file, in favour of keeping constants in __init__ (:issue:626)
22.0 - 2022-12-07
* Explicitly declare support for Python 3.11 (:issue:`587`)
* Remove support for Python 3.6 (:issue:`500`)
* Remove ``LegacySpecifier`` and ``LegacyVersion`` (:issue:`407`)
* Add ``__hash__`` and ``__eq__`` to ``Requirement`` (:issue:`499`)
* Add a ``cpNNN-none-any`` tag (:issue:`541`)
* Adhere to :pep:`685` when evaluating markers with extras (:issue:`545`)
* Allow accepting locally installed prereleases with ``SpecifierSet`` (:issue:`515`)
* Allow pre-release versions in marker evaluation (:issue:`523`)
* Correctly parse ELF for musllinux on Big Endian (:issue:`538`)
* Document ``packaging.utils.NormalizedName`` (:issue:`565`)
* Document exceptions raised by functions in ``packaging.utils`` (:issue:`544`)
* Fix compatible version specifier incorrectly strip trailing ``0`` (:issue:`493`)
* Fix macOS platform tags with old macOS SDK (:issue:`513`)
* Forbid prefix version matching on pre-release/post-release segments (:issue:`563`)
* Normalize specifier version for prefix matching (:issue:`561`)
* Improve documentation for ``packaging.specifiers`` and ``packaging.version``. (:issue:`572`)
* ``Marker.evaluate`` will now assume evaluation environment with empty ``extra``.
Evaluating markers like ``"extra == 'xyz'"`` without passing any extra in the
``environment`` will no longer raise an exception (:issue:`550`)
* Remove dependency on ``pyparsing``, by replacing it with a hand-written parser.
This package now has no runtime dependencies (:issue:`468`)
* Update return type hint for ``Specifier.filter`` and ``SpecifierSet.filter``
to use ``Iterator`` instead of ``Iterable`` (:issue:`584`)
Bumps the python-packages group with 12 updates:
0.16.3
0.17.3
0.23.3
0.24.1
3.2.1
3.2.2
7.3.1
7.4.0
21.3
23.1
0.5.1
1.0.0
1.10.12
2.3.0
0.20.0
1.0.0
2022.1
2023.3
1.5.0
2.0.0
3.4.1.2120
3.5.2.2120
0.2.4
1.0.0
Updates
httpcore
from 0.16.3 to 0.17.3Release notes
Sourced from httpcore's releases.
Changelog
Sourced from httpcore's changelog.
Commits
327e8bd
Version 0.17.3 (#744)31a4a56
Support async cancellations. (#726)630e1e9
Bump coverage from 6.5.0 to 7.2.7 (#743)2014bc8
Bump pytest from 7.3.1 to 7.4.0 (#742)00717b3
Bump pytest-httpbin from 2.0.0rc1 to 2.0.0 (#740)8d31f0b
Graceful handling for HTTP/2 GoAway frames. (#733)aacdbb9
Add 'network_stream' extension to HTTP/2 connections (#729)eb5957d
Docstrings and minor refactor for HTTP/2. (#720)7548dd5
Add exceptions for invalid trace callback (#717)1d90b36
Refactor test import style (#713)Updates
httpx
from 0.23.3 to 0.24.1Release notes
Sourced from httpx's releases.
Changelog
Sourced from httpx's changelog.
Commits
fcf1bc7
Version 0.24.1 (#2702)ee432c0
Fix for gen-delims escaping behaviour in path/query/fragment (#2701)df5dbc0
Move configuration of tools to pyproject.toml (#2686)746eaef
Bump trio-typing from 0.7.0 to 0.8.0 (#2688)919da41
Bump types-chardet from 5.0.4.2 to 5.0.4.5 (#2689)028b9aa
Bump trustme from 0.9.0 to 1.0.0 (#2690)f98268a
Bump cryptography from 39.0.1 to 40.0.2 (#2692)1250a6f
Bump uvicorn from 0.20.0 to 0.22.0 (#2691)859038a
Add httpx-sse to Third Party Packages (#2683)32e2549
Fix ruff error and script (#2680)Updates
oauthlib
from 3.2.1 to 3.2.2Release notes
Sourced from oauthlib's releases.
Changelog
Sourced from oauthlib's changelog.
Commits
e6c33e4
Add 3.2.2 version4a4d65f
Merge pull request #832 from oauthlib/3.2.12e40b41
Merge pull request from GHSA-3pgj-pg6c-r5p7b4bdd09
Merge pull request #818 from dasm/master5d85c61
Fix IPV6 regex used to check redirect_urie514826
Add check of performance of ipv6 check9aa45aa
Restored test for port 0.f52f641
Merge branch 'oauthlib:master' into mastered0cb63
Removed unused query and fragmentd05c388
Removed dependency on splitUpdates
overrides
from 7.3.1 to 7.4.0Release notes
Sourced from overrides's releases.
Commits
3c13af1
version 7.4.0c186149
reformatc0d0b96
seems version dependantdb63ce5
again73d4162
try another skip8a8ebf2
try another file name00bb445
try another file name866d3cc
bwicd9bcc4a
remove 3.6 from matrix8f7e699
overrides union thingyUpdates
packaging
from 21.3 to 23.1Release notes
Sourced from packaging's releases.
... (truncated)
Changelog
Sourced from packaging's changelog.
Commits
d563917
Bump for releaseff2faca
Update changelog5b34465
Import underlying parser functions as an underscored variable (#663)7013a60
Replace spaces in platform names with underscores (#620)28c1a05
Relax typing of _key on _BaseVersion (#669)a6c9bc4
Handle prefix match with zeros at end of prefix correctly (#674)7722044
Parse raw metadata (#671)96d85be
Improve error for local version label with unsupported operators (#675)5d7f020
Update our linters (#676)67bd518
Delete print() from test_tags (#668)Updates
proxlist
from 0.5.1 to 1.0.0Release notes
Sourced from proxlist's releases.
Changelog
Sourced from proxlist's changelog.
Commits
fcd3dbd
chore: drop support for py3.7, justfileUpdates
pydantic
from 1.10.12 to 2.3.0Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
7f1a643
fix markdown in history (#7232)5fb914b
Prepare for 2.3.0 release (#7231)8edc9ba
Support get_validators (#7197)8467fdd
✅ Implementtzinfo.fromutc
method forTzInfo
inpydantic-core
(#7019)71deb09
fix #7228 (typo): docs invalidators.md
to correctvalidate_default
kwarg...d110b47
clean Model docstrings in JSON Schema (#7210)bd2b524
Fixconfig.defer_build
for serialization first cases (#7024)820da6f
DocumentBase64Str
andBase64Bytes
(#7192)caa7801
Make shadowing attributes a warning instead of an error (#7193)4d929eb
CorrectField(..., exclude: bool)
docs (#7214)Updates
python-dotenv
from 0.20.0 to 1.0.0Release notes
Sourced from python-dotenv's releases.
... (truncated)
Changelog
Sourced from python-dotenv's changelog.