Skip to content

Latest commit

 

History

History
99 lines (67 loc) · 6.75 KB

CHANGELOG.md

File metadata and controls

99 lines (67 loc) · 6.75 KB

Changelog

2.0.2 (Next)

  • #92: Remove TTL and update unique index definitions - @cesarizu.
  • Your contribution here.

2.0.1 (2020-06-17)

  • #86: Upgraded to RuboCop 0.81.0 - @dks17.
  • #86: Fixed issue with ruby delegate method - @dks17.
  • #86: Update Ruby and JRUby versions for Travis config - @dks17.
  • #88: Add RSpec test examples - @dks17.

2.0.0 (2019-10-23)

1.0.1 (2019-03-23)

  • #74: Add JRuby tests - @dks17.
  • #68: Fix Rubocop offenses, refactoring, update ruby versions, add COVERAGE test env, update .travis.yml matrix - @dks17.
  • #67: Deprecate :wait in favor of :retries option, which can attempt to grab a lock multiple times - @afeld, @dks17.
  • #66: Fix Mongoid::Locker::LockError for not persisted document - @dks17.
  • #65: Drop mongoid-compatibility gem dependency - @dks17.
  • #64: Exclude demo files from the gem - @dks17.
  • #60: Drop support for mongoid version 2 and 3 - @dks17.
  • #60: Add SimpleCov - @dks17.

1.0.0 (2018-09-02)

  • #57: Time.now replaced by Time.now.utc - @dks17.
  • #55: Customizable :locked_at and :locked_until fields - @dks17.

0.3.6 (2018-04-18)

0.3.5 (2017-01-24)

0.3.4

  • #37: Fixed write concern for the lock record with Mongoid 5 - @dblock.
  • Don't query the document in Mongoid 5, better performance when acquiring lock - @afeld.

0.3.3

0.3.2

0.3.1

  • #32: Fixed race condition, undefined method '-' for nil:NilClass - @pschrammel.

0.3.0

  • #8: Changed exception class to be Mongoid::Locker::LockError - @afeld, @tolsen.
  • Dropped support for Rubinius 1.8-mode, since it seems to be broken w/ Mongoid 2.6 - @afeld.
  • #8: Relaxed dependency on Mongoid - @afeld.
  • #24: Added Mongoid 4 support - @dblock.
  • #24: Dropped support for Ruby 1.8.x - @dblock.
  • Got rid of appraisal for testing multiple Mongoid versions - @afeld.
  • #25: Added Rubocop, Ruby style linter - @dblock.
  • #25: Fixed :has_lock? to always return a boolean - @dblock.
  • #25: Upgraded RSpec to 3.x - @dblock.
  • #9: Added :retries option to attempt to grab a lock multiple times - @afeld, @mooremo.
  • Added :retry_sleep to override duration between lock attempts - @afeld.
  • Reload document after acquiring a lock by default, which can be disabled with :reload => false - @afeld.

0.2.1

  • Fix for update() on Mongoid 3 - @afeld.
  • #1: Automatically reload model after waiting - @afeld.

0.2.0

  • #7: Handle recursive calls to #with_lock - @afeld.
  • Lock optimizations, particularly for large documents - @afeld.
  • #5: Added Mongoid 3 support - @afeld.

0.1.1

0.1.0

  • Initial public release - @afeld.