Skip to content

Commit

Permalink
Merge pull request #4732 from alphagov/release-4.8.0
Browse files Browse the repository at this point in the history
Release v4.8.0
  • Loading branch information
querkmachine committed Feb 5, 2024
2 parents 95dc753 + b625c12 commit f706252
Show file tree
Hide file tree
Showing 304 changed files with 604 additions and 134 deletions.
24 changes: 13 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
# Changelog

## 4.8.0 (Feature release)
## GOV.UK Frontend v4.8.0 (Feature release)

### New features
This release includes the ability to update the crown logo. You must do this between 19 February and 1 March 2024.
We’ll send reminders to our mailing list and cross-government Slack as soon as you can make this change.

#### Update to the new GOV.UK logo
### New features

The GOV.UK logo has been updated to reflect the changing of the monarch; King Charles III uses the Tudor Crown, rather than the St Edward’s Crown chosen by Queen Elizabeth II.
#### Update to the new GOV.UK logo (between 19 February and 1 March 2024)

If your service uses GOV.UK branding, you should update your service to use the new crown as soon as possible.
We’ve updated the GOV.UK logo to reflect the changing of the monarch. King Charles III uses the Tudor Crown, rather than the St Edward’s Crown chosen by Queen Elizabeth II.
If your service uses GOV.UK branding, you must update your service to use the new crown.

These changes were made in the following pull requests:

- [#4376: Implement the Tudor crown favicons (v4.x)](https://github.com/alphagov/govuk-frontend/pull/4376)
- [#4278: Implement the Tudor crown in the Header component (v4.x)](https://github.com/alphagov/govuk-frontend/pull/4278)
- [#4677: Adjust the spacing of the new Tudor crown (v4.x)](https://github.com/alphagov/govuk-frontend/pull/4677) - thanks to [Martin Jones](https://github.com/MartinJJones) and [Mónica Crusellas](https://github.com/monicacrusellasfanlo) for contributing this change

##### Include the new logo assets
#### Include the new logo assets

Multiple new image assets are included in this release. You will need to copy these to your service's image assets folder if they aren't being used directly from the Frontend package. By default this folder is located at `/assets/images`.
Multiple new image assets are included in this release. You’ll need to copy these to your service's image assets folder if they are not being used directly from the Frontend package. By default this folder is located at `/assets/images`.

If you are using Nunjucks, the asset path may have been changed by the `assetPath` global variable or `assetsPath` parameter on the header component.
If you’re using Nunjucks, the asset path may have been changed by the `assetPath` global variable or `assetsPath` parameter on the header component.

Copy the following files from `/dist/assets/images` into your assets folder. Any images with the same name as an existing image can be safely overwritten.

Expand All @@ -33,11 +35,11 @@ Copy the following files from `/dist/assets/images` into your assets folder. Any
- govuk-mask-icon.svg
- govuk-opengraph-image.png

##### Update the logo in the header of your page
#### Update the logo in the header of your page

If you are using the `govukHeader` Nunjucks macro in your service, add the `useTudorCrown` parameter to the macro instantiation.

```nunjucks
```
{{ govukHeader({
...
useTudorCrown: true
Expand All @@ -46,7 +48,7 @@ If you are using the `govukHeader` Nunjucks macro in your service, add the `useT

If you are not using the Nunjucks macro, locate the HTML for the existing crown and replace it with this updated HTML. Make sure the URL for the new PNG fallback image is correct.

```html
```
<!--[if gt IE 8]><!-->
<svg
aria-hidden="true"
Expand Down
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7.0
4.8.0
Binary file modified dist/assets/images/favicon.ico
Binary file not shown.
Binary file modified dist/assets/images/govuk-apple-touch-icon-152x152.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-apple-touch-icon-167x167.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-apple-touch-icon-180x180.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-apple-touch-icon.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/govuk-logotype-tudor-crown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions dist/assets/images/govuk-mask-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-opengraph-image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions dist/govuk-frontend-4.7.0.min.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/govuk-frontend-4.7.0.min.css.map

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-4.8.0.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/govuk-frontend-4.8.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: 0 additions & 2 deletions dist/govuk-frontend-ie8-4.7.0.min.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/govuk-frontend-ie8-4.7.0.min.css.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/govuk-frontend-ie8-4.8.0.min.css

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions 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 package/govuk-esm/common/govuk-frontend-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* It doesn't need to be updated manually.
*/

var version = '4.7.0';
var version = '4.8.0';

export { version };
//# sourceMappingURL=common/govuk-frontend-version.mjs.map
2 changes: 2 additions & 0 deletions package/govuk-prototype-kit/init.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ $govuk-global-styles: true !default;
$govuk-new-link-styles: true !default;

@import "../govuk/all";

/*# sourceMappingURL=init.scss.map */
1 change: 1 addition & 0 deletions package/govuk-prototype-kit/init.scss.map

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

2 changes: 2 additions & 0 deletions package/govuk/_base.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "settings/all";
@import "tools/all";
@import "helpers/all";

/*# sourceMappingURL=_base.scss.map */
1 change: 1 addition & 0 deletions package/govuk/_base.scss.map

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

2 changes: 2 additions & 0 deletions package/govuk/all-ie8.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ $govuk-suppressed-warnings: if(
$govuk-is-ie8: true;

@import "all";

/*# sourceMappingURL=all-ie8.scss.map */
1 change: 1 addition & 0 deletions package/govuk/all-ie8.scss.map

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

2 changes: 1 addition & 1 deletion package/govuk/all.js

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

2 changes: 2 additions & 0 deletions package/govuk/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

@import "utilities/all";
@import "overrides/all";

/*# sourceMappingURL=all.scss.map */
1 change: 1 addition & 0 deletions package/govuk/all.scss.map

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

Binary file modified package/govuk/assets/images/favicon.ico
Binary file not shown.
Binary file modified package/govuk/assets/images/govuk-apple-touch-icon-152x152.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified package/govuk/assets/images/govuk-apple-touch-icon-167x167.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified package/govuk/assets/images/govuk-apple-touch-icon-180x180.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified package/govuk/assets/images/govuk-apple-touch-icon.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions package/govuk/assets/images/govuk-mask-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified package/govuk/assets/images/govuk-opengraph-image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package/govuk/common/govuk-frontend-version.js

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

2 changes: 2 additions & 0 deletions package/govuk/components/_all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@
@import "table/index";
@import "textarea/index";
@import "warning-text/index";

/*# sourceMappingURL=_all.scss.map */

0 comments on commit f706252

Please sign in to comment.