From 7e593befbfdf6f2d23530fc8e3da314ef5e15a46 Mon Sep 17 00:00:00 2001 From: Laurence de Bruxelles Date: Tue, 23 Aug 2022 13:08:01 +0100 Subject: [PATCH 1/2] Update changelog with release notes Co-authored-by: NoraGDS <57447099+NoraGDS@users.noreply.github.com> --- CHANGELOG.md | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0861dea5ec..624e8fd962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/step-by-step@1.0.0` + +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) From 08b09cdad480665a6d60ba3705d94e7fd83610fe Mon Sep 17 00:00:00 2001 From: Laurence de Bruxelles Date: Thu, 11 Aug 2022 08:21:55 +0100 Subject: [PATCH 2/2] Release 12.2.0 --- VERSION.txt | 2 +- package-lock.json | 4 ++-- package.json | 2 +- update.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index a5545292c4..685332623b 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -12.1.1 +12.2.0 diff --git a/package-lock.json b/package-lock.json index 7955975797..a606554a54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "govuk-prototype-kit", - "version": "12.1.1", + "version": "12.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "govuk-prototype-kit", - "version": "12.1.1", + "version": "12.2.0", "dependencies": { "@govuk-prototype-kit/step-by-step": "^2.0.0", "acorn": "^8.5.0", diff --git a/package.json b/package.json index 357aee9561..0d7ec7ab6a 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/update.sh b/update.sh index ee94decbfd..8df3a34473 100755 --- a/update.sh +++ b/update.sh @@ -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