Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
12.0.0 (Breaking release)
Breaking changes
This release ensures the GOV.UK Prototype Kit reflects the latest release of the GOV.UK Frontend, v4.0.0.
Update to GOV.UK Frontend v4.0.0
The new release of GOV.UK Frontend contains:
Check the GOV.UK Frontend release notes for changes you may need to make to ensure your prototype works.
This change was added in #1195: Update the GOV.UK Prototype Kit to use GOV.UK Frontend v4.0.0.
New features
Preserve query strings when redirecting POSTs to GETs
The GOV.UK Prototype Kit now preserves URL query strings when redirecting POST requests to GET requests.
This means if you have a query like
/link/to/something?query=true&hello=world
on your POST form action, and you submit the form, the URL query string will be present in the redirected URL.This feature is useful when you:
Thanks to @edwardhorsford for contributing this issue and its solution.
This was added in #1120: Preserve query string when redirecting POSTs to GETs.
Fixes
keypather
package withlodash.get
If you need help with the Prototype Kit, contact the GOV.UK Prototype team.