Fixed static files handling for loops without .sendfile() support
[#5149](https://github.com/aio-libs/aiohttp/issues/5149) <https://github.com/aio-libs/aiohttp/issues/5149>_
aiohttp 3.7.1 release
Bugfixes
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>_
Fixed static files handling for loops without .sendfile() support
[#5149](https://github.com/aio-libs/aiohttp/issues/5149) <https://github.com/aio-libs/aiohttp/issues/5149>_
3.7.1 (2020-10-25)
Bugfixes
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>_
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)
Bumps aiohttp from 3.6.2 to 3.7.2.
Release notes
Sourced from aiohttp's releases.
... (truncated)
Changelog
Sourced from aiohttp's changelog.
... (truncated)
Commits
ac294fd
Bump to 3.7.25310dff
Fixed static files handling for loops without .sendfile() (#5157) (#5158)0a23595
Bump pygments from 2.7.1 to 2.7.2 (#5150)5d1a84f
Execute 'pre-commit run --all-files' on 'make fmt' (#5140) (#5142)fa56a44
Apply pyupgrade5b59f2c
Setup pre-commit hooks configuration (#5136) (#5137)2bcfb1f
Apply awesome re-assert library for regex assertions in tests (#5134)e797e24
Fix GitHub badge location in READMEfa8adad
Skip autosquash for forksce9ff45
Bump to 3.7.1Dependabot 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)