pystalk ChangeLog

0.9.1

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.ProductionPool failover and backoff behavior so connection failures try each available server once before raising pystalk.pool.NoMoreClients.

0.8.0

  • Add pystalk.client.BeanstalkConnectionError, a subclass of pystalk.client.BeanstalkError raised 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 on err.

  • Add pystalk.client.BeanstalkClient.ping() to test connectivity without changing the client’s active connection, current tube, or watchlist.

  • Remove the legacy six compatibility 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_iter

  • Add 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() and pystalk.client.BeanstalkClient.put_job_into() as clearer APIs for inserting jobs

  • Re-establish USE and WATCH on close/re-open

0.2.1

0.2

  • Initial release