-
Notifications
You must be signed in to change notification settings - Fork 168
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 for Rails 7.2 #282
Comments
See #278, I'm looking forward to seeing a release, soon. I'm currently developing using master and it seems to work flawlessly with mysql. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@henkesn This now already takes a long time. Any chance releasing a Rails 7.2 compatible version soon? |
Sorry @hoshy, I'm no maintainer but also one of the waiting guys ;) |
Thanks @mnovelo for maintaining this gem! 🎉 I've been in a similar situation so I know how challenging it is 😄. |
@hoshy I'd like the specs to pass for MySQL and sqlite3 consistently before releasing a new version. If you have any thoughts, I'd happily review a PR 😉 |
Hello @mnovelo - Anyplans to release a version soon to support Rails 7.2? |
Btw, last week I tried to reproduce the error from the last master actions for mysql and ruby 3.1. but the specs passed. I will investigate further when I have more time. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@mnovelo any progress on the release? Especially now rails 8 is already out |
Yes, I've slowly been making progress on a big refactor that will bring support for Rails 7.2 and 8. Now that I'm done with school, I hope to pick up the pace. I hope to release v4.0.0.alpha1 by EOY, which will address many open concurrency issues by leveraging the CurrentAttributes Rails API. |
@mnovelo, how can we help you out? |
Is there a chance for you to open a draft PR and receive feedback or help along the way @mnovelo? We are very interested in rails 7.2 support as well (not so much 8.0 just yet, but that would indeed be on our wishlist by late Q1 2025 I imagine). |
@macfanatic the current version in development does support Rails 7.2. I'm still working out a draft PR for the refactor, but I'll let you know soon when it's up! @henkesn |
Would it be an idea to make a smaller release with 7.2 support then, and another release for the refactor? Also to just make it easier if there are any issues or regressions with the refactor, it will be much easier to pinpoint. I didn't find a list of what was required to support rails 7.2 either in an issue, or any recent activity on the |
I'm wary to release a version that claims support for Rails 7.2 without truly having tested it myself. That being said, the current version in
So if you'd like use the version in I'd love your feedback and to know if there are any issues that come up from running the current version with Rails 7.2 or Rails 8.0. If the current version in As for what might not be working for Rails 7.2 and Rails 8.0, most of the open issues relate to concurrency and using multiple databases which is what I'm trying to address in the refactor. If you're not doing anything with async queries, multi-threading, or trying to manage more databases than just a single db or a primary db and read-replica, you should be good 🤞🏽 |
Thank you for the clarification, indeed we could use an unreleased version, but we are in no hurry to do so. And we do make use of some pretty complex logic on top of this gem across our software suite, so we are wary to roll out updates. I see that #278 was merged to provide some rails 7.2 support already in the past 💪 It is still not clear what issues are open and are a bug after upgrading to rails 7.2 itself. This rails version was released on August 9th 2024 and there isn't a long list of open issues for this repo (amazing work!). Most of the issues are older than this date. You mention concurrency, threading and async, so I found the issues below. Newer than August 9th, 2024
Older than August 9th, 2024
However, it would appear that for each of these issues, the version of rails reported in the issue description mentions a version of rails of 7.0.x or even as far back as rails 5. So I don't see how these would be directly related to rails 7.2 support. The two issues that do seem potentially related to me would be:
I understand all of these are indeed issues, but for example if the issues listed all exist with older versions of rails, then from our perspective we are already at risk and wouldn't be taking on additional risk by upgrading rails itself, as the bugs exist in the current version of the library no matter what. Simply confirming that would be helpful to understand 🙏 |
You make excellent points about the existing issues affecting all versions. You're right that if these issues exist in the current released version, upgrading Rails itself wouldn't necessarily introduce additional risk. The specs are currently passing for Rails 7.2 with MySQL and Postgres (though not yet with SQLite). While I haven't extensively tested the gem against Rails 7.2/8.0 in production environments myself, several users have reported success with the development version. As a new maintainer, I've been cautious about officially supporting Rails 7.2/8.0 without comprehensive testing. Having users install from the development branch serves as an explicit opt-in to potential risks. At the same time, I recognize this may be overly conservative. Here's what I propose:
Would this approach better serve the community while being transparent about the current state of the gem? |
I hadn't followed along, congrats and thanks for taking over as a maintainer :) This is very clear, I've asked some colleagues to discuss internally as well, but to me, this indeed to me would be a very nice improvement. As a consumer of OSS libs, clarity is always assuring! |
Speaking only as a single entity here, but our preference indeed would be to have official 7.2 support without bug fixes on other issues that aren't directly related to 7.2, and have been existing for awhile, and to keep the release changelog clear and intentional. |
I'll second @macfanatic's statement - happy to accept existing (pre-7.2 support) bugs in a 7.2 release. Other than trialing the development branch is there anything else we can do to assist @mnovelo? |
OK! (v3.2.0)[https://github.com/rails-on-services/apartment/releases/tag/v3.2.0] with support for Rails 7.2, Rails 8.0, and Ruby 3.4 has been released and is available in RubyGems [https://rubygems.org/gems/ros-apartment] Really appreciate all the great feedback on this thread. Besides trialing and reporting bugs with v3.2.0, I'd love your input for v4.0.0 #312 @henkesn @macfanatic @salimepoint For now, I'll close this issue! |
Any plans for doing a release that has Rails 7.2 support?
The text was updated successfully, but these errors were encountered: