Skip to content

Upgrade: [dependabot] - bump nhsuk-frontend from 9.6.4 to 10.1.0#1432

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.1.0
Closed

Upgrade: [dependabot] - bump nhsuk-frontend from 9.6.4 to 10.1.0#1432
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2025

Bumps nhsuk-frontend from 9.6.4 to 10.1.0.

Release notes

Sourced from nhsuk-frontend's releases.

v10.1.0

10.1.0 - 15 October 2025

🆕 New features

Localise character count component

You can now translate the text used by the character count component to:

  • show when the maximum number of characters or words is reached
  • show the number of characters or words over or under the allowed maximum
  • update the textarea description if JavaScript is not available
  • announce to screen readers when the textarea is focused

The Nunjucks macro accepts new options so you can customise each message. You can:

  • Use charactersAtLimitText or wordsAtLimitText to provide the text that shows when users have reached the limit.
  • Use charactersUnderLimitText or wordsUnderLimitText to provide the text that shows when users are under the limit. The component will pluralise the message according to the configured locale and the number of characters or words remaining.
  • Use charactersOverLimitText or wordsOverLimitText to provide the text that shows when users are over the limit. The component will pluralise the message according to the configured locale and the number of characters or words remaining.
  • Use textareaDescriptionText to provide the textarea description for assistive technologies. It is visible on the page when JavaScript is unavailable.

The component will replace %{count} with the number of characters over or under the limit.

If you're not using Nunjucks macros, you can use data-* attributes to provide these translations. Within the attribute value, any quotation marks or other characters reserved by HTML needs to be converted into their HTML entity equivalents.

You can:

  • use data-i18n.characters-at-limit or data-i18n.words-at-limit for when users are at the limit
  • configure the text that informs the end user they are under the character or word limit, by using data-i18n.characters-under-limit.{other,many,few,two,one,zero} or data-i18n.words-under-limit.{other,many,few,two,one,zero}, with one suffix for each plural form required by your locale
  • configure the text that informs the end user they are over the character or word limit, by using data-i18n.characters-over-limit.{other,many,few,two,one,zero} or data-i18n.words-over-limit.{other,many,few,two,one,zero}, with one suffix for each plural form required by your locale
  • configure the description provided to assistive technologies when users focus the input, by using data-i18n.textarea-description.{other,many,few,two,one,zero} to provide the text to set as the description

You can also provide these messages using a JavaScript configuration object when creating an instance of the component or initialising all components. See our guidance on localising NHS.UK frontend for how to do this.

