This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
Releases: surevine/govuk-react-jsx
Releases · surevine/govuk-react-jsx
Release v7.1.0
Features
- React 18 support (Simply by loosening the peer dependency requirement).
Release v7.0.1
Merge pull request #144 from surevine/govuk-frontend-4-0-1 Govuk frontend 4.0.1
Release v7.0.0
Breaking changes
- Update to govuk-frontend@4.0.0 (#137)
- See https://github.com/alphagov/govuk-frontend/releases/tag/v4.0.0 for full release notes
Fixes
Release v6.2.1
Release v6.2.0
Features
- Update to govuk-frontend@3.14.0 (#127)
- See https://github.com/alphagov/govuk-frontend/releases/tag/v3.14.0 for full release notes
Fixes
Release v6.1.0
Features
- Update to govuk-frontend@3.13.0 (#118)
- Add a 'none' option and 'or' divider to checkboxes (See known issues in readme - this is somewhat of a non functional "stub" at the moment)
- Change approach to fallback PNG in the header to fix blank data URI from triggering CSP error
- See https://github.com/alphagov/govuk-frontend/releases/tag/v3.13.0 for full release notes
Release v6.0.0
Fixes
- Fix badly destructured react list keys on some components (#114)
- Fixes #113
- Fix Template not passing text correctly to SkipLink component (#116)
- Fixes #115
Breaking changes
- Table data structure changed in order to accomodate react list keys. Each row in the
rows
array now has acells
key instead of simply being a nested array of rows / cells.
See the updated demos on the storybook.
This breaking change was necessary in order to accomodate react list keys on table rows.
Features
-
Updated to govuk-frontend@3.12.0
Markup changes:- Add links styled as buttons to cookie banners
- Add data-nosnippet to prevent cookie banner text appearing in Google Search snippets
-
See https://github.com/alphagov/govuk-frontend/releases/tag/v3.12.0 for full release notes
Release v5.1.0
Fixes
Features
- Updated to govuk-frontend@3.11.0
See https://github.com/alphagov/govuk-frontend/releases/tag/v3.11.0 for full release notes
Cookie banner component added
Release v5.0.0
Breaking Changes
- ErrorSummary focusing fixes
The error summary no longer focuses itself at all when it is rendered - it is now fully up to the calling app to focus the error summary when appropriate. The ErrorSummary component accepts a ref which you can use to achieve this. A formik based demo of this is available in https://github.com/surevine/govuk-react-jsx-examples/blob/master/src/forms/Formik.js
This has been done to expand the range of scenarios in which the ErrorSummary can work - prior to this the focusing behaviour was causing problems with some form libraries.
Fixes
- Update govuk-frontend to 3.10.2
See https://github.com/alphagov/govuk-frontend/releases/tag/v3.10.1 and https://github.com/alphagov/govuk-frontend/releases/tag/v3.10.2 fox full release notes
Release v4.1.1
Fixes
- Remove overzealous focusing of ErrorSummary when list of errors changes.
Component now accepts a ref which you can manually focus when appropriate (Such as when a form is submitted).
A demo of this is available in https://github.com/surevine/govuk-react-jsx-examples - Update govuk-frontend to 3.10.2
See https://github.com/alphagov/govuk-frontend/releases/tag/v3.10.1 and https://github.com/alphagov/govuk-frontend/releases/tag/v3.10.2 fox full release notes