Skip to content

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 27 Sep 20:24
· 51 commits to main since this release
v0.5.3
8dfe469

A test client that keeps its headers and cookies from one request to the next, and recipes in the README for request metrics, health checks and reporting a failed background job.

Added

  • @tetsujs/core/testing: serve(app).client({ headers }) is a client that sends its own headers with every request and keeps a cookie jar: the cookies a response sets go back with the next requests where their Path matches, and a response that deletes or expires one removes it. json sends a value as JSON, and a header set to null is not sent. client.cookies reads and plants values.

Fixed

  • @tetsujs/lifecycle: the readiness example in the README built its route after the server, where it could not be mounted.

Full Changelog: v0.5.2...v0.5.3