Skip to content

Bump govuk-frontend from 6.1.0 to 6.2.0#2831

Merged
stephencdaly merged 4 commits into
mainfrom
dependabot/npm_and_yarn/govuk-frontend-6.2.0
Jun 19, 2026
Merged

Bump govuk-frontend from 6.1.0 to 6.2.0#2831
stephencdaly merged 4 commits into
mainfrom
dependabot/npm_and_yarn/govuk-frontend-6.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Bumps govuk-frontend from 6.1.0 to 6.2.0.

Release notes

Sourced from govuk-frontend's releases.

GOV.UK Frontend v6.2.0

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

New features

Use @use to include GOV.UK Frontend styles in Sass

You can now include GOV.UK Frontend as a Sass module with @use or @forward.

@import was deprecated in Dart Sass v1.88.0, and the Sass team will remove it in Dart Sass v3.0.0.

We also plan to deprecate and eventually remove support for @import from GOV.UK Frontend in future releases.

We recommend you migrate to using Sass modules instead of @import everywhere in your Sass, unless your service depends on other Sass libraries that use @import. Mixing @use and @import can lead to duplicated CSS or configuration not being applied due to how Sass loads the included stylesheets.

To include all the styles from GOV.UK Frontend in your compiled stylesheet, replace @import with @use in your Sass file:

// Previously
@import "node_modules/govuk-frontend/dist/govuk";
// Now
// Outputs GOV.UK Frontend's CSS (@use) and
// makes the Sass API available without namespacing (as *)
@​use "node_modules/govuk-frontend/dist/govuk" as *;

To configure any of GOV.UK Frontend's settings when including it in your Sass file, you should now use a with clause listing each setting you want to modify to your @use rule:

// Previously
$govuk-assets-path: "/path/to/assets/";
@import "node_modules/govuk-frontend/dist/govuk";
// Now
@​use "node_modules/govuk-frontend/dist/govuk" as * with (
$govuk-assets-path: "/path/to/assets/"
);

You can also include specific parts of GOV.UK Frontend using Sass.

See the GOV.UK Frontend documentation for more information on including GOV.UK Frontend in your Sass build.

We made this change in [pull request #6862: Migration to Sass modules](alphagov/govuk-frontend#6862).

Use shorter pkg: URLs to include individual files in Sass

... (truncated)

Changelog

Sourced from govuk-frontend's changelog.

v6.2.0 (Feature release)

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

New features

Use @use to include GOV.UK Frontend styles in Sass

You can now include GOV.UK Frontend as a Sass module with @use or @forward.

@import was deprecated in Dart Sass v1.88.0, and the Sass team will remove it in Dart Sass v3.0.0.

We also plan to deprecate and eventually remove support for @import from GOV.UK Frontend in future releases.

We recommend you migrate to using Sass modules instead of @import everywhere in your Sass, unless your service depends on other Sass libraries that use @import. Mixing @use and @import can lead to duplicated CSS or configuration not being applied due to how Sass loads the included stylesheets.

To include all the styles from GOV.UK Frontend in your compiled stylesheet, replace @import with @use in your Sass file:

// Previously
@import "node_modules/govuk-frontend/dist/govuk";
// Now
// Outputs GOV.UK Frontend's CSS (@use) and
// makes the Sass API available without namespacing (as *)
@​use "node_modules/govuk-frontend/dist/govuk" as *;

To configure any of GOV.UK Frontend's settings when including it in your Sass file, you should now use a with clause listing each setting you want to modify to your @use rule:

// Previously
$govuk-assets-path: "/path/to/assets/";
@import "node_modules/govuk-frontend/dist/govuk";
// Now
@​use "node_modules/govuk-frontend/dist/govuk" as * with (
$govuk-assets-path: "/path/to/assets/"
);

You can also include specific parts of GOV.UK Frontend using Sass.

See the GOV.UK Frontend documentation for more information on including GOV.UK Frontend in your Sass build.

We made this change in [pull request #6862: Migration to Sass modules](alphagov/govuk-frontend#6862).

Use shorter pkg: URLs to include individual files in Sass

... (truncated)

Commits
  • cd590d4 Release 6.2.0
  • f9fed3e Merge pull request #7137 from alphagov/dependabot/npm_and_yarn/html-validate-...
  • a16cdbc Add missing names to input component examples
  • bacda24 Bump html-validate from 10.11.2 to 11.4.0
  • 95ea2ef Bump the babel group with 2 updates
  • 5181124 Bump rollup from 4.60.3 to 4.60.4 in the rollup group across 1 directory
  • 84352e0 Correct typo in $govuk-success-colour deprecation message
  • cbf7fa1 Bump @​babel/preset-env from 7.29.2 to 7.29.5 in the babel group
  • b7ebd0b Release 6.2.0-rc.0
  • 1077dad Update the CHANGELOG entry using postversion hook
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 9, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/govuk-frontend-6.2.0 branch from bcea7f2 to 3c6b29a Compare June 16, 2026 09:07
dependabot Bot and others added 4 commits June 19, 2026 11:15
Bumps [govuk-frontend](https://github.com/alphagov/govuk-frontend/tree/HEAD/packages/govuk-frontend) from 6.1.0 to 6.2.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.2.0/packages/govuk-frontend)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [govuk-components](https://github.com/x-govuk/govuk-components) from 6.2.0 to 6.3.1.
- [Release notes](https://github.com/x-govuk/govuk-components/releases)
- [Commits](x-govuk/govuk-components@v6.2.0...v6.3.1)

---
updated-dependencies:
- dependency-name: govuk-components
  dependency-version: 6.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [govuk_design_system_formbuilder](https://github.com/x-govuk/govuk-form-builder) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/x-govuk/govuk-form-builder/releases)
- [Commits](x-govuk/govuk-form-builder@v6.1.0...v6.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@stephencdaly stephencdaly force-pushed the dependabot/npm_and_yarn/govuk-frontend-6.2.0 branch from cae5732 to e7b181e Compare June 19, 2026 10:15
@github-actions

Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2831.admin.review.forms.service.gov.uk/

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.

@stephencdaly stephencdaly added this pull request to the merge queue Jun 19, 2026
Merged via the queue into main with commit a75c3eb Jun 19, 2026
3 checks passed
@stephencdaly stephencdaly deleted the dependabot/npm_and_yarn/govuk-frontend-6.2.0 branch June 19, 2026 11:59
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.

2 participants