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

Prepare release V10 release #1114

Merged
merged 3 commits into from
Oct 14, 2023
Merged

Prepare release V10 release #1114

merged 3 commits into from
Oct 14, 2023

Conversation

seuros
Copy link
Collaborator

@seuros seuros commented Oct 14, 2023

In this version, we will drop support for unsupported versions of rubies and activerecord.

This will allow to remove any backward compatibility hack that was introduced in the code base.

@seuros seuros self-assigned this Oct 14, 2023
@seuros seuros marked this pull request as draft October 14, 2023 15:11
@seuros seuros marked this pull request as ready for review October 14, 2023 16:21
chore: remove deprecated method
feat: convert tagger to recent syntax
@seuros seuros merged commit 46c4e2d into master Oct 14, 2023
76 checks passed
@seuros seuros deleted the prepare-releasev10 branch October 14, 2023 20:56
@@ -22,7 +21,7 @@ Gem::Specification.new do |gem|
gem.post_install_message = File.read('UPGRADING.md')
end

gem.add_runtime_dependency 'activerecord', '>= 6.0', '< 8'
gem.add_runtime_dependency 'activerecord', '>= 6.1', '< 7.2'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi there @seuros! Just out of curiosity, why did you end up changing the < 8 to < 7.2?.

Reading #1110, it seemed to me that the goal was to avoid needing a new release every time a new AR minor was released but I'm not sure if you see any other risks that could come from other "non major" releases.

Thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the issue arises when a new major version is released. Devs often upgrade only their Rails/Activerecord, forgetting this gem, assuming it remains compatible.

Then, I start seeing issues reported as 'errors'.
Upon debugging , it frequently turns out that the developers are using a pre-release, the master branch, or even the next major version of Rails.

We can relax the dependency in master btw.

I plan to refactor this gem soon.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense! thanks for the answer (and the release!)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as predicted #1130 Rails 7.2 released

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let release a new version.

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.

3 participants