pystalk ChangeLog¶
0.9.1¶
Raise
pystalk.client.BeanstalkConnectionErrorwhen an established connection is closed by beanstalkd.
0.9.0¶
Drop support for Python < 3.9
Fix
pystalk.client.BeanstalkClient.put_job()to compute put payload length from UTF-8 encoded bytes, preventing EXPECTED_CRLF errors for non-ASCII job bodies.
0.8.1¶
Fix
pystalk.pool.ProductionPoolfailover and backoff behavior so connection failures try each available server once before raisingpystalk.pool.NoMoreClients.
0.8.0¶
Add
pystalk.client.BeanstalkConnectionError, a subclass ofpystalk.client.BeanstalkErrorraised when the underlying socket connection to beanstalkd fails (connection refused, timeout, or DNS errors), distinguishing connection-level failures from beanstalk protocol errors. Carries the host and port that were being connected to, and preserves the original socket error onerr.Add
pystalk.client.BeanstalkClient.ping()to test connectivity without changing the client’s active connection, current tube, or watchlist.Remove the legacy
sixcompatibility dependency.
0.7.0¶
Drop support for Python < 3.6
Add pystalk.pool.ProductionPool
Add some typing annotations
0.6.1¶
More emphatically remove tests from distributed packages
0.6.0¶
add compatibility for attrs 19.2.0 and above
drop support for Python 3.3.x
0.5.1¶
attrs changed a kwarg from convert to converter
0.5.0¶
Move tests from CircleCI to Travis-CI
Add
pystalk.client.BeanstalkClient.from_uri()to create a BeanstalkClient instance from a URI/URL
0.4.0¶
Add
pystalk.client.BeanstalkClient.peek_ready_iter()mirroring peek_delayed_iter and peek_buried_iterAdd
pystalk.client.BeanstalkClient.kick_job()to kick a single job by ID
0.3.1¶
Fix crash when setting socket_timeout to None
0.3.0¶
Add
pystalk.client.BeanstalkClient.using()andpystalk.client.BeanstalkClient.put_job_into()as clearer APIs for inserting jobsRe-establish USE and WATCH on close/re-open
0.2.1¶
Add
pystalk.client.BeanstalkClient.close()method to thepystalk.client.BeanstalkClientclassAdd a plethora of new and fixed docstrings
Start hosting docs at http://pystalk.readthedocs.io
0.2¶
Initial release