Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 0.4.0 #144

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Release version 0.4.0 #144

merged 2 commits into from
Oct 6, 2023

Conversation

nicolas-fricke
Copy link
Member

@nicolas-fricke nicolas-fricke commented Oct 6, 2023

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.

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.
While releasing the new 0.4.0 version of the gem, the
`Gemfile-postgres.lock` was not adjusted as required which caused the
test pipeline to fail.

This commit not only sets the gem version for the specs to 0.4.0 but
also applies all gem updates from the main `Gemfile.lock` to the
Postgres one.
@aaronsama aaronsama merged commit d7bb05d into master Oct 6, 2023
@aaronsama aaronsama deleted the release-0.4.0 branch October 6, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants