Skip to content

Releases: Nevon/express-physical

v2.0.0

03 Jul 08:34
46dac67
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v2.0.0

v1.0.3

24 May 15:16
0b22ad6
Compare
Choose a tag to compare

What's Changed

  • Support for Node >= 18

v1.0.2

06 Feb 07:45
Compare
Choose a tag to compare
  • Updated dependencies to fix vulnerabilities

v1.0.1

11 Mar 08:10
Compare
Choose a tag to compare

What's Changed

  • Updated dependencies to fix vulnerabilities #406 #412

Full Changelog: v1.0.0...v1.0.1

Improved healthcheck response error messaging

11 Nov 14:44
Compare
Choose a tag to compare

See #7.

Previously when you created a healthcheck response object that was not according to the schema, an InvalidHealthcheckResponse error would get thrown, but the message provided in the error was very generic and unhelpful, so figuring out what you did wrong would require you to read the readme to try to figure out what you were doing wrong.

Now, the message of the error will tell you exactly what you did wrong, so that it will hopefully be much easier to debug an invalid healthcheck response!

Update dependencies and implement InvalidHealthcheckResponse error

09 Nov 19:03
Compare
Choose a tag to compare

physical.response will now return an InvalidHealthcheckResponse error if called with invalid parameters.

Automatic schema validation

21 Apr 12:23
Compare
Choose a tag to compare
  • The response producted by the middleware is now automatically verified against a swagger definition.
  • DEPRECATION physical.severities.WARN is now deprecated in favor of physical.severities.WARNING
  • Both healthy and unhealthy will be included in the response, even if they are empty.

dependentOn required for healthy checks

21 Apr 12:24
Compare
Choose a tag to compare

500 on failing checks

21 Apr 12:25
Compare
Choose a tag to compare

When any check is failing, the middleware will now respond with a status code of 500.