Skip to content

Commit 82fbe64

Browse files
[PR #8324/4a8fd08b backport][3.9] Add missing changelogs (#8330)
**This is a backport of PR #8324 as merged into master (4a8fd08).** Co-authored-by: Sam Bull <[email protected]>
1 parent 01df7ec commit 82fbe64

File tree

1 file changed

+265
-0
lines changed

1 file changed

+265
-0
lines changed

CHANGES.rst

+265
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,271 @@ Misc
19261926

19271927

19281928

1929+
----
1930+
1931+
1932+
3.4.4 (2018-09-05)
1933+
==================
1934+
1935+
- Fix installation from sources when compiling toolkit is not available (`#3241 <https://github.com/aio-libs/aiohttp/pull/3241>`_)
1936+
1937+
1938+
1939+
1940+
----
1941+
1942+
1943+
3.4.3 (2018-09-04)
1944+
==================
1945+
1946+
- Add ``app.pre_frozen`` state to properly handle startup signals in sub-applications. (`#3237 <https://github.com/aio-libs/aiohttp/pull/3237>`_)
1947+
1948+
1949+
1950+
1951+
----
1952+
1953+
1954+
3.4.2 (2018-09-01)
1955+
==================
1956+
1957+
- Fix ``iter_chunks`` type annotation (`#3230 <https://github.com/aio-libs/aiohttp/pull/3230>`_)
1958+
1959+
1960+
1961+
1962+
----
1963+
1964+
1965+
3.4.1 (2018-08-28)
1966+
==================
1967+
1968+
- Fix empty header parsing regression. (`#3218 <https://github.com/aio-libs/aiohttp/pull/3218>`_)
1969+
- Fix BaseRequest.raw_headers doc. (`#3215 <https://github.com/aio-libs/aiohttp/pull/3215>`_)
1970+
- Fix documentation building on ReadTheDocs (`#3221 <https://github.com/aio-libs/aiohttp/pull/3221>`_)
1971+
1972+
1973+
1974+
1975+
----
1976+
1977+
1978+
3.4.0 (2018-08-25)
1979+
==================
1980+
1981+
Features
1982+
--------
1983+
1984+
- Add type hints (`#3049 <https://github.com/aio-libs/aiohttp/pull/3049>`_)
1985+
- Add ``raise_for_status`` request parameter (`#3073 <https://github.com/aio-libs/aiohttp/pull/3073>`_)
1986+
- Add type hints to HTTP client (`#3092 <https://github.com/aio-libs/aiohttp/pull/3092>`_)
1987+
- Minor server optimizations (`#3095 <https://github.com/aio-libs/aiohttp/pull/3095>`_)
1988+
- Preserve the cause when `HTTPException` is raised from another exception. (`#3096 <https://github.com/aio-libs/aiohttp/pull/3096>`_)
1989+
- Add `close_boundary` option in `MultipartWriter.write` method. Support streaming (`#3104 <https://github.com/aio-libs/aiohttp/pull/3104>`_)
1990+
- Added a ``remove_slash`` option to the ``normalize_path_middleware`` factory. (`#3173 <https://github.com/aio-libs/aiohttp/pull/3173>`_)
1991+
- The class `AbstractRouteDef` is importable from `aiohttp.web`. (`#3183 <https://github.com/aio-libs/aiohttp/pull/3183>`_)
1992+
1993+
1994+
Bugfixes
1995+
--------
1996+
1997+
- Prevent double closing when client connection is released before the
1998+
last ``data_received()`` callback. (`#3031 <https://github.com/aio-libs/aiohttp/pull/3031>`_)
1999+
- Make redirect with `normalize_path_middleware` work when using url encoded paths. (`#3051 <https://github.com/aio-libs/aiohttp/pull/3051>`_)
2000+
- Postpone web task creation to connection establishment. (`#3052 <https://github.com/aio-libs/aiohttp/pull/3052>`_)
2001+
- Fix ``sock_read`` timeout. (`#3053 <https://github.com/aio-libs/aiohttp/pull/3053>`_)
2002+
- When using a server-request body as the `data=` argument of a client request, iterate over the content with `readany` instead of `readline` to avoid `Line too long` errors. (`#3054 <https://github.com/aio-libs/aiohttp/pull/3054>`_)
2003+
- fix `UrlDispatcher` has no attribute `add_options`, add `web.options` (`#3062 <https://github.com/aio-libs/aiohttp/pull/3062>`_)
2004+
- correct filename in content-disposition with multipart body (`#3064 <https://github.com/aio-libs/aiohttp/pull/3064>`_)
2005+
- Many HTTP proxies has buggy keepalive support.
2006+
Let's not reuse connection but close it after processing every response. (`#3070 <https://github.com/aio-libs/aiohttp/pull/3070>`_)
2007+
- raise 413 "Payload Too Large" rather than raising ValueError in request.post()
2008+
Add helpful debug message to 413 responses (`#3087 <https://github.com/aio-libs/aiohttp/pull/3087>`_)
2009+
- Fix `StreamResponse` equality, now that they are `MutableMapping` objects. (`#3100 <https://github.com/aio-libs/aiohttp/pull/3100>`_)
2010+
- Fix server request objects comparison (`#3116 <https://github.com/aio-libs/aiohttp/pull/3116>`_)
2011+
- Do not hang on `206 Partial Content` response with `Content-Encoding: gzip` (`#3123 <https://github.com/aio-libs/aiohttp/pull/3123>`_)
2012+
- Fix timeout precondition checkers (`#3145 <https://github.com/aio-libs/aiohttp/pull/3145>`_)
2013+
2014+
2015+
Improved Documentation
2016+
----------------------
2017+
2018+
- Add a new FAQ entry that clarifies that you should not reuse response
2019+
objects in middleware functions. (`#3020 <https://github.com/aio-libs/aiohttp/pull/3020>`_)
2020+
- Add FAQ section "Why is creating a ClientSession outside of an event loop dangerous?" (`#3072 <https://github.com/aio-libs/aiohttp/pull/3072>`_)
2021+
- Fix link to Rambler (`#3115 <https://github.com/aio-libs/aiohttp/pull/3115>`_)
2022+
- Fix TCPSite documentation on the Server Reference page. (`#3146 <https://github.com/aio-libs/aiohttp/pull/3146>`_)
2023+
- Fix documentation build configuration file for Windows. (`#3147 <https://github.com/aio-libs/aiohttp/pull/3147>`_)
2024+
- Remove no longer existing lingering_timeout parameter of Application.make_handler from documentation. (`#3151 <https://github.com/aio-libs/aiohttp/pull/3151>`_)
2025+
- Mention that ``app.make_handler`` is deprecated, recommend to use runners
2026+
API instead. (`#3157 <https://github.com/aio-libs/aiohttp/pull/3157>`_)
2027+
2028+
2029+
Deprecations and Removals
2030+
-------------------------
2031+
2032+
- Drop ``loop.current_task()`` from ``helpers.current_task()`` (`#2826 <https://github.com/aio-libs/aiohttp/pull/2826>`_)
2033+
- Drop ``reader`` parameter from ``request.multipart()``. (`#3090 <https://github.com/aio-libs/aiohttp/pull/3090>`_)
2034+
2035+
2036+
2037+
2038+
----
2039+
2040+
2041+
3.3.2 (2018-06-12)
2042+
==================
2043+
2044+
- Many HTTP proxies has buggy keepalive support. Let's not reuse connection but
2045+
close it after processing every response. (`#3070 <https://github.com/aio-libs/aiohttp/pull/3070>`_)
2046+
2047+
- Provide vendor source files in tarball (`#3076 <https://github.com/aio-libs/aiohttp/pull/3076>`_)
2048+
2049+
2050+
2051+
2052+
----
2053+
2054+
2055+
3.3.1 (2018-06-05)
2056+
==================
2057+
2058+
- Fix ``sock_read`` timeout. (`#3053 <https://github.com/aio-libs/aiohttp/pull/3053>`_)
2059+
- When using a server-request body as the ``data=`` argument of a client request,
2060+
iterate over the content with ``readany`` instead of ``readline`` to avoid ``Line
2061+
too long`` errors. (`#3054 <https://github.com/aio-libs/aiohttp/pull/3054>`_)
2062+
2063+
2064+
2065+
2066+
----
2067+
2068+
2069+
3.3.0 (2018-06-01)
2070+
==================
2071+
2072+
Features
2073+
--------
2074+
2075+
- Raise ``ConnectionResetError`` instead of ``CancelledError`` on trying to
2076+
write to a closed stream. (`#2499 <https://github.com/aio-libs/aiohttp/pull/2499>`_)
2077+
- Implement ``ClientTimeout`` class and support socket read timeout. (`#2768 <https://github.com/aio-libs/aiohttp/pull/2768>`_)
2078+
- Enable logging when ``aiohttp.web`` is used as a program (`#2956 <https://github.com/aio-libs/aiohttp/pull/2956>`_)
2079+
- Add canonical property to resources (`#2968 <https://github.com/aio-libs/aiohttp/pull/2968>`_)
2080+
- Forbid reading response BODY after release (`#2983 <https://github.com/aio-libs/aiohttp/pull/2983>`_)
2081+
- Implement base protocol class to avoid a dependency from internal
2082+
``asyncio.streams.FlowControlMixin`` (`#2986 <https://github.com/aio-libs/aiohttp/pull/2986>`_)
2083+
- Cythonize ``@helpers.reify``, 5% boost on macro benchmark (`#2995 <https://github.com/aio-libs/aiohttp/pull/2995>`_)
2084+
- Optimize HTTP parser (`#3015 <https://github.com/aio-libs/aiohttp/pull/3015>`_)
2085+
- Implement ``runner.addresses`` property. (`#3036 <https://github.com/aio-libs/aiohttp/pull/3036>`_)
2086+
- Use ``bytearray`` instead of a list of ``bytes`` in websocket reader. It
2087+
improves websocket message reading a little. (`#3039 <https://github.com/aio-libs/aiohttp/pull/3039>`_)
2088+
- Remove heartbeat on closing connection on keepalive timeout. The used hack
2089+
violates HTTP protocol. (`#3041 <https://github.com/aio-libs/aiohttp/pull/3041>`_)
2090+
- Limit websocket message size on reading to 4 MB by default. (`#3045 <https://github.com/aio-libs/aiohttp/pull/3045>`_)
2091+
2092+
2093+
Bugfixes
2094+
--------
2095+
2096+
- Don't reuse a connection with the same URL but different proxy/TLS settings
2097+
(`#2981 <https://github.com/aio-libs/aiohttp/pull/2981>`_)
2098+
- When parsing the Forwarded header, the optional port number is now preserved.
2099+
(`#3009 <https://github.com/aio-libs/aiohttp/pull/3009>`_)
2100+
2101+
2102+
Improved Documentation
2103+
----------------------
2104+
2105+
- Make Change Log more visible in docs (`#3029 <https://github.com/aio-libs/aiohttp/pull/3029>`_)
2106+
- Make style and grammar improvements on the FAQ page. (`#3030 <https://github.com/aio-libs/aiohttp/pull/3030>`_)
2107+
- Document that signal handlers should be async functions since aiohttp 3.0
2108+
(`#3032 <https://github.com/aio-libs/aiohttp/pull/3032>`_)
2109+
2110+
2111+
Deprecations and Removals
2112+
-------------------------
2113+
2114+
- Deprecate custom application's router. (`#3021 <https://github.com/aio-libs/aiohttp/pull/3021>`_)
2115+
2116+
2117+
Misc
2118+
----
2119+
2120+
- #3008, #3011
2121+
2122+
2123+
2124+
2125+
----
2126+
2127+
2128+
3.2.1 (2018-05-10)
2129+
==================
2130+
2131+
- Don't reuse a connection with the same URL but different proxy/TLS settings
2132+
(`#2981 <https://github.com/aio-libs/aiohttp/pull/2981>`_)
2133+
2134+
2135+
2136+
2137+
----
2138+
2139+
2140+
3.2.0 (2018-05-06)
2141+
==================
2142+
2143+
Features
2144+
--------
2145+
2146+
- Raise ``TooManyRedirects`` exception when client gets redirected too many
2147+
times instead of returning last response. (`#2631 <https://github.com/aio-libs/aiohttp/pull/2631>`_)
2148+
- Extract route definitions into separate ``web_routedef.py`` file (`#2876 <https://github.com/aio-libs/aiohttp/pull/2876>`_)
2149+
- Raise an exception on request body reading after sending response. (`#2895 <https://github.com/aio-libs/aiohttp/pull/2895>`_)
2150+
- ClientResponse and RequestInfo now have real_url property, which is request
2151+
url without fragment part being stripped (`#2925 <https://github.com/aio-libs/aiohttp/pull/2925>`_)
2152+
- Speed up connector limiting (`#2937 <https://github.com/aio-libs/aiohttp/pull/2937>`_)
2153+
- Added and links property for ClientResponse object (`#2948 <https://github.com/aio-libs/aiohttp/pull/2948>`_)
2154+
- Add ``request.config_dict`` for exposing nested applications data. (`#2949 <https://github.com/aio-libs/aiohttp/pull/2949>`_)
2155+
- Speed up HTTP headers serialization, server micro-benchmark runs 5% faster
2156+
now. (`#2957 <https://github.com/aio-libs/aiohttp/pull/2957>`_)
2157+
- Apply assertions in debug mode only (`#2966 <https://github.com/aio-libs/aiohttp/pull/2966>`_)
2158+
2159+
2160+
Bugfixes
2161+
--------
2162+
2163+
- expose property `app` for TestClient (`#2891 <https://github.com/aio-libs/aiohttp/pull/2891>`_)
2164+
- Call on_chunk_sent when write_eof takes as a param the last chunk (`#2909 <https://github.com/aio-libs/aiohttp/pull/2909>`_)
2165+
- A closing bracket was added to `__repr__` of resources (`#2935 <https://github.com/aio-libs/aiohttp/pull/2935>`_)
2166+
- Fix compression of FileResponse (`#2942 <https://github.com/aio-libs/aiohttp/pull/2942>`_)
2167+
- Fixes some bugs in the limit connection feature (`#2964 <https://github.com/aio-libs/aiohttp/pull/2964>`_)
2168+
2169+
2170+
Improved Documentation
2171+
----------------------
2172+
2173+
- Drop ``async_timeout`` usage from documentation for client API in favor of
2174+
``timeout`` parameter. (`#2865 <https://github.com/aio-libs/aiohttp/pull/2865>`_)
2175+
- Improve Gunicorn logging documentation (`#2921 <https://github.com/aio-libs/aiohttp/pull/2921>`_)
2176+
- Replace multipart writer `.serialize()` method with `.write()` in
2177+
documentation. (`#2965 <https://github.com/aio-libs/aiohttp/pull/2965>`_)
2178+
2179+
2180+
Deprecations and Removals
2181+
-------------------------
2182+
2183+
- Deprecate Application.make_handler() (`#2938 <https://github.com/aio-libs/aiohttp/pull/2938>`_)
2184+
2185+
2186+
Misc
2187+
----
2188+
2189+
- #2958
2190+
2191+
2192+
2193+
19292194
----
19302195

19312196

0 commit comments

Comments
 (0)