Version 2 is a major update implementing a lot of major improvements at the cost of backward compatibility.
- Fix rails hooking for version 7.1. #327
- Fix formatting of value for
date
anddatetime-local
input types
- Treat true/false as YES/NO when assigned as strings for xboolean filter.
- Support infinite ranges for date, datetime and integer filters.
- Treat
ActiveRecord::Result
class asArray
driver. - Add
Datagrid#reset
method to reset a column cache. - Drop support of Rails 6.0 #326
- Prioritize
input_options
over generated by default. #319
- Support
input_options: {type: "textarea"}
as<textarea/>
tag - Remove deprecated
eboolean
filter - Fixed scope wrapping to be universal
- Deprecated
integer_range_filters
anddate_range_filters
. Usefilter(name, type, range: true)
instead. - Add
original_scope
method that returns scope as it was defined without any wrapping #313 - Add ability to specify
columns
option fordatagrid_row
. #314
- Depend on
railties
instead ofrails
to prevent loading of unnecessary frameworks - Bugfix
File.exist?
usage for Ruby 3.0 #307 - Drop support of old Ruby versions (< 2.7) #305
- Drop support of old Rails versions (< 6.0) #305
- Fix usage of options spread operator for Ruby 3.0 #296
- Add
input_options
andlabel_options
tofilter
method #294 - Fix
<option>
tag rendering for Rails 6.0
Changes are not tracked