Releases: govuk-react/govuk-react
v0.10.7
What's Changed
- Use gh instead of hub by @penx in #1247
- Add dependabot groups by @penx in #1258
- Regenerate docs by @penx in #1259
- Remove enzyme, snapshots by @penx in #1267
- Remove defaultProps to support React 18.3.0 by @richrace in #1650
- Typings for ...props on components by @thomasbickley-bjss in #1645
New Contributors
- @richrace made their first contribution in #1650
- @thomasbickley-bjss made their first contribution in #1645
Full Changelog: v0.10.6...v0.10.7
v0.10.6
What's Changed
-
Feature/radio checkout size by @rottitime in #1193
-
Chore/panel colour by @RichardHarperInfinityWorks in #1221
-
Bump cypress-io/github-action from 4 to 5 by @dependabot in #1175
-
Bump actions/setup-node from 3.5.1 to 3.6.0 by @dependabot in #1184
-
Bug fix: Incorrect font weight for Microsoft Edge on TopNav by @rottitime in #1186
-
Bump @babel/preset-typescript from 7.13.0 to 7.21.0 by @dependabot in #1194
-
Bump @testing-library/dom from 7.31.2 to 9.0.0 by @dependabot in #1196
-
Bump dns-packet from 5.3.1 to 5.4.0 by @dependabot in #1197
-
Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1192
-
Bump @storybook/addons from 6.4.22 to 6.5.16 by @dependabot in #1188
-
Bump webpack from 5.72.0 to 5.76.0 by @dependabot in #1201
-
Bump cypress from 9.6.0 to 12.9.0 by @dependabot in #1202
-
Bump webpack-dev-server from 4.8.1 to 4.13.3 by @dependabot in #1206
-
Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 by @dependabot in #1208
-
Bump @babel/preset-react from 7.13.13 to 7.22.3 by @dependabot in #1209
-
Bump actions/setup-node from 3.6.0 to 3.7.0 by @dependabot in #1213
-
Bump semver from 5.7.1 to 5.7.2 by @dependabot in #1214
-
Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3 by @dependabot in #1215
-
Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #1216
-
Bump actions/setup-node from 3.7.0 to 3.8.0 by @dependabot in #1217
-
Bump actions/setup-node from 3.8.0 to 3.8.1 by @dependabot in #1218
-
Bump cypress-io/github-action from 5 to 6 by @dependabot in #1219
-
Bump actions/checkout from 3 to 4 by @dependabot in #1220
-
Bump @babel/runtime from 7.17.9 to 7.23.1 by @dependabot in #1225
-
Bump webpack-dev-server from 4.13.3 to 4.15.1 by @dependabot in #1229
-
Bump @babel/node from 7.14.2 to 7.22.19 by @dependabot in #1228
-
Bump @wojtekmaj/enzyme-adapter-react-17 from 0.6.7 to 0.8.0 (#1232)
-
Bump eslint-plugin-prettier from 3.4.1 to 4.2.1 (#1233)
-
Bump glob-promise from 4.2.0 to 6.0.5 (#1237)
-
Bump @preconstruct/cli from 2.1.5 to 2.8.1 (#1235)
-
Bump react-transition-group from 4.4.2 to 4.4.5 (#1240)
-
Bump babel-jest from 27.2.4 to 29.7.0 (#1244)
-
Bump commander from 2.20.3 to 11.0.0 (#1245)
New Contributors
- @rottitime made their first contribution in #1186
- @RichardHarperInfinityWorks made their first contribution in #1221
Full Changelog: v0.10.5...v0.10.6
v0.10.5
v0.10.4
- Add props for children to headers
- Removed inline styling for SVGBase, Spinner, and DocumentFooterMetadata components. These have been replaced with styled-components based styling to prevent inline styling breaking strict CSPs
- Update known projects
Thanks to @linusnorton and @tomvaughan77 for their contributions!
v0.10.3
Releasing patch version due to publish error with 0.10.2 which seems to have come from npm and is not recoverable
Related:
v0.10.2
- Allow footer licence customization (#1072)
- Improve doc generation (#1076)
- Fix radio button white-dot bug (#1078)
- Explain docs command in CONTRIBUTING.md (#1074)
- Add DEFRA to known users (#1082)
- Fix Netlify errors by migrating to bundlesize2 (#1075)
- Date - per field props (e.g. autocomplete and id) (#1118)
- Add support for Tag tints (#1077)
- Remove jimp dependency (#1101)
- Yarn 2 support for dependabot (#1100)
- Support as= with strict TypeScript (#1079)
Special thanks to @domdomegg for most of the contributions in this release!
v0.10.1
v0.10.0
Significant changes
This release is mainly about finishing the conversion to TypeScript and publishing types.
A few things were removed in the process, hence the version bump:
- Remove ListNavigation (#1019)
- Remove @govuk-react/storybook-components (#1005)
- Remove deprecate HOC (#980)
Other changes of note
v0.9.1
Significant changes
The main thing to note is that the code is now in TypeScript. Though this compiles, some validation issues remain that intend to be addressed in 0.9.2. We hope to also publish types in 0.9.2 once the validation issues have been resolved.
Some changes have also been made to form components, particularly FileUpload, though we don't expect these to be breaking changes.
- Convert to TypeScript (#875)
- Add React.forwardRef to some form components (#923, #938)
- Improvements to FileUpload (#924)
Enhancements
Bug fixes
- LabelText should not be bold on error (#939)
Documentation
- Add all form components to example application (#880)
- Add Final Form example and Cypress tests (#887)
- Add Formik to example application (#893)
- Add react-hook-form to example application (#916)
- react-jsonschema-form example (#935)
- Make example forms only validate on submit (#928)
- Why is this a monorepo in readme (#937)
- Misc improvements to forms examples and fixes to forward refs (#923)
- Fix docs (#878)
- Add file uploads to example application and Cypress tests (#924)
Testing/CI/Misc
- Add jetbrains config to gitignore (#904)
- Reenable Chromatic (#903)
- Merge unit and regression coverage (#906)
- Add storyshots config (#902)
Dependencies
- Bump react-transition-group from 4.4.1 to 4.4.2 (#934)
- Bump cross-env from 5.2.1 to 7.0.3 (#932)
- Bump @babel/plugin-proposal-export-default-from from 7.12.13 to 7.14.5 (#933)
- Bump actions/setup-node from 2.3.0 to 2.4.0 (#930)
- Bump JamesIves/github-pages-deploy-action from 4.1.4 to 4.1.5 (#929)
- Bump fastify/github-action-merge-dependabot from 2.2.0 to 2.4.0 (#931)
- Bump @storybook/addons from 6.3.5 to 6.3.7 (#919)
- Bump @storybook/react from 6.3.5 to 6.3.6 (#914)
- Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#913)
- Bump fastify/github-action-merge-dependabot from 2.1.1 to 2.2.0 (#911)
- Bump actions/setup-node from 2.2.0 to 2.3.0 (#912)
- Bump @storybook/react from 6.2.9 to 6.3.5 (#905)
- Bump @storybook/addon-links from 6.2.9 to 6.3.2 (#898)
- Bump @typescript-eslint/parser from 4.25.0 to 4.28.1 (#897)
- Bump actions/setup-node from 2.1.5 to 2.2.0 (#895)
- Bump JamesIves/github-pages-deploy-action from 4.1.3 to 4.1.4 (#896)
- Bump eslint-plugin-import from 2.23.2 to 2.23.4 (#883)
- Bump react-final-form from 4.1.0 to 6.5.3 (#884)
- Bump glob-promise from 4.1.0 to 4.2.0 (#882)
v0.9.0
Breaking Changes
The following have been deprecated and/or removed:
- Layout (#869) - use GridRow and GridCol
- Breadcrumb (#814) - use Breadcrumbs
- Header (#814) - use Heading
- Supporting Header (#814) - use Caption
- asAnchor (#814) - use
as
prop, e.g.<Link as={Link} />
- withWhiteSpace (#814) - use
spacing.withWhiteSpace(config)
- asPaginationItem (#843) - use
as
prop - asNavLinkAnchor, asTopNavAnchor (#842) - use
as
prop
New Features
- GlobalStyle component (#834)
Enhancements
- Only underline backlink if it has an href (#845)
- Allow Date Input and Container to be used standalone (#838)
- Example application (#826)