Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v12.0.0 #1204

Merged
merged 2 commits into from
Dec 16, 2021
Merged

Release v12.0.0 #1204

merged 2 commits into from
Dec 16, 2021

Conversation

domoscargin
Copy link
Contributor

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:

  • an iteration to the accordion component
  • other ‘breaking’ changes you should make to improve your service

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:

  • use the query string to set flash messages or return paths
  • want to use the values in the query string for a specific page, rather than saved data

Thanks to @edwardhorsford for contributing this issue and its solution.

This was added in #1120: Preserve query string when redirecting POSTs to GETs.

Fixes

If you need help with the Prototype Kit, contact the GOV.UK Prototype team.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1204 December 16, 2021 09:48 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-1204 December 16, 2021 09:55 Inactive
@domoscargin domoscargin merged commit eb52fd2 into main Dec 16, 2021
@domoscargin domoscargin deleted the release-v4.0.0 branch December 16, 2021 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants