From 98f08ff1a97c3518a2cdffef03852124b39ad9ca Mon Sep 17 00:00:00 2001 From: Andrew Lee <1517745+andrewrlee@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:53:55 +0000 Subject: [PATCH] Adding changelog for move to monitoring library (#487) --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8c732d9..098b69f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change log +**November 29th 2024** - Moving to the new monitoring library + +There's a new set of [shared libraries](https://github.com/ministryofjustice/hmpps-typescript-lib) which should allow us to share code more efficiently than current approaches. + +The first of these is a [new library](https://github.com/ministryofjustice/hmpps-typescript-lib/tree/main/packages/monitoring) which wraps the 3 common endpoints used for monitoring and strives to ensure that services have health monitoring of it's dependencies. + +The library will attempt to self-install itself by running it via npx: `npx @ministryofjustice/hmpps-monitoring` + +It will then prompt you to perform some manual tasks - if you have stub tests for your health endpoints you might need add some additional stubbing. + +See PR [#479](https://github.com/ministryofjustice/hmpps-template-typescript/pull/479) + **November 18th 2024** - Moving away from csurf and to csrf-sync [csurf](https://www.npmjs.com/package/csurf) has been deprecated for some time and this removes that dependency and implements the [synchronizer token pattern](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#transmissing-csrf-tokens-in-synchronized-patterns) using [csrf-sync](https://www.npmjs.com/package/csrf-sync).