Skip to content

Commit 4eef48a

Browse files
committed
Bump to 1.2.0
1 parent f7e2fac commit 4eef48a

File tree

3 files changed

+144
-158
lines changed

3 files changed

+144
-158
lines changed

CHANGES.rst

Lines changed: 1 addition & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGES
22
=======
33

4-
1.2.0 (XXXX-XX-XX)
4+
1.2.0 (2016-12-17)
55
------------------
66

77
- Extract `BaseRequest` from `web.Request`, introduce `web.Server`
@@ -55,162 +55,6 @@ CHANGES
5555
- Raise a `RuntimeError` when trying to change the status of the HTTP response
5656
after the headers have been sent #1480
5757

58-
-
59-
6058
- Fix bug with https proxy acquired cleanup #1340
6159

6260
- Use UTF-8 as the default encoding for multipart text parts #1484
63-
64-
-
65-
66-
-
67-
68-
-
69-
70-
-
71-
72-
-
73-
74-
-
75-
76-
1.1.6 (2016-11-28)
77-
------------------
78-
79-
- Fix `BodyPartReader.read_chunk` bug about returns zero bytes before
80-
`EOF` #1428
81-
82-
1.1.5 (2016-11-16)
83-
------------------
84-
85-
- Fix static file serving in fallback mode #1401
86-
87-
1.1.4 (2016-11-14)
88-
------------------
89-
90-
- Make `TestServer.make_url` compatible with `yarl.URL` #1389
91-
92-
- Generate informative exception on redirects from server which
93-
doesn't provide redirection headers #1396
94-
95-
96-
1.1.3 (2016-11-10)
97-
------------------
98-
99-
- Support *root* resources for sub-applications #1379
100-
101-
102-
1.1.2 (2016-11-08)
103-
------------------
104-
105-
- Allow starting variables with an underscore #1379
106-
107-
- Properly process UNIX sockets by gunicorn worker #1375
108-
109-
- Fix ordering for `FrozenList`
110-
111-
- Don't propagate pre and post signals to sub-application #1377
112-
113-
1.1.1 (2016-11-04)
114-
------------------
115-
116-
- Fix documentation generation #1120
117-
118-
1.1.0 (2016-11-03)
119-
------------------
120-
121-
- Drop deprecated `WSClientDisconnectedError` (BACKWARD INCOMPATIBLE)
122-
123-
- Use `yarl.URL` in client API. The change is 99% backward compatible
124-
but `ClientResponse.url` is an `yarl.URL` instance now. #1217
125-
126-
- Close idle keep-alive connections on shutdown #1222
127-
128-
- Modify regex in AccessLogger to accept underscore and numbers #1225
129-
130-
- Use `yarl.URL` in web server API. `web.Request.rel_url` and
131-
`web.Request.url` are added. URLs and templates are percent-encoded
132-
now. #1224
133-
134-
- Accept `yarl.URL` by server redirections #1278
135-
136-
- Return `yarl.URL` by `.make_url()` testing utility #1279
137-
138-
- Properly format IPv6 addresses by `aiohttp.web.run_app` #1139
139-
140-
- Use `yarl.URL` by server API #1288
141-
142-
* Introduce `resource.url_for()`, deprecate `resource.url()`.
143-
144-
* Implement `StaticResource`.
145-
146-
* Inherit `SystemRoute` from `AbstractRoute`
147-
148-
* Drop old-style routes: `Route`, `PlainRoute`, `DynamicRoute`,
149-
`StaticRoute`, `ResourceAdapter`.
150-
151-
- Revert `resp.url` back to `str`, introduce `resp.url_obj` #1292
152-
153-
- Raise ValueError if BasicAuth login has a ":" character #1307
154-
155-
- Fix bug when ClientRequest send payload file with opened as
156-
open('filename', 'r+b') #1306
157-
158-
- Enhancement to AccessLogger (pass *extra* dict) #1303
159-
160-
- Show more verbose message on import errors #1319
161-
162-
- Added save and load functionality for `CookieJar` #1219
163-
164-
- Added option on `StaticRoute` to follow symlinks #1299
165-
166-
- Force encoding of `application/json` content type to utf-8 #1339
167-
168-
- Fix invalid invocations of `errors.LineTooLong` #1335
169-
170-
- Websockets: Stop `async for` iteration when connection is closed #1144
171-
172-
- Ensure TestClient HTTP methods return a context manager #1318
173-
174-
- Raise `ClientDisconnectedError` to `FlowControlStreamReader` read function
175-
if `ClientSession` object is closed by client when reading data. #1323
176-
177-
- Document deployment without `Gunicorn` #1120
178-
179-
- Add deprecation warning for MD5 and SHA1 digests when used for fingerprint
180-
of site certs in TCPConnector. #1186
181-
182-
- Implement sub-applications #1301
183-
184-
- Don't inherit `web.Request` from `dict` but implement
185-
`MutableMapping` protocol.
186-
187-
- Implement frozen signals
188-
189-
- Don't inherit `web.Application` from `dict` but implement
190-
`MutableMapping` protocol.
191-
192-
- Support freezing for web applications
193-
194-
- Accept access_log parameter in `web.run_app`, use `None` to disable logging
195-
196-
- Don't flap `tcp_cork` and `tcp_nodelay` in regular request handling.
197-
`tcp_nodelay` is still enabled by default.
198-
199-
- Improve performance of web server by removing premature computing of
200-
Content-Type if the value was set by `web.Response` constructor.
201-
202-
While the patch boosts speed of trivial `web.Response(text='OK',
203-
content_type='text/plain)` very well please don't expect significant
204-
boost of your application -- a couple DB requests and business logic
205-
is still the main bottleneck.
206-
207-
- Boost performance by adding a custom time service #1350
208-
209-
- Extend `ClientResponse` with `content_type` and `charset`
210-
properties like in `web.Request`. #1349
211-
212-
- Disable aiodns by default #559
213-
214-
- Don't flap `tcp_cork` in client code, use TCP_NODELAY mode by default.
215-
216-
- Implement `web.Request.clone()` #1361

