Skip to content

Releases: alphagov/govuk-prototype-kit

v7.1.0

15 Aug 12:59
874d910
Compare
Choose a tag to compare

v7.0.0

31 Jul 14:40
1563e9e
Compare
Choose a tag to compare

This release adds backwards compatibility, so you can use old prototypes
made in v6 of the Prototype Kit in v7.

Read the guidance on using backwards compatibility

New features:

Bug fixes:

v7.0.0-beta.10

v6.3.0

v6.2.0

13 Jul 17:07
Compare
Choose a tag to compare

Version 6.1.0

v6.0.0 - Auto data store

05 Apr 13:54
Compare
Choose a tag to compare

New features

This release adds a major new feature to automatically store all data input by users and make it available to all views. You no longer need to use routes.js to store data or display it. Usage details here.

The release also adds two new template pages - one for content, and one for questions.

Breaking changes

This version has two breaking changes:

  1. Changing the markup for radios and checkboxes
  2. Storing data automatically in session

1. Changing the markup used for radios and checkboxes

The markup used by radios and checkboxes has been updated to support the new 'chunky' style.

See the Elements 3.0.0 release for what changed. You can see examples of the new markup in Elements.

2. Storing data automatically in session

The kit now stores data to req.session.data. In the unlikely case that you're already storing something as req.session.data, you'll need to change to something else.

Updating

In addition to following the instructions to update the kit, you will need to add the new useAutoStoreData lines to your app/config.js - you can copy the new lines here.

You'll need to update the markup used in radios and checkboxes to the new format.

Clearing data

If you do research with real user data, it’s important that you clear any data stored by the prototype.

Always run usability sessions in incognito windows. At the end of the session, close all incognito windows.

To manually clear data, click on the clear data link at the bottom of every page of the prototype.

Commits included

Bug fixes

v5.1.0

v5.0.1

16 Dec 18:34
Compare
Choose a tag to compare

Changes:

  • #330 Update GOV.UK toolkit and StandardJS to latest
  • #328 Update GOV.UK template to latest
  • #324 Fix the example question page’s back link

v5.0.0

21 Nov 10:55
Compare
Choose a tag to compare

Breaking changes:

Use Gulp.js rather than Grunt as a build tool.
It is recommended to install Gulp globally, do so using:

npm install --global gulp-cli

All changes:

The short version:

The extended version:
This release includes custom radio buttons and checkbox styles from govuk-elements-sass v2.2.0.
The version of Node that the prototype kit uses has been updated, we recommend using LTS (version 6 or above).
Travis will now run tests against each pull request to ensure that the app runs (by checking the server and build tasks).
The latest-release branch can be used to update the prototype kit. Instructions for updating your version of the prototype kit via the latest-release branch can be found here.