2013-09-21 11:05:58 -04:00
|
|
|
## 3.0.0
|
2013-05-16 14:39:14 -04:00
|
|
|
|
|
|
|
### enhancements
|
2013-08-16 07:11:31 -04:00
|
|
|
* New `input_class` global config option to set a class to be generated in all inputs.
|
2013-06-18 15:55:27 -04:00
|
|
|
* Collection tags accept html attributes as the last element of collection [@nashby](https://github.com/nashby)
|
|
|
|
* Change default `:value_method` of collection tags from `:last` to `:second` [@nashby](https://github.com/nashby)
|
2013-05-27 16:50:56 -04:00
|
|
|
* Support `Proc` object in `:conditions` option of associations [@bradly](https://github.com/bradly)
|
2013-05-16 14:39:14 -04:00
|
|
|
* `input_field` supports `html5` component [@nashby](https://github.com/nashby)
|
2013-09-21 11:05:58 -04:00
|
|
|
* Make `field_error_proc` configurable [@dfens](https://github.com/dfens)
|
|
|
|
* Support to Rails 4.
|
|
|
|
* Removed deprecated methods.
|
|
|
|
* SimpleForm no longer sets the `size` attribute automatically and the `default_input_size` setting
|
|
|
|
is now deprecated.
|
|
|
|
* Support to aria-required attribute to required fields [@ckundo](https://github.com/ckundo)
|
2013-05-16 14:39:14 -04:00
|
|
|
|
2013-06-20 16:10:05 -04:00
|
|
|
### bug fix
|
2013-08-16 07:11:31 -04:00
|
|
|
* Make `DateTimeInput#label_target` method to work with string values in `I18n.t('date.order')` (default
|
2013-07-17 15:13:31 -04:00
|
|
|
behaviour in Rails 4)
|
|
|
|
Closes [#846](https://github.com/plataformatec/simple_form/issues/846) [@mjankowski](https://github.com/mjankowski)
|
2013-05-28 16:12:18 -04:00
|
|
|
* Add "checkbox" class to the label of boolean input when there is no `:label`
|
|
|
|
in `generate_additional_classes_for` config option [@nashby](https://github.com/nashby)
|
2013-06-20 16:10:05 -04:00
|
|
|
* Support models with digits in their names [@webgago](https://github.com/webgago)
|
2013-05-09 20:27:43 -04:00
|
|
|
* Remove deprecation warnings related to `Relation#all` from Rails 4.
|
2013-05-02 14:54:07 -04:00
|
|
|
* Form builder can be used outside the context of a controller [@jasonwebster](https://github.com/jasonwebster)
|
2013-02-28 02:03:50 -05:00
|
|
|
* Skip pattern attribute when using `validates_format_of` with `:without` option [@glebm](https://github.com/glebm)
|
|
|
|
|
2013-02-25 19:51:49 -05:00
|
|
|
Please check [v2.1](https://github.com/plataformatec/simple_form/blob/v2.1/CHANGELOG.md) for previous changes.
|