Releases: alphagov/tech-docs-gem
Releases · alphagov/tech-docs-gem
Release v4.4.0
New features
You can now set use_service_link_for_favicon: true
in your tech-docs.yml
configuration if you have the need for favicons to use the service_link
path
Release v4.3.1
Release v4.3.0
Release v4.2.0
New features
To use a non-crown assets, you need to
- add
favicon.ico
,favicon.svg
andopengraph-image.png
to yoursource/images
folder. - set
show_govuk_logo: false
Release v4.1.2
Relase v4.1.1
Relase v4.1.0
Release v4.0.0 (major)
4.0.0
Breaking
- BREAKING: drop support for end-of-life Ruby versions 2.7 and 3.0. The minimum Ruby version is now 3.1.
- BREAKING: drop support for IE8
- BREAKING: Upgrade to govuk-frontend v5.7.1 and introduce new Javascript entry point
To upgrade you need to:
- create a
govuk_frontend.js
file your project’ssource/assets/javascripts
directory - add
//= require govuk_frontend_all
into it
Fixes
- Update gem dependencies.
- Declare some missing indirect dependencies to prepare for Ruby 3.4. This also resolves some warnings about this at build time.
- Remove aria-hidden from search label to let assistive technologies see its accessible name
- Use hidden attribute to show/hide expiry notices instead of just CSS
- Only use dialog role for table of contents when it behaves like one (accessibility fix)
- Prevent interactive elements being obscured by sticky table of contents header
- Only wrap images with alt text in hyperlinks
Release 3.5.0
This release includes the new Tudor Crown and govuk-frontend v4.7.0
Release v3.3.1
Fix
This change solves a potential security issue with HTML snippets. Pages indexed in search results have their entire contents indexed, including any HTML code snippets. These HTML snippets would appear in the search results unsanitised, making it possible to render arbitrary HTML or run arbitrary scripts.
You can see more detail about this issue at #323: Fix XSS vulnerability on search results page