Releases: nhsuk/cookie-consent
Releases · nhsuk/cookie-consent
Release v2.0.0
Release v2.0.0
Release Date: March 20, 2026
Previous Version: v1.1.0 (October 31, 2025)
Summary
This release includes updates to the cookie consent banner content, dropping the support of the data-policy-url attribute, technical upgrades, and security improvements.
Breaking Changes
- Support has been dropped for the data-policy-url attribute, which previously allowed to override the URL of the secondary link in the cookie consent banner.
New Features
- PROD-2090: Update the text and the URL of the secondary link in the cookie consent banner
Technical updates and improvements
- Bump pillow from 11.2.1 to 11.3.0 in /tests/integration
- PROD-953: Node 24 update
- PROD-3227: Update package version to 2.0.0
Related Links
v1.1.0
Release v1.1.0
Release Date: October 31, 2025
Previous Version: v1.0.2 (May 28, 2024)
Summary
This major release includes cookie consent sharing functionality to known hosts, improved testing infrastructure, UI updates, and security improvements.
New Features
Cookie Consent Sharing
- PROD-1043: Add listener for broadcasting shared consent functionality
- PROD-963: Implement consumption of shared cookie consent across domains
- PROD-2184: Limit consent sharing to authorised domains for enhanced security
Testing Infrastructure Improvements
- PROD-950: Migrate integration tests to Python Behavex and Playwright
- PROD-950: Remove legacy Puppeteer integration tests and configuration
- PROD-949: Fix unit test coverage
- PROD-2121: Add Allure reporting for integration tests with pipeline publishing
- PROD-1008: Add Lighthouse CI checks and reporting to build pipeline
UI/UX Improvements
- PROD-1539: Banner UI and content updates
- PROD-1773: Remove custom CSS from links for better consistency
Bug Fixes & Improvements
- PROD-1656: Clean up stale analytics cookies
- PROD-1642: Skip processing for same-page links to improve performance
Related Links
Note: This release represents a significant milestone in cookie consent management with enhanced cross-domain sharing capabilities and improved testing infrastructure.
v1.0.2
Update COOKIE_VERSION to version 6
v1.0.1
- Update the cookie consent to remove the reference to Microsoft Clarity and update it to Adobe target.
v1.0.0
- Upgrade to node
20.xlts - Upgrade npm packages to support node
20.x - Update
COOKIE_VERSIONto version 5
v0.6.1
- Remove
tabIndexattributes - Update
COOKIE_VERSIONto version 4
v0.6.0
- Banner content update to remove Hotjar and add Qualtrics reference
v0.5.4
v0.5.3
v0.5.2
Minor fix to version numbers within the package and cookie-consent.js