Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency govuk-frontend to v5.8.0 #1298

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
govuk-frontend (source) 5.7.1 -> 5.8.0 age adoption passing confidence

Release Notes

alphagov/govuk-frontend (govuk-frontend)

v5.8.0

Compare Source

To install this version with npm, run npm install [email protected]. You can also find more information about how to stay up to date in our documentation.

New features
Use our base configurable component to build your own configurable component

We've added a ConfigurableComponent class to help you build your own configurable components. It extends our Component class and allows you to focus on your components' specific features by handling these shared behaviours across components:

  • checking that GOV.UK Frontend is supported
  • checking that the component is not already initialised on its root element
  • checking the type of the root element and storing it for access within the component as this.$root
  • taking a configuration object as a parameter and then storing it for access within the component as this.config
  • merging a passed configuration object with configuration options specified on the data attributes of the root element

We introduced this change in:

Deprecated features
Importing Sass using govuk/all

You'll see a warning when compiling your Sass if you import all of GOV.UK Frontend's styling using govuk/all. Importing using the all file is deprecated, and we’ll remove it in the next major release.

In your import statements, use a trailing /index rather than /all to load GOV.UK Frontend's files:

  • @import "govuk/index"; instead of @import "govuk/all";

You do not need /index at the end of each import path if you’re using Dart Sass.

This change was introduced in pull request #​5518: Deprecate govuk/all.scss and only reference govuk/index.scss internally.

Fixes

We've made fixes to GOV.UK Frontend in the following pull requests:


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions github-actions bot temporarily deployed to commit February 3, 2025 01:31 Inactive
Copy link

cypress bot commented Feb 3, 2025

NotGovUK    Run #6707

Run Properties:  status check passed Passed #6707  •  git commit 5a55db60e1: Update dependency govuk-frontend to v5.8.0
Project NotGovUK
Branch Review renovate/govuk-frontend-5.x
Run status status check passed Passed #6707
Run duration 12m 04s
Commit git commit 5a55db60e1: Update dependency govuk-frontend to v5.8.0
Committer renovate[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 1
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Copy link

cypress bot commented Feb 3, 2025

NotGovUK    Run #6709

Run Properties:  status check passed Passed #6709  •  git commit 7f1bc10051 ℹ️: Merge 5a55db60e13828f886cd346263a87925055181a9 into 9c375d8328e0065b03503f3cb7dd...
Project NotGovUK
Branch Review renovate/govuk-frontend-5.x
Run status status check passed Passed #6709
Run duration 13m 16s
Commit git commit 7f1bc10051 ℹ️: Merge 5a55db60e13828f886cd346263a87925055181a9 into 9c375d8328e0065b03503f3cb7dd...
Committer renovate[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 90
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

@renovate renovate bot force-pushed the renovate/govuk-frontend-5.x branch from 5a55db6 to dd8374c Compare February 3, 2025 17:34
@github-actions github-actions bot temporarily deployed to commit February 3, 2025 17:37 Inactive
@daniel-ac-martin daniel-ac-martin merged commit 85d7197 into master Feb 3, 2025
41 of 43 checks passed
@daniel-ac-martin daniel-ac-martin deleted the renovate/govuk-frontend-5.x branch February 3, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant