Debian Codegraph @

NEWS

raw
1 Unreleased
2 ==========
3
4 0.40.4
5 ======
6
7 * Remove legacy setuptools configuration files (#1072)
8 * add 3.14 to supported versions (#1070)
9 * Emit warning on startup that eventlet is deprecated (#1065)
10 * Fix Python 3.14 on macOS (#1067)
11 * Workaround for #1068 (#1069)
12
13 0.40.3
14 ======
15
16 * [SECURITY] Fix request smuggling vulnerability by discarding trailers (#1062)
17
18 0.40.2
19 ======
20
21 * Fix compatibility issues identified with Python 3.14 on Linux (#1058)
22 * Make database removal safer with IF EXISTS (#1056)
23 * Prepare jobs and CI/CD for python 3.14 (#1055)
24
25 0.40.1
26 ======
27
28 * [fix] "Fix" fork() so it "works" on Python 3.13, and "works" better on older Python versions (#1047)
29 * Behavior change: threads created by eventlet.green.threading.Thread and threading.Thead will be visible across both modules if monkey patching was used. Previously each module would only list threads created in that module.
30 * Bug fix: after fork(), greenlet threads are correctly listed in threading.enumerate() if monkey patching was used. You should not use fork()-without-execve().
31 * [fix] Fix patching of removed URLopener class in Python 3.14 (#1053)
32 * [fix] ReferenceError except while count rlock (#1042)
33 * [fix] Replace deprecated datetime.utcfromtimestamp (#1050)
34 * [fix][env] Remove duplicate steps (#1049)
35 * [fix] Replace deprecated datetime.datetime.utcnow (#1046)
36
37 0.40.0
38 ======
39
40 * [fix] Fix ssl test when linking against openssl 3.5 (#1034)
41 * Drop support Python 3.8 (#1021)
42 * [doc] Various doc updates (#981, #1033)
43 * [env] Drop PyPy support (#1035 #1037)
44
45 0.39.1
46 ======
47
48 * [fix] Make LightQueue and derivatives subscriptable (#1027)
49
50 0.39.0
51 ======
52
53 * [fix] Remove monotonic from requirements (#1018)
54 * [fix] wsgi: Clean up some override logic (#999)
55 * [fix] Correct line lookup from inspect.getsourcelines() (#990)
56 * Drop support of Python 3.7 (#967)
57 * [fix] Calling eventlet.sleep(0) isn't really blocking, so don't blow up (#1015)
58
59
60 0.38.2
61 ======
62
63 * [fix] fix the monkey patching with the asyncio hub
64 * [feature] introduce the unmonkeypatching feature
65
66 0.38.1
67 ======
68
69 * [fix] Python 3.13: Use greenthread's dead state where possible (#1000)
70 * [env] bump github Actions (#996)
71 * [fix] Fix bug where asyncio hub didn't support multiple os threads (#995)
72
73 0.38.0
74 ======
75
76 * Python 3.13 Support (#988)
77 * [fix] wsgi: server MUST NOT send Content-Length/Transfer-Encoding header in response with a status code of 1xx, 204 or (2xx to CONNECT request) (#747)
78 * [fix] wsgi: No request Content-Length nor Transfer-Encoding implies no body (#985)
79
80
81 0.37.0
82 ======
83
84 * [fix] os.read/write waits until file descriptor is ready. https://github.com/eventlet/eventlet/pull/975
85 * [fix] Upgrade RLocks as last thing we do https://github.com/eventlet/eventlet/pull/970
86 * [security] drop header keys with underscores https://github.com/eventlet/eventlet/pull/959
87 * [doc] Various doc updates (Migration Guide, repair links, warns...)
88
89 0.36.1
90 ======
91
92 * [fix] eventlet.websocket is not always used from eventlet.wsgi, so do not assume eventlet.set_idle exists https://github.com/eventlet/eventlet/pull/949
93
94 0.36.0
95 ======
96
97 * [fix] Make sure asyncio hub doesn't use greendns for asyncio DNS APIs https://github.com/eventlet/eventlet/pull/938
98 * [fix] Make asyncio.to_thread work with the same semantics as normal asyncio https://github.com/eventlet/eventlet/pull/930
99 * [fix] Refactor congruence checks based on assert at runtime https://github.com/eventlet/eventlet/pull/932
100 * [tests] Run tests on macOS in CI, and some fixes to get it in reasonable state (#list https://github.com/eventlet/eventlet/pull/934
101 * [fix] Fix wsgi.server shutdown for in-flight requests https://github.com/eventlet/eventlet/pull/912
102 * [feature] Add debug convenience helpers - asyncio, threads https://github.com/eventlet/eventlet/pull/925
103 * [fix] Handle errors better. https://github.com/eventlet/eventlet/pull/923
104
105 0.35.2
106 ======
107
108 * [fix] Fix tool.setuptools/packages list https://github.com/eventlet/eventlet/pull/921
109 * [security] Dnspython 2.6.1 - Address DoS via the Tudoor mechanism (CVE-2023-29483) https://github.com/eventlet/eventlet/pull/916
110 * [doc] add asyncio into the doc hub page https://github.com/eventlet/eventlet/pull/918
111 * [clean] clean obsolete python 2 code from the ssl module https://github.com/eventlet/eventlet/pull/915
112 * [fix] Add get_server_info to db_pool.py https://github.com/eventlet/eventlet/pull/324
113 * [fix] wsgi: Handle Timeouts from applications https://github.com/eventlet/eventlet/pull/911
114 * [fix] shrinks window before connecting https://github.com/eventlet/eventlet/pull/905
115
116 0.35.1
117 ======
118
119 * [fix] Do not allow failed patching to stop execution https://github.com/eventlet/eventlet/pull/907
120
121 0.35.0
122 ======
123
124 * [doc] Basic documentation for asyncio migration https://github.com/eventlet/eventlet/pull/892
125 * [tests] add minimal linting https://github.com/eventlet/eventlet/pull/894
126 * [doc] officially host docs on readthedocs https://github.com/eventlet/eventlet/pull/899
127 * [fix] fix truncate size nullable https://github.com/eventlet/eventlet/pull/789
128 * [fix] Handle transport endpoint shutdown in conditions https://github.com/eventlet/eventlet/pull/884
129 * [fix] Rework reject_bad_requests option https://github.com/eventlet/eventlet/pull/890
130 * [fix] Fix NameError introduced by #826 https://github.com/eventlet/eventlet/pull/890
131 * [feature] Support awaiting GreenThread in an `async def` context https://github.com/eventlet/eventlet/pull/889
132 * [infra] Extend test cert to 2049 https://github.com/eventlet/eventlet/pull/643
133 * [feature] Asyncio hub support for Python 3.7 to 3.9 https://github.com/eventlet/eventlet/pull/886
134 * [infra] Modernize doc generation https://github.com/eventlet/eventlet/pull/880
135 * [fix] Fix bad exceptions handlings https://github.com/eventlet/eventlet/pull/883
136 * [feature] Support using asyncio coroutines from inside greenlets https://github.com/eventlet/eventlet/pull/877
137 * [removal] Remove deprecated CGIHTTPServer and SimpleHTTPServer https://github.com/eventlet/eventlet/pull/881
138 * [governance] Update maintenance goals https://github.com/eventlet/eventlet/pull/850
139 * [feature] Add an asyncio hub for eventlet https://github.com/eventlet/eventlet/pull/870
140
141 0.34.3
142 ======
143
144 * Fix security issue in the wsgi module related to RFC 9112 https://github.com/eventlet/eventlet/pull/826
145 * Fix segfault, a new approach for greening existing locks https://github.com/eventlet/eventlet/pull/866
146 * greendns: fix getaddrinfo parameter name https://github.com/eventlet/eventlet/pull/809
147 * Fix deprecation warning on ssl.PROTOCOL_TLS https://github.com/eventlet/eventlet/pull/872
148 * Pytests, fix error at teardown of TestGreenSocket.test_full_duplex https://github.com/eventlet/eventlet/pull/871
149 * Skip test which uses Py cgi module https://github.com/eventlet/eventlet/pull/865
150 * Drop old code based on python < 3.7
151
152 0.34.2
153 ======
154
155 * Allowing inheritance of GreenSSLSocket without overriding the __new_ method https://github.com/eventlet/eventlet/pull/796
156 * [bug] Fix broken API related to `__version__` removal https://github.com/eventlet/eventlet/pull/859
157 * [doc] Fix pypi broken link https://github.com/eventlet/eventlet/pull/857
158
159 0.34.1
160 ======
161
162 * [bug] Fix memory leak in greendns https://github.com/eventlet/eventlet/issues/810
163 * [infra] Fix OIDC authentication failure https://github.com/eventlet/eventlet/pull/855
164 * [bug] Ignore asyncore and asynchat for Python 3.12+ https://github.com/eventlet/eventlet/issues/804
165
166 0.34.0 (Not released on Pypi)
167 =============================
168
169 * Dropped support for Python 3.6 and earlier.
170 * Fix Python 3.13 compat by adding missing attibute '_is_main_interpreter' https://github.com/eventlet/eventlet/pull/847
171 * Add support of Python 3.12 https://github.com/eventlet/eventlet/pull/817
172 * Drop unmaintained and unused stdlib tests https://github.com/eventlet/eventlet/pull/820
173 * Fix tests and CI for Python 3.7 and higher https://github.com/eventlet/eventlet/pull/831 and https://github.com/eventlet/eventlet/pull/832
174 * Stop claiming to create universal wheels https://github.com/eventlet/eventlet/pull/841
175 * Fix green logging locks for Python versions <= 3.10 https://github.com/eventlet/eventlet/pull/754
176
177 0.33.3
178 ======
179 * dnspython 2.3.0 raised AttributeError: module 'dns.rdtypes' has no attribute 'ANY' https://github.com/eventlet/eventlet/issues/781
180
181 0.33.2
182 ======
183 * greenio: GreenPipe/fdopen() with 'a' in mode raised io.UnsupportedOperation: File or stream is not writable https://github.com/eventlet/eventlet/pull/758
184
185 0.33.1
186 ======
187 * Prevent deadlock on logging._lock https://github.com/eventlet/eventlet/issues/742
188
189 0.33.0
190 ======
191 * green.thread: unlocked Lock().release() should raise exception, returned True https://github.com/eventlet/eventlet/issues/697
192 * wsgi: Don't break HTTP framing during 100-continue handling https://github.com/eventlet/eventlet/pull/578
193 * Python 3.10 partial support https://github.com/eventlet/eventlet/pull/715
194 * greendns: Create a DNS resolver lazily rather than on import https://github.com/eventlet/eventlet/issues/462
195 * ssl: GreenSSLContext minimum_version and maximum_version setters https://github.com/eventlet/eventlet/issues/726
196
197 0.32.0
198 ======
199 * greendns: compatibility with dnspython v2 https://github.com/eventlet/eventlet/pull/722
200 * green.ssl: wrap_socket now accepts argument `ciphers` https://github.com/eventlet/eventlet/pull/718
201 * websocket: control frames are now always uncompressed per RFC 7692; Thanks to Onno Kortmann
202
203 0.31.1
204 ======
205 * ssl: py3.6 using client certificates raised ValueError: check_hostname needs server_hostname argument https://github.com/eventlet/eventlet/pull/705
206
207 0.31.0
208 ======
209 * IMPORTANT: websocket: Limit maximum uncompressed frame length to 8MiB https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2
210
211 0.30.3
212 ======
213 * wsgi: websocket ALREADY_HANDLED flag on corolocal
214 * green.ssl: Set suppress_ragged_eofs default based on SSLSocket defaults
215 * greenio: socket.connect_ex returned None instead of 0 on success
216 * Use _imp instead of deprecated imp
217
218 0.30.2
219 ======
220 * greendns: patch ssl to fix RecursionError on SSLContext.options.__set__ https://github.com/eventlet/eventlet/issues/677
221
222 0.30.1
223 ======
224 * patcher: built-in open() did not accept kwargs https://github.com/eventlet/eventlet/issues/683
225
226 0.30.0
227 ======
228 * pyopenssl tsafe module was deprecated and removed in v20.0.0
229 * deprecate pyevent hub
230 * Deprecate CPython 2.7 and 3.4 support
231 * py39: Add _at_fork_reinit method to Semaphores
232
233 0.29.1
234 ======
235 patcher: [py27] recursion error in pytest/python2.7 installing register_at_fork https://github.com/eventlet/eventlet/issues/660
236 patcher: monkey_patch(builtins=True) failed on py3 because `file` class is gone https://github.com/eventlet/eventlet/issues/541
237 don't crash on PyPy 7.0.0 https://github.com/eventlet/eventlet/pull/547
238 Only install monotonic on python2 https://github.com/eventlet/eventlet/pull/583
239
240 0.29.0
241 ======
242 * ssl: context wrapped listener fails accept() https://github.com/eventlet/eventlet/issues/651
243
244 0.28.1
245 ======
246 * Sorry, Eventlet was broken on Windows for versions 0.27-0.28
247 patcher: no os.register_at_fork on Windows (#654)
248 * Clean up TypeError in __del__
249
250 0.28.0
251 ======
252 * Always remove the right listener from the hub https://github.com/eventlet/eventlet/pull/645
253
254 0.27.0
255 ======
256 * patcher: Clean up threading book-keeping at fork when monkey-patched
257 * backdoor: handle disconnects better
258
259 0.26.1
260 ======
261 * pin dnspython <2.0.0 https://github.com/eventlet/eventlet/issues/619
262
263 0.26.0
264 ======
265 * Fix compatibility with SSLContext usage >= Python 3.7
266 * wsgi: Fix header capitalization on py3
267 * Fix #508: Py37 Deadlock ThreadPoolExecutor (#598)
268 * drop Python 3.4 support
269 * Fix misc SyntaxWarning's under Python 3.8
270 * Remove unnecessary assignment in _recv_loop (#601)
271
272 0.25.2
273 ======
274 * green.ssl: redundant set_nonblocking() caused SSLWantReadError
275
276 0.25.1
277 ======
278 * wsgi (tests): Stop using deprecated cgi.parse_qs() to support Python 3.8; Thanks to Miro Hrončok
279 * os: Add workaround to `open` for pathlib on py 3.7; Thanks to David Szotten
280
281 0.25.0
282 ======
283 * wsgi: Only send 100 Continue response if no response has been sent yet; Thanks to Tim Burke
284 * wsgi: Return 400 on negative Content-Length request headers; Thanks to Tim Burke
285 * Make a GreenPile with no spawn()s an empty sequence; Thanks to nat-goodspeed
286 * wsgi: fix Input.readlines when dealing with chunked input; Thanks to Tim Burke
287 * wsgi: fix Input.readline on Python 3; Thanks to Tim Burke
288 * wsgi: Stop replacing invalid UTF-8 on py3; Thanks to Tim Burke
289 * ssl: Fix compatibility with Python 3.7 ssl.SSLSocket; Thanks to Junyi
290 * reimport submodule as well in patcher.inject; Thanks to Junyi
291 * use Python 2 compatible syntax for keyword-only args; Thanks to nat-goodspeed
292 * wsgi: Catch and swallow IOErrors during discard(); Thanks to Tim Burke
293 * Fix for Python 3.7; Thanks to Marcel Plch
294 * Fix race that could cause using epolls as default hub even when platform does not support it; Thanks to Sergey Shepelev
295 * wsgi: make Expect 100-continue field-value case-insensitive; Thanks to Julien Kasarherou
296 * greenthread: optimize _exit_funcs getattr/del dance; Thanks to Alex Kashirin
297 * New benchmarks runner; Thanks to Sergey Shepelev
298 * ssl: fix connect to use monotonic clock for timeout; Thanks to Sergey Shepelev
299
300 0.24.1
301 ======
302 * greendns: don't contact nameservers if one entry is returned from hosts file; Thanks to Daniel Alvarez
303
304 0.24.0
305 ======
306 * greendns: Fix infinite loop when UDP source address mismatch; Thanks to Lon Hohberger
307 * greendns: Fix bad ipv6 comparison; Thanks to Lon Hohberger
308 * wsgi: Use byte strings on py2 and unicode strings on py3; Thanks to Tim Burke
309 * pools: put to empty pool would block sometimes; Thanks to Sam Merritt
310 * greendns: resolving over TCP produced ValueError; Thanks to Jaume Marhuenda
311 * support.greendns: ImportError when dns.rdtypes was imported before eventlet; Thanks to Jaume Marhuenda
312 * greendns: full comment lines were not skipped; Thanks to nat-goodspeed
313 * Drop support for Python3.3; Python2.6 and python-epoll package
314 * external dependencies for six, monotonic, dnspython; Thanks to nat-goodspeed
315 * wsgi: Don't strip all Unicode whitespace from headers on py3; Thanks to Tim Burke
316
317 0.23.0
318 ======
319 * green.threading: current_thread() did not see new monkey-patched threads; Thanks to Jake Tesler
320 * tpool: exception in tpool-ed call leaked memory via backtrace
321 * wsgi: latin-1 encoding dance for environ[PATH_INFO]
322
323 0.22.1
324 ======
325 * Fixed issue installing excess enum34 on Python3.4+ (rebuild with updated setuptools)
326 * event: Event.wait() timeout=None argument to be compatible with upstream CPython
327 * greendns: Treat /etc/hosts entries case-insensitive; Thanks to Ralf Haferkamp
328
329
330 0.22.0
331 ======
332 * convenience: (SO_REUSEPORT) socket.error is not OSError on Python 2; Thanks to JacoFourie@github
333 * convenience: SO_REUSEPORT is not available on WSL platform (Linux on Windows)
334 * convenience: skip SO_REUSEPORT for bind on random port (0)
335 * dns: reading /etc/hosts raised DeprecationWarning for universal lines on Python 3.4+; Thanks to Chris Kerr
336 * green.openssl: Drop OpenSSL.rand support; Thanks to Haikel Guemar
337 * green.subprocess: keep CalledProcessError identity; Thanks to Linbing@github
338 * greendns: be explicit about expecting bytes from sock.recv; Thanks to Matt Bennett
339 * greendns: early socket.timeout was breaking IO retry loops
340 * GreenSocket.accept does not notify_open; Thanks to orishoshan
341 * patcher: set locked RLocks' owner only when patching existing locks; Thanks to Quan Tian
342 * patcher: workaround for monotonic "no suitable implementation"; Thanks to Geoffrey Thomas
343 * queue: empty except was catching too much
344 * socket: context manager support; Thanks to Miguel Grinberg
345 * support: update monotonic 1.3 (5c0322dc559bf)
346 * support: upgrade bundled dnspython to 1.16.0 (22e9de1d7957e) https://github.com/eventlet/eventlet/issues/427
347 * websocket: fd leak when client did not close connection properly; Thanks to Konstantin Enchant
348 * websocket: support permessage-deflate extension; Thanks to Costas Christofi and Peter Kovary
349 * wsgi: close idle connections (also applies to websockets)
350 * wsgi: deprecated options are one step closer to removal
351 * wsgi: handle remote connection resets; Thanks to Stefan Nica
352
353 0.21.0
354 ======
355 * New timeout error API: .is_timeout=True on exception object
356 It's now easy to test if network error is transient and retry is appropriate.
357 Please spread the word and invite other libraries to support this interface.
358 * hubs: use monotonic clock by default (bundled package); Thanks to Roman Podoliaka and Victor Stinner
359 * dns: EVENTLET_NO_GREENDNS option is back, green is still default
360 * dns: hosts file was consulted after nameservers
361 * ssl: RecursionError on Python3.6+; Thanks to justdoit0823@github and Gevent developers
362 * wsgi: log_output=False was not disabling startup and accepted messages
363 * greenio: Fixed OSError: [WinError 10038] Socket operation on nonsocket
364 * dns: EAI_NODATA was removed from RFC3493 and FreeBSD
365 * green.select: fix mark_as_closed() wrong number of args
366 * green.zmq: socket.{recv,send}_* signatures did not match recent upstream pyzmq
367 * New feature: Add zipkin tracing to eventlet
368 * db_pool: proxy Connection.set_isolation_level()
369 * green.zmq: support RCVTIMEO (receive timeout)
370 * green.profile: Python3 compatibility; Thanks to Artur Stawiarski
371 * support: upgrade bundled six to 1.10 (dbfbfc818e3d)
372 * python3.6: http.client.request support chunked_encoding
373
374 0.20.1
375 ======
376 * dns: try unqualified queries as top level
377 * test_import_patched_defaults bended to play with pyopenssl>=16.1.0
378 * Explicit environ flag for importing eventlet.__version__ without ignoring import errors
379 * Type check Semaphore, GreenPool arguments; Thanks to Matthew D. Pagel
380
381 0.20.0
382 ======
383 * IMPORTANT: removed select.poll() function
384 * DNS resolving is always green with dnspython bundled in
385 * greenio: only trampoline when we block
386 * convenience: listen() sets SO_REUSEPORT when available; Thanks to Zhengwei Gao
387 * ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None"
388 * greenio: _recv_loop behaviour with recv_into on closed sock
389 * ipv6: getaddrinfo would fail with scope index
390 * green.zmq: Support {send,recv}_{string,json,pyobj} wrappers
391 * greendns: Return answers from /etc/hosts despite nameserver errors
392 * patcher: fixed green existing locks fail (Python3)
393 * Add DAGPool, a dependency-driven greenthread pool
394 * wsgi: Unix socket address representation; Thanks to Samuel Merritt
395 * tpool: isolate internal socket from default timeout; Thanks to Alex Villacís Lasso
396 * wsgi: only skip Content-Type and Content-Length headers (GH-327)
397 * wsgi: 400 on blank Content-Length headers (GH-334)
398 * greenio: makefile related pypy socket ref counting
399 * ssl: Fix recv_into blocking when reading chunks of data
400 * websocket: support Gunicorn environ['gunicorn.socket']
401
402 0.19.0
403 ======
404 * ssl: IMPORTANT DoS FIX do_handshake_connect=False in server accept(); Thanks to Garth Mollett
405 * patcher: patch existing threading locks; Thanks to Alexis Lee
406 * green.urllib2: missing patched ssl module; Thanks to Collin RM Stocks
407 * wsgi: environ[headers_raw] tuple of unmodified name: value pairs
408 * test against modern pyopenssl 16.0.0 for Python 2.7+; Thanks to Victor Stinner
409 * wsgi: document compatibility with python `logging`
410 * Minor grammatical improvements and typo fixes to the docs; Thanks to Steven Erenst
411
412 0.18.4
413 ======
414 * wsgi: change TCP_NODELAY to TCP_QUICKACK, ignore socket error when not available
415
416 0.18.3
417 ======
418 * wsgi: Use buffered writes - fixes partial socket.send without custom
419 writelines(); Github issue #295
420 * wsgi: TCP_NODELAY enabled by default
421
422 0.18.2
423 ======
424 * wsgi: Fix data loss on partial writes (socket.send); Thanks to Jakub Stasiak
425
426 0.18.1
427 ======
428 * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1
429 * patcher: Fix AttributeError in subprocess communicate()
430 * greenio: Fix "TypeError: an integer is required" in sendto()
431
432 0.18.0
433 ======
434 * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1
435 * greenio: Fixed a bug that could cause send() to start an endless loop on
436 ENOTCONN; Thanks to Seyeong Kim
437 * wsgi: Fixed UNIX socket address being trimmed in "wsgi starting" log; Thanks
438 to Ihar Hrachyshka
439 * ssl: Ported eventlet.green.OpenSSL to Python 3; Thanks to Victor Stinner
440 * greenio: Made read() support buflen=-1 and added readall() (Python 3);
441 Thanks to David Szotten
442 * wsgi: Made the error raised in case of chunk read failures more precise (this
443 should be backwards compatible as the new exception class,
444 wsgi.ChunkReadError, is a subclass of ValueError which was being used there
445 before); Thanks to Samuel Merritt
446 * greenio: Fixed socket.recv() sometimes returning str instead of bytes on
447 Python 3; Thanks to Janusz Harkot
448 * wsgi: Improved request body discarding
449 * websocket: Fixed TypeError on empty websocket message (Python 3); Thanks to
450 Fukuchi Daisuke
451 * subprocess: Fixed universal_newlines support
452 * wsgi: Output of 0-byte chunks is now suppressed; Thanks to Samuel Merritt
453 * Improved the documentation; Thanks to Ramakrishnan G, ashutosh-mishra and
454 Azhar Hussain
455 * greenio: Changed GreenFileIO.write() (Python 3) to always write all data to
456 match the behavior on Python 2; Thanks to Victor Stinner
457 * subprocess: Fixed missing subprocess.mswindows attribute on Python 3.5;
458 Thanks to Josh VanderLinden
459 * ssl/monkey patching: Fixed a bug that would cause merely importing eventlet
460 to monkey patch the ssl module; Thanks to David Szotten
461 * documentation: Added support for building plain text documentation; thanks
462 to Levente Polyak
463 * greenio: Fixed handling blocking IO errors in various GreenSocket methods;
464 Thanks to Victor Stinner
465 * greenio: Fixed GreenPipe ignoring the bufsize parameter on Python 2; Thanks
466 to Phus Lu
467 * backdoor: Added Unix and IPv6 socket support; Thanks to Eric Urban
468
469 Backwards incompatible:
470
471 * monkey patching: The following select methods and selector classes are now
472 removed, instead of being left in their respective modules after patching
473 even though they are not green (this also fixes HTTPServer.serve_forever()
474 blocking whole process on Python 3):
475
476 * select.poll
477 * select.epoll
478 * select.devpoll
479 * select.kqueue
480 * select.kevent
481 * selectors.PollSelector
482 * selectors.EpollSelector
483 * selectors.DevpollSelector
484 * selectors.KqueueSelector
485
486 Additionally selectors.DefaultSelector points to a green SelectSelector
487
488 * greenio: Fixed send() to no longer behave like sendall() which makes it
489 consistent with Python standard library and removes a source of very subtle
490 errors
491
492 0.17.4
493 ======
494 * ssl: incorrect initalization of default context; Thanks to stuart-mclaren
495
496 0.17.3
497 ======
498 * green.thread: Python3.3+ fixes; Thanks to Victor Stinner
499 * Semaphore.acquire() accepts timeout=-1; Thanks to Victor Stinner
500
501 0.17.2
502 ======
503 * wsgi: Provide python logging compatibility; Thanks to Sean Dague
504 * greendns: fix premature connection closing in DNS proxy; Thanks to Tim Simmons
505 * greenio: correct fd close; Thanks to Antonio Cuni and Victor Sergeyev
506 * green.ssl: HTTPS client Python 2.7.9+ compatibility
507 * setup: tests.{isolated,manual} polluted top-level packages
508
509 0.17.1
510 ======
511 * greendns: fix dns.name import and Python3 compatibility
512
513 0.17
514 ====
515 * Full Python3 compatibility; Thanks to Jakub Stasiak
516 * greendns: IPv6 support, improved handling of /etc/hosts; Thanks to Floris Bruynooghe
517 * tpool: make sure we return results during killall; Thanks to David Szotten
518 * semaphore: Don't hog a semaphore if someone else is waiting for it; Thanks to Shaun Stanworth
519 * green.socket: create_connection() was wrapping all exceptions in socket.error; Thanks to Donagh McCabe
520 * Make sure SSL retries are done using the exact same data buffer; Thanks to Lior Neudorfer
521 * greenio: shutdown already closed sockets without error; Thanks to David Szotten
522
523 0.16.1
524 ======
525 * Wheel build 0.16.0 incorrectly shipped removed module eventlet.util.
526
527 0.16.0
528 ======
529 * Fix SSL socket wrapping and Python 2.7.9 compatibility; Thanks to Jakub Stasiak
530 * Fix monkey_patch() on Python 3; Thanks to Victor Stinner
531 * Fix "maximum recursion depth exceeded in GreenSocket.__del__"; Thanks to Jakub Stasiak
532 * db_pool: BaseConnectionPool.clear updates .current_size #139; Thanks to Andrey Gubarev
533 * Fix __str__ method on the TimeoutExpired exception class.; Thanks to Tomaz Muraus
534 * hubs: drop Twisted support
535 * Removed deprecated modules: api, most of coros, pool, proc, processes and util
536 * Improved Python 3 compatibility (including patch by raylu); Thanks to Jakub Stasiak
537 * Allow more graceful shutdown of wsgi server; Thanks to Stuart McLaren
538 * wsgi.input: Make send_hundred_continue_headers() a public API; Thanks to Tushar Gohad
539 * tpool: Windows compatibility, fix ResourceWarning. Thanks to Victor Stinner
540 * tests: Fix timers not cleaned up on MySQL test skips; Thanks to Corey Wright
541
542 0.15.2
543 ======
544 * greenio: fixed memory leak, introduced in 0.15.1; Thanks to Michael Kerrin, Tushar Gohad
545 * wsgi: Support optional headers w/ "100 Continue" responses; Thanks to Tushar Gohad
546
547 0.15.1
548 ======
549 * greenio: Fix second simultaneous read (parallel paramiko issue); Thanks to Jan Grant, Michael Kerrin
550 * db_pool: customizable connection cleanup function; Thanks to Avery Fay
551
552 0.15
553 ====
554 * Python3 compatibility -- **not ready yet**; Thanks to Astrum Kuo, Davanum Srinivas, Jakub Stasiak, Victor Sergeyev
555 * coros: remove Actor which was deprecated in 2010-01
556 * saranwrap: remove saranwrap which was deprecated in 2010-02
557 * PyPy compatibility fixes; Thanks to Dmitriy Kruglyak, Jakub Stasiak
558 * green.profile: accumulate results between runs; Thanks to Zhang Hua
559 * greenthread: add .unlink() method; Thanks to Astrum Kuo
560 * packaging: Generate universal wheels; Thanks to Jakub Stasiak
561 * queue: Make join not wait if there are no unfinished tasks; Thanks to Jakub Stasiak
562 * tpool: proxy __enter__, __exit__ fixes Bitbucket-158; Thanks to Eric Urban
563 * websockets: Add websockets13 support; handle lack of Upgrade header; Thanks to Edward George
564 * wsgi: capitalize_response_headers option
565
566 0.14
567 ====
568 * wsgi: handle connection socket timeouts; Thanks to Paul Oppenheim
569 * wsgi: close timed out client connections
570 * greenio: socket pypy compatibility; Thanks to Alex Gaynor
571 * wsgi: env['wsgi.input'] was returning 1 byte strings; Thanks to Eric Urban
572 * green.ssl: fix NameError; Github #17; Thanks to Jakub Stasiak
573 * websocket: allow "websocket" in lowercase in Upgrade header; Compatibility with current Google Chrome; Thanks to Dmitry Orlov
574 * wsgi: allow minimum_chunk_size to be overriden on a per request basis; Thanks to David Goetz
575 * wsgi: configurable socket_timeout
576
577 0.13
578 ====
579 * hubs: kqueue support! Thanks to YAMAMOTO Takashi, Edward George
580 * greenio: Fix AttributeError on MacOSX; Bitbucket #136; Thanks to Derk Tegeler
581 * green: subprocess: Fix subprocess.communicate() block on Python 2.7; Thanks to Edward George
582 * green: select: ensure that hub can .wait() at least once before timeout; Thanks to YAMAMOTO Takashi
583 * tpool: single request queue to avoid deadlocks; Bitbucket pull request 31,32; Thanks to Edward George
584 * zmq: pyzmq 13.x compatibility; Thanks to Edward George
585 * green: subprocess: Popen.wait() accepts new `timeout` kwarg; Python 3.3 and RHEL 6.1 compatibility
586 * hubs: EVENTLET_HUB can point to external modules; Thanks to Edward George
587 * semaphore: support timeout for acquire(); Thanks to Justin Patrin
588 * support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2); Thanks to Edward George
589 * Travis continous integration; Thanks to Thomas Grainger, Jakub Stasiak
590 * wsgi: minimum_chunk_size of last Server altered all previous (global variable); Thanks to Jakub Stasiak
591 * doc: hubs: Point to the correct function in exception message; Thanks to Floris Bruynooghe
592
593 0.12
594 ====
595 * zmq: Fix 100% busy CPU in idle after .bind(PUB) (thanks to Geoff Salmon)
596 * greenio: Fix socket.settimeout() did not switch back to blocking mode (thanks to Peter Skirko)
597 * greenio: socket.dup() made excess fcntl syscalls (thanks to Peter Portante)
598 * setup: Remove legacy --without-greenlet option and unused httplib2 dependency (thanks to Thomas Grainger)
599 * wsgi: environ[REMOTE_PORT], also available in log_format, log accept event (thanks to Peter Portante)
600 * tests: Support libzmq 3.0 SNDHWM option (thanks to Geoff Salmon)
601
602 0.11
603 ====
604 * ssl: Fix 100% busy CPU in socket.sendall() (thanks to Raymon Lu)
605 * zmq: Return linger argument to Socket.close() (thanks to Eric Windisch)
606 * tests: SSL tests were always skipped due to bug in skip_if_no_ssl decorator
607
608 0.10
609 ====
610 * greenio: Fix relative seek() (thanks to AlanP)
611 * db_pool: Fix pool.put() TypeError with min_size > 1 (thanks to Jessica Qi)
612 * greenthread: Prevent infinite recursion with linking to current greenthread (thanks to Edward George)
613 * zmq: getsockopt(EVENTS) wakes correct threads (thanks to Eric Windisch)
614 * wsgi: Handle client disconnect while sending response (thanks to Clay Gerrard)
615 * hubs: Ensure that new hub greenlet is parent of old one (thanks to Edward George)
616 * os: Fix waitpid() returning (0, 0) (thanks to Vishvananda Ishaya)
617 * tpool: Add set_num_threads() method to set the number of tpool threads (thanks to David Ibarra)
618 * threading, zmq: Fix Python 2.5 support (thanks to Floris Bruynooghe)
619 * tests: tox configuration for all supported Python versions (thanks to Floris Bruynooghe)
620 * tests: Fix zmq._QueueLock test in Python2.6
621 * tests: Fix patcher_test on Darwin (/bin/true issue) (thanks to Edward George)
622 * tests: Skip SSL tests when not available (thanks to Floris Bruynooghe)
623 * greenio: Remove deprecated GreenPipe.xreadlines() method, was broken anyway
624
625 0.9.17
626 ======
627 * ZeroMQ support calling send and recv from multiple greenthreads (thanks to Geoff Salmon)
628 * SSL: unwrap() sends data, and so it needs trampolining (#104 thanks to Brandon Rhodes)
629 * hubs.epolls: Fix imports for exception handler (#123 thanks to Johannes Erdfelt)
630 * db_pool: Fix .clear() when min_size > 0
631 * db_pool: Add MySQL's insert_id() method (thanks to Peter Scott)
632 * db_pool: Close connections after timeout, fix get-after-close race condition with using TpooledConnectionPool (thanks to Peter Scott)
633 * threading monkey patch fixes (#115 thanks to Johannes Erdfelt)
634 * pools: Better accounting of current_size in pools.Pool (#91 thanks to Brett Hoerner)
635 * wsgi: environ['RAW_PATH_INFO'] with request path as received from client (thanks to dweimer)
636 * wsgi: log_output flag (thanks to Juan Manuel Garcia)
637 * wsgi: Limit HTTP header size (thanks to Gregory Holt)
638 * wsgi: Configurable maximum URL length (thanks to Tomas Sedovic)
639
640 0.9.16
641 ======
642 * SO_REUSEADDR now correctly set.
643
644 0.9.15
645 ======
646 * ZeroMQ support without an explicit hub now implemented! Thanks to Zed Shaw for the patch.
647 * zmq module supports the NOBLOCK flag, thanks to rfk. (#76)
648 * eventlet.wsgi has a debug flag which can be set to false to not send tracebacks to the client (per redbo's request)
649 * Recursive GreenPipe madness forestalled by Soren Hansen (#77)
650 * eventlet.green.ssl no longer busywaits on send()
651 * EEXIST ignored in epoll hub (#80)
652 * eventlet.listen's behavior on Windows improved, thanks to Nick Vatamaniuc (#83)
653 * Timeouts raised within tpool.execute are propagated back to the caller (thanks again to redbo for being the squeaky wheel)
654
655 0.9.14
656 ======
657 * Many fixes to the ZeroMQ hub, which now requires version 2.0.10 or later. Thanks to Ben Ford.
658 * ZeroMQ hub no longer depends on pollhub, and thus works on Windows (thanks, Alexey Borzenkov)
659 * Better handling of connect errors on Windows, thanks again to Alexey Borzenkov.
660 * More-robust Event delivery, thanks to Malcolm Cleaton
661 * wsgi.py now distinguishes between an empty query string ("") and a non-existent query string (no entry in environ).
662 * wsgi.py handles ipv6 correctly (thanks, redbo)
663 * Better behavior in tpool when you give it nonsensical numbers, thanks to R. Tyler for the nonsense. :)
664 * Fixed importing on 2.5 (#73, thanks to Ruijun Luo)
665 * Hub doesn't hold on to invalid fds (#74, thanks to Edward George)
666 * Documentation for eventlet.green.zmq, courtesy of Ben Ford
667
668 0.9.13
669 ======
670 * ZeroMQ hub, and eventlet.green.zmq make supersockets green. Thanks to Ben Ford!
671 * eventlet.green.MySQLdb added. It's an interface to MySQLdb that uses tpool to make it appear nonblocking
672 * Greenthread affinity in tpool. Each greenthread is assigned to the same thread when using tpool, making it easier to work with non-thread-safe libraries.
673 * Eventlet now depends on greenlet 0.3 or later.
674 * Fixed a hang when using tpool during an import causes another import. Thanks to mikepk for tracking that down.
675 * Improved websocket draft 76 compliance, thanks to Nick V.
676 * Rare greenthread.kill() bug fixed, which was probably brought about by a bugfix in greenlet 0.3.
677 * Easy_installing eventlet should no longer print an ImportError about greenlet
678 * Support for serving up SSL websockets, thanks to chwagssd for reporting #62
679 * eventlet.wsgi properly sets 'wsgi.url_scheme' environment variable to 'https', and 'HTTPS' to 'on' if serving over ssl
680 * Blocking detector uses setitimer on 2.6 or later, allowing for sub-second block detection, thanks to rtyler.
681 * Blocking detector is documented now, too
682 * socket.create_connection properly uses dnspython for nonblocking dns. Thanks to rtyler.
683 * Removed EVENTLET_TPOOL_DNS, nobody liked that. But if you were using it, install dnspython instead. Thanks to pigmej and gholt.
684 * Removed _main_wrapper from greenthread, thanks to Ambroff adding keyword arguments to switch() in 0.3!
685
686 0.9.12
687 ======
688 * Eventlet no longer uses the Twisted hub if Twisted is imported -- you must call eventlet.hubs.use_hub('twistedr') if you want to use it. This prevents strange race conditions for those who want to use both Twisted and Eventlet separately.
689 * Removed circular import in twistedr.py
690 * Added websocket multi-user chat example
691 * Not using exec() in green modules anymore.
692 * eventlet.green.socket now contains all attributes of the stdlib socket module, even those that were left out by bugs.
693 * Eventlet.wsgi doesn't call print anymore, instead uses the logfiles for everything (it used to print exceptions in one place).
694 * Eventlet.wsgi properly closes the connection when an error is raised
695 * Better documentation on eventlet.event.Event.send_exception
696 * Adding websocket.html to tarball so that you can run the examples without checking out the source
697
698 0.9.10
699 ======
700 * Greendns: if dnspython is installed, Eventlet will automatically use it to provide non-blocking DNS queries. Set the environment variable 'EVENTLET_NO_GREENDNS' if you don't want greendns but have dnspython installed.
701 * Full test suite passes on Python 2.7.
702 * Tests no longer depend on simplejson for >2.6.
703 * Potential-bug fixes in patcher (thanks to Schmir, and thanks to Hudson)
704 * Websockets work with query strings (thanks to mcarter)
705 * WSGI posthooks that get called after the request completed (thanks to gholt, nice docs, too)
706 * Blocking detector merged -- use it to detect places where your code is not yielding to the hub for > 1 second.
707 * tpool.Proxy can wrap callables
708 * Tweaked Timeout class to do something sensible when True is passed to the constructor
709
710 0.9.9
711 =====
712 * A fix for monkeypatching on systems with psycopg version 2.0.14.
713 * Improved support for chunked transfers in wsgi, plus a bunch of tests from schmir (ported from gevent by redbo)
714 * A fix for the twisted hub from Favo Yang
715
716 0.9.8
717 =====
718 * Support for psycopg2's asynchronous mode, from Daniele Varrazzo
719 * websocket module is now part of core Eventlet with 100% unit test coverage thanks to Ben Ford. See its documentation at http://eventlet.net/doc/modules/websocket.html
720 * Added wrap_ssl convenience method, meaning that we truly no longer need api or util modules.
721 * Multiple-reader detection code protects against the common mistake of having multiple greenthreads read from the same socket at the same time, which can be overridden if you know what you're doing.
722 * Cleaner monkey_patch API: the "all" keyword is no longer necessary.
723 * Pool objects have a more convenient constructor -- no more need to subclass
724 * amajorek's reimplementation of GreenPipe
725 * Many bug fixes, major and minor.
726
727 0.9.7
728 =====
729 * GreenPipe is now a context manager (thanks, quad)
730 * tpool.Proxy supports iterators properly
731 * bug fixes in eventlet.green.os (thanks, Benoit)
732 * much code cleanup from Tavis
733 * a few more example apps
734 * multitudinous improvements in Py3k compatibility from amajorek
735
736
737 0.9.6
738 =====
739 * new EVENTLET_HUB environment variable allows you to select a hub without code
740 * improved GreenSocket and GreenPipe compatibility with stdlib
741 * bugfixes on GreenSocket and GreenPipe objects
742 * code coverage increased across the board
743 * Queue resizing
744 * internal DeprecationWarnings largely eliminated
745 * tpool is now reentrant (i.e., can call tpool.execute(tpool.execute(foo)))
746 * more reliable access to unpatched modules reduces some race conditions when monkeypatching
747 * completely threading-compatible corolocal implementation, plus tests and enthusiastic adoption
748 * tests stomp on each others' toes less
749 * performance improvements in timers, hubs, greenpool
750 * Greenlet-aware profile module courtesy of CCP
751 * support for select26 module's epoll
752 * better PEP-8 compliance and import cleanup
753 * new eventlet.serve convenience function for easy TCP servers
754
755
756 0.9.5
757 =====
758 * support psycopg in db_pool
759 * smart patcher that does the right patching when importing without needing to understand plumbing of patched module
760 * patcher.monkey_patch() method replacing util.wrap_*
761 * monkeypatch threading support
762 * removed api.named
763 * imported timeout module from gevent, replace exc_after and with_timeout()
764 * replace call_after with spawn_after; this is so that users don't see the Timer class
765 * added cancel() method to GreenThread to support the semantic of "abort if not already in the middle of something"
766 * eventlet.green.os with patched read() and write(), etc
767 * moved stuff from wrap_pipes_with_coroutine_pipe into green.os
768 * eventlet.green.subprocess instead of eventlet.processes
769 * improve patching docs, explaining more about patcher and why you'd use eventlet.green
770 * better documentation on greenpiles
771 * deprecate api.py completely
772 * deprecate util.py completely
773 * deprecate saranwrap
774 * performance improvements in the hubs
775 * much better documentation overall
776 * new convenience functions: eventlet.connect and eventlet.listen. Thanks, Sergey!
777
778
779 0.9.4
780 =====
781 * Deprecated coros.Queue and coros.Channel (use queue.Queue instead)
782 * Added putting and getting methods to queue.Queue.
783 * Added eventlet.green.Queue which is a greened clone of stdlib Queue, along with stdlib tests.
784 * Changed __init__.py so that the version number is readable even if greenlet's not installed.
785 * Bugfixes in wsgi, greenpool
786
787 0.9.3
788 =====
789
790 * Moved primary api module to __init__ from api. It shouldn't be necessary to import eventlet.api anymore; import eventlet should do the same job.
791 * Proc module deprecated in favor of greenthread
792 * New module greenthread, with new class GreenThread.
793 * New GreenPool class that replaces pool.Pool.
794 * Deprecated proc module (use greenthread module instead)
795 * tpooled gethostbyname is configurable via environment variable EVENTLET_TPOOL_GETHOSTBYNAME
796 * Removed greenio.Green_fileobject and refactored the code therein to be more efficient. Only call makefile() on sockets now; makeGreenFile() is deprecated. The main loss here is that of the readuntil method. Also, Green_fileobjects used to be auto-flushing; flush() must be called explicitly now.
797 * Added epoll support
798 * Improved documentation across the board.
799 * New queue module, API-compatible with stdlib Queue
800 * New debug module, used for enabling verbosity within Eventlet that can help debug applications or Eventlet itself.
801 * Bugfixes in tpool, green.select, patcher
802 * Deprecated coros.execute (use eventlet.spawn instead)
803 * Deprecated coros.semaphore (use semaphore.Semaphore or semaphore.BoundedSemaphore instead)
804 * Moved coros.BoundedSemaphore to semaphore.BoundedSemaphore
805 * Moved coros.Semaphore to semaphore.Semaphore
806 * Moved coros.event to event.Event
807 * Deprecated api.tcp_listener, api.connect_tcp, api.ssl_listener
808 * Moved get_hub, use_hub, get_default_hub from eventlet.api to eventlet.hubs
809 * Renamed libevent hub to pyevent.
810 * Removed previously-deprecated features tcp_server, GreenSSL, erpc, and trap_errors.
811 * Removed saranwrap as an option for making db connections nonblocking in db_pool.
812
813 0.9.2
814 =====
815
816 * Bugfix for wsgi.py where it was improperly expecting the environ variable to be a constant when passed to the application.
817 * Tpool.py now passes its tests on Windows.
818 * Fixed minor performance issue in wsgi.
819
820 0.9.1
821 =====
822
823 * PyOpenSSL is no longer required for Python 2.6: use the eventlet.green.ssl module. 2.5 and 2.4 still require PyOpenSSL.
824 * Cleaned up the eventlet.green packages and their associated tests, this should result in fewer version-dependent bugs with these modules.
825 * PyOpenSSL is now fully wrapped in eventlet.green.OpenSSL; using it is therefore more consistent with using other green modules.
826 * Documentation on using SSL added.
827 * New green modules: ayncore, asynchat, SimpleHTTPServer, CGIHTTPServer, ftplib.
828 * Fuller thread/threading compatibility: patching threadlocal with corolocal so coroutines behave even more like threads.
829 * Improved Windows compatibility for tpool.py
830 * With-statement compatibility for pools.Pool objects.
831 * Refactored copyrights in the files, added LICENSE and AUTHORS files.
832 * Added support for logging x-forwarded-for header in wsgi.
833 * api.tcp_server is now deprecated, will be removed in a future release.
834 * Added instructions on how to generate coverage reports to the documentation.
835 * Renamed GreenFile to Green_fileobject, to better reflect its purpose.
836 * Deprecated erpc method in tpool.py
837 * Bug fixes in: wsgi.py, twistedr.py, poll.py, greenio.py, util.py, select.py, processes.py, selects.py
838
839 0.9.0
840 =====
841
842 * Full-duplex sockets (simultaneous readers and writers in the same process).
843 * Remove modules that distract from the core mission of making it straightforward to write event-driven networking apps:
844 httpd, httpc, channel, greenlib, httpdate, jsonhttp, logutil
845 * Removed test dependency on sqlite, using nose instead.
846 * Marked known-broken tests using nose's mechanism (most of these are not broken but are simply run in the incorrect context, such as threading-related tests that are incompatible with the libevent hub).
847 * Remove copied code from python standard libs (in tests).
848 * Added eventlet.patcher which can be used to import "greened" modules.
849
850 0.8.16
851 ======
852 * GreenSSLObject properly masks ZeroReturnErrors with an empty read; with unit test.
853 * Fixed 2.6 SSL compatibility issue.
854
855 0.8.15
856 ======
857
858 * GreenSSL object no longer converts ZeroReturnErrors into empty reads, because that is more compatible with the underlying SSLConnection object.
859 * Fixed issue caused by SIGCHLD handler in processes.py
860 * Stopped supporting string exceptions in saranwrap and fixed a few test failures.
861
862 0.8.14
863 ======
864 * Fixed some more Windows compatibility problems, resolving EVT-37 :
865 http://jira.secondlife.com/browse/EVT-37
866 * waiting() method on Pool class, which was lost when the Pool implementation
867 replaced CoroutinePool.
868
869 0.8.13
870 ======
871 * 2.6 SSL compatibility patch by Marcus Cavanaugh.
872 * Added greenlet and pyopenssl as dependencies in setup.py.
873
874 0.8.12
875 ======
876
877 * The ability to resize() pools of coroutines, which was lost when the
878 Pool implementation replaced CoroutinePool.
879 * Fixed Cesar's issue with SSL connections, and furthermore did a
880 complete overhaul of SSL handling in eventlet so that it's much closer
881 to the behavior of the built-in libraries. In particular, users of
882 GreenSSL sockets must now call shutdown() before close(), exactly
883 like SSL.Connection objects.
884 * A small patch that makes Eventlet work on Windows. This is the first
885 release of Eventlet that works on Windows.
886
887 0.8.11
888 ======
889
890 Eventlet can now run on top of twisted reactor. Twisted-based hub is enabled automatically if
891 twisted.internet.reactor is imported. It is also possible to "embed" eventlet into a twisted
892 application via eventlet.twistedutil.join_reactor. See the examples for details.
893
894 A new package, eventlet.twistedutil, is added that makes integration of twisted and eventlet
895 easier. It has block_on function that allows to wait for a Deferred to fire and it wraps
896 twisted's Protocol in a synchronous interface. This is similar to and is inspired by Christopher
897 Armstrong's corotwine library. Thanks to Dan Pascu for reviewing the package.
898
899 Another new package, eventlet.green, was added to provide some of the standard modules
900 that are fixed not to block other greenlets. This is an alternative to monkey-patching
901 the socket, which is impossible to do if you are running twisted reactor.
902 The package includes socket, httplib, urllib2.
903
904 Much of the core functionality has been refactored and cleaned up, including the removal
905 of eventlet.greenlib. This means that it is now possible to use plain greenlets without
906 modification in eventlet, and the subclasses of greenlet instead of the old
907 eventlet.greenlib.GreenletContext. Calling eventlet.api.get_hub().switch() now checks to
908 see whether the current greenlet has a "switch_out" method and calls it if so, providing the
909 same functionality that the GreenletContext.swap_out used to. The swap_in behavior can be
910 duplicated by overriding the switch method, and the finalize functionality can be duplicated
911 by having a try: finally: block around the greenlet's main implementation. The eventlet.backdoor
912 module has been ported to this new scheme, although it's signature had to change slightly so
913 existing code that used the backdoor will have to be modified.
914
915 A number of bugs related to improper scheduling of switch calls has been fixed.
916 The fixed functions and classes include api.trampoline, api.sleep, coros.event,
917 coros.semaphore, coros.queue.
918
919 Many methods of greenio.GreenSocket were fixed to make its behavior more like that of a regular
920 socket. Thanks to Marcin Bachry for fixing GreenSocket.dup to preserve the timeout.
921
922 Added proc module which provides an easy way to subscribe to coroutine's results. This makes
923 it easy to wait for a single greenlet or for a set of greenlets to complete.
924
925 wsgi.py now supports chunked transfer requests (patch by Mike Barton)
926
927 The following modules were deprecated or removed because they were broken:
928 hubs.nginx, hubs.libev, support.pycurls, support.twisteds, cancel method of coros.event class
929
930 The following classes are still present but will be removed in the future version:
931 - channel.channel (use coros.Channel)
932 - coros.CoroutinePool (use pool.Pool)
933
934 saranwrap.py now correctly closes the child process when the referring object is deleted,
935 received some fixes to its detection of child process death, now correctly deals with the in
936 keyword, and it is now possible to use coroutines in a non-blocking fashion in the child process.
937
938 Time-based expiry added to db_pool. This adds the ability to expire connections both by idleness
939 and also by total time open. There is also a connection timeout option.
940
941 A small bug in httpd's error method was fixed.
942
943 Python 2.3 is no longer supported.
944
945 A number of tests was added along with a script to run all of them for all the configurations.
946 The script generates an html page with the results.
947
948 Thanks to Brian Brunswick for investigation of popen4 badness (eventlet.process)
949 Thanks to Marcus Cavanaugh for pointing out some coros.queue(0) bugs.
950
951 The twisted integration as well as many other improvements were funded by AG Projects (http://ag-projects.com), thanks!
952
953 0.8.x
954 =====
955
956 Fix a CPU leak that would cause the poll hub to consume 100% CPU in certain conditions, for example the echoserver example. (Donovan Preston)
957
958 Fix the libev hub to match libev's callback signature. (Patch by grugq)
959
960 Add a backlog argument to api.tcp_listener (Patch by grugq)
961
962 0.7.x
963 =====
964
965 Fix a major memory leak when using the libevent or libev hubs. Timers were not being removed from the hub after they fired. (Thanks Agusto Becciu and the grugq). Also, make it possible to call wrap_socket_with_coroutine_socket without using the threadpool to make dns operations non-blocking (Thanks the grugq).
966
967 It's now possible to use eventlet's SSL client to talk to eventlet's SSL server. (Thanks to Ryan Williams)
968
969 Fixed a major CPU leak when using select hub. When adding a descriptor to the hub, entries were made in all three dictionaries, readers, writers, and exc, even if the callback is None. Thus every fd would be passed into all three lists when calling select regardless of whether there was a callback for that event or not. When reading the next request out of a keepalive socket, the socket would come back as ready for writing, the hub would notice the callback is None and ignore it, and then loop as fast as possible consuming CPU.
970
971 0.6.x
972 =====
973
974 Fixes some long-standing bugs where sometimes failures in accept() or connect() would cause the coroutine that was waiting to be double-resumed, most often resulting in SwitchingToDeadGreenlet exceptions as well as weird tuple-unpacking exceptions in the CoroutinePool main loop.
975
976 0.6.1: Added eventlet.tpool.killall. Blocks until all of the threadpool threads have been told to exit and join()ed. Meant to be used to clean up the threadpool on exit or if calling execv. Used by Spawning.
977
978 0.5.x
979 =====
980
981 "The Pycon 2008 Refactor": The first release which incorporates libevent support. Also comes with significant refactoring and code cleanup, especially to the eventlet.wsgi http server. Docstring coverage is much higher and there is new extensive documentation: http://wiki.secondlife.com/wiki/Eventlet/Documentation
982
983 The point releases of 0.5.x fixed some bugs in the wsgi server, most notably handling of Transfer-Encoding: chunked; previously, it would happily send chunked encoding to clients which asked for HTTP/1.0, which isn't legal.
984
985 0.2
986 =====
987
988 Initial re-release of forked linden branch.