Skip to content

Bump govuk-frontend from 6.1.0 to 6.2.0#3395

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/govuk-frontend-6.2.0
Open

Bump govuk-frontend from 6.1.0 to 6.2.0#3395
dependabot[bot] wants to merge 1 commit 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

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
govuk-frontend [>= 5.a, < 6]

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)

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 9, 2026
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