Recent Releases of https://github.com/activerecord-hackery/ransack
https://github.com/activerecord-hackery/ransack - 4.4.1
What's Changed
- Improve test coverage by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1641
- Replace blueprints with FactoryBot by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1595
- Encourage community to create failing PRs for bugs by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1642
- Remove Rails 7.1 support by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1585
- Revert "Fix enum support" by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1645
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v4.4.0...v4.4.1
- Ruby
Published by scarroll32 5 months ago
https://github.com/activerecord-hackery/ransack - 4.4.0
What's Changed
- Update activerecord and activesupport version by @panacotar in https://github.com/activerecord-hackery/ransack/pull/1551
- Allow setting empty sorts by @yujideveloper in https://github.com/activerecord-hackery/ransack/pull/1549
- Fix rails 7.2 loading by @jdlubrano in https://github.com/activerecord-hackery/ransack/pull/1534
- Add blank lines after last
letin RSpec examples by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1563 - Remove extra blank lines around block bodies by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1562
- Fix enum support by @matheussilvasantos in https://github.com/activerecord-hackery/ransack/pull/1559
- Cast array input to integer node value as nil by @jdufresne in https://github.com/activerecord-hackery/ransack/pull/1565
- Add Ukrainian translation locale by @abratashov in https://github.com/activerecord-hackery/ransack/pull/1564
- Fix Japanese Locales by @ryoya1122 in https://github.com/activerecord-hackery/ransack/pull/1528
- Add changelog_uri metadata to ransack.gemspec by @nfedyashev in https://github.com/activerecord-hackery/ransack/pull/1569
- Add alternative documentation links by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1574
- build: publish to README.md, LICENSE, spec and lib directory only by @hachi-eiji in https://github.com/activerecord-hackery/ransack/pull/1547
- Bump micromatch from 4.0.5 to 4.0.8 in /docs by @dependabot[bot] in https://github.com/activerecord-hackery/ransack/pull/1522
- Complete Korean translation for boolean and null predicates by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1588
- Add _eq_any to Search Matchers by @andyweber-bamf in https://github.com/activerecord-hackery/ransack/pull/1573
- Fix ActiveRecord::normalizes breaking LIKE predicates wildcards by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1587
- Add changelog_uri to gemspec by @fynsta in https://github.com/activerecord-hackery/ransack/pull/1499
- Check type before sending
#valuemessage to predicate by @spaghetticode in https://github.com/activerecord-hackery/ransack/pull/1468 - Fix NoMethodError in type_for when column doesn't exist in ransackable_attributes by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1616
- Fix ArgumentError when filtering by scopes with array arguments by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1590
- Check all children of
Arel::Nodes::Andto extract correlated key by @riseshia in https://github.com/activerecord-hackery/ransack/pull/1572 - Fix
ransack_aliasissue, close #1239 by @itsalongstory in https://github.com/activerecord-hackery/ransack/pull/1512 - Fix Rails 7.2.1 compatibility by extending version bounds to cover all 7.2.x releases by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1586
- Issue #1472 suggested fix by @abMatGit in https://github.com/activerecord-hackery/ransack/pull/1474
- Revert "Fix Rails 7.2.1 compatibility by extending version bounds to cover all 7.2.x releases" by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1618
- Revert "Issue #1472 suggested fix" by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1619
- Add turbo_search_form_for helper for Turbo/Hotwire integration by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1611
- Add the helper search_form_with by @Copilot in https://github.com/activerecord-hackery/ransack/pull/1599
- Fix typo by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1624
- Fix nested conditions, polymorphic associations handling by @bopm in https://github.com/activerecord-hackery/ransack/pull/1561
- Improve RubyGems description by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1637
New Contributors
- @panacotar made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1551
- @matheussilvasantos made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1559
- @abratashov made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1564
- @ryoya1122 made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1528
- @nfedyashev made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1569
- @hachi-eiji made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1547
- @andyweber-bamf made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1573
- @fynsta made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1499
- @spaghetticode made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1468
- @riseshia made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1572
- @abMatGit made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1474
- @bopm made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1561
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v4.3.0...v4.4.0
- Ruby
Published by scarroll32 5 months ago
https://github.com/activerecord-hackery/ransack - 4.2.1
Changes
- Fix Rails 7.1.x compatibility
- Ruby
Published by gregmolnar over 1 year ago
https://github.com/activerecord-hackery/ransack - 4.2.0
Changes
- Rails 7.2 compatibility
- Ruby
Published by gregmolnar over 1 year ago
https://github.com/activerecord-hackery/ransack - 4.1.1
🐛 Bug Fixes
- Fix using ransack against edge Rails by @tvongaza in https://github.com/activerecord-hackery/ransack/pull/1445
New Contributors
- @tvongaza made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1445
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v4.1.0...4.1.1
- Ruby
Published by deivid-rodriguez over 2 years ago
https://github.com/activerecord-hackery/ransack - v4.1.0
🚀 Features
- Add Rails 7.1.0 support by @yuki24 in https://github.com/activerecord-hackery/ransack/pull/1439
🐛 Bug Fixes
- Fix wrong table aliases in Rails 6.1 by @oneiros in https://github.com/activerecord-hackery/ransack/pull/1447
💦 Compatibility
- Drop Ruby 2.7 support by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1449
📝 Documentation
- Update blog post link by @meg-gutshall in https://github.com/activerecord-hackery/ransack/pull/1425
- Add namespaced example of Polymorphic search by @craigmcnamara in https://github.com/activerecord-hackery/ransack/pull/1422
- Update sorting example to be self-contained by @kinduff in https://github.com/activerecord-hackery/ransack/pull/1442
💅 Polish
- Minor updates for Rails 7.1 by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1448
- Don't mention Ruby compatibility in contribution instructions by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1452
🏠 Internal
- Bump @sideway/formula from 3.0.0 to 3.0.1 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1417
- Bump webpack from 5.74.0 to 5.76.1 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1412
- Bump semver from 5.7.1 to 5.7.2 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1431
- Bump @babel/traverse from 7.18.2 to 7.23.2 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1446
- Bump postcss from 8.4.14 to 8.4.31 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1443
- Bump dns-packet from 5.3.1 to 5.6.1 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1450
- Test with Ruby 3.2 by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1451
- Misc CI bumps by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1453
- RuboCop tweaks by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1454
New Contributors
- @meg-gutshall made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1425
- @craigmcnamara made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1422
- @yuki24 made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1439
- @kinduff made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1442
- @oneiros made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1447
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v4.0.0...v4.1.0
- Ruby
Published by deivid-rodriguez over 2 years ago
https://github.com/activerecord-hackery/ransack - v4.0.0
💥 Breaking Changes
- [SECURITY] Require explict allowlisting of attributes and associations by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1400
- Remove Polyamorous entrypoint by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1370
- Remove dead MongoDB code by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1345
🚀 Features
- Add support for default predicates by @p8 in https://github.com/activerecord-hackery/ransack/pull/1384
🐛 Bug Fixes
- Ignore
ActiveModel::RangeErrorin Ransack conditions by @JunichiIto in https://github.com/activerecord-hackery/ransack/pull/1340 - Fix crash when using
q=stringas parameter by @stereobooster in https://github.com/activerecord-hackery/ransack/pull/1374 - Prevent changing host through params by @AndersGM in https://github.com/activerecord-hackery/ransack/pull/1391
📝 Documentation
- Fix broken documentation link by @cpgo in https://github.com/activerecord-hackery/ransack/pull/1332
- Remove more old wiki references by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1333
- Improve some wording and correct some typos by @ydah in https://github.com/activerecord-hackery/ransack/pull/1336
- Add warning about necessary authorization by @AmShaegar13 in https://github.com/activerecord-hackery/ransack/pull/1367
- Fix required Ruby and Rails version in README by @tagliala in https://github.com/activerecord-hackery/ransack/pull/1389
💅 Polish
- Implement CodeQL by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1334
- Code quality improvements by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1371
- Refactor adapters by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1348
- Fix typo: teh -> the by @jdufresne in https://github.com/activerecord-hackery/ransack/pull/1387
- Fix broken link by @maful in https://github.com/activerecord-hackery/ransack/pull/1394
🏠 Internal
- Bump docusaurus by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1338
- Update dependencies by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1342
- Improve CI by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1351
- Improve CONTRIBUTING.md by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1347
- Add links to GitHub Discussions by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1353
- Bump terser from 5.14.0 to 5.14.2 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1355
- Bump loader-utils from 2.0.2 to 2.0.3 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1372
- Bump loader-utils from 2.0.3 to 2.0.4 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1378
- Upgrade some documentation dependencies by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1379
- Upgrade local search plugin too by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1380
- Bump json5 from 2.2.1 to 2.2.3 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1390
- Bump ua-parser-js from 0.7.31 to 0.7.33 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1397
- Bump some doc deps by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1398
- Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs by @dependabot in https://github.com/activerecord-hackery/ransack/pull/1401
New Contributors
- @cpgo made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1332
- @ydah made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1336
- @JunichiIto made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1340
- @AmShaegar13 made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1367
- @stereobooster made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1374
- @tagliala made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1389
- @jdufresne made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1387
- @maful made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1394
- @AndersGM made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1391
- @p8 made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1384
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v3.2.1...v4.0.0
- Ruby
Published by deivid-rodriguez about 3 years ago
https://github.com/activerecord-hackery/ransack - v3.2.1
What's Changed
- Add search functionality to documentation site by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1329
- Fix contributing URLs and syntax highlight in
README.mdby @makketagg in https://github.com/activerecord-hackery/ransack/pull/1326 - Cast PostgreSQL's timestamptz columns to time by @lucasfais in https://github.com/activerecord-hackery/ransack/pull/1325
- Add Ruby and ERB syntax highlighting support to documentation site by @makketagg in https://github.com/activerecord-hackery/ransack/pull/1324
- Fix a wrong link in CHANGELOG entry by @y-yagi in https://github.com/activerecord-hackery/ransack/pull/1323
- Fix links to Bug Report Templates by @ioki-klaus in https://github.com/activerecord-hackery/ransack/pull/1321
New Contributors
- @ioki-klaus made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1321
- @makketagg made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1324
- @lucasfais made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1325
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v3.2.0...v3.2.1
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack - v3.2.0
What's Changed
- Drop rails 6.0 support by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1318
- Exclude "host" from params sent to url generator by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1317
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v3.1.0...v3.2.0
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack - v3.1.0
What's Changed
- Add full link to issue about merging searches by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1305
- Add
acts-as-taggable-onand polymorphic searches to documentation by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1306 and https://github.com/activerecord-hackery/ransack/pull/1312 - Put contributor list last in documentation site by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1308
- Allow Ransack to be used with Rails 7.1.0.alpha by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1309
- Drop Ruby 2.6 support by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1311
- Ransack search with ActsAsTaggableOn by @scarroll32 in
- Fix predicate name in "Using Predicates" documentation page by @maxymczech in https://github.com/activerecord-hackery/ransack/pull/1313
New Contributors
- @maxymczech made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1313
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v3.0.1...v3.1.0
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack - v3.0.1
What's Changed
- Reduce gem size and remove
yarn installwarning when building docs site by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1297 - Add list of wiki contributors by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1300
- Workflows for automatic deployment of docs site by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1302
- Fix documentation site edit urls by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1303
- Don't pass
dataattribute appended to query params by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1301
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v3.0.0...v3.0.1
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack -
Whats Changed
- Message from @ernie, the creator of Ransack https://activerecord-hackery.github.io/ransack/blog/ransack-3-0-0
- Renamed
mastertomain - Move documentation into Docusaurus. https://github.com/activerecord-hackery/ransack/pull/1291 @scarroll32
- [BREAKING CHANGE] Remove deprecated #search method. https://github.com/activerecord-hackery/ransack/pull/1147 @y-yagi
- Allow scopes that define string SQL joins. https://github.com/activerecord-hackery/ransack/pull/1225 @mhssmnn
- Improve sort_link documentation. https://github.com/activerecord-hackery/ransack/pull/1290 @deivid-rodriguez
- Deprecate passing two trailing hashes to sort_link, pass a single hash with all options instead. https://github.com/activerecord-hackery/ransack/pull/1289 @deivid-rodriguez
- Fix :class option to sort_link not being passed to the generated link correctly when no additional options are passed. https://github.com/activerecord-hackery/ransack/pull/1288 @deivid-rodriguez
- Evaluate ransackable_scopes before attributes when building the query. https://github.com/activerecord-hackery/ransack/pull/759 @faragorn
New Contributors
- @mhssmnn
- @faragorn
- Ruby
Published by scarroll32 almost 4 years ago
https://github.com/activerecord-hackery/ransack - v2.6.0
What's Changed
- Fix issue with self joins and includes by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1275
- Drop rails 5.2 support by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1276
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v2.5.0...v2.6.0
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack - v2.5.0
What's Changed
- Document release process by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1199, https://github.com/activerecord-hackery/ransack/pull/1200.
- Support Rails 7 by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1205, https://github.com/activerecord-hackery/ransack/pull/1209, https://github.com/activerecord-hackery/ransack/pull/1234, https://github.com/activerecord-hackery/ransack/pull/1230, https://github.com/activerecord-hackery/ransack/pull/1266
- Fix for
ActiveRecord::UnknownAttributeReferencein ransack by @TechnologyHypofriend in https://github.com/activerecord-hackery/ransack/pull/1207 - Make gem compatible with old polyamorous require by @rtweeks in https://github.com/activerecord-hackery/ransack/pull/1145
- Adding swedish translations by @johanandre in https://github.com/activerecord-hackery/ransack/pull/1208
- Document how to do case insensitive searches by @scarroll32 in https://github.com/activerecord-hackery/ransack/pull/1213
- Add the ability to disable whitespace stripping for string searches by @DCrow in https://github.com/activerecord-hackery/ransack/pull/1214
- Fix
:defaultoption inTranslate.attributemethod by @coreyaus in https://github.com/activerecord-hackery/ransack/pull/1218 - Fix typo in README.md by @d-m-u in https://github.com/activerecord-hackery/ransack/pull/1220
- Fix another typo in README.md by @plan-do-break-fix in https://github.com/activerecord-hackery/ransack/pull/1221
- Fix several documentation typos @wonda-tea-coffee in https://github.com/activerecord-hackery/ransack/pull/1233
- Allow ransack to treat nulls as always first or last by @mollerhoj in https://github.com/activerecord-hackery/ransack/pull/1226
- Consider ransack aliases when sorting by @faragorn and @waldyr in https://github.com/activerecord-hackery/ransack/pull/1223
- Fix non-casted array predicates by @danielpclark in https://github.com/activerecord-hackery/ransack/pull/1246
- Remove Squeel references from README by @Schwad in https://github.com/activerecord-hackery/ransack/pull/1249
- Remove part of the README that might lead to incorrect results by @RadekMolenda in https://github.com/activerecord-hackery/ransack/pull/1258
New Contributors
- @TechnologyHypofriend made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1207
- @rtweeks made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1145
- @johanandre made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1208
- @DCrow made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1214
- @coreyaus made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1218
- @d-m-u made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1220
- @plan-do-break-fix made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1221
- @wonda-tea-coffee made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1233
- @mollerhoj made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1226
- @faragorn made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1223
- @waldyr made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1223
- @danielpclark made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1246
- @Schwad made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1249
- @RadekMolenda made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1258
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v2.4.2...v2.5.0
- Ruby
Published by deivid-rodriguez almost 4 years ago
https://github.com/activerecord-hackery/ransack - v2.4.2
What's Changed
- Enable RuboCop and configure GitHub Actions to run RuboCop by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1185
- Add Ruby 3.0.0 support by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1190
- Drop Ruby 2.5 or older versions of Ruby by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1189
- Move bug report templates into ransack repository and run templates at CI by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1191
- Allow Ransack to be tested with Rails main branch by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1192
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v2.4.1...v2.4.2
- Ruby
Published by scarroll32 about 5 years ago
https://github.com/activerecord-hackery/ransack - v2.4.1
What's Changed
- Links to Tidelift subscription by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1178
- Enable GitHub Actions by @yahonda in https://github.com/activerecord-hackery/ransack/pull/1180
- Move security contact information to SECURITY.md by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1179
- Add
ActiveRecord::Base.ransack!which raises error if passed unknown condition by @alipman88 in https://github.com/activerecord-hackery/ransack/pull/1132 - Add ability to config PostgreSQL ORDER BY ... NULLS FIRST or NULLS LAST by @itsalongstory in https://github.com/activerecord-hackery/ransack/pull/1184
New Contributors
- @alipman88 made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1132
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v2.4.0...2.4.1
- Ruby
Published by scarroll32 about 5 years ago
https://github.com/activerecord-hackery/ransack - v2.4.0
What's Changed
- Specify actual version of polyamorous, so we can release that separately by @gregmolnar in https://github.com/activerecord-hackery/ransack/pull/1101
- Only include necessary files in gem package by @tvdeyen in https://github.com/activerecord-hackery/ransack/pull/1104
- Test/Fix for subquery in Rails 5.2.4 by @stevenjonescgm in https://github.com/activerecord-hackery/ransack/pull/1112
- Polyamorous module by @varyonic in https://github.com/activerecord-hackery/ransack/pull/1113
- Remove duplicated rows by @sasharevzin in https://github.com/activerecord-hackery/ransack/pull/1116
- Fix Ruby 2.7 deprecation warnings by @terracatta in https://github.com/activerecord-hackery/ransack/pull/1121
- Fixes polymorphic joins. by @PhilCoggins in https://github.com/activerecord-hackery/ransack/pull/1122
- Drop support for activerecord older than 5.2.4 by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1166
- Adapt to quoting change in Rails by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1165
- Typo in docs by @brett-anderson in https://github.com/activerecord-hackery/ransack/pull/1155
- Add Rails 6.1 support by @deivid-rodriguez in https://github.com/activerecord-hackery/ransack/pull/1172
- Strip Leading & Trailing Whitespace Before Searching by @itsalongstory in https://github.com/activerecord-hackery/ransack/pull/1126
- Use unfrozen version of symbol to string by @fauno in https://github.com/activerecord-hackery/ransack/pull/1149
New Contributors
- @tvdeyen made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1104
- @stevenjonescgm made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1112
- @sasharevzin made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1116
- @terracatta made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1121
- @PhilCoggins made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1122
- @brett-anderson made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1155
- @fauno made their first contribution in https://github.com/activerecord-hackery/ransack/pull/1149
Full Changelog: https://github.com/activerecord-hackery/ransack/compare/v2.3.2...2.4.0
- Ruby
Published by scarroll32 over 5 years ago
https://github.com/activerecord-hackery/ransack - 2.3.1
- Ruby
Published by scarroll32 about 6 years ago
https://github.com/activerecord-hackery/ransack - Release 2.3.0
- Ruby
Published by gregmolnar over 6 years ago
https://github.com/activerecord-hackery/ransack - Release 2.1.0
-
Add support for sorting by scopes
PR 973Diego Borges
-
Added a new logo for Ransack
PR 972Anıl Kılıç, Greg Molnar
-
Greek translations
PR 971
PR 960Sean Carroll, Greg Molnar
-
README improvements
PR 963tommaso1
-
Bulgarian translations
PR 961Sean Carroll
-
README improvements
PR 956Alex Konoval
-
Remove lib/ransack/adapters/active_record/compat.rb
PR 954Ryuta Kamizono
-
Remove unused aliases
PR 953Ryuta Kamizono
- Ruby
Published by scarroll32 over 7 years ago
https://github.com/activerecord-hackery/ransack - Release 1.8.8
-
Fix multiple database support
PR #893
Thank you @yujideveloper -
Updated Dutch translations
PR #887
Thank you @robinvdijk -
Fixed no method error 'asc' for Rails 4.2
PR #885
Thank you @roman-franko
- Ruby
Published by scarroll32 almost 8 years ago
https://github.com/activerecord-hackery/ransack - Release 1.8.7
- Lock pg gem at 0.21 to support older Rails releases, @seanfcarroll
- Adds Rails 5.2 support. Thanks @varyonic. Lots of people waiting for this one!
- Warnings cleanups and wildcard escaping. Thank you @amatsuda
- Ruby
Published by scarroll32 about 8 years ago
https://github.com/activerecord-hackery/ransack - Release 1.8.6
This release includes these PR's
https://github.com/activerecord-hackery/ransack/pull/858
https://github.com/activerecord-hackery/ransack/pull/820
Thank you @seanlinsley for the work on reducing Ransack's memory footprint.
- Ruby
Published by scarroll32 about 8 years ago
https://github.com/activerecord-hackery/ransack - Release 1.8.5
Thank you to the contributers to this release.
- Turkish translations https://github.com/activerecord-hackery/ransack/issues/835 @sadikay
- Ruby
Published by scarroll32 about 8 years ago
https://github.com/activerecord-hackery/ransack - Cleanup release
Fixed
- Add / cleanup README
- tests cleanup
- Allow Active Record Ransack aliases with the same name on different models https://github.com/activerecord-hackery/ransack/pull/717
- Use class attributes properly so that inheritance is respected
- use
ActiveSupport.on_loadto hook into Active Record - Add custom_arrows config functionality
Thanks
@garettarrowood, @Paxa, @jonatack, @laserlemon, @y-yagi, @jspizziri, @seanfcarroll, @fakefarm, @aspirewit, @mataki
- Ruby
Published by scarroll32 over 8 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.8.2
Fixed
- Fix empty attribute_fields regression in advanced search mode introduced by 235eae3. Closes #701. Commit 2839acf.
Jon Atack, Jay Dorsey, Stefan Haslinger, Igor Kasyanchuk
Added
- Add
sort_urlview helper that returns only the url of asort_link. PR #706.
amatotsuji
- Ruby
Published by jonatack over 9 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.8.1
Fixed
- Fix
rake consoleto run a command-line console with ransack + seed data. Commits 2cc781e, f2e85ad, and 6a059ba.
Jon Atack
- Fix returned value of
Ransack::Nodes::Condition#format_predicate. PR #692.
Masahiro Saito
- Better test coverage on passing arrays to ransackers. Commit 98df2c5.
Jon Atack
- Fix missing Ransack::Constants::ASC constant. Commit aece23c.
Jon Atack
Changed
Jon Atack
- Ruby
Published by jonatack over 9 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.8.0
Change Log
Version 1.8.0 - 2016-07-14
Added
Josef Šimánek
- Added
ransack_aliasto allow users to customize the names for long ransack field names. PR #623.
Ray Zane
- Added optional block argument for the
sort_linkmethod. PR #604.
Andrea Dal Ponte
- Added support for searching on attributes that have been added to Active Record models with
alias_attribute(Rails >= 4 only). PR #592, commit 549342a.
Marten Schilstra
- Add ability to globally hide sort link order indicator arrows with
Ransack.configure#hide_sort_order_indicators = true. PR #577, commit 95d4591.
Josh Hunter, Jon Atack
- Add test for
ActionController:Parameterobject params insort_linkto ensure Ransack is handling the Rails 5 changes correctly. Commit b1cfed8.
Ryan Wood
- Add failing tests to facilitate work on issue #566 of passing boolean values to search scopes. PR #575.
Marcel Eeken
- Add Taiwanese Hokkien/Mandarin i18n locale file (
zh-TW.yml). PR #674.
Sibevin Wang
- Add Danish i18n locale file (
da.yml). PR #663.
Kasper Johansen
- Add Brazilian Portuguese i18n locale file (
pt-BR.yml). PR #581.
Diego Henrique Domingues
- Add Indonesian (Bahasa) i18n locale file (
id.yml). PR #612.
Adam Pahlevi Baihaqi
- Add Japanese i18n locale file (
ja.yml). PR #622.
Masanobu Mizutani
Fixed
- In
FormHelper::SortLink#parameters_hash, convertparams#to_unsafe_honly if Rails 5, and add tests. Commit 14e66ca.
Jon Atack, Ryan Wood
- Respect negative conditions for collection associations and fix Mongoid compat. PR #645.
Andrew Vit
- Ensure conditions differing only by ransacker_args aren't filtered out. PR #665.
Andrew Porterfield
- Fix using aliased attributes in association searches, and add a failing spec. PR #602.
Marten Schilstra
Jon Atack
- Adapt to changes in Rails 5 where AC::Parameters composes a HWIA instead of inheriting from Hash starting from Rails commit rails/rails@14a3bd5. Commit ceafc05.
Jon Atack
- Fix test
#sort_link with hide order indicator set to trueto fail properly (4f65b09). This spec, added in #473, tested the presence of the attribute name instead of the absence of the order indicators and did not fail when it should.
Josh Hunter, Jon Atack
- Fix rspec-mocks
stubdeprecation warnings when running the tests. Commit 600892e.
Jon Atack
sschwing3
- Fix invalid Chinese I18n locale file name by replacing "zh" with "zh-CN". PR #590.
Ethan Yang
Changed
- Memory/speed perf improvement: Freeze strings in array global constants and partially move from using global string constants to frozen strings (381a83c and ce114ec).
Jon Atack
- Escape underscore
_wildcard characters with PostgreSQL and MySQL. PR #584.
Igor Dobryn
- Refactor
Ransack::Adaptersfrom conditionals to classes (94a404c).
Jon Atack
- Ruby
Published by jonatack over 9 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.7.0
Change Log
Version 1.7.0 - 2015-08-20
Added
- Add Mongoid support for referenced/embedded relations. PR #498.
Penn Su
- Add German locale file (de.yml). PR #537.
Philipp Weissensteiner
Fixed
- Fix #499 and #549. Ransack now loads only Active Record if both Active Record and Mongoid are running to avoid the two adapters overriding each other. This clarifies that Ransack currently knows how to work with only one database adapter active at a time. PR #541.
ASnow (Большов Андрей)
- Fix #299
attribute_method?parsing for attribute names containing_and_and_or_. Attributes named likefoo_and_barorfoo_or_barare recognized now instead of running failing checks forfooandbar. PR #562.
Ryohei Hoshi
- Fix a time-dependent test failure. When the database has
default_timezone = :local(system time) and theTime.zoneis set to elsewhere, thenDate.currentdoes not match what the query produces for the stored timestamps. Resolved by setting everything to UTC. PR #561.
Andrew Vit
- Avoid overwriting association conditions with default scope in Rails 3. When a model with default scope was associated with conditions (
has_many :x, conditions: ...), the default scope would overwrite the association conditions. This patch ensures that both sources of conditions are applied. Avoid selecting records from joins that would normally be filtered out if they were selected from the base table. Only applies to Rails 3, as this issue was fixed since Rails 4. PR #560.
Andrew Vit
- Fix RSpec
itsmethod deprecation warning: (c09aa17).
Jon Atack
- Fix deprecated RSpec syntax (ba92a0b).
Jon Atack
Changed
- Upgrade gemspec dependencies: MySQL2 from '0.3.14' to '0.3.18', and RSpec from '
> 2.14.0' to '> 2' which loads 2.99 (000cd2). - Upgrade spec suite to RSpec 3
expectsyntax backward compatible with RSpec 2.9 (87cd36d and d296caa). - FormHelper refactorings (17dd97a and 29a73b9).
Jon Atack
- Various documentation updates.
Jon Atack
- Ruby
Published by jonatack over 10 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.6 for Rails 3, 4 and 5
Changed
- Upgrade Polyamorous dependency to version 1.2.0, which uses
Module#prependinstead ofalias_methodfor hooking into Active Record (with Ruby 2.x).
Jon Atack
Fixed
- An improved fix for the "undefined method
model_namefor Ransack::Search" issue #518 affecting Rails 4.2.1 and 5.0.0. This fix allows us to remove the ActionView patch in Ransack version 1.6.4.
Gleb Mazovetskiy
- Fix an erroneous reference in
ActiveRecord::Associations::JoinDependencyto a version-dependent Active Record reference, and replace it with a better, more reliable one defined in Polyamorous. As this class lives inside anActiveRecordmodule, the reference needs to be absolute in order to properly point to the AR class.
Nahuel Cuesta Luengo
- Fix RubyGems YARD rendering of the README docs.
Jon Atack
Added
- Add the Ruby version to the the header message that shows the database, Active Record and Arel versions when running tests.
- Add Code Climate analysis.
Jon Atack
- Ruby
Published by jonatack almost 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.5 for Rails 3, 4 and 5 (Rails 5 compatibility update)
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 add code 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 deprecated in 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
- Ruby
Published by jonatack almost 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.4 for Rails 3 and 4 (4.2.1 compatibility patch)
- ActionView patch to maintain compatibility with Rails 4.2.1 released today.
Jon Atack
- Enable scoping I18n by 'ransack.models' (PR #514).
nagyt234
- Add ransacker arguments (PR #513).
Denis Tataurov, Jon Atack
- Ruby
Published by jonatack almost 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.3 for Rails 3 and 4 (bug fix)
- Fix a regression (#496) caused by ee571fe where passing a multi-parameter attribute (like
date_select) raisedRuntimeError: can't add a new key into hash during iteration, and add a regression spec for the issue.
Nate Berkopec, Jon Atack
- Update travis-ci to no longer test Rails 3.1 with Ruby 2.2 and speed up the test matrix.
- Refactor Nodes::Condition.
Jon Atack
- Ruby
Published by jonatack about 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.2 for Rails 3 and 4 (bug fix)
- Fix a regression (#494) where passing an array of routes to
search_form_forno longer worked.
Daniel Rikowski
- Add a failing/passing spec to catch the issue in the future.
Jon Atack
- Ruby
Published by jonatack about 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.1 for Rails 3 and 4 (bug fix)
- Fix a regression with using
inpredicates caused by PR #488 and add a test. - README improvements to clarify
sort_linksyntax with associations and Ransack#search vs #ransack. - Default the Gemfile to Rails 4-2-stable.
Jon Atack
- Ruby
Published by jonatack about 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.6.0 for Rails 3 and 4 with Active Record and Mongoid
Added
- Add support for using Ransack with
Mongoid 4.0without associations (PR #407).
Zhomart Mukhamejanov
- Add support and tests for passing stringy booleans for ransackable scopes (PR #460).
Josh Kovach
- Add an sort_link option to not display sort direction arrows (PR #473).
Fred Bergman
- Numerous documentation improvements to the README, Contributing Guide and wiki.
Jon Atack
Fixed
Idean Labib
- Make
search_form_for's default:asoption respect the custom search key if it has been set (PR #470). Prior to this change, if you set a customsearch_keyoption in the Ransack initializer file, you'd have to also pass anas: :whateveroption to all of the search forms. Fixes #92.
Robert Speicher
- Fix sorting on polymorphic associations due to missing downcase (PR #467).
Eugen Neagoe
- Fix Rails 5 / Arel 5 compatibility after the Arel and Active Record API changed.
- Fix and add tests for sort_link
default_orderparsing if the option is set as a string instead of symbol. - Fix and add a test to handle
nilin options passed to sort_link. - Fix #search method name conflicts in the README.
Jon Atack
Changed
- Refactor and DRY up FormHelper#SortLink. Encapsulate parsing into a Plain Old Ruby Object with few public methods and small, private functional methods. Limit mutations to explicit methods and mutate no ivars.
- Numerous speed improvements by using more specific Ruby methods like:
Hash#each_keyinstead ofHash#keys.each#none?instead ofselect#empty?#any?instead of#selectfollowed by#any?#flat_mapinstead of#flattenfollowed by#map!include?instead of#none?- Replace
string#freezeinstances with top level constants to reduce string allocations in Ruby < 2.1. - Remove unneeded
Ransack::namespacing on most of the constants. - In enumerable methods, pass a symbol as an argument instead of a block.
- Update Travis-ci for Rails 5.0.0 and 4-2-stable.
- Update the Travis-ci tests and the Gemfile for Ruby 2.2.
- Replace
#searchwith#ransackclass methods in the README and wiki code examples. Enabling the#searchalias by default may possibly be deprecated in the next major release (Ransack v.2.0.0) to address #369.
Jon Atack
- Ruby
Published by jonatack about 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.5.1 for Rails 3, 4.0, 4.1 and 4.2
Fixed
- Fix a regression caused by incorrect string constants in
context.rb.
Kazuhiro Nishiyama
Added
- Add base specs for search on fields with
_startand_end.
Jon Atack
- Add a failing spec for detecting attribute fields containing
_and_that needs to be fixed. Attribute names containing_and_and_or_are still not parsed/detected correctly.
Jon Atack
Changed
- Remove duplicate code in
spec/support/schema.rb.
Jon Atack
- Ruby
Published by jonatack over 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.5.0 for Rails 3, 4.0, 4.1 and 4.2
Added
- Add support for multiple sort fields and default orders in Ransack
sort_linkhelpers (pull request).
Caleb Land, James u007
- Add tests for
lteq,lt,gteqandgtpredicates. They are also tested in Arel, but testing them in Ransack has proven useful to detect issues.
Jon Atack
- Add tests for unknown attribute names.
Joe Yates
- Add tests for attribute names containing
_or_and_and_.
Joe Yates, Jon Atack
- Add tests for attribute names ending with
_startand_end.
Jon Atack, Timo Schilling
- Add tests for
start,not_start,endandnot_endpredicates, with emphasis on cases when attribute names end with_startand_end.
Jon Atack
Fixed
- Fix a regression where form labels for attributes through a
belongs_toassociation without a translation for the attribute in the locales file would cause a "no implicit conversion of nil into Hash" crash instead of falling back on the attribute name. Added test coverage.
John Dell, Jon Atack, jasdeepgosal
- Fix the
form_helper date_selectspec that was failing with Rails 4.2 and master.
Jon Atack
- Improve
attribute_method?parsing for attribute names containing_and_and_or_. Attributes named likefoo_and_barorfoo_or_barare recognized now instead of running failing checks forfooandbar.
CORRECTION October 28, 2014: this feature is still not working -- to be fixed.
Joe Yates
- Improve
attribute_method?parsing for attribute names ending with a predicate like_startand_end. For instance, afoo_startattribute is now recognized instead of raising a NoMethodError.
Timo Schilling, Jon Atack
Changed
- Reduce object allocations and memory footprint (with a slight speed gain as well) by extracting commonly used strings into top level constants and replacing calls to
#trymethods with simple nil checking.
Jon Atack
- Ruby
Published by jonatack over 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.4.1 for Rails 3, 4.0, 4.1 and 4.2
Ransack version 1.4.1 - September 23, 2014
Fix README so the documentation can be properly parsed by RubyGems.
- Ruby
Published by jonatack over 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack 1.4.0 for Rails 3, 4.0, 4.1 and 4.2
Ransack version 1.4.0 - September 23, 2014
Added
- Add support for Rails 4.2.0! Let us know if you encounter any issues.
Xiang Li
- Add
not_trueandnot_falsepredicates and update the "Basic Searching"
wiki. Fixes #123, #353.
Pedro Chambino
- Add
ro.ymlRomanian translation file.
Andreas Philippi
- Add new documentation in the README explaining how to group queries by
OR
instead of the defaultANDusing them: 'or'combinator. - Add new documentation in the README and in the source code comments
explaining in detail how to handle whitelisting/authorization of
attributes, associations, sorts and scopes. - Add new documentation in the README explaining in more detail how to use
scopes for searching with Ransack. - Begin a CHANGELOG.
Jon Atack
Fixed
- Fix singular/plural Active Record attribute translations.
Andreas Philippi
- Fix the params hash being modified by
Search.newand the Ransack scope.
Daniel Rikowski
- Apply default scope conditions for association joins (fix for Rails 3).
Avoid selecting records from joins that would normally be filtered out
if they were selected from the base table. Only applies to Rails 3, as
this issue was fixed in Rails 4.
Andrew Vit
- Fix incoherent code examples in the README Associations section that
sometimes used@qand other times@search.
Jon Atack
Changed
- Refactor Ransack::Translate.
- Rewrite much of the Ransack README documentation, including the
Associations section code examples and the Authorizations section detailing
how to whitelist attributes, associations, sorts and scopes.
Jon Atack
- Ruby
Published by jonatack over 11 years ago
https://github.com/activerecord-hackery/ransack - Ransack release 1.3.0 for Rails 3, 4, and 4.1
Additions since Ransack version 1.2.3:
- search scopes by popular demand
- JOINS merging
- OR grouping on base search
- authorizations for attributes, associations and scopes
- improved boolean predicates’ handling of false values
- allow configuring to raise on or ignore unknown search conditions
- allow passing blank values to search without crash
- wildcard escaping compatibility for SQL Server databases
- various I18n translations
- Ruby
Published by jonatack over 11 years ago