# HG changeset patch # User prologic # Date 1323483829 -36000 # Node ID 76d9526f983696b76e6a21c3f3fc6337efe2240a # Parent 2215b386995f174d9e288542a1f13cb0fda02317 Updated CHANGES and RELEASE.rst docs diff -r 2215b386995f174d9e288542a1f13cb0fda02317 -r 76d9526f983696b76e6a21c3f3fc6337efe2240a CHANGES --- a/CHANGES Sat Dec 10 12:16:23 2011 +1000 +++ b/CHANGES Sat Dec 10 12:23:49 2011 +1000 @@ -1,3 +1,9 @@ +circuits-1.7 YYYYMMDD +--------------------- + +- Removed ``.push(...)`` -- Deprecated in 1.6 +- Removed ``circuits.net.pollers`` module. -- Deprecated in 1.6 + circuits-1.6.1 YYYYMMDD ----------------------- diff -r 2215b386995f174d9e288542a1f13cb0fda02317 -r 76d9526f983696b76e6a21c3f3fc6337efe2240a RELEASE.rst --- a/RELEASE.rst Sat Dec 10 12:16:23 2011 +1000 +++ b/RELEASE.rst Sat Dec 10 12:23:49 2011 +1000 @@ -1,92 +1,3 @@ -Release Notes - circuits-1.6 (oceans) -------------------------------------- +Release Notes - circuits-1.7 (cheetah) +-------------------------------------- - -Python 3 Support -................ - -This is the third attempt at getting Python 3 support for circuits working -while still maintaining Python 2 compatibility. This release finally adds -full support for Python 3 as well as maintaining compatibility with Python -2.6 and 2.7 with the same code-base. - -.. note:: - Python 2.5 support has been dropped as of this release and will no - longer be supported in future. There may be a maintenance branch - specifically for Python 2.5 if required. - - -Greenlet Support -................ - -circuits now includes two new primitives which work by integrating -`greenlet `_. - -- ``.waitEvent(...)`` -- Wait for the given event to complete. -- ``.callEvent(...)`` -- Call event handlers for the given event. - -.. note:: These new primitives add (*as long as greenlet is installed*) the ability to write semi-synchronous code in your event handlers while still taking full advantage of the asynchronous and component framework that circuits has to offer. - -Code Coverage -............. - -circuits now has 80% test coverage on all supported versions of Python -including Python 2.6, Python 2.7 and Python 3.2 - - -Features -........ - -- Added an example WebSockets server using circuits.web -- Added support for specifying a ``Poll`` instance to use when using the - ``@future`` decorator to create "future" event handlers. -- Added ``add_section``, ``has_section`` and ``set`` methods to - ``app.config.Config`` Component. -- Added support for running test suite with distutils ``python setup.py - test``. -- Added a ``_on_signal`` event handler on the ``BaseEnvironment`` Component - so that environments can be reloaded by listening to ``SIGHUP`` signals. -- Added support for using absolute paths in ``app.env.Environment``. -- Added support in circuits.web ``HTTP`` protocol to limit the no. of - header fragments. This prevents OOM exploits. -- Added a ticks limit to waitEvent -- Added deprecation warnings for .push .add and .remove methods -- NEW ``Loader`` Component in ``circuits.core`` for simple plugin support. -- NEW ``app.env`` and ``app.config`` modules including a new ``app.startup`` - modules integrating a common startup for applications. -- NEW ``KQueue`` poller - - -Bug Fixes -......... - -- Fixed Issue #17 -- Renamed ``circuits.web.main`` module to ``circuits.web.__main__`` so that - ``python -m circuits.web`` just works. -- Fixed ``Server.host`` and ``Server.port`` properties in - ``circuits.net.sockets``. -- Fixed Issue #19 -- Fixed ``app.Daemon`` Component to correctly open the stderr file. -- Fixed triggering of ``Success`` events. -- Fixed duplicate broadcast handler in ``UDPServer`` -- Fixed duplicate ``Disconnect`` event from being triggered twice on - ``Client`` socket components. -- Removed dynamic timeout code from ``Select`` poller. -- Fixed a bug in the circuits.web ``HTTP`` protocol where headers were - not being buffered per client. -- Fixes a missing Event ``Closed()`` not being triggered for ``UDPServer``. -- Make underlying ``UDPServer`` socket reusable by setting ``SO_REUSEADDR`` -- Fixes Server socket being discarded twice on close + disconnect -- Socket.write now expects bytes (bytes for python3 and str for python2) -- Better handling of encoding in HTTP Component (allow non utf-8 encoding) -- Always encode http headers in utf-8 -- Fixes error after getting socket.ERRCONNREFUSED -- Allows TCPClient to bind to a specific port -- Improved docs -- Handles closing of udpserver socket when no client is connected -- Adds an unregister handler for components -- Allows utils.kill to work from a different thread -- Fixes bug when handling "*" in channels and targets -- Fixes a bug that could occur when unregistering components -- Fixes for CPU usage problems when using circuits with no I/O pollers - and using a Timer for timed events