HISTORY.rst

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,145 @@
1+
1.1.6 (2016-11-28)
2+
------------------
3+
4+
- Fix `BodyPartReader.read_chunk` bug about returns zero bytes before
5+
`EOF` #1428
6+
7+
1.1.5 (2016-11-16)
8+
------------------
9+
10+
- Fix static file serving in fallback mode #1401
11+
12+
1.1.4 (2016-11-14)
13+
------------------
14+
15+
- Make `TestServer.make_url` compatible with `yarl.URL` #1389
16+
17+
- Generate informative exception on redirects from server which
18+
doesn't provide redirection headers #1396
19+
20+
21+
1.1.3 (2016-11-10)
22+
------------------
23+
24+
- Support *root* resources for sub-applications #1379
25+
26+
27+
1.1.2 (2016-11-08)
28+
------------------
29+
30+
- Allow starting variables with an underscore #1379
31+
32+
- Properly process UNIX sockets by gunicorn worker #1375
33+
34+
- Fix ordering for `FrozenList`
35+
36+
- Don't propagate pre and post signals to sub-application #1377
37+
38+
1.1.1 (2016-11-04)
39+
------------------
40+
41+
- Fix documentation generation #1120
42+
43+
1.1.0 (2016-11-03)
44+
------------------
45+
46+
- Drop deprecated `WSClientDisconnectedError` (BACKWARD INCOMPATIBLE)
47+
48+
- Use `yarl.URL` in client API. The change is 99% backward compatible
49+
but `ClientResponse.url` is an `yarl.URL` instance now. #1217
50+
51+
- Close idle keep-alive connections on shutdown #1222
52+
53+
- Modify regex in AccessLogger to accept underscore and numbers #1225
54+
55+
- Use `yarl.URL` in web server API. `web.Request.rel_url` and
56+
`web.Request.url` are added. URLs and templates are percent-encoded
57+
now. #1224
58+
59+
- Accept `yarl.URL` by server redirections #1278
60+
61+
- Return `yarl.URL` by `.make_url()` testing utility #1279
62+
63+
- Properly format IPv6 addresses by `aiohttp.web.run_app` #1139
64+
65+
- Use `yarl.URL` by server API #1288
66+
67+
* Introduce `resource.url_for()`, deprecate `resource.url()`.
68+
69+
* Implement `StaticResource`.
70+
71+
* Inherit `SystemRoute` from `AbstractRoute`
72+
73+
* Drop old-style routes: `Route`, `PlainRoute`, `DynamicRoute`,
74+
`StaticRoute`, `ResourceAdapter`.
75+
76+
- Revert `resp.url` back to `str`, introduce `resp.url_obj` #1292
77+
78+
- Raise ValueError if BasicAuth login has a ":" character #1307
79+
80+
- Fix bug when ClientRequest send payload file with opened as
81+
open('filename', 'r+b') #1306
82+
83+
- Enhancement to AccessLogger (pass *extra* dict) #1303
84+
85+
- Show more verbose message on import errors #1319
86+
87+
- Added save and load functionality for `CookieJar` #1219
88+
89+
- Added option on `StaticRoute` to follow symlinks #1299
90+
91+
- Force encoding of `application/json` content type to utf-8 #1339
92+
93+
- Fix invalid invocations of `errors.LineTooLong` #1335
94+
95+
- Websockets: Stop `async for` iteration when connection is closed #1144
96+
97+
- Ensure TestClient HTTP methods return a context manager #1318
98+
99+
- Raise `ClientDisconnectedError` to `FlowControlStreamReader` read function
100+
if `ClientSession` object is closed by client when reading data. #1323
101+
102+
- Document deployment without `Gunicorn` #1120
103+
104+
- Add deprecation warning for MD5 and SHA1 digests when used for fingerprint
105+
of site certs in TCPConnector. #1186
106+
107+
- Implement sub-applications #1301
108+
109+
- Don't inherit `web.Request` from `dict` but implement
110+
`MutableMapping` protocol.
111+
112+
- Implement frozen signals
113+
114+
- Don't inherit `web.Application` from `dict` but implement
115+
`MutableMapping` protocol.
116+
117+
- Support freezing for web applications
118+
119+
- Accept access_log parameter in `web.run_app`, use `None` to disable logging
120+
121+
- Don't flap `tcp_cork` and `tcp_nodelay` in regular request handling.
122+
`tcp_nodelay` is still enabled by default.
123+
124+
- Improve performance of web server by removing premature computing of
125+
Content-Type if the value was set by `web.Response` constructor.
126+
127+
While the patch boosts speed of trivial `web.Response(text='OK',
128+
content_type='text/plain)` very well please don't expect significant
129+
boost of your application -- a couple DB requests and business logic
130+
is still the main bottleneck.
131+
132+
- Boost performance by adding a custom time service #1350
133+
134+
- Extend `ClientResponse` with `content_type` and `charset`
135+
properties like in `web.Request`. #1349
136+
137+
- Disable aiodns by default #559
138+
139+
- Don't flap `tcp_cork` in client code, use TCP_NODELAY mode by default.
140+
141+
- Implement `web.Request.clone()` #1361
142+
1143
1.0.5 (2016-10-11)
2144
------------------
3145

aiohttp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '1.2.0a0'
1+
__version__ = '1.2.0'
22

33
# Deprecated, keep it here for a while for backward compatibility.
44
import multidict # noqa

0 commit comments

Comments
 (0)