Skip to content

Commit f32bef4

Browse files
Merge branch '3.9' into dependabot/pip/3.9/sphinx-7.2.6
2 parents 0507341 + 50db681 commit f32bef4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1552
-622
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
merge_group:
45
push:
56
branches:
67
- 'master'
@@ -105,7 +106,7 @@ jobs:
105106
path: vendor/llhttp/build
106107
- name: Setup NodeJS
107108
if: steps.cache.outputs.cache-hit != 'true'
108-
uses: actions/setup-node@v2
109+
uses: actions/setup-node@v4
109110
with:
110111
node-version: '14'
111112
- name: Generate llhttp sources
@@ -136,7 +137,7 @@ jobs:
136137
- os: windows
137138
no-extensions: 'Y'
138139
include:
139-
- pyver: pypy-3.8
140+
- pyver: pypy-3.9
140141
no-extensions: 'Y'
141142
os: ubuntu
142143
experimental: false

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ repos:
7575
rev: 'v2.29.0'
7676
hooks:
7777
- id: pyupgrade
78-
args: ['--py36-plus']
78+
args: ['--py37-plus']
7979
- repo: https://github.com/PyCQA/flake8
8080
rev: '4.0.1'
8181
hooks:
@@ -92,3 +92,9 @@ repos:
9292
^[^/]+[.]rst$
9393
exclude: >-
9494
^CHANGES\.rst$
95+
- repo: https://github.com/codespell-project/codespell
96+
rev: v2.2.6
97+
hooks:
98+
- id: codespell
99+
additional_dependencies:
100+
- tomli

CHANGES.rst

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,92 @@
1010

1111
.. towncrier release notes start
1212
13+
3.9.0b1 (2023-11-03)
14+
====================
15+
16+
Features
17+
--------
18+
19+
- Added ``WebSocketResponse.get_extra_info()`` to access a protocol transport's extra info.
20+
21+
`#7078 <https://github.com/aio-libs/aiohttp/issues/7078>`_
22+
23+
- Allow ``link`` argument to be set to None/empty in HTTP 451 exception.
24+
25+
`#7689 <https://github.com/aio-libs/aiohttp/issues/7689>`_
26+
27+
- Added ``shutdown_timeout`` parameter to ``BaseRunner``, while
28+
deprecating ``shutdown_timeout`` parameter from ``BaseSite``. -- by :user:`Dreamsorcerer`
29+
30+
`#7718 <https://github.com/aio-libs/aiohttp/issues/7718>`_
31+
32+
33+
34+
Bugfixes
35+
--------
36+
37+
- Fixed keep-alive connections stopping a graceful shutdown. -- by :user:`Dreamsorcerer`
38+
39+
`#7718 <https://github.com/aio-libs/aiohttp/issues/7718>`_
40+
41+
- Fixed ``ClientWebSocketResponse.close_code`` being erroneously set to ``None`` when there are concurrent async tasks receiving data and closing the connection.
42+
43+
`#7306 <https://github.com/aio-libs/aiohttp/issues/7306>`_
44+
45+
- Changed ``AppKey`` warning to ``web.NotAppKeyWarning`` and stop it being displayed by default. -- by :user:`Dreamsorcerer`
46+
47+
`#7677 <https://github.com/aio-libs/aiohttp/issues/7677>`_
48+
49+
- Fix issue with insufficient HTTP method and version validation.
50+
51+
`#7700 <https://github.com/aio-libs/aiohttp/issues/7700>`_
52+
53+
- Add check to validate that absolute URIs have schemes.
54+
55+
`#7712 <https://github.com/aio-libs/aiohttp/issues/7712>`_
56+
57+
- Fix unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates.
58+
59+
`#7715 <https://github.com/aio-libs/aiohttp/issues/7715>`_
60+
61+
- Update parser to disallow invalid characters in header field names and stop accepting LF as a request line separator.
62+
63+
`#7719 <https://github.com/aio-libs/aiohttp/issues/7719>`_
64+
65+
- Fix py http parser not treating 204/304/1xx as an empty body
66+
67+
`#7755 <https://github.com/aio-libs/aiohttp/issues/7755>`_
68+
69+
- Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3
70+
71+
`#7756 <https://github.com/aio-libs/aiohttp/issues/7756>`_
72+
73+
- Fixed an issue when a client request is closed before completing a chunked payload -- by :user:`Dreamsorcerer`
74+
75+
`#7764 <https://github.com/aio-libs/aiohttp/issues/7764>`_
76+
77+
- Edge Case Handling for ResponseParser for missing reason value
78+
79+
`#7776 <https://github.com/aio-libs/aiohttp/issues/7776>`_
80+
81+
- Fixed a rare `RuntimeError: await wasn't used with future` exception -- by :user:`stalkerg`
82+
83+
`#7785 <https://github.com/aio-libs/aiohttp/issues/7785>`_
84+
85+
86+
87+
Improved Documentation
88+
----------------------
89+
90+
- Fix, update, and improve client exceptions documentation.
91+
92+
`#7733 <https://github.com/aio-libs/aiohttp/issues/7733>`_
93+
94+
95+
96+
----
97+
98+
1399
3.9.0b0 (2023-10-07)
14100
====================
15101

CHANGES/6533.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add HTTP method validation.

CHANGES/7078.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7306.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7689.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7700.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7712.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7797.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix increase in latency with small messages from websocket compression changes

0 commit comments

Comments
 (0)