Add python-eventlet package to MOS 9.0 repository
[packages/trusty/python-eventlet.git] / python-eventlet / NEWS
1 0.18.4
2 ======
3 * wsgi: change TCP_NODELAY to TCP_QUICKACK, ignore socket error when not available
4
5 0.18.3
6 ======
7 * wsgi: Use buffered writes - fixes partial socket.send without custom
8   writelines(); Github issue #295
9 * wsgi: TCP_NODELAY enabled by default
10
11 0.18.2
12 ======
13 * wsgi: Fix data loss on partial writes (socket.send); Thanks to Jakub Stasiak
14
15 0.18.1
16 ======
17 * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1
18 * patcher: Fix AttributeError in subprocess communicate()
19 * greenio: Fix "TypeError: an integer is required" in sendto()
20
21 0.18.0
22 ======
23 * IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1
24 * greenio: Fixed a bug that could cause send() to start an endless loop on
25   ENOTCONN; Thanks to Seyeong Kim
26 * wsgi: Fixed UNIX socket address being trimmed in "wsgi starting" log; Thanks
27   to Ihar Hrachyshka
28 * ssl: Ported eventlet.green.OpenSSL to Python 3; Thanks to Victor Stinner
29 * greenio: Made read() support buflen=-1 and added readall() (Python 3);
30   Thanks to David Szotten
31 * wsgi: Made the error raised in case of chunk read failures more precise (this
32   should be backwards compatible as the new exception class,
33   wsgi.ChunkReadError, is a subclass of ValueError which was being used there
34   before); Thanks to Samuel Merritt
35 * greenio: Fixed socket.recv() sometimes returning str instead of bytes on
36   Python 3; Thanks to Janusz Harkot
37 * wsgi: Improved request body discarding
38 * websocket: Fixed TypeError on empty websocket message (Python 3); Thanks to
39   Fukuchi Daisuke
40 * subprocess: Fixed universal_newlines support
41 * wsgi: Output of 0-byte chunks is now suppressed; Thanks to Samuel Merritt
42 * Improved the documentation; Thanks to Ramakrishnan G, ashutosh-mishra and
43   Azhar Hussain
44 * greenio: Changed GreenFileIO.write() (Python 3) to always write all data to
45   match the behavior on Python 2; Thanks to Victor Stinner
46 * subprocess: Fixed missing subprocess.mswindows attribute on Python 3.5;
47   Thanks to Josh VanderLinden
48 * ssl/monkey patching: Fixed a bug that would cause merely importing eventlet
49   to monkey patch the ssl module; Thanks to David Szotten
50 * documentation: Added support for building plain text documentation; thanks
51   to Levente Polyak
52 * greenio: Fixed handling blocking IO errors in various GreenSocket methods;
53   Thanks to Victor Stinner
54 * greenio: Fixed GreenPipe ignoring the bufsize parameter on Python 2; Thanks
55   to Phus Lu
56 * backdoor: Added Unix and IPv6 socket support; Thanks to Eric Urban
57
58 Backwards incompatible:
59
60 * monkey patching: The following select methods and selector classes are now
61   removed, instead of being left in their respective modules after patching
62   even though they are not green (this also fixes HTTPServer.serve_forever()
63   blocking whole process on Python 3):
64
65   * select.poll
66   * select.epoll
67   * select.devpoll
68   * select.kqueue
69   * select.kevent
70   * selectors.PollSelector
71   * selectors.EpollSelector
72   * selectors.DevpollSelector
73   * selectors.KqueueSelector
74
75   Additionally selectors.DefaultSelector points to a green SelectSelector
76
77 * greenio: Fixed send() to no longer behave like sendall() which makes it
78   consistent with Python standard library and removes a source of very subtle
79   errors
80
81 0.17.4
82 ======
83 * ssl: incorrect initalization of default context; Thanks to stuart-mclaren
84
85 0.17.3
86 ======
87 * green.thread: Python3.3+ fixes; Thanks to Victor Stinner
88 * Semaphore.acquire() accepts timeout=-1; Thanks to Victor Stinner
89
90 0.17.2
91 ======
92 * wsgi: Provide python logging compatibility; Thanks to Sean Dague
93 * greendns: fix premature connection closing in DNS proxy; Thanks to Tim Simmons
94 * greenio: correct fd close; Thanks to Antonio Cuni and Victor Sergeyev
95 * green.ssl: HTTPS client Python 2.7.9+ compatibility
96 * setup: tests.{isolated,manual} polluted top-level packages
97
98 0.17.1
99 ======
100 * greendns: fix dns.name import and Python3 compatibility
101
102 0.17
103 ====
104 * Full Python3 compatibility; Thanks to Jakub Stasiak
105 * greendns: IPv6 support, improved handling of /etc/hosts; Thanks to Floris Bruynooghe
106 * tpool: make sure we return results during killall; Thanks to David Szotten
107 * semaphore: Don't hog a semaphore if someone else is waiting for it; Thanks to Shaun Stanworth
108 * green.socket: create_connection() was wrapping all exceptions in socket.error; Thanks to Donagh McCabe
109 * Make sure SSL retries are done using the exact same data buffer; Thanks to Lior Neudorfer
110 * greenio: shutdown already closed sockets without error; Thanks to David Szotten
111
112 0.16.1
113 ======
114 * Wheel build 0.16.0 incorrectly shipped removed module eventlet.util.
115
116 0.16.0
117 ======
118 * Fix SSL socket wrapping and Python 2.7.9 compatibility; Thanks to Jakub Stasiak
119 * Fix monkey_patch() on Python 3; Thanks to Victor Stinner
120 * Fix "maximum recursion depth exceeded in GreenSocket.__del__"; Thanks to Jakub Stasiak
121 * db_pool: BaseConnectionPool.clear updates .current_size #139; Thanks to Andrey Gubarev
122 * Fix __str__ method on the TimeoutExpired exception class.; Thanks to Tomaz Muraus
123 * hubs: drop Twisted support
124 * Removed deprecated modules: api, most of coros, pool, proc, processes and util
125 * Improved Python 3 compatibility (including patch by raylu); Thanks to Jakub Stasiak
126 * Allow more graceful shutdown of wsgi server; Thanks to Stuart McLaren
127 * wsgi.input: Make send_hundred_continue_headers() a public API; Thanks to Tushar Gohad
128 * tpool: Windows compatibility, fix ResourceWarning. Thanks to Victor Stinner
129 * tests: Fix timers not cleaned up on MySQL test skips; Thanks to Corey Wright
130
131 0.15.2
132 ======
133 * greenio: fixed memory leak, introduced in 0.15.1; Thanks to Michael Kerrin, Tushar Gohad
134 * wsgi: Support optional headers w/ "100 Continue" responses; Thanks to Tushar Gohad
135
136 0.15.1
137 ======
138 * greenio: Fix second simultaneous read (parallel paramiko issue); Thanks to Jan Grant, Michael Kerrin
139 * db_pool: customizable connection cleanup function; Thanks to Avery Fay
140
141 0.15
142 ====
143 * Python3 compatibility -- **not ready yet**; Thanks to Astrum Kuo, Davanum Srinivas, Jakub Stasiak, Victor Sergeyev
144 * coros: remove Actor which was deprecated in 2010-01
145 * saranwrap: remove saranwrap which was deprecated in 2010-02
146 * PyPy compatibility fixes; Thanks to Dmitriy Kruglyak, Jakub Stasiak
147 * green.profile: accumulate results between runs; Thanks to Zhang Hua
148 * greenthread: add .unlink() method; Thanks to Astrum Kuo
149 * packaging: Generate universal wheels; Thanks to Jakub Stasiak
150 * queue: Make join not wait if there are no unfinished tasks; Thanks to Jakub Stasiak
151 * tpool: proxy __enter__, __exit__ fixes Bitbucket-158; Thanks to Eric Urban
152 * websockets: Add websockets13 support; handle lack of Upgrade header; Thanks to Edward George
153 * wsgi: capitalize_response_headers option
154
155 0.14
156 ====
157 * wsgi: handle connection socket timeouts; Thanks to Paul Oppenheim
158 * wsgi: close timed out client connections
159 * greenio: socket pypy compatibility; Thanks to Alex Gaynor
160 * wsgi: env['wsgi.input'] was returning 1 byte strings; Thanks to Eric Urban
161 * green.ssl: fix NameError; Github #17; Thanks to Jakub Stasiak
162 * websocket: allow "websocket" in lowercase in Upgrade header; Compatibility with current Google Chrome; Thanks to Dmitry Orlov
163 * wsgi: allow minimum_chunk_size to be overriden on a per request basis; Thanks to David Goetz
164 * wsgi: configurable socket_timeout
165
166 0.13
167 ====
168 * hubs: kqueue support! Thanks to YAMAMOTO Takashi, Edward George
169 * greenio: Fix AttributeError on MacOSX; Bitbucket #136; Thanks to Derk Tegeler
170 * green: subprocess: Fix subprocess.communicate() block on Python 2.7; Thanks to Edward George
171 * green: select: ensure that hub can .wait() at least once before timeout; Thanks to YAMAMOTO Takashi
172 * tpool: single request queue to avoid deadlocks; Bitbucket pull request 31,32; Thanks to Edward George
173 * zmq: pyzmq 13.x compatibility; Thanks to Edward George
174 * green: subprocess: Popen.wait() accepts new `timeout` kwarg; Python 3.3 and RHEL 6.1 compatibility
175 * hubs: EVENTLET_HUB can point to external modules; Thanks to Edward George
176 * semaphore: support timeout for acquire(); Thanks to Justin Patrin
177 * support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2); Thanks to Edward George
178 * Travis continous integration; Thanks to Thomas Grainger, Jakub Stasiak
179 * wsgi: minimum_chunk_size of last Server altered all previous (global variable); Thanks to Jakub Stasiak
180 * doc: hubs: Point to the correct function in exception message; Thanks to Floris Bruynooghe
181
182 0.12
183 ====
184 * zmq: Fix 100% busy CPU in idle after .bind(PUB) (thanks to Geoff Salmon)
185 * greenio: Fix socket.settimeout() did not switch back to blocking mode (thanks to Peter Skirko)
186 * greenio: socket.dup() made excess fcntl syscalls (thanks to Peter Portante)
187 * setup: Remove legacy --without-greenlet option and unused httplib2 dependency (thanks to Thomas Grainger)
188 * wsgi: environ[REMOTE_PORT], also available in log_format, log accept event (thanks to Peter Portante)
189 * tests: Support libzmq 3.0 SNDHWM option (thanks to Geoff Salmon)
190
191 0.11
192 ====
193 * ssl: Fix 100% busy CPU in socket.sendall() (thanks to Raymon Lu)
194 * zmq: Return linger argument to Socket.close() (thanks to Eric Windisch)
195 * tests: SSL tests were always skipped due to bug in skip_if_no_ssl decorator
196
197 0.10
198 ====
199 * greenio: Fix relative seek() (thanks to AlanP)
200 * db_pool: Fix pool.put() TypeError with min_size > 1 (thanks to Jessica Qi)
201 * greenthread: Prevent infinite recursion with linking to current greenthread (thanks to Edward George)
202 * zmq: getsockopt(EVENTS) wakes correct threads (thanks to Eric Windisch)
203 * wsgi: Handle client disconnect while sending response (thanks to Clay Gerrard)
204 * hubs: Ensure that new hub greenlet is parent of old one (thanks to Edward George)
205 * os: Fix waitpid() returning (0, 0) (thanks to Vishvananda Ishaya)
206 * tpool: Add set_num_threads() method to set the number of tpool threads (thanks to David Ibarra)
207 * threading, zmq: Fix Python 2.5 support (thanks to Floris Bruynooghe)
208 * tests: tox configuration for all supported Python versions (thanks to Floris Bruynooghe)
209 * tests: Fix zmq._QueueLock test in Python2.6
210 * tests: Fix patcher_test on Darwin (/bin/true issue) (thanks to Edward George)
211 * tests: Skip SSL tests when not available (thanks to Floris Bruynooghe)
212 * greenio: Remove deprecated GreenPipe.xreadlines() method, was broken anyway
213
214 0.9.17
215 ======
216 * ZeroMQ support calling send and recv from multiple greenthreads (thanks to Geoff Salmon)
217 * SSL: unwrap() sends data, and so it needs trampolining (#104 thanks to Brandon Rhodes)
218 * hubs.epolls: Fix imports for exception handler (#123 thanks to Johannes Erdfelt)
219 * db_pool: Fix .clear() when min_size > 0
220 * db_pool: Add MySQL's insert_id() method (thanks to Peter Scott)
221 * db_pool: Close connections after timeout, fix get-after-close race condition with using TpooledConnectionPool (thanks to Peter Scott)
222 * threading monkey patch fixes (#115 thanks to Johannes Erdfelt)
223 * pools: Better accounting of current_size in pools.Pool (#91 thanks to Brett Hoerner)
224 * wsgi: environ['RAW_PATH_INFO'] with request path as received from client (thanks to dweimer)
225 * wsgi: log_output flag (thanks to Juan Manuel Garcia)
226 * wsgi: Limit HTTP header size (thanks to Gregory Holt)
227 * wsgi: Configurable maximum URL length (thanks to Tomas Sedovic)
228
229 0.9.16
230 ======
231 * SO_REUSEADDR now correctly set.
232
233 0.9.15
234 ======
235 * ZeroMQ support without an explicit hub now implemented!  Thanks to Zed Shaw for the patch.
236 * zmq module supports the NOBLOCK flag, thanks to rfk. (#76)
237 * eventlet.wsgi has a debug flag which can be set to false to not send tracebacks to the client (per redbo's request)
238 * Recursive GreenPipe madness forestalled by Soren Hansen (#77)
239 * eventlet.green.ssl no longer busywaits on send()
240 * EEXIST ignored in epoll hub (#80)
241 * eventlet.listen's behavior on Windows improved, thanks to Nick Vatamaniuc (#83)
242 * Timeouts raised within tpool.execute are propagated back to the caller (thanks again to redbo for being the squeaky wheel)
243
244 0.9.14
245 ======
246 * Many fixes to the ZeroMQ hub, which now requires version 2.0.10 or later.  Thanks to Ben Ford.
247 * ZeroMQ hub no longer depends on pollhub, and thus works on Windows (thanks, Alexey Borzenkov)
248 * Better handling of connect errors on Windows, thanks again to Alexey Borzenkov.
249 * More-robust Event delivery, thanks to Malcolm Cleaton
250 * wsgi.py now distinguishes between an empty query string ("") and a non-existent query string (no entry in environ).
251 * wsgi.py handles ipv6 correctly (thanks, redbo)
252 * Better behavior in tpool when you give it nonsensical numbers, thanks to R. Tyler for the nonsense.  :)
253 * Fixed importing on 2.5 (#73, thanks to Ruijun Luo)
254 * Hub doesn't hold on to invalid fds (#74, thanks to Edward George)
255 * Documentation for eventlet.green.zmq, courtesy of Ben Ford
256
257 0.9.13
258 ======
259 * ZeroMQ hub, and eventlet.green.zmq make supersockets green.  Thanks to Ben Ford!
260 * eventlet.green.MySQLdb added.  It's an interface to MySQLdb that uses tpool to make it appear nonblocking
261 * 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.
262 * Eventlet now depends on greenlet 0.3 or later.
263 * Fixed a hang when using tpool during an import causes another import.  Thanks to mikepk for tracking that down.
264 * Improved websocket draft 76 compliance, thanks to Nick V.
265 * Rare greenthread.kill() bug fixed, which was probably brought about by a bugfix in greenlet 0.3.
266 * Easy_installing eventlet should no longer print an ImportError about greenlet
267 * Support for serving up SSL websockets, thanks to chwagssd for reporting #62
268 * eventlet.wsgi properly sets 'wsgi.url_scheme' environment variable to 'https', and 'HTTPS' to 'on' if serving over ssl
269 * Blocking detector uses setitimer on 2.6 or later, allowing for sub-second block detection, thanks to rtyler.
270 * Blocking detector is documented now, too
271 * socket.create_connection properly uses dnspython for nonblocking dns.  Thanks to rtyler.
272 * Removed EVENTLET_TPOOL_DNS, nobody liked that.  But if you were using it, install dnspython instead.  Thanks to pigmej and gholt.
273 * Removed _main_wrapper from greenthread, thanks to Ambroff adding keyword arguments to switch() in 0.3!
274
275 0.9.12
276 ======
277 * 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.
278 * Removed circular import in twistedr.py
279 * Added websocket multi-user chat example
280 * Not using exec() in green modules anymore.
281 * eventlet.green.socket now contains all attributes of the stdlib socket module, even those that were left out by bugs.
282 * Eventlet.wsgi doesn't call print anymore, instead uses the logfiles for everything (it used to print exceptions in one place).
283 * Eventlet.wsgi properly closes the connection when an error is raised
284 * Better documentation on eventlet.event.Event.send_exception
285 * Adding websocket.html to tarball so that you can run the examples without checking out the source
286
287 0.9.10
288 ======
289 * 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.
290 * Full test suite passes on Python 2.7.
291 * Tests no longer depend on simplejson for >2.6.
292 * Potential-bug fixes in patcher (thanks to Schmir, and thanks to Hudson)
293 * Websockets work with query strings (thanks to mcarter)
294 * WSGI posthooks that get called after the request completed (thanks to gholt, nice docs, too)
295 * Blocking detector merged -- use it to detect places where your code is not yielding to the hub for > 1 second.
296 * tpool.Proxy can wrap callables
297 * Tweaked Timeout class to do something sensible when True is passed to the constructor
298
299 0.9.9
300 =====
301 * A fix for monkeypatching on systems with psycopg version 2.0.14.
302 * Improved support for chunked transfers in wsgi, plus a bunch of tests from schmir (ported from gevent by redbo)
303 * A fix for the twisted hub from Favo Yang
304
305 0.9.8
306 =====
307 * Support for psycopg2's asynchronous mode, from Daniele Varrazzo
308 * 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
309 * Added wrap_ssl convenience method, meaning that we truly no longer need api or util modules.
310 * 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.
311 * Cleaner monkey_patch API: the "all" keyword is no longer necessary.
312 * Pool objects have a more convenient constructor -- no more need to subclass
313 * amajorek's reimplementation of GreenPipe
314 * Many bug fixes, major and minor.
315
316 0.9.7
317 =====
318 * GreenPipe is now a context manager (thanks, quad)
319 * tpool.Proxy supports iterators properly
320 * bug fixes in eventlet.green.os (thanks, Benoit)
321 * much code cleanup from Tavis
322 * a few more example apps
323 * multitudinous improvements in Py3k compatibility from amajorek
324
325
326 0.9.6
327 =====
328 * new EVENTLET_HUB environment variable allows you to select a hub without code
329 * improved GreenSocket and GreenPipe compatibility with stdlib
330 * bugfixes on GreenSocket and GreenPipe objects
331 * code coverage increased across the board
332 * Queue resizing
333 * internal DeprecationWarnings largely eliminated
334 * tpool is now reentrant (i.e., can call tpool.execute(tpool.execute(foo)))
335 * more reliable access to unpatched modules reduces some race conditions when monkeypatching
336 * completely threading-compatible corolocal implementation, plus tests and enthusiastic adoption
337 * tests stomp on each others' toes less
338 * performance improvements in timers, hubs, greenpool
339 * Greenlet-aware profile module courtesy of CCP
340 * support for select26 module's epoll
341 * better PEP-8 compliance and import cleanup
342 * new eventlet.serve convenience function for easy TCP servers
343
344
345 0.9.5
346 =====
347 * support psycopg in db_pool
348 * smart patcher that does the right patching when importing without needing to understand plumbing of patched module
349 * patcher.monkey_patch() method replacing util.wrap_*
350 * monkeypatch threading support
351 * removed api.named
352 * imported timeout module from gevent, replace exc_after and with_timeout()
353 * replace call_after with spawn_after; this is so that users don't see the Timer class
354 * added cancel() method to GreenThread to support the semantic of "abort if not already in the middle of something"
355 * eventlet.green.os with patched read() and write(), etc
356 * moved stuff from wrap_pipes_with_coroutine_pipe into green.os
357 * eventlet.green.subprocess instead of eventlet.processes
358 * improve patching docs, explaining more about patcher and why you'd use eventlet.green
359 * better documentation on greenpiles
360 * deprecate api.py completely
361 * deprecate util.py completely
362 * deprecate saranwrap
363 * performance improvements in the hubs
364 * much better documentation overall
365 * new convenience functions: eventlet.connect and eventlet.listen.  Thanks, Sergey!
366
367
368 0.9.4
369 =====
370 * Deprecated coros.Queue and coros.Channel (use queue.Queue instead)
371 * Added putting and getting methods to queue.Queue.
372 * Added eventlet.green.Queue which is a greened clone of stdlib Queue, along with stdlib tests.
373 * Changed __init__.py so that the version number is readable even if greenlet's not installed.
374 * Bugfixes in wsgi, greenpool
375
376 0.9.3
377 =====
378
379 * 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.
380 * Proc module deprecated in favor of greenthread
381 * New module greenthread, with new class GreenThread.
382 * New GreenPool class that replaces pool.Pool.
383 * Deprecated proc module (use greenthread module instead)
384 * tpooled gethostbyname is configurable via environment variable EVENTLET_TPOOL_GETHOSTBYNAME
385 * 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.
386 * Added epoll support
387 * Improved documentation across the board.
388 * New queue module, API-compatible with stdlib Queue
389 * New debug module, used for enabling verbosity within Eventlet that can help debug applications or Eventlet itself.
390 * Bugfixes in tpool, green.select, patcher
391 * Deprecated coros.execute (use eventlet.spawn instead)
392 * Deprecated coros.semaphore (use semaphore.Semaphore or semaphore.BoundedSemaphore instead)
393 * Moved coros.BoundedSemaphore to semaphore.BoundedSemaphore
394 * Moved coros.Semaphore to semaphore.Semaphore
395 * Moved coros.event to event.Event
396 * Deprecated api.tcp_listener, api.connect_tcp, api.ssl_listener
397 * Moved get_hub, use_hub, get_default_hub from eventlet.api to eventlet.hubs
398 * Renamed libevent hub to pyevent.
399 * Removed previously-deprecated features tcp_server, GreenSSL, erpc, and trap_errors.
400 * Removed saranwrap as an option for making db connections nonblocking in db_pool.
401
402 0.9.2
403 =====
404
405 * Bugfix for wsgi.py where it was improperly expecting the environ variable to be a constant when passed to the application.
406 * Tpool.py now passes its tests on Windows.
407 * Fixed minor performance issue in wsgi.
408
409 0.9.1
410 =====
411
412 * PyOpenSSL is no longer required for Python 2.6: use the eventlet.green.ssl module. 2.5 and 2.4 still require PyOpenSSL.
413 * Cleaned up the eventlet.green packages and their associated tests, this should result in fewer version-dependent bugs with these modules.
414 * PyOpenSSL is now fully wrapped in eventlet.green.OpenSSL; using it is therefore more consistent with using other green modules.
415 * Documentation on using SSL added.
416 * New green modules: ayncore, asynchat, SimpleHTTPServer, CGIHTTPServer, ftplib.
417 * Fuller thread/threading compatibility: patching threadlocal with corolocal so coroutines behave even more like threads.
418 * Improved Windows compatibility for tpool.py
419 * With-statement compatibility for pools.Pool objects.
420 * Refactored copyrights in the files, added LICENSE and AUTHORS files.
421 * Added support for logging x-forwarded-for header in wsgi.
422 * api.tcp_server is now deprecated, will be removed in a future release.
423 * Added instructions on how to generate coverage reports to the documentation.
424 * Renamed GreenFile to Green_fileobject, to better reflect its purpose.
425 * Deprecated erpc method in tpool.py
426 * Bug fixes in: wsgi.py, twistedr.py, poll.py, greenio.py, util.py, select.py, processes.py, selects.py
427
428 0.9.0
429 =====
430
431 * Full-duplex sockets (simultaneous readers and writers in the same process).
432 * Remove modules that distract from the core mission of making it straightforward to write event-driven networking apps:
433     httpd, httpc, channel, greenlib, httpdate, jsonhttp, logutil
434 * Removed test dependency on sqlite, using nose instead.
435 * 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).
436 * Remove copied code from python standard libs (in tests).
437 * Added eventlet.patcher which can be used to import "greened" modules.
438
439 0.8.16
440 ======
441 * GreenSSLObject properly masks ZeroReturnErrors with an empty read; with unit test.
442 * Fixed 2.6 SSL compatibility issue.
443
444 0.8.15
445 ======
446
447 * GreenSSL object no longer converts ZeroReturnErrors into empty reads, because that is more compatible with the underlying SSLConnection object.
448 * Fixed issue caused by SIGCHLD handler in processes.py
449 * Stopped supporting string exceptions in saranwrap and fixed a few test failures.
450
451 0.8.14
452 ======
453 * Fixed some more Windows compatibility problems, resolving EVT-37 :
454 http://jira.secondlife.com/browse/EVT-37
455 * waiting() method on Pool class, which was lost when the Pool implementation
456 replaced CoroutinePool.
457
458 0.8.13
459 ======
460 * 2.6 SSL compatibility patch by Marcus Cavanaugh.
461 * Added greenlet and pyopenssl as dependencies in setup.py.
462
463 0.8.12
464 ======
465
466 * The ability to resize() pools of coroutines, which was lost when the
467 Pool implementation replaced CoroutinePool.
468 * Fixed Cesar's issue with SSL connections, and furthermore did a
469 complete overhaul of SSL handling in eventlet so that it's much closer
470 to the behavior of the built-in libraries.  In particular, users of
471 GreenSSL sockets must now call shutdown() before close(), exactly
472 like SSL.Connection objects.
473 * A small patch that makes Eventlet work on Windows.  This is the first
474 release of Eventlet that works on Windows.
475
476 0.8.11
477 ======
478
479 Eventlet can now run on top of twisted reactor. Twisted-based hub is enabled automatically if
480 twisted.internet.reactor is imported. It is also possible to "embed" eventlet into a twisted
481 application via eventlet.twistedutil.join_reactor. See the examples for details.
482
483 A new package, eventlet.twistedutil, is added that makes integration of twisted and eventlet
484 easier. It has block_on function that allows to wait for a Deferred to fire and it wraps
485 twisted's Protocol in a synchronous interface. This is similar to and is inspired by Christopher
486 Armstrong's corotwine library. Thanks to Dan Pascu for reviewing the package.
487
488 Another new package, eventlet.green, was added to provide some of the standard modules
489 that are fixed not to block other greenlets. This is an alternative to monkey-patching
490 the socket, which is impossible to do if you are running twisted reactor.
491 The package includes socket, httplib, urllib2.
492
493 Much of the core functionality has been refactored and cleaned up, including the removal
494 of eventlet.greenlib. This means that it is now possible to use plain greenlets without
495 modification in eventlet, and the subclasses of greenlet instead of the old
496 eventlet.greenlib.GreenletContext. Calling eventlet.api.get_hub().switch() now checks to
497 see whether the current greenlet has a "switch_out" method and calls it if so, providing the
498 same functionality that the GreenletContext.swap_out used to. The swap_in behavior can be
499 duplicated by overriding the switch method, and the finalize functionality can be duplicated
500 by having a try: finally: block around the greenlet's main implementation. The eventlet.backdoor
501 module has been ported to this new scheme, although it's signature had to change slightly so
502 existing code that used the backdoor will have to be modified.
503
504 A number of bugs related to improper scheduling of switch calls has been fixed.
505 The fixed functions and classes include api.trampoline, api.sleep, coros.event,
506 coros.semaphore, coros.queue.
507
508 Many methods of greenio.GreenSocket were fixed to make its behavior more like that of a regular
509 socket. Thanks to Marcin Bachry for fixing GreenSocket.dup to preserve the timeout.
510
511 Added proc module which provides an easy way to subscribe to coroutine's results. This makes
512 it easy to wait for a single greenlet or for a set of greenlets to complete.
513
514 wsgi.py now supports chunked transfer requests (patch by Mike Barton)
515
516 The following modules were deprecated or removed because they were broken:
517 hubs.nginx, hubs.libev, support.pycurls, support.twisteds, cancel method of coros.event class
518
519 The following classes are still present but will be removed in the future version:
520 - channel.channel (use coros.Channel)
521 - coros.CoroutinePool (use pool.Pool)
522
523 saranwrap.py now correctly closes the child process when the referring object is deleted,
524 received some fixes to its detection of child process death, now correctly deals with the in
525 keyword, and it is now possible to use coroutines in a non-blocking fashion in the child process.
526
527 Time-based expiry added to db_pool.  This adds the ability to expire connections both by idleness
528 and also by total time open.  There is also a connection timeout option.
529
530 A small bug in httpd's error method was fixed.
531
532 Python 2.3 is no longer supported.
533
534 A number of tests was added along with a script to run all of them for all the configurations.
535 The script generates an html page with the results.
536
537 Thanks to Brian Brunswick for investigation of popen4 badness (eventlet.process)
538 Thanks to Marcus Cavanaugh for pointing out some coros.queue(0) bugs.
539
540 The twisted integration as well as many other improvements were funded by AG Projects (http://ag-projects.com), thanks!
541
542 0.8.x
543 =====
544
545 Fix a CPU leak that would cause the poll hub to consume 100% CPU in certain conditions, for example the echoserver example. (Donovan Preston)
546
547 Fix the libev hub to match libev's callback signature. (Patch by grugq)
548
549 Add a backlog argument to api.tcp_listener (Patch by grugq)
550
551 0.7.x
552 =====
553
554 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).
555
556 It's now possible to use eventlet's SSL client to talk to eventlet's SSL server. (Thanks to Ryan Williams)
557
558 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.
559
560 0.6.x
561 =====
562
563 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.
564
565 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.
566
567 0.5.x
568 =====
569
570 "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
571
572 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.
573
574 0.2
575 =====
576
577 Initial re-release of forked linden branch.