Skip to content

Releases: pushplay/cassava

v2.7.1

04 Sep 22:03
Compare
Choose a tag to compare
  • Fixed createTestProxyEvent() header merging.

v2.7.0

04 Sep 21:44
Compare
Choose a tag to compare
  • Updated createTestProxyEvent() to generate event headers and multiValueHeaders.

v2.6.1

28 May 23:26
Compare
Choose a tag to compare
  • Event.validateBody() treats an undefined body as null.

v2.6.0

16 Apr 04:14
Compare
Choose a tag to compare
  • Support for multiValueHeaders in the RouterResponse. This is how you send duplicate header keys.
  • Fixed setting multiple cookies at once in the response. (Which needed duplicate Set-Cookie header keys.)

v2.5.2

13 Nov 23:46
Compare
Choose a tag to compare
  • LoggingRoute logs null and undefined bodies.

v2.5.1

21 Oct 23:07
Compare
Choose a tag to compare
  • Upgrade dependencies to fix security alerts.

v2.5.0

19 Feb 22:20
Compare
Choose a tag to compare
  • Added RouterEvent.bodyRaw which is the raw (unparsed) body. This supports the use case of verifying a signature.

v2.4.1

24 Jan 18:49
Compare
Choose a tag to compare
  • Fixed RouterEvent.requestContext. This property was being called RouterEvent.context and copied from ProxyEvent.context which was undefined so this was never working outside test code.
  • Route.postProcess()'s handlingRoutes parameter is now populated with the route that threw an error in the case where an error was thrown; or the default route in the case that the default route is the handler.

v2.4.0

10 Jan 22:14
Compare
Choose a tag to compare
  • Expose a list of Routes that have participated in handling the event to the postProcess function. (ie: the signature is now postProcess(evt: RouterEvent, resp: RouterResponse, handlingRoutes: Route[]);)
  • Fixed Route.enabled=false not functioning.

v2.3.0

22 Oct 21:21
516a71f
Compare
Choose a tag to compare
  • multiValueHeaders and multiValueQueryStringParameters support