# Changelog
All notable changes to this project will be documented in this file.
For more information about changelogs, check
[Keep a Changelog](http://keepachangelog.com) and
[Vandamme](http://tech-angels.github.io/vandamme).
## 1.3.5 - 2015-12-18
* [ENHANCEMENT] Replace `errors.get(:field)` with `errors[:field]` since the former is deprecated in Rails 5.
## 1.3.4 - 2015-06-23
* [BUGFIX] Security: don’t always assume that the content of `link_to` is safe
Note that this might break your code if it relied on the wrong behavior of
Bh, assuming that the content of `link_to` was always HTML safe.
For instance, if your app has the following code to display an image with a
link `link_to '', '/'`, then the image will not display
anymore, since Bh now correctly escapes the HTML content (as Rails and Padrino
do). In this case, you should use `link_to image_tag('logo.png'), '/'` instead.
## 1.3.3 - 2015-03-11
* [BUGFIX] Correctly align the "X" icon at the right of the field in basic forms
## 1.3.2 - 2015-03-05
* [BUGFIX] Respect the original behavior of Padrino/Rails when calling `link_to` with `nil` as the name
## 1.3.1 - 2015-02-03
* [BUGFIX] Do not render the `:offset` option of the field helpers in the DOM
* [BUGFIX] Do not render the `:label` option of the field helpers in the DOM
* [ENHANCEMENT] Add `:label_options` option to customize the wrapping label of a field
## 1.3.0 - 2015-02-02
* [FEATURE] Extend `form_for` to be wrapped in