Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2025

Bumps govuk-frontend from 5.10.2 to 5.11.0.

Release notes

Sourced from govuk-frontend's releases.

GOV.UK Frontend v5.11.0

New features

The Service navigation component no longer uses a menu on mobile for a single link

If you're using our Nunjucks macros, the Service navigation component will no longer collapse the navigation behind a Menu toggle on mobile if there's only one navigation link.

You can control this behaviour using the new collapseNavigationOnMobile Nunjucks option.

If you're not using our Nunjucks macros, you can recreate this behaviour by omitting the Menu <button> element when there is only one navigation item.

We made this change in [pull request #6016: Don’t use menu for service nav with a single link](alphagov/govuk-frontend#6016).

Add inverse styling to Service navigation for use on product pages

If you enable the GOV.UK rebrand, you can now add the govuk-service-navigation--inverse class to the Service navigation component to use white links on a blue background.

This allows the rebranded GOV.UK header and Service navigation components to flow seamlessly with any following components that have a blue background, as is common on GOV.UK Digital Service Platform pages.

We made this change in [pull request #6015: Add inverse variant to Service navigation component](alphagov/govuk-frontend#6015).

You'll now see a deprecation warning if you're using LibSass

If you're using the deprecated LibSass library, you'll now see this deprecation warning when compiling your Sass:

It looks like you may be using LibSass to compile your Sass. LibSass is deprecated and will not be supported by the next major version of GOV.UK Frontend. See https://sass-lang.com/libsass/ for more information. To silence this warning, update $govuk-suppressed-warnings with key: "libsass"

We made this change in [pull request #5993: Warn if Sass is compiled using libsass](alphagov/govuk-frontend#5993).

Deprecated features

Replace references to CSS custom properties for breakpoints

We've renamed the CSS custom properties for breakpoints to simplify the prefix from --govuk-frontend to just --govuk.

Old name New name
--govuk-frontend-breakpoint-mobile --govuk-breakpoint-mobile
--govuk-frontend-breakpoint-tablet --govuk-breakpoint-tablet
--govuk-frontend-breakpoint-desktop --govuk-breakpoint-desktop

You can still use the old names, but we'll remove them in the next breaking release (GOV.UK Frontend v6.0.0).

We made this change in [pull request #6014: Simplify prefix for breakpoint custom properties](alphagov/govuk-frontend#6014).

Fixes

We've updated the SVG (Scalable Vector Graphics) file of the GOV.UK logo to fix some imperfections visible at high zoom levels. Thanks to @​matteason for reporting this.

... (truncated)

Changelog

Sourced from govuk-frontend's changelog.

v5.11.0 (Feature release)

New features

The Service navigation component no longer uses a menu on mobile for a single link

If you're using our Nunjucks macros, the Service navigation component will no longer collapse the navigation behind a Menu toggle on mobile if there's only one navigation link.

You can control this behaviour using the new collapseNavigationOnMobile Nunjucks option.

If you're not using our Nunjucks macros, you can recreate this behaviour by omitting the Menu <button> element when there is only one navigation item.

We made this change in [pull request #6016: Don’t use menu for service nav with a single link](alphagov/govuk-frontend#6016).

Add inverse styling to Service navigation for use on product pages

If you enable the GOV.UK rebrand, you can now add the govuk-service-navigation--inverse class to the Service navigation component to use white links on a blue background.

This allows the rebranded GOV.UK header and Service navigation components to flow seamlessly with any following components that have a blue background, as is common on GOV.UK Digital Service Platform pages.

We made this change in [pull request #6015: Add inverse variant to Service navigation component](alphagov/govuk-frontend#6015).

You'll now see a deprecation warning if you're using LibSass

If you're using the deprecated LibSass library, you'll now see this deprecation warning when compiling your Sass:

It looks like you may be using LibSass to compile your Sass. LibSass is deprecated and will not be supported by the next major version of GOV.UK Frontend. See https://sass-lang.com/libsass/ for more information. To silence this warning, update $govuk-suppressed-warnings with key: "libsass"

We made this change in [pull request #5993: Warn if Sass is compiled using libsass](alphagov/govuk-frontend#5993).

Deprecated features

Replace references to CSS custom properties for breakpoints

We've renamed the CSS custom properties for breakpoints to simplify the prefix from --govuk-frontend to just --govuk.

Old name New name
--govuk-frontend-breakpoint-mobile --govuk-breakpoint-mobile
--govuk-frontend-breakpoint-tablet --govuk-breakpoint-tablet
--govuk-frontend-breakpoint-desktop --govuk-breakpoint-desktop

You can still use the old names, but we'll remove them in the next breaking release (GOV.UK Frontend v6.0.0).

We made this change in [pull request #6014: Simplify prefix for breakpoint custom properties](alphagov/govuk-frontend#6014).

Fixes

We've updated the SVG (Scalable Vector Graphics) file of the GOV.UK logo to fix some imperfections visible at high zoom levels. Thanks to @​matteason for reporting this.

... (truncated)

Commits
  • 89218ac Merge pull request #6043 from alphagov/release-5.11.0
  • 242f235 Release 5.11.0
  • 7e5a0b4 Merge pull request #6041 from alphagov/changelog-updates-5.11
  • b24491f Update CHANGELOG with content changes
  • 515beea Merge pull request #6039 from alphagov/swap-build-release-jobs
  • c5e82d3 Merge pull request #6040 from alphagov/uninstall-yargs-parser
  • 8104c0d Uninstall yargs-parser
  • 0dc4acc Merge pull request #6000 from alphagov/dependabot/npm_and_yarn/types-c746ca0636
  • b56bb89 Add optional dependency for rest-endpoint-methods
  • 70bc405 Bump the types group with 4 updates
  • 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 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 Jun 26, 2025
@dependabot dependabot bot requested a review from a team as a code owner June 26, 2025 14:12
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 26, 2025
Bumps [govuk-frontend](https://github.com/alphagov/govuk-frontend) from 5.10.2 to 5.11.0.
- [Release notes](https://github.com/alphagov/govuk-frontend/releases)
- [Changelog](https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md)
- [Commits](alphagov/govuk-frontend@v5.10.2...v5.11.0)

---
updated-dependencies:
- dependency-name: govuk-frontend
  dependency-version: 5.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/govuk-frontend-5.11.0 branch from 33d4437 to 224a6db Compare June 30, 2025 16:43
Copy link

@Hassanmir92 Hassanmir92 merged commit c4a09f2 into main Jul 15, 2025
26 checks passed
@Hassanmir92 Hassanmir92 deleted the dependabot/npm_and_yarn/govuk-frontend-5.11.0 branch July 15, 2025 12:29
Copy link

Review app for PR 2793 was deleted

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 deploy javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant