All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Bump accessibility-autocomplete to 3.0.1.
- Slight visual changes introduced in 3.0.0.
- Changed baseline of sign out link to match GOV.UK header logo, on mobile widths it matches service name
- Fixed image copying broken during gulp 5.0.0 upgrade
- Updated version of gulp to 5.0.0
- updated npm audit exceptions
- Switched to compile our styles with dart-sass from node-sass
- Updated govuk-frontend to v5.7.1
- Updated some dev dependencies
- Contains only the changes from 6.32.0, because that release was never published, but was itself only updates to our tests.
Caution
The release process for this job failed, so it was never published to npm
- Updated some dev dependencies
- Updated govuk-frontend to v5.6.0
- Updated npm audit exclusions
- Replaced deprecated govuk-font-size(14px) with fixed css
- Updated govuk-frontend to v5.5.0
- Updated govuk-frontend to v5.4.1
- Remove unit test reliance on hard-coded
amp;
encoding withinreport-technical-problem
component - Inline the url string for
report-technical-problem
- Removed unused url parameter
newTab=true
fromreport-technical-problem
component, to ease maintaining the component
- Updated govuk-frontend to v5.4.0
- Fixed styling in header component when there is a combination of navigation items and sign out or language switcher components
- Correctly set aria-label in account-menu when viewed in Welsh
- Added autocomplete__option class to accessible-autocomplete.scss to address a bug where fonts were not resizing correctly
- Service URL is now an optional parameter for internal header
- Suppressed warnings when hmrc-frontend sass is compiled in prototypes
- Updated node version to latest lts release - lts/iron.
- Marked the
currency-input
component as deprecated. This is because theinput
fromgovuk-frontend
can now take in a prefix, and this is the new pattern for HMRC currency inputs. See more details in - currency-input/README.md.
- Updated npm audit exclusions
- Updated govuk-frontend to v5.3.0
- Accessibility fix: ensure
outline
appears onaccount-menu
submenu items in Windows High Contrast Mode usingoutline-offset
- Revert change to retain the back link even when the referrer is empty
- Retain the back link even when the referrer is empty
- Added
navigationLabel
param toheader
component in line with thegovuk-frontend
header
- Added welsh translation to the language toggle aria-label value in the header component
- Removed unused ActiveXObject references in line with dropping IE support
- Added
menuButtonText
andmenuButtonLabel
params toheader
component in line with thegovuk-frontend
header - Removed
hmrc-header__service-name
andhmrc-header__service-name--linked
fromheader
component, to use only styles fromgovuk-frontend
- Updated
hmrc-header__service-name
andhmrc-header__service-name--linked
(for services adding manually to other components)
- Version number bumped to trigger release - no other changes
- Added mermaid.js gitGraph visualisation of patch release process to MAINTAINERS info
- Split out MAINTAINERS info from general CONTRIBUTING guide
- Documented patch release process
- Copied
manifest.json
fromgovuk-frontend
into webjar. Removedhmtl5shiv
from webjar.
- Tudor crown incorporated, and now enabled by default
- Updated govuk-frontend to v5.2.0
- Updated npm audit exclusions
- Updated npm audit exclusions
- Fixed issue preventing use of HMRC components that import GOV.UK components introduced in the last commit
- Updated to work with govuk-frontend v5
- add useTudorCrown option to account-header layout for prototypes and the design-system
- version number bumped to trigger release - no other changes
- updated api for using the tudor crown to match govuk-frontend, and started passing through the value to child components that need it
- Updated
govuk-frontend
tov4.8.0
. Updatedheader
to use new Tudor Crown logo via feature flag. Updatebanner
andinternal-header
to use new HMRC Crest via feature flag.
- Test release updating
govuk-frontend
tov4.8.0
and testing new Tudor Crown logo changes. Do not use this release.
- Added in new
hmrc-frontend-print-overrides.scss
, which is always included and hides various components from print view without any configuration from developers
- Ensure
account-menu
links inaccount-header
scale correctly with browser settings
- Added 3px invisible border to focus on
account-menu
items, to be accessible to Windows High Contrast Mode users
- Fixed incorrect Welsh content in
accessible-autocomplete
- Added
govuk-!-display-none-print
styling toreport-technical-issue
andlanguage-select
- Fixed Welsh translation of HMRC and HM Revenue & Customs
- Enable Welsh language support for accessible-autocomplete
- Update aria-label on HMRC header nav/button, to be accessible to voice activation users
- Provided a data attribute to allow links to call window.print without services having to write any custom javascript
- Updated npm audit exclusions
- Modify the timeout dialog to take in an optional parameter to not display a sign out link. This feature was proposed by DWP Access to Work as cross-Government request: #316
- Modify the account header template to incorporate the main layout from the prototype kit. This adjustment aims to resolve an issue related to displaying and using the template within the v13 prototype kit
- Updated npm audit exclusions
- Add utility class to hide stuff when javascript is disabled
- Apply more targeted CSS fix for JS-disabled Account Menu
- Added some config for latest versions of prototype kit
- Ensure that the backlink element is hidden if the referrer is empty or on a different domain
- Removed
accessible-autocomplete
from webjars included inhmrc-frontend
webjar dependencies
- always show Account Menu nav buttons if JS is disabled
- Add pluginDependencies to
govuk-prototype-kit.config.json
- hide JS backlink when JS is disabled
- Updated npm audit exclusions
- Updated the govuk-frontend version to v4.7.0
- Updated npm audit exclusions
- Added new modifier class to GOV.UK Summary List for longer keys
- Enabling new gov.uk link styles
- Updated the position of the user research banner in the header component to comply with design system guidance
- Updated npm audit information
- Increasing test coverage before enabling new gov.uk link styles
- Version bump due to publishing issues
- Removed unused check and test scripts, updated dependencies
- Add empty alt attribute to logo IE8 fallback PNG in the HMRC
header
template
- Updated npm audit information
- Updated the govuk-frontend version to v4.6.0
- Updated timeout-dialog to fix bug. If user timed out and the timeout redirection took longer than a second then it would get canceled and user would stay on page while the timeout dialog counted down into negative numbers.
- Updated npm audit information
- Integrated with GOVUK Prototype Kit v13
- Fixed Puppeteer deprecations
- Added missing hideCloseButton parameter to user-research-banner.yaml
- Bumped minor versions of some dependencies
- Updated the
user research banner
with new content and added ability to not show close button
- Updated the govuk-frontend version to v4.5.0
- Corrected logic of setting
textareaDescriptionText
incharacter-count
component
- Updated the
character-count
component to delegate to thegovuk-frontend
component, which now supports custom text allowing internationalization
- Updated the
header
component to localiseMenu
text and aria-hidden based on language parameter
- npm audit exclusions update
- npm dependencies update
- Updated the
footer
component to additionally includegovuk-!-display-none-print
for meta links
- Updated the
footer
component to include thegovuk-!-display-none-print
for improved accessibility
- Harmonise wording of new tab links
- Updated the govuk-frontend version to v4.4.1
- fixed bug with timeout-dialog that could cause an early timeout after the first or second timeout warning was dismissed
- Updated
npm
audit information
- Updated the govuk-frontend version to v4.4.0
- fixed font ghosting issue in the accessible-autocomplete component
- npm dependencies update
- Stopped the accessible-autocomplete css from including the GDS Transport webfonts because we assume they will already be loaded
- Added way to automatically enhance a select element into an accessible-autocomplete using the
data-module="hmrc-accessible-autocomplete"
data attribute, more details in the accessible-autocomplete readme
- Add new back-link-helper to provide a common way to make Back links mimic the browser Back button
- Updated
npm
audit information
- Added dependency on the
alphagov
packageaccessible-autocomplete
- Added
accessible-autocomplete
CSS and JS to the package and dist for the build
- Update report technical issue component to have an optional rel attribute based on the presence of a referrer url
- Update timeout dialogs examples with synchronisation
- Update timeout dialogs to use a BroadcastChannel to synchronise timeouts
- Update hmrc-header to have the hidden attribute on the show and hide button
- Updated
npm
audit information - Updated CONTRIBUTING.md to document workaround for backstop.js testing on Apple Silicon
- Updated the govuk-frontend version to v4.3.1
- Updated the govuk-frontend version to v4.2.0
- Updated the
character-count
to match the changes made to the match versiongovuk-frontend
v4.1.0
- Updated the govuk-frontend version to v4.1.0
- Updated
user-research-banner
, we've added extra visually-hidden text to the "No thanks" button to help users of assistive technology more easily understand the purpose of the button and what will happen when it's used.
- Updated
user-research-banner
to have a<h2>
header, rather than<div>
, following accessibility audits
- Updated profile link text in
account-menu
from "Your profile" to "Profile and settings" in English and Welsh
- Fixed Welsh translation of "opens in a new tab" in new-tab-link component
- Fixed bug with the list-with-actions component which could not handle an empty array set on the actions
- Expanded examples for list-with-actions component to add custom css for items and actions
- Updated list-with-actions component to use govuk summary list under the hood
- Removed padding around page-heading component
- Added ability to add headingClasses for h1 element
- Added ability to add captionClasses subsection element
- hmrcAccountMenu link styles changed to improve contrast to meet accessibility requirements
- hmrcHeader link styles for language switcher changed to improve contrast to meet accessibility requirements
- resolving some issues reported by npm audit:
- updated backstop (visual regression testing, so that's what's caused the slight difference in some text rendering and updated backstop screenshots)
- update standard (linter)
- updated node-sass
- removed extraneous underline that could appear in language select in hmrc-header
- Removed exemptions no longer needed for LDS from repository.yaml
- Updated hmrc header to allow header navigation items without links, and changed how fallback logo is reached (in line with govuk-frontend header)
- Updated the govuk-frontend version to v4.0.1
- Fixed mobile dropdown behaviour of hmrc header with navigation items
- Fixed formatting issue with header navigation classes having trailing space
- Added welsh translation to the page-heading components section subheading
- Fixed colours on banner and header logo when browser is in high contrast mode
- Added a width constraint to the internal header
- Added the GOV.UK focus link styles to links in the internal header
- Removed the ID from SVG HMRC logo in the internal header to fix integration tests
- Updated the govuk-frontend version to v4.0.0
- Added optional business tax account link to account menu
- Updated Internal Header to use inline SVG
- Updated HMRC banner to use SVG logo and tweaked vertical alignment
- Updated dependencies based on output of npm audit where relevant
- Updated the govuk-frontend version to 3.14.0
- Account menu now has a "yourProfile" link, and we've removed the "paperless" and "personal details" links. This is to match the current implementation by PTA.
- Accessibility fixes to prevent users of some screen readers navigating outside an open timeout dialog.
- added
rel="noopener noreferrer"
toreport-technical-issue
to protect against reverse tabnapping
- added additionalBannersBlock to header component
- In hmrcHeader, render service name in a span rather than a link if no serviceUrl is supplied. See related govuk-frontend issue: alphagov/govuk-frontend#1826
- hmrcListWithActions component
- Security vulnerabilities
- Security vulnerabilities
- Standardised the radio button values regardless of the language
- Added links to examples under components on the listing page when running the local dev server
- Added default heading wording for timeout dialog and added heading to ariaLabelledBy
- Supply Javascript modules uncompiled to allow additional flexibility for bundling by third-party consumers.
- Added Welsh translation for Internal Banner
- Issue with webjar publishing due to missing md5 file
- Upgrade to govuk-frontend v3.13.0
- Build and publish a webjar for Scala libraries and microservices
- Corrected add-to-a-list continue messages to Continue (consistent capitalization)
- Added novalidate to Add To A List in order to match the standard for forms
- Uplift to govuk-frontend v3.12.0
- URL for report-technical-issue component updated to point to new contact-frontend endpoint /contact/report-technical-problem
- Security vulnerabilities
- Fix timeout dialog on IE by adding polyfill for Number.isNaN
- Allowing the initialization of multiple character counts on a single page when using
initAll
- Accessibility issue with hmrcAddToAList ( see comment from Adam Liptrot on github issue 31 describing problem and solution) . Previously JAWS list items dialog would announce action labels as well as the item identifier when describing a list item. Following this change only the actual identifier for the row will be announced.
- Increased visual regression testing coverage to include all component examples
- Timeline component
- Added a class to Report Technical Issue to help with browser testing
- Package was missing LICENSE
- HMRC character count
- User research banner Welsh example missed url field
- Issue with node_modules reference in the hmrcUserResearchBanner, causing problems in frontend microservices using the hmrc-frontend webjar.
- HMRC user research banner
- Update govuk-frontend to v3.11.0
- Compiled assets now included in NPM package.
- Refactored gulp pipeline
- Bumped ini to v1.3.5
- serviceId added for configuring contact-frontend for consistency with contact-frontend documentation, serviceCode deprecated
- Fixed colour contrast for focused sign out link in gov.uk header not meeting accessibility standards
- Accessibility issue with hmrcHeader when displayHmrcBanner set to true. Previously this component defined two top-level 'banner' landmarks failing accessibility tests. On advice from the HMRC accessibility team, the HMRC banner has been moved inside HEADER so that screen-reader users read the banner as part of the overall header and can skip to the main content more easily.
- Content for report a technical problem link to be consistent with contact-frontend
- Added
baseUrl
tohmrcReportTechnicalIssue
to allow it to work in pre-live environments. - Added
referrerUrl
tohmrcReportTechnicalIssue
to enable services to pass through the page on which the user encountered the problem.
- Using the latest version of
govuk-frontend
. - Upgrading to the latest version of
backstopjs
, trying and failing to avoid a vulnerability but still worth upgrading.
- Added clone of GDS footer with Welsh language translations
- issue where status tags weren't left aligning at mobile widths
- issue where iPadOS 13.6+ caused issues with currency input
- issue where empty div was created when displayHmrcBanner is false
- incorrectly added aria-hidden attribute on 'Your Account' link in PTA account menu
- issue where horizontal scrollbars were appearing on the internal header in certain browsers
hmrcNewTabLink
Text updated to match GDS recommendation (English only)
hmrcTimeoutDialog
Allow users to set a different URL for timeouts than manual sign outs
- issue where internal header where font wasn't being set
- Added the messageSuffix parameter to the timeout Nunjucks component
- Added an audible countdown to the timeout dialog for screenreader users
- Added language parameter to the hmrcTimeoutDialog component to allow welsh language versions to be supported
- Security vulnerabilities in dev dependencies
- Updated implementation of hmrcHeader to be consistent with govuk-frontend v3.7.0 (an empty navigation array now treated as the same as navigation not being specified at all)
- Add to list pattern having same values for yes and no radio inputs
- Add to list pattern capitalisation for radio inputs changed to 'Yes', 'No' from 'yes', 'no'
- Upgrade govuk-frontend to v3.6.0
- Visual regression testing
- Fix static asset bundling issue
- The way Sass assets from govuk-frontend are imported to allow use in Scala front-ends
- Removed compatibility check for now due to issues with versions of the form X.Y0.Z
- Fix compatibility check - this is a temporary workaround to avoid throwing an exception with the version can't be found.
- Report technical issue component
- Fix incorrect nesting of language selector styles
hmrcCurrencyInput
added 861d830
- check-compatibility.js for 1.8.0 release and recent versions of prototype kit
- Language toggle to a more accessible version 925f85a
- Broken support for manual updates 3d2b90a
- Version check 023c85a
- Refactored check to flag only fully compatible versions as compatible
- Change green text colour to red
- Hide ability to install anyway behind environment flag
- Support for versions that are compatible with manual steps c941cd4
- Support for future versions 85aa22f
- Suite of unit tests for compatibility checking aecdcbd
- Version compatibility checking 5de91cd
- Styles for status tags in task lists pattern c9dc268
childDirectories
file helper to only return component directories containing yaml files c9dc268
govuk-frontend
dependency 02763cd
govuk-frontend
dependency f276376
- Welsh translations for Account Header f5b1ae2
-
Switched positions of
hmrcAccountMenu
macro and{% block beforeContent %}
to allow use of GOV.uk backlink 6842a82 -
Removed 40px height adjustment which was causing weird layout issues bcb6dca
- Only JS reset account menu when crossing a breakpoint 0ca3224
- Switched color of language toggle selected link state to accessible value 0a1c1ce
- Fixed some broken govuk macro paths ee8405b
- Bumped patch version due to failed previous release a653a0d
- Changed directory structure and naming to remove
hmrc-
prefix as this is now provided by the namespacing 5eeee1b - Updated tests to accomodate new namespacing f71673a
- Namespaced package with 'hmrc' prefix to match pattern set by govuk ef53a84
- Wrapped auto template generation in a try / catch to mitigate issue caused by Nunjucks version bump ac846a0
npm audit
to fix dependency issues 3c7c4c2- Updated
govuk-frontend
to v3.0.0 and implemented neccessary fixes 8ef9234
hmrcBanner
added #39
0.5.0 - 2019-04-26
hmrcTimeoutDialog
added #37
0.4.0 - 2019-04-18
- Enable
focusHighlight
on the "Your Account" link inside Account Menu #38
0.3.1 - 2019-03-25
- Fix mobile add-to-a-list #36
0.3.0 - 2019-03-25
- Added
add-to-a-list
#39
0.2.0 - 2019-03-18
govuk-frontend
as a dependency 06c7bbe- Notification badge component d79c720
- New tab link component #7
- Account menu component #1 #5 #12 #18 #21 #24 #32
- Account header component #11 #18 #19 #20 #22
- HMRC header component #15 #18
- Page heading component #13
- Language toggle component #28
- Internal header component #30 #31
- Adopt a more modular JS pattern #17
0.1.0 - 2018-07-18
This is a bootstrap release created for our CI pipeline to start building from. Nothing meaningful was released.