heartcombo--simple_form/CHANGELOG.md

47 lines
3.0 KiB
Markdown
Raw Normal View History

## master
### enhancements
* For radio or checkbox collection always use `:item_wrapper_tag` to wrap the content and add `label` when using `boolean_style` with `:nested` [@kassio](https://github.com/kassio) and [@bernardoamc](https://github.com/bernardoamc)
* `input_field` uses the same wrapper as input but only with attribute components. [@nashby](https://github.com/nashby)
* Add wrapper mapping per form basis [@rcillo](https://github.com/rcillo) and [@bernardoamc](https://github.com/bernardoamc)
2013-11-18 20:38:48 +00:00
* Add `for` attribute to `label` when collections are rendered as radio or checkbox [@erichkist](https://github.com/erichkist), [@ulissesalmeida](https://github.com/ulissesalmeida) and [@fabioyamate](https://github.com/fabioyamate)
* Add `include_default_input_wrapper_class` config [@luizcosta](https://github.com/luizcosta)
* Map `datetime`, `date` and `time` input types to their respective HTML5 input tags
when the `:html5` is set to `true` [@volmer](https://github.com/volmer)
### bug fix
* Collection input generates `required` attribute if it has `prompt` option. [@nashby](https://github.com/nashby)
2013-11-29 15:45:04 +00:00
## 3.0.1
### bug fix
* Fix XSS vulnerability on label, hint and error components.
## 3.0.0
### enhancements
* New `input_class` global config option to set a class to be generated in all inputs.
* 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 20:50:56 +00:00
* Support `Proc` object in `:conditions` option of associations [@bradly](https://github.com/bradly)
* `input_field` supports `html5` component [@nashby](https://github.com/nashby)
* 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-06-20 20:10:05 +00:00
### bug fix
* Make `DateTimeInput#label_target` method to work with string values in `I18n.t('date.order')` (default
2013-07-17 19:13:31 +00:00
behaviour in Rails 4)
Closes [#846](https://github.com/plataformatec/simple_form/issues/846) [@mjankowski](https://github.com/mjankowski)
* 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 20:10:05 +00:00
* Support models with digits in their names [@webgago](https://github.com/webgago)
2013-05-10 00:27:43 +00:00
* Remove deprecation warnings related to `Relation#all` from Rails 4.
2013-05-02 18:54:07 +00:00
* Form builder can be used outside the context of a controller [@jasonwebster](https://github.com/jasonwebster)
2013-02-28 07:03:50 +00:00
* Skip pattern attribute when using `validates_format_of` with `:without` option [@glebm](https://github.com/glebm)
Please check [v2.1](https://github.com/plataformatec/simple_form/blob/v2.1/CHANGELOG.md) for previous changes.