Revision history for Queue-DBI

v2.4.2  10/10/2012
        * Added Queue::DBI::Admin->has_table().
        * Added Queue::DBI::Admin->has_mandatory_fields().
        * (RT #79676) Added check that tables have the mandatory fields before
          deleting them, to prevent deletion of tables not related to
          Queue::DBI.

v2.4.1  10/08/2012
        * (RT #80055) Added PostgreSQL to the list of supported database types
          in the documentation.
        * (RT #80040) Added 'exclude_locked_elements' parameter to
          Queue::DBI->count().
        * Minor documentation cleanup.

v2.4.0  10/06/2012
        * Added full PostgreSQL support.
        * Refactored tests to allow testing against multiple database types.
        * Set up integration with Travis-CI for continuous integration.
        * Forced tests to be run recursively during build.

v2.3.1  10/01/2012
        * (RT #79676) Refactored Queue::DBI::Admin->has_tables() to check for
          mandatory fields and to simplify its return value.
        * (RT #79676) Force raising errors in try {} blocks.

v2.3.0  09/25/2012
        * (RT #79676) Added croak()s to propagate up all SQL errors.
        * (RT #79676) Documented return value of Queue::DBI->purge().
        * Added internal methods for Queue::DBI::Admin and tests.
        * Refactored code to leverage the new internal methods.
        * (RT #79676) Added Queue::DBI::Admin->drop_tables() and tests.
        * (RT #79676) Added Queue::DBI::Admin->has_tables() and tests.
        * POD cleanup.

v2.2.1  09/19/2012
        * Moved repository to GitHub.

v2.2.0  09/18/2012
        * (RT #78640) Fixed error message.
        * Removed non-standard quotes for identifiers when creating tables.
        * (RT #79676) Removed 'sqlite' parameter, create_tables() now detects
          automatically the database type.
        * (RT #79676) Fixed index names, to prevent conflicts.
        * (RT #79676) Added list of supported database types in documentation.
        * Drop tables in reverse creation order in create_tables(), to prevent
          issues with constraints.
        * (RT #79676) Fixed foreign key constraint when creating elements table
          to refer to the actual queues table name.

v2.1.1  09/15/2012
        * (RT #78640) Fixed bug in Queue::DBI->cleanup().

v2.1.0  09/08/2012
        * Re-licensed as GPLv3, to allow inclusion in Fedora.

v2.0.2  08/31/2012
        * Added missing prerequisite.

v2.0.1  08/31/2012
        * Added missing prerequisite.

v2.0.0  08/31/2012
        * (RT #78985) Added Queue::DBI::Admin, an interface to manage queues
          themselves. Thanks Sergey for suggesting this great extension!

v1.8.2  08/17/2012
        * (RT #78640) Deprecated dual-purpose methods to change Queue::DBI
          properties, replaced them with separate get and set methods:
            - replace max_requeue_count() with {get,set}_max_requeue_count();
            - replace lifetime() with {get,set}_lifetime();
            - replace verbose() with {get,set}_verbose().
        * Renamed Queue::DBI::Element->queue() into get_queue().

v1.8.1  08/12/2012
        * (RT #78640) Added Queue::DBI::Element->is_over_lifetime().
        * (RT #78640) Changed 'lifetime' parameter in Queue::DBI->purge() to be
          more consistent with retrieve_batch() and 'max_requeue_count',
          thanks Sergey for noticing!
        * Fixed MySQL-specific reference when retrieving the inserted queue
          element ID.
        * Added Queue::DBI::Element->get_created_time().
        * Fixed lifetime() to return undef if 'lifetime' is not set.
        * Fixed max_requeue_count() to return undef when 'max_requeue_count' is
          not set.
        * Fixed incorrect table name used in a failure case of success().
        * Cleaned up build_requires and requires.

v1.8.0  08/05/2012
        * (RT #78640) Added a 'lifetime' feature and a purge() function, thanks
          Sergey for suggesting these improvements.
        * Added purge() to clean queues.
        * Fixed how the last inserted ID is retrieved, for portability.
        * Added tests and code cleanup.
        * Refactored tests to use Test::Exception and subtests.

v1.7.3  04/01/2012
        * (RT #76194) Fixed typo in table name, thanks Sergey!

v1.7.2  01/18/2012
        * Cleanup to pass PerlCritic 'harsh'.
        * Fixed minor bug in error message.
        * Added acknowledgements.

v1.7.1  12/16/2011
        * Added missing prerequisite.

v1.7.0  12/16/2011
        * Changed version number convention to always use two dots. This allows
          correct conversion to integer for CPAN. Bumped to 1.7 to allow proper
          indexing of the changes made in 1.6.1.

v1.6.1  12/16/2011
        * Corrected meta information, added list of prerequisites, minor
          documentation corrections.

v1.6.0  12/16/2011
        * Added more documentation and tests.
        * Public release.

v1.5.0  08/19/2010
        * Prevented locking twice a queue element.

v1.4.0  08/05/2010
        * Fixed problem with the internal max_id cache preventing runaway
          dequeueing (dequeue-enqueue-dequeue would fail on the last dequeue to
          see the last enqueued element when using the same $queue object).

v1.3.0  08/03/2010
        * Added option to limit how many times a queue element can be requeued
          before it stops being pulled.

v1.2.0  06/28/2010
        * Modified requeue() - returns error without a die() to indicate a
          problem that is not the responsibility of this module.
        * Improved algorithm to detect possible parallelization conflicts.

v1.1.0  06/18/2010
        * Locking mechanism improvements, courtesy of Jamie McCarthy.

v1.0.0  11/21/2009
        * First version.