Releases: bootstrap-ruby/bootstrap_form
Releases · bootstrap-ruby/bootstrap_form
v5.4.0
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
Full Changelog: v5.3.2...v5.4.0
New Contributors
- @BenMorganMY made their first contribution in #709.
v5.3.2
Bugfixes
- Allow array values for the label_col and control_col options. #703
Full Changelog: v5.3.1...v5.3.2
v5.3.1
Bugfix release
- Allow settings conditional presence validators using symbols.
Full Changelog: v5.3.0...v5.3.1
v5.3.0
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
andbootstrap_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
- Correct several typos by @jdufresne in #700
- Fix broken section links in README.md [ci skip] by @minimabot in #701
Development
Closed issues
New Contributors
- @dannytip made their first contribution in #690
- @johrstrom made their first contribution in #665
- @jdufresne made their first contribution in #695
- @minimabot made their first contribution in #701
Full Changelog: v5.2.3...v5.3.0
v5.2.3
Bugfixes
Full Changelog: v5.2.2...v5.2.3
Closed issues
5.2.2
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
What's Changed
Full Changelog: v5.2.0...v5.2.1
Closed issues
5.2.0
What's Changed
- Support current rubies: 3.0, 3.1, and 3.2 (https://www.ruby-lang.org/en/downloads/branches/)
- Support current Rails versions: 6.0, 6.1, 7.0 (https://guides.rubyonrails.org/maintenance_policy.html)
- Support current Bootstrap versions: 5.0, 5.1, and 5.2, and aspire to support Bootstrap 5.3.
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
- More portable
docker-compose.yml
and better documentation by @lcreid in #647 - Document exposing ports for docker-compose by @lcreid in #648
- This allows running tests on the root of the project freshly checked out by @donv in #651
- Add Puma and Debuggers to common.gemfile by @lcreid in #657
- Lint on oldest Rails version by @lcreid in #658
- Fix the bogus Rubocop Autocorrect by @lcreid in #659
- Use the minitest test runner by @lcreid in #666
- Update gemspec by @siegy22 in #667
- Test extra arguments by @lcreid in #668
- CI Updates by @lcreid in #669
- Test wrapper_class and wrapper: { class: specified by @lcreid in #671
- Remove tests for versions before Rails 5.2 by @lcreid in #672
- 674 html tests by @lcreid in #676
- Fix assets in the demo app by @lcreid in #678
- Update ruby requirement to >=3.0 by @donv in #679
- Preparing v5.2.0 by @donv in #681
New Contributors
Full Changelog: v5.1.0...v5.2.0
Closed issues
5.1.0
What's Changed
New features
- Enable include hidden by @a5-stable in #627
- Consider human attribute name for labels by @koenpunt in #565
- Add support for Ransack::Search object to the first argument of bootrap_form_for by @harada4atsushi in #549
- Add support for append and prepend on collection_select (fixes #428) by @judylovesruby in #641
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
- Typo in Contributing Doc by @lcreid in #620
- Demo 7.0 by @lcreid in #624
#300 - Add example images to README.md by @donv in #635
- Add generated HTML for the examples in README.md by @donv in #636
- Update the generated HTML for the trix editor example by @donv in #640
- Need 7.0.2 for file upload test by @lcreid in #643
- Use docker-compose by @lcreid in #644
New Contributors
- @aki77 made their first contribution in #615
- @a5-stable made their first contribution in #627
- @isaac made their first contribution in #634
- @harada4atsushi made their first contribution in #549
- @judylovesruby made their first contribution in #641
Full Changelog: v5.0.0...v5.1.0
Closed issues: 2021-11-12...2022-06-25
5.0.0
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.