This is a minor feature release, introducing some incompatible API changes.
beanstalkc 0.2.0 is written for beanstalkd 1.4.3. As per the beanstalkd promise
of no incompatible protocol changes within 1.x, beanstalkc 0.2.0 will work with
any later 1.x release of beanstalkd.
Old, New, Borrowed, Blue
------------------------
Summary: pause-tube support was added, the PyYAML dependency relaxed, and
socket error handling fixed/improved. Those changes are accompanied by a
variety documentation and code polish.
* Implement pause-tube support (Andreas Bolka)
* Prefix parse_yaml, socket, socket_file with _ (Andreas Bolka)
* Relax doctest to cope with more stats info (Andreas Bolka)
* Gracefully handle missing PyYAML (Andreas Bolka)
* Wrap all socket exceptions in SocketError (Andreas Bolka)
* Make silent socket errors explicit (Andreas Bolka)
* Use socket#sendall to fail faster (Andreas Bolka)
* Document job priorities (Andreas Bolka)
* Document our PyYAML dependency and alternatives (Andreas Bolka)
* Change YAML-related names for clarity (Andreas Bolka)
* Fix beanstalkd command in tutorial (Andreas Bolka)
* Fix delete to expect a NOT_FOUND response (Andreas Bolka)
* Prefix private methods with an underscore (Andreas Bolka)
* Fix for Python 2.4 (Andreas Bolka)
* Fix typo in -p command in Getting Started section of tutorial (Chris Scott)
* Remove unused time import. (Eric Florenzano)
* Minor nit: make Job inherit from object (Eric Florenzano)
Some of the above changes were suggested by Silas Sewell, R. Tyler Ballance,
Kurt Seifried, Eytan Bakshy and Ruben Kerkhof.
API Changes Compared to Version 0.1.1
-------------------------------------
* a4e7d1a Prefix private methods with an underscore
c076e4c Prefix parse_yaml, socket, socket_file with _
INCOMPATIBLE CHANGE: The following fields and methods of `Connection` are
now prefixed with an underscore to indicate them not being part of the
external API:
- interact
- interact_peek
- interact_value
- interact_yaml
- parse_yaml
- read_response
- socket
- socket_file
* 6e282a0 Change YAML-related names for clarity
INCOMPATIBLE CHANGE: the optional parameter `decode_yaml` to `Connection`'s
constructor is now named `parse_yaml`.
* a49928f Wrap all socket exceptions in SocketError
INCOMPATIBLE CHANGE: `socket.error` exceptions are no longer exposed to the
user, catch `beanstalkc.SocketError` instead.
* a494e1d Gracefully handle missing PyYAML
CHANGE: `Connection`'s `parse_yaml` parameter now also accepts functions.
Links
-----
For now, the official home of beanstalkc is on Github:
<http://github.com/earl/beanstalkc>
Of course, beanstalkc is also available via PyPI:
<http://pypi.python.org/pypi/beanstalkc>
Both PyPI and Github provide source tarball downloads. Here are direct URLs,
for your convenience:
<http://pypi.python.org/packages/source/b/beanstalkc/beanstalkc-0.2.0.tar.gz>
<http://github.com/earl/beanstalkc/tarball/v0.2.0>
Please report any beanstalkc bugs at:
<http://github.com/earl/beanstalkc/issues>
beanstalk-talk is the place to discuss beanstalkd development and use:
<http://groups.google.com/group/beanstalk-talk>
--
Andreas
--
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/beanstalk-talk?hl=en.