Fixed a type error caused by the conditional import of Protocol.
[#5111](https://github.com/aio-libs/aiohttp/issues/5111) <https://github.com/aio-libs/aiohttp/issues/5111>_
Server doesn't send Content-Length for 1xx or 204
[#4901](https://github.com/aio-libs/aiohttp/issues/4901) <https://github.com/aio-libs/aiohttp/issues/4901>_
Fix a variable-shadowing bug causing ThreadedResolver.resolve to
return the resolved IP as the hostname in each record, which prevented
validation of HTTPS connections.
[#5110](https://github.com/aio-libs/aiohttp/issues/5110) <https://github.com/aio-libs/aiohttp/issues/5110>_
Added annotations to all public attributes.
[#5115](https://github.com/aio-libs/aiohttp/issues/5115) <https://github.com/aio-libs/aiohttp/issues/5115>_
Ensure sending a zero byte file does not throw an exception
[#5124](https://github.com/aio-libs/aiohttp/issues/5124) <https://github.com/aio-libs/aiohttp/issues/5124>_
Fix a bug in web.run_app() about Python version checking on Windows
[#5127](https://github.com/aio-libs/aiohttp/issues/5127) <https://github.com/aio-libs/aiohttp/issues/5127>_
aiohttp 3.7.0 release
Features
Response headers are now prepared prior to running on_response_prepare hooks, directly before headers are sent to the client.
[#1958](https://github.com/aio-libs/aiohttp/issues/1958) <https://github.com/aio-libs/aiohttp/issues/1958>_
Add a quote_cookie option to CookieJar, a way to skip quotation wrapping of cookies containing special characters.
[#2571](https://github.com/aio-libs/aiohttp/issues/2571) <https://github.com/aio-libs/aiohttp/issues/2571>_
Call AccessLogger.log with the current exception available from sys.exc_info().
[#3557](https://github.com/aio-libs/aiohttp/issues/3557) <https://github.com/aio-libs/aiohttp/issues/3557>_
web.UrlDispatcher.add_routes and web.Application.add_routes return a list
of registered AbstractRoute instances. AbstractRouteDef.register (and all
subclasses) return a list of registered resources registered resource.
[#3866](https://github.com/aio-libs/aiohttp/issues/3866) <https://github.com/aio-libs/aiohttp/issues/3866>_
Added properties of default ClientSession params to ClientSession class so it is available for introspection
[#3882](https://github.com/aio-libs/aiohttp/issues/3882) <https://github.com/aio-libs/aiohttp/issues/3882>_
Don't cancel web handler on peer disconnection, raise OSError on reading/writing instead.
[#4080](https://github.com/aio-libs/aiohttp/issues/4080) <https://github.com/aio-libs/aiohttp/issues/4080>_
Implement BaseRequest.get_extra_info() to access a protocol transports' extra info.
[#4189](https://github.com/aio-libs/aiohttp/issues/4189) <https://github.com/aio-libs/aiohttp/issues/4189>_
Fix a variable-shadowing bug causing ThreadedResolver.resolve to return the resolved IP as the hostname in each record, which prevented validation of HTTPS connections. #5110
Ensure sending a zero byte file does not throw an exception #5124
Fix a bug in web.run_app() about Python version checking on Windows #5127
3.7.0 (2020-10-24)
Features
Response headers are now prepared prior to running on_response_prepare hooks, directly before headers are sent to the client. #1958
Add a quote_cookie option to CookieJar, a way to skip quotation wrapping of cookies containing special characters. #2571
Call AccessLogger.log with the current exception available from sys.exc_info(). #3557
web.UrlDispatcher.add_routes and web.Application.add_routes return a list of registered AbstractRoute instances. AbstractRouteDef.register (and all subclasses) return a list of registered resources registered resource. #3866
Added properties of default ClientSession params to ClientSession class so it is available for introspection #3882
Don't cancel web handler on peer disconnection, raise OSError on reading/writing instead. #4080
Implement BaseRequest.get_extra_info() to access a protocol transports' extra info. #4189
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps aiohttp from 3.6.2 to 3.7.1.
Release notes
Sourced from aiohttp's releases.
Changelog
Sourced from aiohttp's changelog.
Commits
fa8adad
Skip autosquash for forksce9ff45
Bump to 3.7.161c297a
[3.7] Fix a bug in web.run_app() about Python version checking on Windows (#5...6ae2751
[3.7] Ensure zero byte files can be sent (#5125) (#5129)e7dc844
Always require typing_extensions library (#5123)70d8677
[3.7] Return hostnames from ThreadedResolver (#5118) (#5121)0353589
[3.7] No Content-Length header for 1xx 204 (#5119) (#5120)77f17c7
Fix flaky test_when_timeout_smaller_second (#5117)2dfdde4
Annotate all attrs members (#5115)8d135d8
fix run_app typing (#4957) (#5114)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)