Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.46 KB

CHANGES.md

File metadata and controls

47 lines (28 loc) · 1.46 KB

Unreleased

v1.0.0

  • We test on Rails 5.2, 6.0, 6.1, 7.0, so we're pretty sure these work.
  • We test on Rails main, to find out about any impacts of new changes, this doesn't mean we know that 7.1 is supported yet.
  • We no longer test on Rails < 5.2, so please use v0.3.2 or lower for guaranteed Rails 4.2 etc (however we haven't yet removed it from the gemspec, because it might still work)

v0.3.2

  • Allow Ruby 3.0

v0.3.1

v0.3.0

  • Feature Case insensitive sorting via the new CaseInsensitive#column_for_order(asc_or_desc) method. Use it like SomeModel.some_scope.order(CaseInsensitive.new(SomeModel, :some_field).column_for_order(:asc))

v0.2.2

  • Raises a more helpful error if the column is not found when calling DbTextSearch::CaseInsensitive.

v0.2.1

  • Support for PostGIS adapters. #2

v0.2.0

  • Feature Prefix matching via the new CaseInsensitive#prefix method.
  • PostgreSQL CI index now uses the text_pattern_ops opclass by default (for prefix matching).
  • Renamed CaseInsensitiveEq to CaseInsensitive, and #find to #in.
  • Renamed FullTextSearch to FullText, and #find to #search.

v0.1.2

Tightened the API. Improved documentation.

v0.1.1

Initial release.