diff --git a/.yarnrc b/.yarnrc index 09e3b5a9..85f58a55 100644 --- a/.yarnrc +++ b/.yarnrc @@ -2,4 +2,4 @@ # yarn lockfile v1 -lastUpdateCheck 1761695563757 +lastUpdateCheck 1761786460258 diff --git a/CHANGELOG.md b/CHANGELOG.md index 49e0b18e..dbac9711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ https://github.com/bootstrap-ruby/bootstrap_form/releases ## Diffs +- [5.5.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.4.0...v5.5.0) + [Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-10-30T00A00..2025-10-30T00) - [5.4.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.3.2...v5.4.0) [Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-09-15T21%3A00..2023-10-30T00) - [5.3.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.3.1...v5.3.2) @@ -57,6 +59,7 @@ The tooling to support our old way of doing the change log doesn't work anymore, * [#573](https://github.com/bootstrap-ruby/bootstrap_form/issues/573): Add support for Bootstrap 5's floating labels * [#215](https://github.com/bootstrap-ruby/bootstrap_form/issues/215): Add `include_hidden` option to `check_box` + ### Bugfixes * [#582](https://github.com/bootstrap-ruby/bootstrap_form/issues/582): Fix tests in bootstrap-5 branch, removes Rubocop offenses, and adds testing with Rails 6.1. diff --git a/README.md b/README.md index 4e9d1f48..f652ee93 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Some other nice things that `bootstrap_form` does for you are: `bootstrap_form` supports at a minimum the currently supported versions of Ruby and Rails: * Ruby 3.2+ (https://www.ruby-lang.org/en/downloads/branches/) -* Rails 7.1+ (https://guides.rubyonrails.org/maintenance_policy.html) +* Rails 7.2+ (https://guides.rubyonrails.org/maintenance_policy.html) * Bootstrap 5.0+ ## Installation @@ -52,7 +52,7 @@ You can use this gem with other ways of installing Bootstrap, but how to do so i Once Bootstrap is installed, add the `bootstrap_form` gem to your `Gemfile`: ```ruby -gem "bootstrap_form", "~> 5.4" +gem "bootstrap_form", "~> 5.5" ``` Then: @@ -792,7 +792,7 @@ This generates: - +
@@ -1505,7 +1505,7 @@ Generated HTML:
is invalid
- +
diff --git a/RELEASING.md b/RELEASING.md index 66f25830..a62623a3 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -14,22 +14,15 @@ Follow these steps to release a new version of bootstrap_form to rubygems.org. 2. Update the version in `./lib/bootstrap_form/version.rb`. 3. Make sure that you have all the gems necessary for testing and releasing. - BUNDLE_GEMFILE=gemfiles/7.1.gemfile bundle update + BUNDLE_GEMFILE=gemfiles/7.2.gemfile bundle update 4. **Ensure the tests are passing by running the tests** (There should be no errors or warnings.) - BUNDLE_GEMFILE=gemfiles/7.1.gemfile bundle exec rake test - -5. **Ensure the demo tests are passing by running** - - cd demo - bundle update bundle exec rake test:all - cd - - (You will have failures unless you're running on a Mac configured so the screenshots will be identical. This is something that we're hoping to fix.) + You will have failures in the system tests unless you're running on Linux. Chrome on each operating system renders slightly differently. 6. Update the GitHub diff links at the beginning of `CHANGELOG.md` (The pattern should be obvious when you look at them). 7. Update the installation instructions in `README.md` to use the new version. diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index 008a855f..fe2dd8ca 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,38 +1,38 @@ PATH remote: .. specs: - bootstrap_form (5.4.0) - actionpack (>= 7.1) - activemodel (>= 7.1) + bootstrap_form (5.5.0) + actionpack (>= 7.2) + activemodel (>= 7.2) GEM remote: https://rubygems.org/ specs: action_text-trix (2.1.15) railties - actioncable (8.1.0) - actionpack (= 8.1.0) - activesupport (= 8.1.0) + actioncable (8.1.1) + actionpack (= 8.1.1) + activesupport (= 8.1.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (8.1.0) - actionpack (= 8.1.0) - activejob (= 8.1.0) - activerecord (= 8.1.0) - activestorage (= 8.1.0) - activesupport (= 8.1.0) + actionmailbox (8.1.1) + actionpack (= 8.1.1) + activejob (= 8.1.1) + activerecord (= 8.1.1) + activestorage (= 8.1.1) + activesupport (= 8.1.1) mail (>= 2.8.0) - actionmailer (8.1.0) - actionpack (= 8.1.0) - actionview (= 8.1.0) - activejob (= 8.1.0) - activesupport (= 8.1.0) + actionmailer (8.1.1) + actionpack (= 8.1.1) + actionview (= 8.1.1) + activejob (= 8.1.1) + activesupport (= 8.1.1) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (8.1.0) - actionview (= 8.1.0) - activesupport (= 8.1.0) + actionpack (8.1.1) + actionview (= 8.1.1) + activesupport (= 8.1.1) nokogiri (>= 1.8.5) rack (>= 2.2.4) rack-session (>= 1.0.1) @@ -40,36 +40,36 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (8.1.0) + actiontext (8.1.1) action_text-trix (~> 2.1.15) - actionpack (= 8.1.0) - activerecord (= 8.1.0) - activestorage (= 8.1.0) - activesupport (= 8.1.0) + actionpack (= 8.1.1) + activerecord (= 8.1.1) + activestorage (= 8.1.1) + activesupport (= 8.1.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (8.1.0) - activesupport (= 8.1.0) + actionview (8.1.1) + activesupport (= 8.1.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (8.1.0) - activesupport (= 8.1.0) + activejob (8.1.1) + activesupport (= 8.1.1) globalid (>= 0.3.6) - activemodel (8.1.0) - activesupport (= 8.1.0) - activerecord (8.1.0) - activemodel (= 8.1.0) - activesupport (= 8.1.0) + activemodel (8.1.1) + activesupport (= 8.1.1) + activerecord (8.1.1) + activemodel (= 8.1.1) + activesupport (= 8.1.1) timeout (>= 0.4.0) - activestorage (8.1.0) - actionpack (= 8.1.0) - activejob (= 8.1.0) - activerecord (= 8.1.0) - activesupport (= 8.1.0) + activestorage (8.1.1) + actionpack (= 8.1.1) + activejob (= 8.1.1) + activerecord (= 8.1.1) + activesupport (= 8.1.1) marcel (~> 1.0) - activesupport (8.1.0) + activesupport (8.1.1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -87,9 +87,9 @@ GEM base64 (0.3.0) bigdecimal (3.3.1) bindex (0.8.1) - bootsnap (1.18.4) + bootsnap (1.18.6) msgpack (~> 1.2) - brakeman (7.0.2) + brakeman (7.1.0) racc builder (3.3.0) capybara (3.40.0) @@ -101,7 +101,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - capybara-screenshot-diff (1.10.2) + capybara-screenshot-diff (1.10.3.1) actionpack (>= 7.0, < 9) capybara (>= 2, < 4) chunky_png (1.4.0) @@ -110,12 +110,12 @@ GEM crass (1.0.6) cssbundling-rails (1.4.3) railties (>= 6.0.0) - date (3.4.1) - debug (1.10.0) + date (3.5.0) + debug (1.11.0) irb (~> 1.10) reline (>= 0.3.8) drb (2.2.3) - erb (5.1.1) + erb (5.1.3) erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) @@ -127,12 +127,12 @@ GEM pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - jbuilder (2.13.0) - actionview (>= 5.0.0) - activesupport (>= 5.0.0) + jbuilder (2.14.1) + actionview (>= 7.0.0) + activesupport (>= 7.0.0) jsbundling-rails (1.3.1) railties (>= 6.0.0) - json (2.15.1) + json (2.15.2) logger (1.7.0) loofah (2.24.1) crass (~> 1.0.2) @@ -144,7 +144,7 @@ GEM net-pop net-smtp marcel (1.1.0) - matrix (0.4.2) + matrix (0.4.3) mini_mime (1.1.5) mini_portile2 (2.8.9) minitest (5.26.0) @@ -175,16 +175,15 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - propshaft (1.1.0) + propshaft (1.3.1) actionpack (>= 7.0.0) activesupport (>= 7.0.0) rack - railties (>= 7.0.0) psych (5.2.6) date stringio - public_suffix (6.0.1) - puma (6.6.0) + public_suffix (6.0.2) + puma (7.1.0) nio4r (~> 2.0) racc (1.8.1) rack (3.2.3) @@ -195,20 +194,20 @@ GEM rack (>= 1.3) rackup (2.2.1) rack (>= 3) - rails (8.1.0) - actioncable (= 8.1.0) - actionmailbox (= 8.1.0) - actionmailer (= 8.1.0) - actionpack (= 8.1.0) - actiontext (= 8.1.0) - actionview (= 8.1.0) - activejob (= 8.1.0) - activemodel (= 8.1.0) - activerecord (= 8.1.0) - activestorage (= 8.1.0) - activesupport (= 8.1.0) + rails (8.1.1) + actioncable (= 8.1.1) + actionmailbox (= 8.1.1) + actionmailer (= 8.1.1) + actionpack (= 8.1.1) + actiontext (= 8.1.1) + actionview (= 8.1.1) + activejob (= 8.1.1) + activemodel (= 8.1.1) + activerecord (= 8.1.1) + activestorage (= 8.1.1) + activesupport (= 8.1.1) bundler (>= 1.15.0) - railties (= 8.1.0) + railties (= 8.1.1) rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest @@ -216,50 +215,50 @@ GEM rails-html-sanitizer (1.6.2) loofah (~> 2.21) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - railties (8.1.0) - actionpack (= 8.1.0) - activesupport (= 8.1.0) + railties (8.1.1) + actionpack (= 8.1.1) + activesupport (= 8.1.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) tsort (>= 0.2) zeitwerk (~> 2.6) - rake (13.3.0) + rake (13.3.1) rdoc (6.15.0) erb psych (>= 4.0.0) tsort - regexp_parser (2.10.0) + regexp_parser (2.11.3) reline (0.6.2) io-console (~> 0.5) - rexml (3.4.1) - rubyzip (2.4.1) + rexml (3.4.4) + rubyzip (3.2.1) securerandom (0.4.1) - selenium-webdriver (4.29.1) + selenium-webdriver (4.38.0) base64 (~> 0.2) logger (~> 1.4) rexml (~> 3.2, >= 3.2.5) - rubyzip (>= 1.2.2, < 3.0) + rubyzip (>= 1.2.2, < 4.0) websocket (~> 1.0) - sqlite3 (2.6.0-aarch64-linux-gnu) - sqlite3 (2.6.0-arm-linux-gnu) - sqlite3 (2.6.0-arm64-darwin) - sqlite3 (2.6.0-x86-linux-gnu) - sqlite3 (2.6.0-x86_64-darwin) - sqlite3 (2.6.0-x86_64-linux-gnu) + sqlite3 (2.7.4-aarch64-linux-gnu) + sqlite3 (2.7.4-arm-linux-gnu) + sqlite3 (2.7.4-arm64-darwin) + sqlite3 (2.7.4-x86-linux-gnu) + sqlite3 (2.7.4-x86_64-darwin) + sqlite3 (2.7.4-x86_64-linux-gnu) stimulus-rails (1.3.4) railties (>= 6.0.0) stringio (3.1.7) thor (1.4.0) - thruster (0.1.14) - thruster (0.1.14-aarch64-linux) - thruster (0.1.14-arm64-darwin) - thruster (0.1.14-x86_64-darwin) - thruster (0.1.14-x86_64-linux) - timeout (0.4.3) + thruster (0.1.16) + thruster (0.1.16-aarch64-linux) + thruster (0.1.16-arm64-darwin) + thruster (0.1.16-x86_64-darwin) + thruster (0.1.16-x86_64-linux) + timeout (0.4.4) tsort (0.2.0) - turbo-rails (2.0.16) + turbo-rails (2.0.20) actionpack (>= 7.1.0) railties (>= 7.1.0) tzinfo (2.0.6) diff --git a/lib/bootstrap_form/version.rb b/lib/bootstrap_form/version.rb index 2b3d295c..44f7a61f 100644 --- a/lib/bootstrap_form/version.rb +++ b/lib/bootstrap_form/version.rb @@ -1,4 +1,4 @@ module BootstrapForm - VERSION = "5.4.0".freeze - REQUIRED_RAILS_VERSION = ">= 7.1".freeze + VERSION = "5.5.0".freeze + REQUIRED_RAILS_VERSION = ">= 7.2".freeze end