heartcombo--simple_form/CHANGELOG.md

2.1 KiB

2.1.2

bug fix

  • Fix XSS vulnerability on error components.

2.1.1

bug fix

  • Fix XSS vulnerability on label, hint and error components.

2.1.0

enhancements

  • input_field supports components that don't generate tags as :min_max, :maxlength, :placeholder, :pattern, :readonly. Closes#362. (@nashby)
  • support for Rails eager loading. Closes #478.
  • generate required attribute for date_time input. (@nashby) Closes #730.
  • grouped_collection_select now accepts proc/lambda as label and value method. (@svendahlstrand) Closes #623.
  • Add Zurb Foundation 3 integration. (@balexand)
  • Generates additional wrapper class based on object + attribute name. (@lucasmazza) Closes #576.
  • Allow input_field to work with :defaults options. (@smidwap)

bug fix

  • Do not lookup for hints if it was explicitly given false. After #405 we added hint classes for the wrappers, but this has forced the loading of the hint text doing I18n lookups, even though it was explicitly given false. This checks for the option in #has_hint?, avoiding the lookup in such cases. This issues has been caught with #627, thanks to (@shwoodard).
  • Fix default I18n lookup for association input. (@nashby) Closes #679.
  • Fix escaping issue in label_input component (@allomov)

Please check v2.0 for previous changes.