activerecord-hackery--ransack/CHANGELOG.md

81 lines
2.1 KiB
Markdown
Raw Normal View History

# Change Log
All notable changes to this project from August 2014 on will be documented here.
## Unreleased
### Added
2014-09-13 19:56:47 +00:00
* Add `ro.yml` Romanian translation file.
*Andreas Philippi*
2014-09-13 19:56:47 +00:00
* Add `not_true` and `not_false` predicates and update the "Basic Searching"
wiki. Fixes #123, #353.
*Pedro Chambino*
2014-09-08 22:22:18 +00:00
* Start a CHANGELOG.
* Add new documentation in the README explaining how to group queries by `OR`
instead of the default `AND` using the `m: 'or'` combinator.
*Jon Atack*
2014-09-13 19:56:47 +00:00
### Fixed
2014-09-08 22:22:18 +00:00
2014-09-13 19:56:47 +00:00
* Fix attribute translations when using ActiveRecord with STI.
2014-09-13 19:56:47 +00:00
*Andreas Philippi*
2014-09-08 22:22:18 +00:00
* Fix the params hash being modified by `Search.new` and the Ransack scope.
*Daniel Rikowski*
* Apply default scope conditions for association joins (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*
2014-09-08 22:22:18 +00:00
* Fix incoherent code examples in the README Associations section that mixed
up `@q` and `@search`.
*Jon Atack*
2014-09-13 19:56:47 +00:00
### Changed
* Refactor Ransack::Translate.
* Rewrite much of the README doc, including the Associations section
code examples and the Authorizations section showing how to whitelist
attributes, associations, sorts and scopes.
*Jon Atack*
## Version 1.3.0 - 2014-08-23
### Added
2014-09-08 22:22:18 +00:00
* Add search scopes by popular demand. Using `ransackable_scopes`, users can
define whitelists for allowed model scopes on a parent table. Not yet
implemented for associated models' scopes; scopes must be defined on the
parent table.
*Gleb Mazovetskiy*, *Andrew Vit*, *Sven Schwyn*
2014-09-08 22:22:18 +00:00
* Add `JOINS` merging.
2014-09-08 22:22:18 +00:00
* Add `OR` grouping on base search.
2014-09-08 22:22:18 +00:00
* Allow authorizing/whitelisting attributes, associations, sorts and scopes.
2014-09-08 22:22:18 +00:00
* Improve boolean predicates handling of `false` values.
* Allow configuring Ransack to raise on instead of ignore unknown search
conditions.
* Allow passing blank values to search without crashing.
2014-09-08 22:22:18 +00:00
* Add wildcard escaping compatibility for SQL Server databases.
2014-09-08 22:22:18 +00:00
* Add various I18n translations.