CHANGELOG.md in ajax-datatables-rails-0.2.0 vs CHANGELOG.md in ajax-datatables-rails-0.2.1
- old
+ new
@@ -1,7 +1,15 @@
# CHANGELOG
+## 0.2.1
+* Fix count method to work with select statements under Rails 4.1. Thanks to [Jason Mitchell](https://github.com/mitchej123) for the contribution.
+* Edits to `README` documentation about the `options` hash. Thanks to [Jonathan E Hogue](https://github.com/hoguej) for pointing out that previous documentation was confusing and didn't address its usage properly.
+* Edits to `README` documentation on complex model queries inside the `get_raw_records` method. A round of applause to [Zoltan Paulovics](https://github.com/zpaulovics) for contributing this awesome piece of documentation. :smile:
+* Adds typecast step to `search_condition` method, so now we support having non-text columns inside the `searchable_columns` array.
+* Adds support for multi-column sorting and multi-term search. Thanks to [Zoltan Paulovics](https://github.com/zpaulovics) for contributing this feature.
+* Adds optional config initializer, so we can have a base to typecast non text-based columns and perform searches depending on the use of `:mysql2`, `:sqlite3` or `:pg`. Thanks to [M. Saiqul Haq](https://github.com/saiqulhaq) for contributing this feature.
+
## 0.2.0
* This version works with jQuery dataTables ver. 1.10 and it's new API syntax.
* Added `legacy` branch to repo. If your project is working with jQuery
dataTables ver. 1.9, this is the branch you need to pull, or use the last
`0.1.x` version of this gem.
@@ -10,11 +18,11 @@
* Fixes `where` clause being built even when search term is an empty string.
Thanks to [e-fisher](https://github.com/e-fisher) for spotting and fixing this.
## 0.1.1
* Fixes problem on `searchable_columns` where the corresponding model is
-a composite model name, e.g. `UserData`, `BillingAddress`.
+a composite model name, e.g. `UserData`, `BillingAddress`.
Thanks to [iruca3](https://github.com/iruca3) for the fix.
## 0.1.0
* A fresh start. Sets base class name to: `AjaxDatatablesRails::Base`.
* Extracts pagination functions to mixable modules.
@@ -23,10 +31,10 @@
`AjaxDatatablesRails::Extensions::Kaminari` or
`AjaxDatatablesRails::Extensions::WillPaginate`, depending on what he/she is using to handle record pagination.
* Removes dependency to pass in a model name to the generator. This way,
the developer has more flexibility to implement whatever datatable feature is required.
* Datatable constructor accepts an optional `options` hash to provide
- more flexibility.
+ more flexibility.
See [README](https://github.com/antillas21/ajax-datatables-rails/blob/master/README.mds#options) for examples.
* Sets generator inside the `Rails` namespace. To generate an
`AjaxDatatablesRails` child class, just execute the
- generator like this: `$ rails generate datatable NAME`.
\ No newline at end of file
+ generator like this: `$ rails generate datatable NAME`.