Skip to content

Releases: x-govuk/govuk-form-builder

Version 1.1.1

07 Jan 17:56
Compare
Choose a tag to compare
  • 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 and ActiveRecord-backed ones, thanks @jsugarman #90

Version 1.1.0

29 Dec 14:24
27ba5aa
Compare
Choose a tag to compare
  • 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 to rubocop #61
  • Huge refactor of Base object, move shared functionality out to a set of Traits modules #77
  • Improve the way the gem loads itself #78

Version 1.0.1

23 Nov 14:32
Compare
Choose a tag to compare
  • 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

19 Nov 12:15
Compare
Choose a tag to compare
  • 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

01 Nov 14:08
Compare
Choose a tag to compare
Version 0.9.8 Pre-release
Pre-release
  • 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

12 Oct 19:01
29a81ef
Compare
Choose a tag to compare
Version 0.9.7 Pre-release
Pre-release
  • Support for GOV.UK Design System version 3.3.0 #53
  • Remove unlicenced assets from the guide #52
  • Fix display bug where conditional content wasn't properly aligned #50
  • Improve the display of hyperlinks in the guide #49

Version 0.9.6

08 Oct 08:17
Compare
Choose a tag to compare
Version 0.9.6 Pre-release
Pre-release
  • Fix a minor label bug when radio/checkbox fieldsets have errors #44 (similar to #43 but for fieldsets rather than collections)
  • Add MIT LICENCE file
  • Add gemspec metadata, hopefully it will improve dependabot's PR descriptions 🤖

Version 0.9.5

28 Sep 15:05
Compare
Choose a tag to compare
Version 0.9.5 Pre-release
Pre-release
  • 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 and govuk_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

18 Sep 12:46
Compare
Choose a tag to compare
Version 0.9.4 Pre-release
Pre-release
  • 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

14 Sep 15:19
Compare
Choose a tag to compare
Version 0.9.3 Pre-release
Pre-release
  • 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's aria-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
    • Rails 6, Ruby 2.6.3 #34
    • and the GOV.UK Design System 3.2.0 #36
  • File upload fields
  • Improved display of character limit hints on text areas #22
  • Plenty of refactoring, optimisation and small display/formatting fixes