Skip to content

Commit

Permalink
Release v5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romaricpascal committed Aug 9, 2024
1 parent 7e5ec60 commit 2101cd5
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 15 deletions.
16 changes: 10 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ For advice on how to use these release notes see [our guidance on staying up to

## Unreleased

## v5.5.0 (Feature release)

To install this version with npm, run `npm install govuk-frontend@5.5.0`. You can also find more information about [how to stay up to date](https://frontend.design-system.service.gov.uk/staying-up-to-date/#updating-to-the-latest-version) in our documentation.

### New features

#### We've updated the list of organisations and brand colours included in Frontend

We've overhauled the list of organisations and organisation brand colours that are shipped with GOV.UK Frontend.

The previous list was outdated and had not kept up with changes to the machinery of government. We have updated the list to:
The previous list was outdated and had not kept up with changes to the machinery of government. We’ve updated the list to:

- add all current government departments and their brand colours
- add variants of brand colours that meet a 4.5:1 contrast ratio against white, where required
Expand All @@ -26,11 +30,11 @@ $govuk-new-organisation-colours: true;

You can also silence warnings about defunct organisations by adding `organisation-colours` to the [`$govuk-suppressed-warnings`](https://frontend.design-system.service.gov.uk/sass-api-reference/#govuk-suppressed-warnings) setting.

This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407).
We introduced this change in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407).

#### Stop long words breaking out of components with `govuk-!-text-break-word`

We've added a new override class to help display long or unpredictable words on narrow screens, such as an email address entered by a user.
We've added a new override class to help display long words with no obvious break points when the space is too narrow to display them on one line. An example of a long word might be an email address entered by a user.

Wrapping the content with the `govuk-!-text-break-word` class forces words that are too long for the parent element to break onto a new line.

Expand All @@ -40,19 +44,19 @@ A confirmation email will be sent to <span class="govuk-!-text-break-word">arthu

Sass users can also use the `govuk-text-break-word` mixin.

This change was introduced in [pull request #5159: Add break-word typography helper](https://github.com/alphagov/govuk-frontend/pull/5159).
We introduced this change in [pull request #5159: Add break-word typography helper](https://github.com/alphagov/govuk-frontend/pull/5159).

### Recommended changes

#### Update the `$websafe` parameter on the `govuk-organisation-colour` function

The `govuk-organisation-colour` Sass function's `$websafe` parameter on has been renamed to `$contrast-safe`.
The `govuk-organisation-colour` Sass function's `$websafe` parameter has been renamed to `$contrast-safe`.

This is to more accurately describe the functionality of the parameter.

The old parameter name will stop working in the next major version of GOV.UK Frontend.

This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407).
We introduced this change in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407).

### Fixes

Expand Down
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.4.1
5.5.0
1 change: 0 additions & 1 deletion dist/govuk-frontend-5.4.1.min.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/govuk-frontend-5.5.0.min.css.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/govuk-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "govuk-frontend",
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
"version": "5.4.1",
"version": "5.5.0",
"main": "dist/govuk/all.bundle.js",
"module": "dist/govuk/all.mjs",
"sass": "dist/govuk/all.scss",
Expand Down

0 comments on commit 2101cd5

Please sign in to comment.