Skip to content

Commit

Permalink
Preparing v4.0.0.alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Jun 16, 2018
1 parent c6a7366 commit 8aac366
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
21 changes: 17 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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

Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/bootstrap_form/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module BootstrapForm
VERSION = "4.0.0.dev".freeze
VERSION = "4.0.0.alpha1".freeze
end

0 comments on commit 8aac366

Please sign in to comment.