Skip to content

Commit

Permalink
Merge pull request #1514 from alphagov/ldeb-support-release-12.2.0
Browse files Browse the repository at this point in the history
Release 12.2.0
  • Loading branch information
lfdebrux authored Aug 23, 2022
2 parents 81b6a96 + 08b09cd commit 254e66c
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 8 deletions.
48 changes: 45 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,52 @@

## Unreleased

### New features
## 12.2.0

This release updates the step by step pattern and ensures the GOV.UK Prototype Kit reflects the latest release of the GOV.UK Frontend, v4.3.1.

### Breaking change

#### Update the step by step pattern

The step by step navigation pattern presents an end to end journey in logical steps, with links to content that helps users complete each step.

The changes to step by step bring the pattern in line with what is currently used on GOV.UK and make it into an extension.

If you are working on an old prototype and want to update the step by step pattern, update `app/assets/sass/application.scss` to remove the old step by step pattern imports.

[How to update to the latest version](https://govuk-prototype-kit.herokuapp.com/docs/updating-the-kit)

##### To continue using the old pattern

It can be hard to update step by step if you currently use an older version of the pattern in your prototype.

You can keep the older version by installing the step by step extension version 1. In terminal type:

`npm install @govuk-prototype-kit/[email protected]`

This change was added in [#1471: Update step by step and install it as an extension](https://github.com/alphagov/govuk-prototype-kit/pull/1471).

### New feature

#### Update to GOV.UK Frontend v4.3.1

The new release of the GOV.UK Frontend contains:

- a new Pagination component, which can help users to navigate backwards and forwards through a series of pages
- pass HTML directly into compatible components
- improvements to the ‘Checkboxes’, ‘Radios’ and ‘Select’ components to let services select answers when the page loads by using the ‘values’ option.
- several fixes: some of these are to address issues with the component ES module JavaScript (introduced in v4.3.0)

If you want to use the new Pagination component, you will also need to update the `layout.html` file in your prototype.

Check the [GOV.UK Frontend release notes](https://github.com/alphagov/govuk-frontend/releases) for changes you may need to make to ensure your prototype works.

These changes was added in:

- Update to GOV.UK Frontend 4.3.1
- Update step by step pattern and install it as an extension
- [#2222: Update the Design System to use GOV.UK Frontend v4.2.0](https://github.com/alphagov/govuk-design-system/issues/2222)
- [#2271 Update the Design System to use GOV.UK Frontend v4.3.0](https://github.com/alphagov/govuk-design-system/issues/2271)
- [#2309: Update the Design System to use GOV.UK Front end v4.3.1](https://github.com/alphagov/govuk-design-system/issues/2309)

## 12.1.1 (Fix release)

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.1.1
12.2.0
4 changes: 2 additions & 2 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.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "govuk-prototype-kit",
"description": "Rapidly create HTML prototypes of GOV.UK services",
"version": "12.1.1",
"version": "12.2.0",
"private": true,
"engines": {
"node": ">=12.0.0 <17.0.0"
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Set the version of the kit that should be downloaded by default
# Update this when making a new release
VERSION="${VERSION:-12.1.1}"
VERSION="${VERSION:-12.2.0}"

# Use unofficial bash strict mode
set -euo pipefail
Expand Down

0 comments on commit 254e66c

Please sign in to comment.