-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release includes three potentially breaking changes: - Support for Ruby 2.6 dropped - Support for ActiveRecord 5.x dropped - Changed timestamp field cursor logic for more consistent pagination All changes in this version: Changed: - BREAKING: Raised minimum required Ruby version to 2.7 - BREAKING: Raised minimum required `activerecord` version to 6.0 Added: - Test against Ruby version 3.2 Fixed: - BREAKING: Ensure timestamp `order_by` fields (like `created_at`) will paginate results by honoring timestamp order down to microsecond resolution on comparison. This was done by changing the cursor logic for timestamp fields, which means that the cursor strings change from version 0.3.0 to 0.4.0 and old cursors cannot be decoded by the new gem version anymore.
- Loading branch information
1 parent
fd799d4
commit 83b3c70
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module RailsCursorPagination | ||
VERSION = '0.3.0' | ||
VERSION = '0.4.0' | ||
end |