Releases: x-govuk/govuk-form-builder
Releases · x-govuk/govuk-form-builder
Version 1.1.1
- Fix a bug where the same id was being assigned to multiple radio button hints, thanks @stevehook #89
- Allow the builder to work with plain old ruby objects in addition to
ActiveModel
andActiveRecord
-backed ones, thanks @jsugarman #90
Version 1.1.0
- Allow various settings in the builder to be configured via an initialiser #73
- Add localisation #68
- Add support for custom localisation schemas #81
- Add support for Ruby 2.7.0 and Rails 6.0.2 #86
- Allow _collection_method field args to take procs #75
- Switch from
govuk_lint
torubocop
#61 - Huge refactor of
Base
object, move shared functionality out to a set ofTraits
modules #77 - Improve the way the gem loads itself #78
Version 1.0.1
- Fix a bug that prevented dynamic character counting JavaScript from being properly-initialised. Thanks to @dankmitchell for assisting with diagnosing and fixing this! 👍 #71
Version 1.0.0
- Support for GOV.UK Design System 3.4.0 #67
- Integrate dependabot 🤖 #62
- Various guide improvements and minor dependency bumps #63 #61 #66
- Drop references of support for older versions of the design system, there have been numerous bug fixes and the
0.7.x
branch isn't really fit for general use without backporting some of the improvements
Version 0.9.8
- Allow date inputs to be rendered without the day part. This allows for less-exact dates, such as graduation dates, to be captured. Internally Rails will assign
01
to the missing part. #56 #57 - Some minor bits of tidying up including silencing NPM output when building the guide and removing unused assets
Version 0.9.7
Version 0.9.6
Version 0.9.5
- Remove Rails as a dependency, only require the parts that are absolutely required (Action View, Active Model and Active Support) #40
- Separate out text input fields into separate classes #41
- Add error classes to the select input #42
- Fix a bug where on the
govuk_collection_check_boxes
andgovuk_collection_radio_buttons
methods, when errors were present the error field label was being applied to all labels instead of just the first one #43
Version 0.9.4
- Remove the Rails 6.0.0 requirement, make the Rails requirement allow version 5.2.3 or later
- Make Travis test against multiple versions of Rails, currently 5.2.3 and 6.0.0
Version 0.9.3
- A full guide has been created to accompany the project. It is written in Nanoc and loads the form builder to produce all of the example code contained within it #25
- More accessible injectable content. When blocks of arbitrary HTML are passed into form helpers the contents are wrapped in a
<div>
tag which is automatically referenced by the element'saria-describedby
attribute. This doesn't affect how they look but will make the contents more-discoverable to people using assistive technologies like screen readers #32 - Bold labels for radio buttons. #31
- Support for
- File upload fields
- Improved display of character limit hints on text areas #22
- Plenty of refactoring, optimisation and small display/formatting fixes