-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
chore(deps): bump ransack from 3.0.1 to 4.0.0 #1886
Conversation
Code Climate has analyzed commit 8e7a2a1 and detected 0 issues on this pull request. View more on Code Climate. |
@adrianthedev @Paul-Bob could you please coordinate how we can proceed with this? Having ransack 3.1.0 in the bundle in a blocker for our project since it is vulnerable and breaks our company policies. I can see two options:
UPD: I followed with option 1 for now |
Thank you for the PR @veelenga! I think the upgrade to 4.0.0 Is a good path to follow. We should document it on the avo docs upgrade guide too. |
@Paul-Bob thanks for the feedback. I did another look and it seems like the dependencies from Gemfile are not bundled by the app, so there is no risk in upgrading ransack to 4.0.0 since it is not a breaking change. Sorry for the confusion. Also, docs already have a note regarding ransack 4 and |
Yeah, ransack is not an actual dependency for Avo. The dep updated in the Appraisal file is just for the CI system. Thanks for that! |
Description
Vulnerability report: SNYK-RUBY-RANSACK-5776488
Ransack changelog: https://github.com/activerecord-hackery/ransack/blob/main/CHANGELOG.md
We use ransack 4 in production for a while, however since ransack 3.1.0 is a transitive dependency in Avo, the vulnerability scanner continuously reports the problem with the dependency.
Checklist:
Manual review steps
Manual reviewer: please leave a comment with output from the test if that's the case.