Skip to content

Releases: curveball/core

v0.16.3

07 May 14:50
Compare
Choose a tag to compare

Updated lint rules
Make file update
Updated dependencies

v0.16.2

18 Feb 23:18
17f624b
Compare
Choose a tag to compare

Releasing on github packages

v0.16.1

02 Feb 04:12
7e102f9
Compare
Choose a tag to compare
  • Request.body is no longer optional, which will help with typing. It can
    still be explicitly set to null.

v0.16.0

30 Jan 07:17
d5c3d0b
Compare
Choose a tag to compare

This release is identical to the last.

Please note, this release has the first major BC break in a while. ctx.request.body is now typed as unknown by default instead of any.

This means that in order to use the body, you must either:

  • validate
  • cast to any

Before this change, body was simply assumed to be any like any other framework. Now, you must explicitly decide to validate or not validate to avoid an error.

v0.16.0-beta.0

30 Jan 07:15
a2a9ef4
Compare
Choose a tag to compare
v0.16.0-beta.0 Pre-release
Pre-release
  • BC Break: Request.body is now typed as unknown instead of any. This
    forces users to either validate the body, or cast to any.
  • It's now possible to write directly to response streams by setting
    response.body to a callback.

v0.15.0

05 Dec 21:42
b4b8f62
Compare
Choose a tag to compare
  • Curveball now required Node 12.
  • esModuleInterop flag is no longer required to use curveball.

v0.14.3

23 Sep 22:35
a1612fa
Compare
Choose a tag to compare
  • #155 - listen and listenWs now both have a second host argument to
    bind to a specific interface. (@Nicholaiii)
  • #145 - request.headers and response.headers now have a getMany()
    function to get a list of header values for a given header name. (@Nicholaiii)

v0.14.2

14 Jul 22:39
Compare
Choose a tag to compare
  • Republish of 1.14.1, which was missing some changes.

v0.14.1

14 Jul 22:38
Compare
Choose a tag to compare
  • types ws package is now non-devDependency

v0.14.0

14 Jul 02:07
517a077
Compare
Choose a tag to compare
  • Native Websocket support. If enabled, ctx will now have a webSocket
    property.