Skip to content

Bump govuk-frontend from 5.14.0 to 6.0.0#1903

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/govuk-frontend-6.0.0
Closed

Bump govuk-frontend from 5.14.0 to 6.0.0#1903
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/govuk-frontend-6.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2026

Bumps govuk-frontend from 5.14.0 to 6.0.0.

Release notes

Sourced from govuk-frontend's releases.

GOV.UK Frontend v6.0.0

To install this version with npm, run npm install govuk-frontend@6.0.0. You can also find more information about how to stay up to date in our documentation.

Breaking changes

Make sure you're using Dart Sass v1.79.0 or newer to compile your Sass stylesheets

GOV.UK Frontend no longer supports Ruby Sass, LibSass or versions of Dart Sass older than v1.79.0. Update your project to Dart Sass v1.79.0 or newer before updating to GOV.UK Frontend v6.0.

We made these changes in the following pull requests:

Update to the new type scale

We’ve applied the new type scale that was first introduced in GOV.UK Frontend 5.2.0 as an opt-in feature.

The type scale increases the size of text on small screens, improving legibility and accessibility.

We've also removed size 14 from the type scale. The smallest size in the type scale is now 16.

See the Design System website for an overview of the changes to the type scale in the Design System.

You should test your service against the new type scale to see if you need to make any adjustments, particularly on small screens.

Stop using size 14 from the type scale

You'll now see an error when compiling your Sass if you pass $size: 14 to the govuk-font-size or govuk-font mixins.

Update your code to use a different size.

We made this change in [pull request #6417: Remove 14 from the type scale](alphagov/govuk-frontend#6417).

Stop using the govuk-body-xs and govuk-!-font-size-14 classes

Update your service to remove or replace references to the govuk-body-xs or govuk-!-font-size-14 classes.

We've removed these classes from GOV.UK Frontend.

We made this change in [pull request #6417: Remove 14 from the type scale](alphagov/govuk-frontend#6417).

Remove references to the $govuk-new-typography-scale feature flag

Remove any references to the $govuk-new-typography-scale feature flag from your code. We've now removed this feature flag.

We made this change in [pull request #6421: Turn the new type scale on by default](alphagov/govuk-frontend#6421).

Use GOV.UK brand colours

... (truncated)

Changelog

Sourced from govuk-frontend's changelog.

v6.0.0 (Breaking release)

Breaking changes

Make sure you're using Dart Sass v1.79.0 or newer to compile your Sass stylesheets

GOV.UK Frontend no longer supports Ruby Sass, LibSass or versions of Dart Sass older than v1.79.0. Update your project to Dart Sass v1.79.0 or newer before updating to GOV.UK Frontend v6.0.

We made these changes in the following pull requests:

Update to the new type scale

We’ve applied the new type scale that was first introduced in GOV.UK Frontend 5.2.0 as an opt-in feature.

The type scale increases the size of text on small screens, improving legibility and accessibility.

We've also removed size 14 from the type scale. The smallest size in the type scale is now 16.

See the Design System website for an overview of the changes to the type scale in the Design System.

You should test your service against the new type scale to see if you need to make any adjustments, particularly on small screens.

Stop using size 14 from the type scale

You'll now see an error when compiling your Sass if you pass $size: 14 to the govuk-font-size or govuk-font mixins.

Update your code to use a different size.

We made this change in [pull request #6417: Remove 14 from the type scale](alphagov/govuk-frontend#6417).

Stop using the govuk-body-xs and govuk-!-font-size-14 classes

Update your service to remove or replace references to the govuk-body-xs or govuk-!-font-size-14 classes.

We've removed these classes from GOV.UK Frontend.

We made this change in [pull request #6417: Remove 14 from the type scale](alphagov/govuk-frontend#6417).

Remove references to the $govuk-new-typography-scale feature flag

Remove any references to the $govuk-new-typography-scale feature flag from your code. We've now removed this feature flag.

We made this change in [pull request #6421: Turn the new type scale on by default](alphagov/govuk-frontend#6421).

Use GOV.UK brand colours

We’ve updated GOV.UK Frontend to use the GOV.UK web palette from v1.0 of the GOV.UK brand guidelines.

... (truncated)

Commits
  • a12af67 Release 6.0.0
  • b20d16a Remove leading _ from colour custom properties
  • 9129bb8 Merge pull request #6712 from alphagov/links-10-percent-shade
  • a117712 Update warning if applied colour variables are set
  • b1e2fcf Fix line length of comments
  • 9bec507 Update docs for $govuk-functional-colours
  • 2f1dddf Update docs for govuk-functional-colour
  • f412cd7 Update doc for govuk-colour and add usage examples
  • 9e07cfc Explain how borders are used in service navigation
  • d9500e6 Remove surface link functional colour
  • 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 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 Feb 17, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/govuk-frontend-6.0.0 branch 3 times, most recently from 19f3205 to 30c074a Compare February 26, 2026 16:13
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/govuk-frontend-6.0.0 branch 2 times, most recently from 04e9843 to f22b9ed Compare March 9, 2026 15:31
Bumps [govuk-frontend](https://github.com/alphagov/govuk-frontend/tree/HEAD/packages/govuk-frontend) from 5.14.0 to 6.0.0.
- [Release notes](https://github.com/alphagov/govuk-frontend/releases)
- [Changelog](https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md)
- [Commits](https://github.com/alphagov/govuk-frontend/commits/v6.0.0/packages/govuk-frontend)

---
updated-dependencies:
- dependency-name: govuk-frontend
  dependency-version: 6.0.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/govuk-frontend-6.0.0 branch from f22b9ed to 74f95f2 Compare March 9, 2026 16:01
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

🎉 A review copy of this PR has been deployed! It is made of up two components

  1. A review copy of forms-runner
  2. A production copy of forms-admin

Important

Not all of the functionality of forms-runner is present in review apps.
Functionality such as sending emails, file upload, and S3 submission types are
deliberately disabled for the sake of simplifying review apps.

You should use the full dev environment to test the functionality which is disabled here.

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2026

Superseded by #1951.

@dependabot dependabot bot closed this Mar 10, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/govuk-frontend-6.0.0 branch March 10, 2026 02:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants