2014-09-08 21:49:31 +00:00
|
|
|
|
# Change Log
|
|
|
|
|
All notable changes to this project from August 2014 on will be documented here.
|
|
|
|
|
|
|
|
|
|
## Unreleased
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
* 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.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
|
|
|
|
*Jon Atack*
|
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
* Rewrite/improve much of the README doc, including the Associations section
|
|
|
|
|
code examples and the Authorizations section showing how to whitelist
|
|
|
|
|
attributes, associations, sorts and scopes.
|
|
|
|
|
|
2014-09-08 21:49:31 +00:00
|
|
|
|
*Jon Atack*
|
|
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Fix the params hash being modified by `Search.new` and the Ransack scope.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
|
|
|
|
*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`.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
|
|
|
|
*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 21:49:31 +00:00
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Add `JOINS` merging.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Add `OR` grouping on base search.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Allow authorizing/whitelisting attributes, associations, sorts and scopes.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Improve boolean predicates’ handling of `false` values.
|
2014-09-08 21:49:31 +00:00
|
|
|
|
|
|
|
|
|
* 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 21:49:31 +00:00
|
|
|
|
|
2014-09-08 22:22:18 +00:00
|
|
|
|
* Add various I18n translations.
|