- Add a filter for formatting NHS numbers with spaces (PR )
🔧 Fixes
- Fix NHS.UK frontend allowed paths on password page
- Fix reset session data route via GET request
- Improve Sass error handling when watching for changes
- Prevent unnecessary console logging from dotenv
- Preserve defaults when merging filters or session options
- Configure Nodemon to ignore browser JavaScript
- Exclude app code from linters by default
- Adds an .editorconfig file
- Use a different port if something is running on the default one (PR #557)
- The jQuery javascript library is no longer included (PR #556)
- Remove unused CSS (PR #555)
- Removed question page template as this is now available on the NHS Service manual website (PR #568)
- NHS.UK frontend updated to version 10 (PR 548)
- Update to NHS frontend 9.6.1 (PR #528)
- Mark the kit as compatible with Node 22 as well as Node 20 ([PR #531)(nhsuk/nhsuk-prototype-kit#531))
- Remove duplicate import from default template ([PR #526)(nhsuk/nhsuk-prototype-kit#526))
- Preserve query when redirecting POSTs to GETs (PR #527)
- Fix to include the NHS javascript in the default template (PR 518).
- Update to NHS frontend 9.5.2 (PR 521)
- Adds a new 'Reset data' feature (PR 482).
If upgrading, add this link to your footer links in app/views/layout.html:
{
"URL": "/prototype-admin/reset?returnPage=" + (currentPage | urlencode),
"label": "Reset data"
}and add this line to app.js:
app.use(utils.setLocals);- Switches to a new template included within NHS.UK frontend 9.4.1 to make future updates easier (PR 499).
To update, first follow the instructions in Updating the kit to update all the files in lib/, as well as app.js and package.json.
Then in your app/layout.html file, change
{% extends "template.html" %}to:
{% extends "prototype-kit-template.njk" %}and change:
{% block headCSS %}to
{% block head %}- Remove ‘Check your answers’ example template, as this is now available on the NHS design system website (PR 503)
- Remove Confirmation page example template, as this is now available on the NHS design system website as a pattern (PR 504)
- Update NHS Frontend to version 9.3.0, which includes a new Panel component
- Use strict https and automatic http to https redirects in production mode - (PR 410)
- Update .devcontainer to remove the image attribute (PR 451)
- Updated start page template to use the
serviceNamevariable in the h1 and title tag (PR 414) - Update Header to use the
serviceNamevariable (PR 417) - Update default service name (PR 419)
- Remove example page template with lots of content examples on it (PR 420)
- Changed all references from 'NHS.UK prototype kit' to 'NHS prototype kit'
- Update default index page (PR 423)
- Import task list component (PR 437)
- The example page templates have moved from the
docsfolder tolib/example-templates- (PR 409) - The middleware folder has been moved into the
libfolder - (PR 440) - Added a devcontainer.json file to configure Github Codespaces for use of the kit (PR 428)
- Remove guidance and tutorials - these can now be found online on the NHS Prototype Kit website - (PR 385)
- Update NHS frontend to 9.1.0
- Show errors when session data defaults crashes (PR 402)
🆕 New features
- Update to NHS.UK frontend v9.0.1 - see version 9.0.0 release notes for details on the breaking changes
- Drop
outerContentblock and usebeforeContentblock for both breadcrumbs and back links
🔧 Fixes
- Updates to dependencies
🔧
- Enable console logging for nodemon
- Replace basic auth with a custom authentication process
- Update NHS.UK frontend to v8.3.0
- Fix setting PORT via the command line (PR 347)
🔧 Fixes
- Disable nunjucks caching so changes to templates show immediately
- Stop watching .html and .scss files and restarting the server whenever they are changed
- Ignore eslint warnings
✏️ Content
- Update README with start script
- Fix a typo in setup docs
- Update NHS website page template to be closer to live
- Remove Covid banner from 'Health A-Z', 'Live Well', 'Mental Health' and 'Pregnancy' templates
🔧 Fixes
- Add aria-labels to coronavirus hub page and mental health pagenavigation links
- Removed the duplicate selector in '_related-nav.scss'
- Removed Covid banner from 'Social care and support guide' and 'NHS Services' templates
- Use 'String#startsWith' method instead of getting the index of a substring in utils.js
- Change unexpected var for const in gulpfile.js
- Update 'Social care and support guide' template to use primary cards with chevrons
- Upgrade node version to v20
- Update NHS.UK frontend to v8.1.0, includes updates to header and footer components
✏️ Content
- Fix styling on confirmation page
- Add character count and tab components
- Update guidance on setting a password in 'Publish your prototype online'
- Change references to NHS Digital to NHS England
- Enhance deployment instructions and test note in README
- Fix link in README
🔧 Maintenance
- Install NHS.UK frontend v7.0.0
✏️ Content
- Add new 'Publish your prototype online' guidance
- Replace Atom with Visual Studio Code on HTML text editor page
🔧 Maintenance
- Install NHS.UK frontend v6.2.0
🔧 Fixes
- Update package dependencies
decode-uri-componentandengine.io.
✏️ Content
- Added deployment instructions and test note to readme.
✏️ Content
- Fixed typo in readme
⬆️ Version bump
- Release issues
⬆️ Version bump
✏️ Content
- Removed the 'deploy to Heroku' guidance page in response to Heroku's upcoming removal of its free tier
🆕 New features
- Install NHS.UK frontend v6.1.0 which includes text align utility class
🔧 Fixes
- Install NHS.UK frontend v6.0.1
- Update Health A-Z with new Nav A-Z
- Add list-border css to
_list-border.scss - Add support for Node 16.x
Node 16.x recently became the long term supported version of Nodejs. The gulp-sass dependency had a peer dependency pinned to specific version node-sass that doesn't work on Node 16.x. Node 16.x support got added to node-sass in 6.0.0 and above
🔧 Fixes
- Install NHS.UK frontend v5.2.1
- Update package dependencies to latest versions
🔧 Fixes
- Update download link for the prototype-kit to use the latest release instead of the master branch
🆕 New features
- Install latest version of NHS.UK frontend (5.2.0) which includes "None of these" Checkboxes JavaScript behaviour
🔧 Fixes
- Add script to fix bug with unchecked checkboxes and separate bug when only one checkbox is selected.
- Update package dependencies to latest versions
🔧 Fixes
- Use the correct name for the NHS digital service manual Slack instance
- Fix GitHub actions/Azure DevOps release pipelines Issue 180
🔧 Fixes
- Correct slack channel links on the
Aboutpage.
🔧 Fixes
- Swap outdated
panelforcardonclear-data.htmlpage.
🆕 New features
- Allow adding of custom styles on a per template basis with
customStylestemplate block.
🆕 New features
- Add missing coronavirus hub page example from the NHS website which should have been in the previous release
🔧 Fixes
- Update CSS link colours for the NHS website page examples
🆕 New features
- Add NHS website (www.nhs.uk) page examples (homepage, health a-z, live well, mental health, care and support, pregnancy, NHS services, coronavirus hub) and Google homepage template (Issue #183)
🔧 Fixes
- Add missing steps to 'Updating the kit' how to guide
- Update package dependencies to latest versions
🆕 New features
- Install NHS.UK frontend v5.1.0 which includes JavaScript for the Error summary component
🔧 Fixes
- Update package dependencies to latest versions
- Use
dart-sassinstead ofnode-sassas this module is now deprecated (NHS.UK frontend issue #731)
🆕 New features
- Install NHS.UK frontend v5.0.0
- Update package dependencies to latest versions
🆕 New features
-
Add
outerContentblock to page template.Add content that needs to appear outside
<main>element but inside the<nhsuk-width-container>.For example: The back link component.
-
Update page template examples
🔧 Fixes
- Update package dependencies to latest versions
- Use the latest version of jQuery (3.5.1)
🆕 New features
- Install NHS.UK frontend v4.1.0
🔧 Fixes
- Update package dependencies to latest versions
💥 Breaking changes
- Remove the custom Phase banner component
- Remove the custom Tag component and use the Tag component from the NHS.UK frontend library
- Update the class names for the Confirmation panel which now uses the Card component
- Remove the custom panel confirmation styles
🆕 New features
- Install NHS.UK frontend v4.0.0 which includes the new Tag and Card components
🔧 Fixes
- Remove HTML empty whitespace in the layout file caused by the nunjucks macro includes
- Add missing button on the passing data page to page examples
- Update package dependencies to latest versions
- Update confirmation page example to use new card component
🆕 New features
- Install NHS.UK frontend v3.1.0 which includes conditional Checkboxes and Radios
- Update package dependencies to latest versions
🔧 Fixes
- Install latest version of NHS.UK frontend (3.0.4)
- Update package dependencies to latest versions
- Update package dependencies to latest versions
🔧 Fixes
- Use the latest version of the NHS.UK frontend library (3.0.3)
- Update package dependencies to latest versions
🆕 New features
- Add phase banner and tag components
🔧 Fixes
- Update to NHS.UK frontend v3.0.0
-
Add support for Node 12.x
Node 12.x recently became the long term supported version of Nodejs. The
gulp-sassdependency had a peer dependency pinned to specific versionnode-sassthat doesn't work on Node 12.x. Node 12.x support got added tonode-sassin4.12.0and above. -
Update package dependencies to latest versions
- Use the latest version of the NHS.UK frontend library (v2.3.2)
- Update package dependencies to latest versions
🔧 Fixes
- Use the latest version of the NHS.UK frontend library (v2.3.1)
- Update package dependencies to latest versions
🔧 Fixes
- Update to NHS.UK frontend v2.3.0
- Update package dependencies to latest versions
- Use the lede text class on paragraphs below the page headings
🔧 Fixes
- Update to NHS.UK frontend v2.2.0 and use the new favicons
- Update package dependencies to latest versions
💥 Breaking changes
- Layouts - restructure and tidy page layouts so they are easier to understand and edit
🔧 Fixes
- Update package dependencies
🔧 Fixes
🆕 New features
- Documentation for updating the kit
🔧 Fixes
-
Reorder the asset
preconnectand remove unneededdns-prefetch(Issue 104) and also reordered attributes based on frontend coding standards -
Update package dependencies including latest version (2.1.0) of the NHS.UK frontend
💥 Breaking changes
- Examples and templates - have been moved from the app folder into the docs folder to allow updates without affecting the users prototype app folder
🔧 Fixes
- Updated the passing data page to page example and updated various page examples
- Use the latest version of the NHS.UK frontend library (2.0.0) which includes the summary list component
- Use the summary list from the NHS.UK frontend library and remove the custom code from the prototype kit
🔧 Fixes
- Documentation and examples for adding custom JavaScript, images or other assets.
- All files put into the
app/assetsfolder will automatically be copied to the public directory for use in web pages.
🆕 New features
- Installation guides update for Windows and Mac following testing with users
- The prototype kit now is properly versioned and is the version is indicated in
package.jsonversionfield and also on the index page of the docs.
🔧 Fixes
- Header and footer inconsistency on the branching examples
- Fix inconsistencies with page titles, should be
Page name - NHS.UK prototype kit
🎉 Official release of the NHS.UK prototype kit
- v1.0.0 of the NHS.UK prototype kit!