-
Notifications
You must be signed in to change notification settings - Fork 230
RubyCritic v5.0 (Support for Ruby 4.0) #556
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
Conversation
|
One more fix, this time to get rid of the warnings about requiring CGI: #559 |
3ad76e6 to
535ed1c
Compare
|
Starting over(ish)? |
FWIW this branch has all the prior fixes, plus a fix to suppress the path override warning: https://github.com/faisal/rubycritic/tree/restore_4_fixes It passes all the test and feature tasks, and only shows these warnings when testing: |
535ed1c to
4a7ddcb
Compare
@faisal Pretty sure I messed up a git merge/rebase and that's why it looked like I was starting over. Thanks for pointing me to this branch. I believe it should be good to go now. Please check it out and let me know if I missed anything. 🙏🏻 |
I had that feeling.
Great -- I'm glad it helped!
It passed all my tests locally, and diffs with results from prior versions showed the output to be substantially the same. I think this is good to go. |
|
Just sharing some thoughts about releasing v5.
|
Reading through the upgrade guide and looking at the other js that has to play nice with jQuery, I fear this will be an involved update. jQuery 3.1.1 is almost ten years old, jQuery 4 removes a fair amount of deprecated API surface, and each other script we use (some of which haven't been updated in years) will need to be considered as well. It's worth doing but is this the release for it?
What could we use instead?
|
I'm just trying to brainstorm what else we can do in this v5.0 release.
I'll have a closer look at the JS used in the frontend to know what we can use instead. |
* Update version, and version compatibility, for 5.0 release. * run mdl with Ruby 4 # Conflicts: # CHANGELOG.md * Fixed up changelog - restored notes and one change that got dropped in rebasing - split out the changelog to include 4.12 release we haven't done yet * Require ostruct, because Ruby 4.0 no longer bundles it. * [CHANGE] Update byebug dependency, for Ruby 4.0 compatibility fixes
@JuanVqz That's a good idea, but I think it would be best for a 5.1 release. Also, I wouldn't stop at jQuery. I think there may be an opportunity to upgrade most JS dependencies:
We're doing pretty well in terms of dependency freshness for our core dependencies: |
Hi there,
This is the start of a branch to add support for Ruby 4.0. It fixes #555 (reported by @faisal)
The only failure I'm getting locally is this one:
Check list: