From 8aac3667931a16537ab68038ec4cebce186bd596 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sat, 16 Jun 2018 10:42:39 -0700 Subject: [PATCH] Preparing v4.0.0.alpha1 --- CHANGELOG.md | 21 +++++++++++++++++---- README.md | 4 +--- lib/bootstrap_form/version.rb | 2 +- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b3f7c71a..721225097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ ## [Pending Release][] +### Breaking changes + +* Your contribution here! + +### New features + +* Your contribution here! + +### Bugfixes + +* Your contribution here! + + +## [4.0.0.alpha1][] (2018-06-16) + 🚨 **This release adds support for Bootstrap v4 and drops support for Bootstrap v3.** 🚨 If your app uses Bootstrap v3, you should continue using bootstrap_form 2.7.x instead. @@ -22,7 +37,6 @@ In addition to these necessary markup changes, the bootstrap_form API itself has * `form_group` with a block that contains more than one `check_box` or `radio_button` needs to be modified to produce validation error messages (see the UPGRADE-4.0 document). [@lcreid](https://github.com/lcreid). * [#456](https://github.com/bootstrap-ruby/bootstrap_form/pull/456): Fix label `for` attribute when passing non-english characters using `collection_check_boxes` - [@ug0](https://github.com/ug0). * [#449](https://github.com/bootstrap-ruby/bootstrap_form/pull/449): Bootstrap 4 no longer mixes in `.row` in `.form-group`. `bootstrap_form` adds `.row` to `div.form-group` when layout is horizontal. -* Your contribution here! ### New features @@ -35,14 +49,12 @@ In addition to these necessary markup changes, the bootstrap_form API itself has * [#449](https://github.com/bootstrap-ruby/bootstrap_form/pull/449): Passing `.form-row` overrides default `.form-group.row` in horizontal layouts. * Added an option to the `submit` (and `primary`, by transitivity) form tag helper, `render_as_button`, which when truthy makes the submit button render as a button instead of an input. This allows you to easily provide further styling to your form submission buttons, without requiring you to reinvent the wheel and use the `button` helper (and having to manually insert the typical Bootstrap classes). - [@jsaraiva](https://github.com/jsaraiva). * Add `:error_message` option to `check_box` and `radio_button`, so they can output validation error messages if needed. [@lcreid](https://github.com/lcreid). -* Your contribution here! ### Bugfixes * [#357](https://github.com/bootstrap-ruby/bootstrap_form/pull/357) if provided, use html option `id` to specify `for` attribute on label [@duleorlovic](https://github.com/duleorlovic) -* Your contribution here! ## [2.7.0][] (2017-04-21) @@ -204,7 +216,8 @@ Features: - Added support for bootstrap_form_tag (@baldwindavid) -[Pending Release]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.7.0...HEAD +[Pending Release]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.0.0.alpha1...HEAD +[4.0.0.alpha1]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.7.0...v4.0.0.alpha1 [2.7.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.6.0...v2.7.0 [2.6.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.3...v2.6.0 [2.5.3]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.2...v2.5.3 diff --git a/README.md b/README.md index 7d3cd7329..ab9f38033 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,7 @@ Bootstrap v4-style forms into your Rails application. Add it to your Gemfile: ```ruby -gem "bootstrap_form", - git: "https://github.com/bootstrap-ruby/bootstrap_form.git", - branch: "master" +gem "bootstrap_form", ">= 4.0.0.alpha1" ``` Then: diff --git a/lib/bootstrap_form/version.rb b/lib/bootstrap_form/version.rb index 603ffe175..773de1d06 100644 --- a/lib/bootstrap_form/version.rb +++ b/lib/bootstrap_form/version.rb @@ -1,3 +1,3 @@ module BootstrapForm - VERSION = "4.0.0.dev".freeze + VERSION = "4.0.0.alpha1".freeze end