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.
- Bumped dependencies to resolve vulnerabilities
- Bumped dependencies to resolve vulnerabilities
- Using specific versions for precision
- Not using mkdirp as a dependency as it was less work to rebuild it now that recursive directories are supported directly in fs
- Updated message for analytics stub
- Removed stageprompt as it delivers Google Analytics in a way which shouldn't be used alongside hmrc/tracking-consent-frontend
- Removed old cookie banner functionality replaced by hmrc/tracking-consent-frontend
- Patch security vulnerabilities
- Inlined hmrc/node-git-versioning
- Bump version of ini to 1.3.7
- Uplifted jQuery version to 1.12.4, and added patch to assets/application.js, to fix the vulnerability CVE-2020-11022
- Uplifted browser-sync version to 2.26.13 to fix the vulnerability in the dependent package object-path CVE-2020-15256
- Documented the archiving of component-library-template
- Incorrectly added aria-hidden attribute on 'Your account' link on PTA account menu
- Added WCAG 2.1 AA focus and colour contrast fixes from https://gist.github.com/adamliptrot-oc/f77250a6f69fb31fabd935e2002f4964 (v3) and https://gist.github.com/adamliptrot-oc/c35166dce1f3234bfc8f0dbb915f07b8 (v4)
- Documented the archiving of component-library-template
- Fixed Puppeteer configuration and added --no-sandbox
- Node uplifted to v12 for consistency with hmrc-frontend
- Gulp uplifted to v4 and pipelines refactored
- kss uplifted and component-library custom builder re-built
- PhantomJS replaced with Puppeteer
- Elements from hmrc/component-library-template integrated into assets-frontend
- VRT tests re-instated
- Various security advisory reports resolved (handlebars, elliptic, bl, marked, dot-prop, node-sass, jpeg-js, lodash)
- Unused dependencies removed
- Improved accessibility of timeoutDialog.
- Dependencies with known vulnerabilities have been updated.
- Fixed the leak detection issue for the repository.
- When navigating through the navigation bar, 'your account' doesn't highlight when the focus is on it. To fix this, CSS removed that was overriding default behavious of highlighting on focus.
- The assets path in the static error pages was pointing to a SNAPSHOT version of the assests since new build changes
- The javascript link in the static error pages was pointing to an unminified filename which isn't present in the release
- Updated VAT registration number documentation #1012
- Added a deprecation banner to direct users to the new design resources for HMRC on Heroku, with associated content and styling changes #1011
- Added an LDS exception for the design-system that will be copied across to the gh-pages branch #1013
- Optional full width layout for tables #1014
- Added mitigation for the vulnerability CVE-2015-9251 in older versions of jQuery #1009
- Added expanding subnavigation to mobile navigation #1004
- Updated the fixture and tests for the design library template #1005
- Updated documentation following a prototype review #1008
- Removed unused nodemon package that's affected by the
flatmap-stream
vulnerability#1007
- Updated confirmed identity and could not confirm identity patterns #1000
- Added references and identifiers to system #996
- Updated add to a list code and animated gif #1002
- Updated example on identity page #998
- Updated identity pages #997
- Updated service unavailable page example #995
- Changed accent colour on the documentation [#999] (#999)
- Fixed validorFocus.js to escape dots in jquery id selector #984
- Fixed bug where word-break and overflow-wrap didn't work with page heading elements 994
- Tags only no actual release, no code changes
- Default 400 error page
- Updated service unavailable pages and Welsh translations #993
- Updated page title guidance #992
- Updated 401, 403, 404 and 500 error pages. #988
- Updated Page not found documentation. #982
- Updated page not found documentation and examples. #985
- Updated ask user for their consent documentation. #983
- Welsh translation of last page not found example. #979
- Made more small edits to documentation to make content more active, shorter and use more plain English. #978
- Made small edits to documentation to make content more active, shorter and use more plain English. #977
- Updated examples macro and added Welsh translations. #976
- Deleted nonsense characters from add to a list documentation. #973
- Added an exception for internal security tool #974
- Fixed the initialisation of conditional reveal (show-hide) Javascript [#971]
- Refactored tests for show hide as we needed to test the function with DOMContentLoaded event listener, previous test were not a true reflection of when the code gets loaded in production. 971
- Added the missing styles for conditional reveal and correctly initialised the javascript #967
- Updated add to a list documentation so animated gif matches example. #966
- Added the
mailto:
scheme to the email link on the design-system About page. 951 - Fixed the
sign-out
link on the Help users when we sign them out... page examples 953 - Fixed a couple of typos on the opens in a new window or tab page 954
- Fixed table layout issue on messages pattern full width 959
- Removed unwanted folder called component library template from git 964
- Replaced missing 'add to a list' pattern files which got deleted from merge on commit 8c6fd11 965
- Moved the header pattern to patterns and updated documentation 944
node-git-versioning
plugin has been published to npm so we can depend on that version #946- The secondary timeout dialog button should be a link #952
- Examples that link to another service when a journey is incomplete #956
- Documentation and examples for messages pattern #955
- Timeout documentation and examples #949
- Page not found, service unavailable and there is a problem with the service examples #947
- Markup example and tests for Account Menu and Account Header #961
- The timeout dialog has been heavily refactored with full test coverage, a new preferred interface has been added as
govuk.timeoutDialog()
while still supporting$.timeoutDialog()
with its current form #957 - Minor refactor to timeoutDialog for consistency - missed while doing the major change #968
- New pattern for asking users for their consent to meet GDPR and DPA standards #962
- New patterns for help users when we cannot confirm who they are and tell user we have confirmed who they are #942
- Added new tests for the show hide content module #969
- Added new macro for displaying Welsh examples #975
- The text in form inputs wasn't visible in high contrast mode #939
- Run tests in desktop viewport instead of phantom's default 400 #927
- Fixed broken link on "errors and validation" styles page #937
- Documentation for page title #928
- Documentation for open links in a new window or tab component #926
- Documentation for messages pattern #932
- Documentation and examples for page not found, service unavailable and there is a problem with the service #936
- Updated notification badge CSS, code and examples #934
- Fixed a typo in open links in a new window or tab page #935
- Fixed a typo in technical problem page #933
- Added documentation for page title #928
- Added documentation for open links in a new window or tab component #926
- Updated documentation headings and page not found pattern #922
- Updated documentation and examples for page heading #923
- Refactoring the account menu JS and adding in unit tests #929
- Running the patterns tests alongside components tests #948
- Version build artefacts according to the HMRC release candidate format #924
- Tar build artefacts instead of zip and add a package file for publishing #925
- Moved the timeout dialog pattern from the components directory to the patterns directory #931
- Preventing a user from being able to focus inside the subnav when it has not been opened #920
- Ability to use universal analytics with stageprompt #914
- IE8 support in the minified JavaScript #916
- Updated documentation for service unavailable and technical problem pages, and changed work in progress and deprecated banner styles #912
- SDT-768 #908 Updated the generated markup for buttons so that they better represent how to use the new govuk-elements css
- Issue with Stageprompt not recognising JQuery 909
- Build styles as a dependency of the test task 896
- Link style button(button--link) focus background colour is green 900
- Change log checks that the current commit doesn't exist in the remote's default branch 904
- Added in links to the contribution guidelines #902
- Improve the developer experience of running assets-frontend 735
- Build a version without deprecated components #873
- All style sections now link to the corresponding GOV.UK Elements style section #883
- Session Timeout Modal #889
- New badge component #886
- Calls
.restore()
on spied functions after they've been used to preventalready wrapped
errors from crashing thewatch
task #882 - Nunjucks config needed path to components - 892
- Updated badge README.md and added second markup example #895
- Updated the ‘pattern-library’ task so macro refs are dynamic in the gulp task #890
- Content of work in progress macro and added new research macro #888
- Include language selector as a partial in other components #887
- Removed check your answers from component navigation #885
- Fix issue with blue border not displaying on pages without the PTA account menu #903
3.0.2 - 2017-12-19
- Deprecated the HMRC character counter in favour of the GDS version #897
- Allows assets-frontend to run in a Windows environment #878
- Fix style for logged in status logo #872
- Fix header logo reference in header and account-header components #874
- Move header component stylesheet import to all-components #875
- Include JavaScript from GOV.UK frontend toolkit #880
3.0.1 - 2017-11-30
- Remove the
.content__body p
selector as it is too specific and overriding other changes in V3 - Remove changes that had previously been put in place to add specificity to other classes to counteract the effect of
.content__body p
- Remove the
.content__body p
selector as it is too specific and overriding other changes in V3 - Remove changes that had previously been put in place to add specificity to other classes to counteract the effect of
.content__body p
- fixed comments on shutter page examples #870
- added work in progress banner to the character counter #869
3.0.0 - 2017-11-24
🚨 BREAKING CHANGE!!! 🚨
This entire version is covered by a single pull request. #867
- GOV.UK dependencies from npm 🎉
- Backward compatibility overrides for component library styles
- External link images moved to
/assets/images
for backward compatibility govuk-mixins
file for backward compatibility
- Buttons are now full width on mobile
- Text inputs are full width on mobile and half width on desktop
- Text inputs have darker border colour
- Margin on headings is coming from GOV.UK elements
- Updated image paths
govuk-template.js
moved to vendor directory- Root scss files have been moved and simplified
- The Component Library!
- All styles in
/assets/scss
- Embedded GOV.UK dependency directories
- Unnecessary
govuk-elements
update script
2.254.0 - 2017-11-23
- Adds a close link to the banner, with cookie #859
- Added the account header #862
- Updated reportAProblem to reattach form validation after a successful submission, in case of server side validation failure resulting in the form reloaded #863
- removed the account menu component from the navigation #865
- Changed a reference to an svg icon to a data uri #848
- Updated .nvmrc file to use up to date node version for AF #848
- Remove style overrides for layout and typography for the Design System #851
- Add Styles tab with a reference for Component Library #858
- Resolve navigation snag list for Frontend-template #861
- Add Styles to fix singleCheckbox error message placement #864
- Updated reportAProblem to reattach form validation after a successful submission, in case of server side validation failure resulting in the form reloaded #863
2.253.0 - 2017-10-26
- 404 page pattern #835
- Shutter Page pattern #838
- 500 Pages #842
- Added the image
icon-print.svg
#841 - Add WIP macro #843
- Replace the component library with a new design pattern library #822
- Add header component to the new design system #829
- Use macros for example and markup rendering in README.md #828
- Modify CHANGELOG.md change verification to stabilise Travis CI #833
- Allow README.md only changes to be merged without forcing CHANGELOG.md to be changed #836
- Replaced _panels.scss with content from GOV.UK #835
- Updated the homepage with a description of patterns #846
2.252.0 - 2017-10-16
- Minor updates to input type="number" and fix for Firefox #821
- Updating
.notice-banner__content
styles so that they're actually visible #820
- Updated validatorFocus javascript to navigate to the input field in IE8 when there is a valudation error. #805
- Styling for new full width banner on frontend-template-provider #824
- Introduced new summary page styling, derived from GOV.UK design pattern. New sass partial
_check-your-answers.scss
#823
2.251.1 - 2017-10-05
- Updating .form-control styles missed in 2.251.0 #816
2.251.0 - 2017-10-04
- Updated visually hidden mixin to align with GDS #814
- Increased border with for form control and updated border colour and padding #812
- Updated padding for button mixin and included outline css #813
2.250.0 - 2017-09-29
2.249.0 - 2017-09-18
- Updated existing link colour variables to match gov.uk #795
- Increased font size in transaction banner headers to match the GDS example banner to fix an accessibility issue #781
2.248.1 - 2017-09-04
- Production styles not being generated on CI #804
2.248.0 - 2017-08-23
- Generate component library files from components in new file structure without kss-node #791
- Fixes builds silently failing #798
- Optional quiet logging for VRT tests using --quiet flag #798
- Styles to update back link to latest version #801
- Updated the README.md as node version has been bumped up
- Updated most build-related dependencies to latest versions & refactor gulp tasks to be more efficient #787
- Tests pass when run against nodejs 4.8.4 and 6.11.1 #788
2.247.0 - 2017-08-01
- Add latest GOV.UK radio buttons and checkboxes #789
- Tests pass when run against nodejs 4.8.4 #784
2.246.0 - 2017-07-20
- Ignore the arrow test from modernizr as it was setting the page width to 12px #783
- Added the correct class to the Tab component to enable targetting an open tab via the url with a fragment #778
2.245.0 - 2017-05-09
- Updated the README with the supported Node version #775
- Added explicit colour (white) to transaction banner headers to match the GDS example banner #776
2.242.2 - 2017-04-21
2.242.1 - 2017-04-20
- Pass the change log check if no files have been changed (mostly for CI) #771
2.242.0 - 2017-04-13
- This change log! 💥 #753
- ...and a check that it's been update as part of a pull request #759
- standardjs formatting for JavaScript #736
- Interaction for visual regression tests #748
- Gulpfile JavaScript tests (using tape) #756
- Removed email address from apiCollaboratorResponse ajax form action url #768
- Simplified the contributing guidelines #752
- Added
bundle-collapser
plugin to convert bundle paths to IDs in bundled JavaScript #763 - The Character counter has been refactored into our new clearer file structure #767
- Continuous Integration builds weren't failing when JavaScript acceptance tests failed #754
- The Youtube-player Visual regression test was always failing #761
- Changelog test class, lint errors #764
- Fixed jenkins builds failing changelog check #769
2.241.0 - 2017-01-20
- URLs for
govuk_template
assets in nginx error pages [#735]
2.240.0 - 2017-01-16
2.239.0 - 2017-01-13
- Changes to nginx error pages not being build and deployed [#734]