Releases: alphagov/govuk-prototype-kit
v13.6.0
New features
Plugin authors can now use scripts with type module (an experimental change - please get in touch if you want support using this)
Fixes
Accessibility fixes including better page titles when making pages from templates, and a more accessible terminal message.
The process to migrate old prototypes to v13 now handles custom javascript and filters better.
v13.5.0
13.5.0
New features
It’s easier to set a page title (thanks @frankieroberto !)
Page titles are important for accessibility. Previously you set them like this:
{% block pageTitle %}
My page name - {{ serviceName }} - GOV.UK
{% endblock %}
That approach still works, but you can now do this instead:
{% set pageName="My page name" %}
And the kit will make the rest of the title for you, using your service name.
Better error handling
The kit now handles some errors, such as a missing page, with a nice page in the browser.
You can use .njk extensions for views
Please note this is an experimental feature - if you use it please let us know if you have any issues.
Previously, all the files in the app/views folder end in .html, for example index.html. This means that the Nunjucks code does not get highlighted properly in a code editor, which can be confusing.
You can now use .njk extension instead of .html. This makes code highlighting work properly for Nunjucks. If you rename any view file from .html to .njk, it should work.
To use .njk for all new view files created from templates, set this in your app/config.json:
{
"serviceName": "Service name goes here",
"useNjkExtensions": true
}
You can also create a new prototype using .njk:
npx govuk-prototype-kit create --use-njk-extensions
Fixes
The process to migrate old prototypes to v13 now handles unbranded prototypes without breaking.
v13.4.0
New Prototype Kit release: 13.4.0
New features:
- When you create a page from a template, you do not need to use a leading slash.
- When you create or remove the settings.scss file, the page styling will update automatically.
- You can now install, upgrade and uninstall different prototype kits at the same time using multiple tabs and windows.
- You can complete an install, upgrade and uninstall with a slow connection.
v13.3.0
New features:
- GOV.UK Notify client is now available as a plugin. You can install it from the Plugins page in the Manage your prototype section.
- We have moved all of the templates to plugins to have more flexibility in the future.
- When you create a new prototype the common templates are installed by default.
- When you update an existing prototype, you can install the common templates from the Templates page.
- Task list is now a separate plugin.
v13.2.4
v13.2.3
v13.2.2
Fixes:
- Displaying creation messages correctly
v13.2.1
Fixes:
- Cleaning up creation messages for users who have an older installer (v13.1.0 and before)
v13.2.0
New features:
- When you create a prototype, there is now clearer and more helpful messaging to tell you what's happening and what to do next.
Fixes:
- If you have a prototype running and start another one, the kit will prompt whether you want to run both or not. If you say no it will now quit properly without you having to press ctrl c.
- Faster to create prototypes.
v13.1.0
New features:
- When creating a prototype, the kit now makes an initial Git commit for you. That saves you time, and makes a separation between the initial prototype files and any changes you make yourself. If you do not want the kit to do this, you can add --no-version-control to the create command.
- You can now install, update and uninstall plugins in the Manage your prototype section, without having to use the terminal.
Fixes:
- Fixes to issues where the kit wouldn't run properly with square brackets or spaces in the folder path.
- Improvements to the migration process
- Stop unnecessary warnings about the session file store
- Improvements to validation when creating pages from templates
- Fixed slow performance issues when running online