Revision history for MongoDBx-Queue 2.002 2020-04-07 17:16:42-04:00 America/New_York [CHANGED] - As an optimization, the 'size' method now gets a faster, estimated count. 2.001 2019-06-30 23:26:26-04:00 America/New_York [ADDED] - Added 'version' option to toggle between legacy 'v1' implementation and a new 'v2' implementation with better index coverage. 2.000 2018-10-04 15:44:27-04:00 America/New_York [INCOMPATIBLE CHANGES] - Requires MongoDB driver version 2.0.0 and MooseX::Role::MongoDB v1.0.0 - 'safe' option removed; all reads and writes now use 'majority' read and write concerns 1.002 2014-01-24 23:05:20-05:00 America/New_York [FIXES] - Updated for changes in MooseX::Role::MongoDB 0.006 1.001 2013-10-15 19:35:26 America/New_York [FIXES] - Consumes MooseX::Role::Logger as required by MooseX::Role::MongoDB version 0.003 or later 1.000 2013-09-22 20:57:32 America/New_York [INCOMPATIBLE CHANGES] - MongoDBx::Queue prior to version 1.000 were not fork-safe. A fork could cause MongoDB connections to hang. As of 1.000, MongoDB connections are managed via MooseX::Role::MongoDB, which provides fork-safety. - As result of this change, attributes have changed. MongoDBx::Queue no longer has a C attributed taking a MongoDB::Database argument and the C attribute has been renamed to C - Now, you provide C controlling the connection to the database. You provide C to indicate the database to hold your queue. And you provide C to indicate the collection to hold the queue. - No attributes are required any more. By default, MongoDBx::Queue will connect to localhost on the default MongoDB port, will use the 'test' database and the 'queue' collection. [ADDED] - Automatically ensures an index on priority is in place on the collection [FIXES] - Fixed task reservation on Perl v5.18 that borke due to hash-order randomization. MongoDB expects command documents to be ordered a certain way so we now use array references instead of hash references to pass such commands. [INTERNAL] - Dropped Const::Fast as prerequisite 0.004 2013-04-17 20:06:53 America/New_York [FIXED] - Have peek() do the right thing for list or scalar return context 0.003 2013-03-28 18:34:49 America/New_York [ADDED] - Added 'search' and 'peek' methods to allow inspection of the queue 0.002 2012-09-05 18:08:14 America/New_York [INCOMPATIBLE CHANGES] - reschedule_task() now takes a hashref of options using the same format as add_task() instead of taking a scalar epoch seconds time argument [ADDED] - add_task() now supports setting arbitrary priority [CHANGED] - reserve_task() only find tasks up to a maximum priority; defaults to time(); this makes "future" tasks invisible unless a different maximum priority is requested - generally improved documentation for consistency describing new features 0.001 2012-08-30 17:34:16 America/New_York - First release # vim: ts=4 sts=4 sw=4 et: