ANN: Kazoo 2.0 beta 1

20 views
Skip to first unread message

Hanno Schlichting

unread,
Apr 24, 2014, 11:24:55 AM4/24/14
to pyth...@googlegroups.com
Kazoo 2.0 beta 1 has just been released.

The release includes a number of minor backwards incompatible changes.
We have opted for a beta release to give everyone time to test the
release and give us feedback. If nothing major comes up, we'll release a
final in two weeks time.

On behalf of the Kazoo team,
Hanno

Full changelog:

API Changes
***********

- Null or None data is no longer treated as "". Pull req #165, patch by
Raul Gutierrez S. This will affect how you should treat null data in a
znode vs. an empty string.
- Passing acl=[] to create() now works properly instead of an
InvalidACLError
as it returned before. Patch by Raul Gutierrez S in PR #164.
- Removed the dependency on zope.interface. The classes in the
interfaces
module are left for documentation purposes only (issue #131).

Features
********

- Logging levels have been reduced.

- Logging previously at the ``logging.DEBUG`` level is now logged at
the ``kazoo.loggingsupport.BLATHER`` level (5).

- Some low-level logging previously at the ``logging.INFO`` level is
now logged at the ``logging.DEBUG`` level.

- Issue #133: Introduce a new environment variable
`ZOOKEEPER_PORT_OFFSET`
for the testing support, to run the testing cluster on a different
range.

Bug Handling
************

- When authenticating via add_auth() the auth data will be saved to
ensure that
the authentication happens on reconnect (as is the case when feeding
auth
data via KazooClient's constructor). PR #172, patch by Raul Gutierrez
S.
- Change gevent import to remove deprecation warning when newer gevent
is
used. PR #191, patch by Hiroaki Kawai.
- Lock recipe was failing to use the client's sleep_func causing issues
with
gevent. Issue #150.
- Calling a DataWatch or ChildrenWatch instance twice (decorator) now
throws
an exception as only a single function can be associated with a single
watcher. Issue #154.
- Another fix for atexit handling so that when disposing of connections
the
atexit handler is removed. PR #190, patch by Devaev Maxim.
- Fix atexit handling for kazoo threading handler, PR #183. Patch by
Brian Wickman.
- Partitioner should handle a suspended connection properly and restore
an allocated state if it was allocated previously. Patch by Manish
Tomar.
- Issue #167: Closing a client that was never started throws a type
error.
Patch by Joshua Harlow.
- Passing dictionaries to KazooClient.__init__() wasn't actually working
properly. Patch by Ryan Uber.
- Issue #119: Handler timeout takes the max of the random interval or
the read timeout to ensure a negative number isn't used for the read
timeout.
- Fix ordering of exception catches in lock.acquire as it was capturing
a
parent exception before the child. Patch by ReneSac.
- Fix issue with client.stop() not always setting the client state to
KeeperState.CLOSED. Patch by Jyrki Pulliainen in PR #174.
- Issue #169: Fixed pipes leaking into child processes.

Documentation
*************

- Add section on contributing recipes, add maintainer/status information
for
existing recipes.
- Add note about alternate use of DataWatch.
Reply all
Reply to author
Forward
0 new messages