- Fix method reflection for Ruby 2.1+. @badosu
- Do not remove HTML attributes if components are not present.
- Fix XSS vulnerability on error components.
- Support Rails 4.1
- Fix XSS vulnerability on label, hint and error components.
- New
input_classglobal config option to set a class to be generated in all inputs. - Collection tags accept html attributes as the last element of collection @nashby
- Change default
:value_methodof collection tags from:lastto:second@nashby - Support
Procobject in:conditionsoption of associations @bradly input_fieldsupportshtml5component @nashby- Make
field_error_procconfigurable @dfens - Support to Rails 4.
- Removed deprecated methods.
- SimpleForm no longer sets the
sizeattribute automatically and thedefault_input_sizesetting is now deprecated. - Support to aria-required attribute to required fields @ckundo
- Make
DateTimeInput#label_targetmethod to work with string values inI18n.t('date.order')(default behaviour in Rails 4) Closes #846 @mjankowski - Add "checkbox" class to the label of boolean input when there is no
:labelingenerate_additional_classes_forconfig option @nashby - Support models with digits in their names @webgago
- Remove deprecation warnings related to
Relation#allfrom Rails 4. - Form builder can be used outside the context of a controller @jasonwebster
- Skip pattern attribute when using
validates_format_ofwith:withoutoption @glebm
Please check v2.1 for previous changes.