Releases: alphagov/govuk-prototype-kit
v7.1.0
v7.0.0
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:
- #568 Update GOV.UK Frontend to 1.2.0
- #563 Add Nunjucks macro example to 'passing data' guidance
- #553 Add backwards compatibility - support for prototypes made in Version 6 of the Prototype Kit
- #557 Bump outdated dependencies:
- Update standard from 10.0.2 to 11.0.1 and fix violations
- Update run-sequence from 1.2.2 to 2.2.1
- Update require-dir from 0.3.2 to 1.0.0
- Update notifications-node-client from 3.0.0 to 4.1.0
- Update marked from 0.3.6 to 0.4.0
- Update gulp-sass from 3.1.0 to 4.0.1
- Update gulp-mocha from v4.3.1 to v6.0.0
- Update gulp-clean from 0.3.2 to 0.4.0
- Update express from 4.15.2 to 4.16.3
- Update dotenv from 4.0.0 to 6.0.0
- Update cross-spawn from 5.0.0 to 6.0.5
- Update basic-auth from 1.0.3 to 2.0.0
- #557 Remove unused readdir dependency
- #557 Fix a broken link in an error message
Bug fixes:
- #566 Improve error handling
- #556 Update branching example
- #536 Import missing component macros
- #532 Update repo links from govuk_prototype_kit to govuk-prototype-kit
- #540 Fix grid css classes on check-your-answers page
- #562 Change the syntax used to specify node engine versions to fix a bug that prevented prototypes from being deployed to a CloudFoundry instance, by
v7.0.0-beta.10
Breaking changes:
New features:
- #501 Add default session data
- #502 Add Cookies and Privacy policy text
- #521 Do not track users who have enabled 'DoNotTrack'
- #522 Add inline-code block styles
- #523 Track app usage
- #525 Add design system message to home page
Bug fixes:
- #530 Update elements class to frontend on examples page
- #491 Remove redundant Google Analytics
- #524 Make "Prototype Kit" casing consistent
- #527 Update docs/index page to include same information as private beta
To see the previous private beta releases see the archived private beta repository.
v6.3.0
New features:
- #430 Recommend Atom over Sublime text
- #415 Update to govuk-elements-sass v3.1.1
- #422 fix(package): update govuk_template_jinja to version 0.22.3
- #401 Update govuk_template_jinja to 0.22.2
- #409 Update govuk_frontend_toolkit to 7.0.0
- #406 Add documentation for creating a release
- #410 Copyright should be Crown Copyright
- #407 Support deprecated check-your-answers table styles
Bug fixes:
v6.2.0
Version 6.1.0
v6.0.0 - Auto data store
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:
- Changing the markup for radios and checkboxes
- 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
- #369 Add template pages for content and questions
- #340 Auto data session 4
- #367 Added config to turn off browser sync
- #368 Update Travis deployment to be consistent with other govuk frontend repos
- #361 Add an example of the task list pattern
- #364 Use GOV.UK elements v3.0.1
- #360 Bump govuk_frontend_toolkit to 5.1.1
- #352 bump gulp-sass to increase node-sass dependency
Bug fixes
v5.1.0
New features:
Bug fixes:
v5.0.1
v5.0.0
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:
- #311 Update govuk-elements-sass to 2.2.0
- #308 Change node version from 4 to 6
- #299 Basic sanity check test suite
- #296 Keep the latest release branch up-to-date
- Fix broken links for the documentation app
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.