## Unreleased ## 4.1.0 - [Fix missing manifest.json from govuk-frontend](https://github.com/alphagov/tech-docs-gem/pull/376) - [Stable soft for left navigation](https://github.com/alphagov/tech-docs-gem/pull/374) ## 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 - 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’s `source/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 ## 3.5.0 ### New features - Update the Crown logo and govuk-frontend See [pull request #344: Upgrade govuk-frontend and the crown logo](https://github.com/alphagov/tech-docs-gem/pull/344) for more details. https://github.com/alphagov/tech-docs-gem/pull/344 ## 3.4.0 ### New features - Footer and header links now work with relative links. Thanks to [@eddgrant](https://github.com/eddgrant) for contributing this feature. See [pull request #325: Support sites deployed on a path other than "/" when generating header and footer links](https://github.com/alphagov/tech-docs-gem/pull/325) for more details. ### Fixes - You no longer need to downgrade Haml yourself, `bundle install` will now make sure Haml 6 is not installed (see issue [#318: Error: Filters is not a module](https://github.com/alphagov/tech-docs/gem/issues/318)). ## 3.3.1 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](https://github.com/alphagov/tech-docs-gem/pull/323) ## 3.3.0 ### New features There are some steps you should follow as the Technical Documentation Template (TDT) now uses GOV.UK Frontend 4.4.1. 1. Update your documentation site to use the latest template version. You can [follow the TDT guidance on using the latest template version](https://tdt-documentation.london.cloudapps.digital/maintain_project/use_latest_template/). 2. Check your documentation site displays correctly. If your site does not display correctly, you can refer to the [GOV.UK Frontend release notes](https://github.com/alphagov/govuk-frontend/releases/) for more information, or [contact the GOV.UK Design System team](https://design-system.service.gov.uk/get-in-touch/). ### Fixes - [#242: Make scrollable area keyboard (and voice) focusable](https://github.com/alphagov/tech-docs-gem/pull/242) (thanks [@colinbm](https://github.com/colinbm)) ## 3.2.1 ### Fixes - [#296: Fix Nokogiri Node.new deprecation warnings](https://github.com/alphagov/tech-docs-gem/pull/296) (thanks [@timja](https://github.com/timja)) ## 3.2.0 ### New features You can now [configure your Tech Docs Template (TDT) to build your documentation site to use relative links to pages and assets](https://tdt-documentation.london.cloudapps.digital/configure_project/global_configuration/#build-your-site-using-relative-links). Thanks [@eddgrant](https://github.com/eddgrant) for contributing this feature and the associated fixes. This change was introduced in [pull request #291: Support sites deployed on paths other than "/" (by generating relative links)](https://github.com/alphagov/tech-docs-gem/pull/291). ## 3.1.0 ### New features There are some steps you should follow as the Technical Documentation Template (TDT) now uses GOV.UK Frontend 4.0.0. 1. Update your documentation site to use the latest template version. You can [follow the TDT guidance on using the latest template version](https://tdt-documentation.london.cloudapps.digital/maintain_project/use_latest_template/). 2. Check your documentation site displays correctly. If your site does not display correctly, you can refer to the [GOV.UK Frontend 4.0.0 release note](https://github.com/alphagov/govuk-frontend/releases/tag/v4.0.0) for more information. ## 3.0.1 ### Fixes We’ve made the following fixes to the tech docs gem in [pull request #281: Don't break TOC when OpenAPI description includes headers](https://github.com/alphagov/tech-docs-gem/pull/281): * we now render OpenAPI Markdown with the same Markdown renderer as other documents * table of contents (TOC) uses `TechDocsHTMLRenderer` to render the headings with IDs Thanks to [@jamietanna](https://github.com/jamietanna) for contributing to this issue and its solution. ## 3.0.0 ### Breaking changes The search user experience is now more accessible for screenreader users. Search results are now on a separate page instead of a modal window. Users can no longer see search results as they type. They must press the Return key or select the search button to see the search results page. This was added in [pull request #263: Change search to only show results after submit](https://github.com/alphagov/tech-docs-gem/pull/263). ### Fixes - [#265: Fix mark styles in Windows High Contrast Mode](https://github.com/alphagov/tech-docs-gem/pull/265) ## 2.4.3 - [#236: Fix search 'autocomplete' behaviour](https://github.com/alphagov/tech-docs-gem/pull/236) - [#203: Update vendored javascripts](https://github.com/alphagov/tech-docs-gem/pull/203) ## 2.4.2 - [#251 Fix missing `