# Changelog
## 2.0.0
Version 2 is a major update implementing a lot of major improvements
at the cost of backward compatibility.
[Changes and migration guide](./version-2)
## 1.8.3
* Fix rails hooking for version 7.1. [#327](https://github.com/bogdan/datagrid/issues/327)
* Fix formatting of value for `date` and `datetime-local` input types
## 1.8.2
* 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 as `Array` driver.
* Add `Datagrid#reset` method to reset a column cache.
* Drop support of Rails 6.0 [#326](https://github.com/bogdan/datagrid/pull/326)
## 1.8.1
* Prioritize `input_options` over generated by default. [#319](https://github.com/bogdan/datagrid/pull/319)
## 1.8.0
* Support `input_options: {type: "textarea"}` as `` tag
* Remove deprecated `eboolean` filter
* Fixed scope wrapping to be universal
* Deprecated `integer_range_filters` and `date_range_filters`.
Use `filter(name, type, range: true)` instead.
* Add `original_scope` method that returns scope
as it was defined without any wrapping
[#313](https://github.com/bogdan/datagrid/pull/313)
* Add ability to specify `columns` option for `datagrid_row`.
[#314](https://github.com/bogdan/datagrid/pull/314)
## 1.7.0
* Depend on `railties` instead of `rails` to prevent loading of unnecessary frameworks
* Bugfix `File.exist?` usage for Ruby 3.0 [#307](https://github.com/bogdan/datagrid/issues/307)
* Drop support of old Ruby versions (< 2.7) [#305](https://github.com/bogdan/datagrid/pull/305)
* Drop support of old Rails versions (< 6.0) [#305](https://github.com/bogdan/datagrid/pull/305)
## 1.6.3
* Fix usage of options spread operator for Ruby 3.0 [#296](https://github.com/bogdan/datagrid/issues/296)
## 1.6.2
* Add `input_options` and `label_options` to `filter` method [#294](https://github.com/bogdan/datagrid/issues/294)
* Fix `