Releases: pushplay/cassava
Releases · pushplay/cassava
v2.7.1
- Fixed
createTestProxyEvent()
header merging.
v2.7.0
- Updated
createTestProxyEvent()
to generate event headers
and multiValueHeaders
.
v2.6.1
- Event.validateBody() treats an undefined body as null.
v2.6.0
- 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
- LoggingRoute logs null and undefined bodies.
v2.5.1
- Upgrade dependencies to fix security alerts.
v2.5.0
- Added
RouterEvent.bodyRaw
which is the raw (unparsed) body. This supports the use case of verifying a signature.
v2.4.1
- 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
- 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
multiValueHeaders
and multiValueQueryStringParameters
support