Skip to content

Releases: bootstrap-ruby/bootstrap_form

v5.4.0

30 Oct 00:42
Compare
Choose a tag to compare

Adds Rails 7.1.1+ to the test matrix, and upgrades the demo/test app to Rails 7.1.1. Miscellaneous fixes.

What's Changed

New features

  • Rails 7.1. No changes in functionality, but added Rails 7.1 to the test matrix and upgraded the demo/test app (#708).

Bugfixes

  • Do not alias rich text area if it is not defined (#709).
  • Fix joins not to make strings unsafe (#704).

Performance

Documentation

Development

  • Changes to the experimental Docker development environment. (#712, #710).

Full Changelog: v5.3.2...v5.4.0

Closed issues

New Contributors

v5.3.2

15 Sep 20:35
Compare
Choose a tag to compare

Bugfixes

  • Allow array values for the label_col and control_col options. #703

Full Changelog: v5.3.1...v5.3.2

Closed issues

v5.3.1

15 Sep 14:01
Compare
Choose a tag to compare

Bugfix release

  • Allow settings conditional presence validators using symbols.

Full Changelog: v5.3.0...v5.3.1

Closed issues

v5.3.0

15 Sep 10:39
Compare
Choose a tag to compare

What's Changed

New features

  • Check conditions for presence validators to see if an attribute is required by @donv in #693
  • Improve checkbox layout by @donv in #686
  • Rename layout :default to :vertical by @donv in #694
  • allow for data- attributes to pass through for radio button collections by @johrstrom in #665
  • Add bootstrap_fields_for and bootstrap_fields form helpers. by @donv in #699

Bugfixes

  • Fixed Calling << to an ActiveModel::Errors deprecation warning by @dannytip in #690
  • Remove aria-required attribute from semantic element input by @jdufresne in #695
  • Omit the multiple attribute for checkbox collection hidden field. by @donv in #698

Performance

Documentation

Development

  • Stop support for Rails 6.0 since it is EOL. by @donv in #696

Closed issues

Closed issues

New Contributors

Full Changelog: v5.2.3...v5.3.0

v5.2.3

18 Jun 05:06
Compare
Choose a tag to compare

5.2.2

28 May 13:33
Compare
Choose a tag to compare

What's Changed

  • Don't set required and aria-required for attributes with conditional presence validators by @AndersGM in #685

New Contributors

Full Changelog: v5.2.1...v5.2.2
Closed issues

5.2.1

23 May 08:37
Compare
Choose a tag to compare

What's Changed

  • Allow ActiveModel object as form objects. by @donv in #684

Full Changelog: v5.2.0...v5.2.1
Closed issues

5.2.0

20 May 18:10
Compare
Choose a tag to compare

What's Changed

New features

  • Automatically pick up presence validators for default belongs_to association by @donv in #654
  • Set required and aria-required on the input when the input is required by @CharlieWinkwaves in #664

Bugfixes

  • CVE fix breaks serialization of symbols -- fix test by @lcreid in #649
  • Change concat to << since the buffer no longer supports the former by @donv in #652
  • Eliminate Warnings from net-http by @lcreid in #650
  • Don't use concat when not necessary by @lcreid in #660

Development

New Contributors

Full Changelog: v5.1.0...v5.2.0
Closed issues

5.1.0

19 May 07:37
Compare
Choose a tag to compare

What's Changed

New features

Bugfixes

  • Update hide_class from sr-only to visually-hidden by @aki77 in #615
  • Allow overriding the wrapper class by @donv in #618
  • Add generate_validation_failed method to not override help text by @antpaw in
  • Add margin below check boxes in the vertical layout by @donv in #638
  • Fix text alignment in alert message when there is no error summary by @isaac in #634
  • Update the inline form layout by @donv in #639

Documentation

New Contributors

Full Changelog: v5.0.0...v5.1.0
Closed issues: 2021-11-12...2022-06-25

5.0.0

12 Nov 06:00
dce8d9f
Compare
Choose a tag to compare

Breaking changes

  • Generates markup for Bootstrap 5.

New features

  • #572: Simplify the formatting of the file upload control to follow the new Bootstrap 5 styles
  • #573: Add support for Bootstrap 5's floating labels

Bugfixes

  • #582: Fix tests in bootstrap-5 branch, removes Rubocop offenses, and adds testing with Rails 6.1.