Skip to content

Commit

Permalink
Adding changelog for move to monitoring library (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrlee authored Dec 2, 2024
1 parent 3ff1d2f commit 98f08ff
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down

0 comments on commit 98f08ff

Please sign in to comment.