This was added in [pull request #1565: Add character count localisation](nhsuk/nhsuk-frontend#1565).

Smaller versions of radio buttons and checkboxes

You can now use smaller versions of the radios and checkboxes components by adding the nhsuk-radios--small or nhsuk-checkboxes--small class.

This was added in [pull request #1567: Uplift GOV.UK Frontend form field components](nhsuk/nhsuk-frontend#1567).

Updated Nunjucks macro options for components

For consistency with other components, we’ve added new Nunjucks macro options:

  • Back link visuallyHiddenText option
  • Breadcrumbs nested backLink component option
  • Contents list landmarkLabel and visuallyHiddenTitle options
  • Do and Don't list prefixText option, with nested item text and html options

... (truncated)

Changelog

Sourced from nhsuk-frontend's changelog.

10.1.0 - 15 October 2025

🆕 New features

Localise character count component

You can now translate the text used by the character count component to:

  • show when the maximum number of characters or words is reached
  • show the number of characters or words over or under the allowed maximum
  • update the textarea description if JavaScript is not available
  • announce to screen readers when the textarea is focused

The Nunjucks macro accepts new options so you can customise each message. You can:

  • Use charactersAtLimitText or wordsAtLimitText to provide the text that shows when users have reached the limit.
  • Use charactersUnderLimitText or wordsUnderLimitText to provide the text that shows when users are under the limit. The component will pluralise the message according to the configured locale and the number of characters or words remaining.
  • Use charactersOverLimitText or wordsOverLimitText to provide the text that shows when users are over the limit. The component will pluralise the message according to the configured locale and the number of characters or words remaining.
  • Use textareaDescriptionText to provide the textarea description for assistive technologies. It is visible on the page when JavaScript is unavailable.

The component will replace %{count} with the number of characters over or under the limit.

If you're not using Nunjucks macros, you can use data-* attributes to provide these translations. Within the attribute value, any quotation marks or other characters reserved by HTML needs to be converted into their HTML entity equivalents.

You can:

  • use data-i18n.characters-at-limit or data-i18n.words-at-limit for when users are at the limit
  • configure the text that informs the end user they are under the character or word limit, by using data-i18n.characters-under-limit.{other,many,few,two,one,zero} or data-i18n.words-under-limit.{other,many,few,two,one,zero}, with one suffix for each plural form required by your locale
  • configure the text that informs the end user they are over the character or word limit, by using data-i18n.characters-over-limit.{other,many,few,two,one,zero} or data-i18n.words-over-limit.{other,many,few,two,one,zero}, with one suffix for each plural form required by your locale
  • configure the description provided to assistive technologies when users focus the input, by using data-i18n.textarea-description.{other,many,few,two,one,zero} to provide the text to set as the description

You can also provide these messages using a JavaScript configuration object when creating an instance of the component or initialising all components. See our guidance on localising NHS.UK frontend for how to do this.

This was added in [pull request #1565: Add character count localisation](nhsuk/nhsuk-frontend#1565).

Smaller versions of radio buttons and checkboxes

You can now use smaller versions of the radios and checkboxes components by adding the nhsuk-radios--small or nhsuk-checkboxes--small class.

This was added in [pull request #1567: Uplift GOV.UK Frontend form field components](nhsuk/nhsuk-frontend#1567).

Updated Nunjucks macro options for components

For consistency with other components, we’ve added new Nunjucks macro options:

  • Back link visuallyHiddenText option
  • Breadcrumbs nested backLink component option
  • Contents list landmarkLabel and visuallyHiddenTitle options
  • Do and Don't list prefixText option, with nested item text and html options
  • Fieldset html and role options

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 17, 2025
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot enabled auto-merge (squash) October 17, 2025 18:04
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 6885aee to 5625382 Compare October 17, 2025 18:56
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 5625382 to 5bd548c Compare October 17, 2025 19:29
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 5bd548c to 09ccb84 Compare October 17, 2025 20:01
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 09ccb84 to 976e0c2 Compare October 18, 2025 07:32
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 976e0c2 to e40eee1 Compare October 18, 2025 08:05
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from e40eee1 to 85c19d1 Compare October 18, 2025 08:40
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 85c19d1 to a9f6d84 Compare October 18, 2025 09:27
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from a9f6d84 to e903457 Compare October 18, 2025 18:28
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from e903457 to 5403d3a Compare October 18, 2025 19:03
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from 5403d3a to ef39495 Compare October 18, 2025 19:38
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from ef39495 to cb5c661 Compare October 18, 2025 20:10
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

Bumps [nhsuk-frontend](https://github.com/nhsuk/nhsuk-frontend) from 9.6.4 to 10.1.0.
- [Release notes](https://github.com/nhsuk/nhsuk-frontend/releases)
- [Changelog](https://github.com/nhsuk/nhsuk-frontend/blob/main/CHANGELOG.md)
- [Commits](nhsuk/nhsuk-frontend@v9.6.4...v10.1.0)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch from cb5c661 to cac75ac Compare October 18, 2025 20:45
@eps-autoapprove-dependabot
Copy link

I'm not approving this PR because it includes a major update of a dependency used in production

@sonarqubecloud
Copy link

auto-merge was automatically disabled October 20, 2025 13:43

Pull request was closed

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nhsuk-frontend-10.1.0 branch October 20, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code requires-manual-qa

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant