Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Bump govuk_design_system_formbuilder from 2.7.2 to 3.0.2 #479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2022

Bumps govuk_design_system_formbuilder from 2.7.2 to 3.0.2.

Release notes

Sourced from govuk_design_system_formbuilder's releases.

v3.0.2

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

... (truncated)

Commits
  • af07b7a Release version 3.0.2
  • 5fb863e Merge branch 'govuk-design-system-4.0.1'
  • 4abdbc2 Update GOV.UK Frontend to 4.0.1
  • 768360a Merge pull request #350 from DFE-Digital/rails-7.0.2
  • b84ad45 Update Rails supported version to 7.0.2
  • d5d2dfe Merge pull request #349 from frankieroberto/remove-tabindex-from-error-summary
  • 288b180 Remove tabindex from Error Summary
  • 18abfc2 Merge pull request #348 from DFE-Digital/dependabot/bundler/rubocop-govuk-tw-...
  • b1ec8e3 Disable Style/HashSyntax cop
  • daf4b7d Update rubocop-govuk requirement from ~> 4.2.0 to ~> 4.3.0
  • 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)

Bumps [govuk_design_system_formbuilder](https://github.com/DFE-Digital/govuk-formbuilder) from 2.7.2 to 3.0.2.
- [Release notes](https://github.com/DFE-Digital/govuk-formbuilder/releases)
- [Commits](x-govuk/govuk-form-builder@v2.7.2...v3.0.2)

---
updated-dependencies:
- dependency-name: govuk_design_system_formbuilder
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants