Skip to content

Releases: x-govuk/govuk-form-builder

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

Version 0.9.2

27 Aug 16:51
Compare
Choose a tag to compare
Version 0.9.2 Pre-release
Pre-release
  • Improve the display of the textarea character count by removing the limit text, now only the "You have X characters remaining" text shows.
  • Fix a bug where when errors were present the corresponding label wasn't properly associated with the input

Version 0.9.1

27 Aug 16:49
Compare
Choose a tag to compare
Version 0.9.1 Pre-release
Pre-release

Fixes a bug where a missing govuk- prefix prevented the textarea character counter from working

v0.9.0

12 Aug 17:54
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

This is the first beta for 1.0.0

New features included in this release:

  • Compatibility with Version 3 of the GOV.UK Design System (#19)
  • Improved error display, now only the first error per attribute is shown in both the summary and individual error messages (#20)
  • Various refactorings and improvements to the test suite (7489de2)

Version 0.7.10

30 Jul 13:21
Compare
Choose a tag to compare

This release:

  • improves the linking between the #govuk_error_summary list items and form elements, in particular it
    • links errors on regular inputs directly to the corresponding input element
    • links errors on text areas directly to the corresponding textarea element
    • links errors on select boxes directly to the corresponding select element
    • links errors on file inputs directly to the corresponding input element
    • links errors on date fields to the date's day input element
    • links errors on collection radio buttons to the first radio input
    • links errors on collection check boxes to the first checkbox input
    • provides a mechanism to mark the first checkbox or radio in the checkbox/radio fieldset helpers as being the target for error links
  • Adds #govuk_file_field
  • Adds support for labels as headings
  • Adds Travis and CodeClimate integrations
  • Plenty of smaller fixes, refactorings and tidying