diff --git a/CHANGELOG.md b/CHANGELOG.md index cb4b5017..0312bd3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/nationalarchives/tna-frontend/compare/v0.2.4...HEAD) +## [Unreleased](https://github.com/nationalarchives/tna-frontend/compare/v0.2.5...HEAD) ### Added ### Changed @@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Security +## [0.2.5](https://github.com/nationalarchives/tna-frontend/compare/v0.2.4...v0.2.5) - 2024-07-30 + +### Changed + +- Change default cookie age back to `31536000` (1 year) but allow `{ session: true }` for session cookies +- Allow default cookie age to be set on instantiation + ## [0.2.4](https://github.com/nationalarchives/tna-frontend/compare/v0.2.3...v0.2.4) - 2024-07-30 ### Added diff --git a/package-lock.json b/package-lock.json index 6f2c05a5..6af1a0c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nationalarchives/frontend", - "version": "0.2.4", + "version": "0.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@nationalarchives/frontend", - "version": "0.2.4", + "version": "0.2.5", "license": "MIT", "devDependencies": { "@babel/core": "^7.25.2", diff --git a/package.json b/package.json index 9dcd81f5..f1de0c9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nationalarchives/frontend", - "version": "0.2.4", + "version": "0.2.5", "description": "The National Archives frontend styles", "scripts": { "start": "storybook dev -p 6006",