DFE-Digital / govuk-rails-boilerplate

A simple boilerplate built on Ruby on Rails to kick start new services
https://govuk-rails-boilerplate.herokuapp.com/pages/home
MIT License
26 stars 9 forks source link

Bump govuk_design_system_formbuilder from 2.7.2 to 3.0.1 #469

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps govuk_design_system_formbuilder from 2.7.2 to 3.0.1.

Release notes

Sourced from govuk_design_system_formbuilder's releases.

Version 3.0.1

  • Change default_error_summary_turbo_prefix from turbolinks to turbo - as everything else is geared towards getting up and running with the latest version of Rails it makes sense to target turbo by default. #345

    To continue prefixing error summary links for turbolinks add this line to your config:

      config.default_error_summary_turbo_prefix = 'turbolinks'
    
  • Run the quality check/guide building step using Ruby 3.1 instead of Ruby 3.0 because Nanoc switched to using the latest version of Psych's keyword argument style over positional #347

Version 3.0.0

  • Support GOV.UK Design System version 4.0.0
    • always render hints in div elements, never span. Previously the form builder would render text arguments in span and blocks in div 8189646
    • error messages are now rendered in p tags 02c43fc
  • Update the guide. Massive thanks to @​paulrobertlloyd for making it look professional!
  • Drop support for Ruby 2.6.X and Rails 6.0.X
  • Add support for Ruby 3.1.0 and Rails 7.0.0
  • Change the default branch from master to main

Support for older versions

As the upgrade to GOV.UK Design System 4.0.0 will take some time, the 2.8 series of the form builder will continue to receive critical bug fixes but all new features will be for version 3.0.0 and above

Version 2.8.0

  • Allow maxlength to be optionally set on date inputs. Thanks @​willfish for implementing this #329
  • Add a configuration option that implicitly trusts (and calls #html_safe on) error messages. It might be useful if additional formatting is needed within the error. It is disabled by default. Thanks @​darokel for this one #330
  • Improve the building of CSS classes via #build_classes #323

Version 2.7.6

  • Update supported Ruby and Rails versions #324
  • Add support for Turbo #322
  • Allow error presenters to fully override link targets - thanks to @​elliotcm for raising this and providing the initial implementation #326

Version 2.7.5

  • Fix a bug in the deep merging of HTML attributes that was causing data- values to be affected. The logic has been flipped so only certain attributes (those that contain space-separated lists of values) will be merged and all others ignored. Thanks @​baarkerlounger for diagnosing and reporting this #320
  • Add support for GOV.UK Frontend version 3.14.0 #321
  • Bump GOV.UK Dependabot to 4.1.0 #317

Version 2.7.4

  • Improve the behaviour of bold_labels in radio button collections. Since the beginning the behaviour has been to flip the default to bold labels when the :description is present, as it adds hints per option and they can blend into the labels. This approach didn't allow bold labels to be turned off when not wanted, so here we're changing the default from false to nil. When nil, the old behaviour continues but when set to either true or false the setting will take precedence. Thanks @​fofr for identifying and raising this. #316
  • Upgrade to version 3.13.1 of the design system #314

Version 2.7.3

  • Allow error summary to take a presenter argument for further customisation of the error summary list. The default presenter implements the current behaviour (it displays the first error for each attribute) but gives developers full control over the output. There's a new section in the guide covering its use. Many thanks to @​jsugarman for this #311
  • Refactor some of the label/legend content building, move from #compact#first to #find(&:presence) #308
Commits
  • ec7231a Release version 3.0.1
  • 26ca7a5 Merge pull request #347 from DFE-Digital/bump-quality-check-ruby-version-to-3...
  • 3c0073e Bump Ruby version to stop guide build failing
  • 8d8f050 Merge pull request #345 from DFE-Digital/change-error-summary-turbo-prefix-fo...
  • 47472b1 Change default turbolinks prefix to turbo
  • 4e4e066 Release version 3.0.0
  • db28bf9 Rename master to main in README and workflow tasks
  • 416f7c0 Merge pull request #334 from DFE-Digital/version-3.0.0
  • f006c67 Merge pull request #344 from DFE-Digital/ruby-3.1.0
  • 9e8a3b6 Include Ruby 3.1.0 support, update to Rails 7.0.1
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #479.