- Dropped support for Makara 0.4
- Dropped support for Ruby < 3.1 and Active Record < 6.1
- Made
distribute_reads
method private to behave likeKernel
methods - Dropped support for Makara 0.3
- Dropped support for Ruby < 2.6 and Active Record < 5.2
- Added support for Aurora Postgres 13 replication lag
- Added support for Aurora Postgres replication lag
- Fixed deprecation warning with MySQL
- Added
eager_load
option - Removed warning when relation is loaded
- Added source location to logging
- Use logger instead of stderr
- Handle
NULL
replication lag for MySQL - Fixed replication lag check running on primary when replicas blacklisted
- Added support for Aurora MySQL replication lag
- Added more logging
- Added support for Makara 0.4
- Added support for MySQL replication lag
- Added
replica
option
- Fixed lag check for Postgres 10
- Added
replication_lag
method
Breaking
- Jobs default to replica when
default_to_primary
is false
Other
- Replaced
default_to_primary
withby_default
- Fixed
max_lag
option - Added
lag_failover
option - Added
failover
option - Added
lag_on
option - Added
primary
option - Added default options
- Improved lag query
- Raise
ArgumentError
when missing block - Improved lag query
- Warn if returning
ActiveRecord::Relation
- Added method for jobs
- First release