CHANGELOG.md in simple_form-3.1.0.rc2 vs CHANGELOG.md in simple_form-3.1.0

- old
+ new

@@ -1,8 +1,9 @@ -## 3.1.0.rc2 +## 3.1.0 ### enhancements + * Update foundation generator to version 5. [@jorge-d](https://github.com/jorge-d) * Add mapping to `uuid` columns. * Add custom namespaces for custom inputs feature. [@vala](https://github.com/vala) * Add `:unless_blank` option to the wrapper API. [@IanVaughan](https://github.com/IanVaughan) * Add support to html markup in the I18n options. [@laurocaetano](https://github.com/laurocaetano) * Add the `full_error` component. [@laurocaetano](https://github.com/laurocaetano) @@ -25,17 +26,24 @@ * Add support to configure the `label_text` proc at the wrapper level. [@NOX73](https://github.com/NOX73) * `label_text` proc now receive three arguments (label, request, and if the label was explicit). [@timscott](https://github.com/timscott) * Add I18n support to `:include_blank` and `:prompt` when `:translate` is used as value. [@haines](https://github.com/plataformatec/simple_form/pull/616) * Add support to define custom error messages for the attributes. * Add support to change the I18n scope to be used in Simple Form. [@nielsbuus](https://github.com/nielsbuus) + * The default form class can now be overridden with `html: { :class }`. [@rmm5t](https://github.com/rmm5t) ### bug fix + * Fix `full_error` when the attribute is an association. [@mvdamme](https://github.com/jorge-d) + * Fix suppport to `:namespace` and `:index` options for nested check boxes and radio buttons when the attribute is an association. * Collection input that uses automatic collection translation properly sets checked values. Closes [#971](https://github.com/plataformatec/simple_form/issues/971) [@nashby](https://github.com/nashby) * Collection input generates `required` attribute if it has `prompt` option. [@nashby](https://github.com/nashby) * Grouped collection uses the first non-empty object to detect label and value methods. ## deprecation * Methods on custom inputs now accept a required argument with the wrapper options. See https://github.com/plataformatec/simple_form/pull/997 for more information. + * SimpleForm.form_class is deprecated in favor of SimpleForm.default_form_class. + Future versions of Simple Form will not generate `simple_form` class for the form + element. + See https://github.com/plataformatec/simple_form/pull/1109 for more information. Please check [v3.0](https://github.com/plataformatec/simple_form/blob/v3.0/CHANGELOG.md) for previous changes.