github activerecord-hackery/ransack v1.8.0
Ransack 1.8.0

latest releases: v4.0.0, v3.2.1, v3.2.0...
7 years ago

Change Log

Version 1.8.0 - 2016-07-14

Added

Josef Šimánek

  • Added ransack_alias to allow users to customize the names for long ransack field names. PR #623.

Ray Zane

  • Added optional block argument for the sort_link method. 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:Parameter object params in sort_link to 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, convert params#to_unsafe_h only 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

  • Replace Active Record table_exists? API that was deprecated here in Rails 5. Commit c9d2297.

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 true to 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 stub deprecation warnings when running the tests. Commit 600892e.

Jon Atack

  • Revert f858dd6. Fixes #553 performance regression with the SQL Server adapter.

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::Adapters from conditionals to classes (94a404c).

Jon Atack

Don't miss a new ransack release

NewReleases is sending notifications on new releases.