Pheanstalk Versions Save

PHP client for beanstalkd queue

v5.0.0-alpha1

2 years ago

Alpha release of V5, this is an almost complete rewrite so changes in your necessary.

v4.0.4

2 years ago

v4.0.3

3 years ago

v4.0.2

3 years ago

v4.0.1

4 years ago

This release contains the fix for #205, it was found and fixed by @panicoschr.

v4.0.0

5 years ago

Version 4 of Pheanstalk is a partial rework of the most popular PHP library for Beanstalkd.

This release removes support for persistent connections and removes functions with side effects like putInTube.

To be more flexible in deployment Pheanstalk now supports different socket implementations, if possible it will default to using the sockets extension. Advantage of this extension is that it allows us to enable tcp KEEP ALIVE.

In Pheanstalk one common issue that people ran into was an undetectable connection failure. The consumer would wait infinitely but no new jobs would come in. For a lot of reasons it can be impossible for PHP (or even the underlying OS) to detect that a connection was dropped. For this reason we recommend always:

  • Use reserve with a timeout set to the maximum time you want a dropped connection to go unnoticed.
  • Catch exceptions and re-instantiate Pheanstalk when needed.

Please test your code thoroughly before deploying version 4 in production. Specifically make sure your code handles exceptions and takes appropriate actions.

v4.0.0-alpha.3

5 years ago

v4.0.0-alpha.2

5 years ago

v4.0.0-alpha.1

5 years ago

v3.2.1

5 years ago

This release fixes a bug that could, in certain cases, cause data to be lost from a connection. Due to the way beanstalk reservations work no data is permanently lost and the main effect of this would be a delay in task execution.

Thanks for pointing out the problem @mialex!