-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Add support for Rails v8.x #895
Conversation
3597e43
to
68ea4ef
Compare
Aside from the |
I've opened a new pull request (#896) to remove My gut feeling is that the best way to fix the I've combined the changes for Rails 8, with the removal of |
Makes sense to me, @benedikt - hopefully we'll see a new |
@benedikt What about pinning |
Have you considered dropping support for old versions and bumping the version here? You've got Even Either way, thank you for doing this update. It's blocking some of our upgrades but it appears I'm mostly too late to help. 🙏 |
👋 Inspired by #895 (comment) and our otherwise fully up-to-date service being blocked from upgrading to Rails 8 until this PR is fixed up and merged, I took a look at what cleaning up all EOL Ruby and Rails usage would entail. Kind of taking this PR to its logical conclusion assuming one could remove all EOL stuff.
I don't expect such a cleanup would be merged as Flipper likely wants to target and support some older versions for existing users/customers. That said, I think it can serve as a reference for potential future cleanup. |
@larouxn appreciate that but I'm not going to remove the EOL stuff. There are still people using them (right or wrong) so if I can figure out the CI stuff today I'll leave stuff around. I try very hard to remain backwards compatible. If you need to update to rails 8, you can lock to main or the latest SHA in main and you should have no issues until a new release is out. |
@jnunemaker The main branch of my fork is currently passing CI with minimal changes. Feel free to pick whatever you need to make CI pass on the main repo. |
This pull request relaxes the dependency requirements of flipper-active_record and flipper-active_support_cache_store to support Rails v8.x. This fixes #894.
It also adds Rails v8 and Rails v7.2 to the CI matrix.
Unfortunately, a lot of tests are currently failing, but the failures seem to be in line with the current failures on main.