Releases: x-govuk/govuk-components
Releases · x-govuk/govuk-components
Version 2.1.6
- Upgrade ViewComponent to 2.49.1 to mitigate a recent XSS security vulnerability
Version 3.0.3
Version 3.0.2
Version 3.0.1
- Allow summary lists to be generated directly using data #289
- Add a Publish GitHub action so builds are done in a clean way -
3.0.0
was built on my machine and unintentionally pinned to Rails 6.1.4.4 because I hadRAILS_ENV
set in my environment 🤦🏽♂️
Version 3.0.0
- Support GOV.UK Design System version 4.0.0
- Breaking change: modify the behaviour of Summary Lists. If you're rendering any summary lists that don't have actions you need to pass in
actions: false
. This is required because now the design system expects a class on the summary list row, but as we're building the list item-by-item we don't know if any of the siblings have no action. #283 will introduce a more Nunjucks-like syntax in the next release. See #282 for more details - ensure
data-module="govuk-skip-link"
is present on the skip link helper output b6a0f47 - ensure
data-nosnippet
is present on the cookie banner component output bc3a2bb - update the header navigation structure 426b29c
- Breaking change: modify the behaviour of Summary Lists. If you're rendering any summary lists that don't have actions you need to pass in
- Create a guide. It works in a similar way to the form builder by using the components library to render itself, meaning it should never be out of date. Again, massive thanks to @paulrobertlloyd for his work on this and to @gemmadallmandfe for helping with the copy. #279 - see it here
- Drop support for Ruby 2.6.X and Rails 6.0.X
- Add support for Ruby 3.1.0 and Rails 7.0.0
- Add a matrix build step for testing all supported versions of Ruby and Rails
- Change the default branch from
master
tomain
#265
Support for older versions
As the upgrade to GOV.UK Design System 4.0.0 will take some time, the 2.1 series of the components library will continue to receive critical bug fixes but all new features will be for version 3.0.0 and above
Version 2.1.5
- Fix a rendering bug of the copyright symbol in the footer. Thanks @alexbowen #266
Version 2.1.4
What's Changed
- Add footer navigation block by @elliotcm in #260
- Tidy up Gemfile.lock by @cpjmcquillan in #263
- Hide the cookie banner by default when printing by @cpjmcquillan in #262
- Use class_names helper method to conditionally set classes by @cpjmcquillan in #264
New Contributors
Full Changelog: v2.1.3...v2.1.4
Version 2.1.3
- Move the active page check to before render #258
- Allow crown's fallback image to have custom path. Thanks @frankieroberto for raising this and suggesting a fix #257
- Add govuk-body class to the cookie banner message. 🙌🏽 @edwardhorsford #25
Full Changelog: v2.1.2...v2.1.3
Version 2.1.2
- Allow header bar navigation links to be generated with different HTTP methods. This uses Rails' method option and allows behaviours like Devise's logout to be triggered via the nav. Thanks to @cesidio for implementing this #253
- Make the current page active by default in the header navigation. The default 'active' behaviour can still be overridden by the user if needed. Thanks again @cesidio #254