Sourced from click's releases.
8.1.8
This is the Click 8.1.8 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/click/8.1.8/ Changes: https://click.palletsprojects.com/en/stable/changes/#version-8-1-8 Milestone https://github.com/pallets/click/milestones/23?closed=1
- Fix an issue with type hints for
click.open_file()
. #2717- Fix issue where error message for invalid
click.Path
displays on multiple lines. #2697- Fixed issue that prevented a default value of
""
from being displayed in the help for an option. #2500- The test runner handles stripping color consistently on Windows. #2705
- Show correct value for flag default when using
default_map
. #2632- Fix
click.echo(color=...)
passingcolor
to coloroma so it can be forced on Windows. #2606.- More robust bash version check, fixing problem on Windows with git-bash. #2638
- Cache the help option generated by the
help_option_names
setting to respect its eagerness. #2811- Replace uses of
os.system
withsubprocess.Popen
. #1476- Exceptions generated during a command will use the context's
color
setting when being displayed. #2193- Error message when defining option with invalid name is more descriptive. #2452
- Refactor code generating default
--help
option to deduplicate code. #2563- Test
CLIRunner
resets patched_compat.should_strip_ansi
. #2732
Sourced from click's changelog.
Version 8.1.8
Unreleased
- Fix an issue with type hints for
click.open_file()
. :issue:2717
- Fix issue where error message for invalid
click.Path
displays on multiple lines. :issue:2697
- Fixed issue that prevented a default value of
""
from being displayed in the help for an option. :issue:2500
- The test runner handles stripping color consistently on Windows. :issue:
2705
- Show correct value for flag default when using
default_map
. :issue:2632
- Fix
click.echo(color=...)
passingcolor
to coloroma so it can be forced on Windows. :issue:2606
.
934813e
release version 8.1.8c23223b
Add links to third-party projects enhancing Click (#2815)822d4fd
Add links to third-party projects8e7bed0
Break up arguments section (#2586)3241541
Remove some typing hints.bed0377
remove test pypi6534590
update dev dependenciesb1e392e
fix typosfdc6b02
Fix missing reset in isolation function (#2733)ffd43e9
Fixed missing reset on _compat.should_strip_ansi.Sourced from urllib3's releases.
2.3.0
🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Features
- Added
HTTPResponse.shutdown()
to stop any ongoing or future reads for a specific response. It callsshutdown(SHUT_RD)
on the underlying socket. This feature was sponsored by LaunchDarkly. (urllib3/urllib3#2868)- Added support for JavaScript Promise Integration on Emscripten. This enables more efficient WebAssembly requests and streaming, and makes it possible to use in Node.js if you launch it as node
--experimental-wasm-stack-switching
. (urllib3/urllib3#3400)- Added the
proxy_is_tunneling
property toHTTPConnection
andHTTPSConnection
. (urllib3/urllib3#3285)- Added pickling support to
NewConnectionError
andNameResolutionError
. (urllib3/urllib3#3480)Bugfixes
- Fixed an issue in debug logs where the HTTP version was rendering as "HTTP/11" instead of "HTTP/1.1". (urllib3/urllib3#3489)
Deprecations and Removals
- Removed support for Python 3.8. (urllib3/urllib3#3492)
Full Changelog: https://github.com/urllib3/urllib3/compare/2.2.3...2.3.0
Sourced from urllib3's changelog.
2.3.0 (2024-12-22)
Features
- Added
HTTPResponse.shutdown()
to stop any ongoing or future reads for a specific response. It callsshutdown(SHUT_RD)
on the underlying socket. This feature wassponsored by LaunchDarkly <https://opencollective.com/urllib3/contributions/815307>
. ([#2868](https://github.com/urllib3/urllib3/issues/2868) <https://github.com/urllib3/urllib3/issues/2868>
)- Added support for JavaScript Promise Integration on Emscripten. This enables more efficient WebAssembly requests and streaming, and makes it possible to use in Node.js if you launch it as
node --experimental-wasm-stack-switching
. ([#3400](https://github.com/urllib3/urllib3/issues/3400) <https://github.com/urllib3/urllib3/issues/3400>
__)- Added the
proxy_is_tunneling
property toHTTPConnection
andHTTPSConnection
. ([#3285](https://github.com/urllib3/urllib3/issues/3285) <https://github.com/urllib3/urllib3/issues/3285>
__)- Added pickling support to
NewConnectionError
andNameResolutionError
. ([#3480](https://github.com/urllib3/urllib3/issues/3480) <https://github.com/urllib3/urllib3/issues/3480>
__)Bugfixes
- Fixed an issue in debug logs where the HTTP version was rendering as "HTTP/11" instead of "HTTP/1.1". (
[#3489](https://github.com/urllib3/urllib3/issues/3489) <https://github.com/urllib3/urllib3/issues/3489>
__)Deprecations and Removals
- Removed support for Python 3.8. (
[#3492](https://github.com/urllib3/urllib3/issues/3492) <https://github.com/urllib3/urllib3/issues/3492>
__)
2f68c53
Release 2.3.0f7bcf69
Add HTTPResponse.shutdown() to stop blocking reads (#3527)e942249
Update .readthedocs.yml addressing a deprecation (#3534)905549d
Upgrade Python pre-commit tools (#3529)716d834
Fix PyPI publish with Core metadata 2.4 (#3531)7ab935c
Address zizmor issues181357e
Bump Quart to fix CI (#3524)0e7e0df
Start testing with Python 3.14d67d09b
Bump mypy version20032ec
Drop unneeded dependency pins and a warning filter