chore(deps): update dependency ransack to v5 #81
No reviewers
Labels
No labels
auto-merge
bug
chore
dependency
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hobbypunk/rails-base_app!81
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/ransack-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
"~> 4.4"→"~> 5.0"Release Notes
activerecord-hackery/ransack (ransack)
v5.0.2Compare Source
Security release.
Fixes a denial of service: a crafted search key (a very long
q[...]condition key orq[s]sort value) was parsed in quadratic time, letting an unauthenticated request exhaust CPU. Ransack now rejects an over-long key as invalid. Applies to any endpoint callingransack; not mitigated by attribute allowlisting.GHSA-j3f8-w227-4hh8. Also released as 5.0.2 (and fixed in 6.0.0).
v5.0.1: 5.0.1Compare Source
Security fix: bounds the multiparameter position in search params (
created_at(1i)and friends) and drops malformed keys, closing a memory-exhaustion denial of service where a crafted request such asq[created_at(100000000000i)]=1made the server allocate an array of that size. Fixed in 4.4.2, 5.0.1 and 6.0.0. Reported by @connorshea.GHSA-vxc9-rm8f-p56j: https://github.com/activerecord-hackery/ransack/security/advisories/GHSA-vxc9-rm8f-p56j
v5.0.0Compare Source
Added
[WIP/experimental] Add compatibility with Rails 5/master and Arel 7.
Update the Contributing Guide with detailed steps for
contributing to Ransack.
Broaden the test suite database options in
schema.rband addcode documentation.
Improve the header message when running tests.
Jon Atack
Allow
:wants_arrayto be set tofalsein the predicate options(#32).
Michael Pavling
Add a failing spec for issue
#374.
Jamie Davidson, Jon Atack
Fixed
Stop relying on
Active Record::relation#where_valueswhich are deprecatedin Rails 5.
Make the test for passing search arguments to a ransacker
(
ransacker_args) work correctly with Sqlite3.Jon Atack
Changed
Stop CI testing for Rails 3.0 to reduce the size of the Travis test matrix.
Jon Atack
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
36135a7cb9d5fa075117View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.