Skip to content

Releases: curveball/core

v0.13.0

14 Jul 02:06
9b357ee
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release
  • Removed Request and Response interfaces again. They actually made it more
    difficult to extend.

v0.12.0

23 Mar 02:00
19cc3b6
Compare
Choose a tag to compare
  • Both Request and Response are now typescript interfaces. This will allow
    plugins to extends them via interface declaration merging.
  • Everything is now compiled with the typescript 'strict' mode, which caused
    some internal refactoring.

v0.11.3-0

23 Mar 02:01
129d393
Compare
Choose a tag to compare
v0.11.3-0 Pre-release
Pre-release

Experimental test build

v0.11.2

23 Mar 02:01
6c7f384
Compare
Choose a tag to compare
  • Added utilities to check If-Match, If-None-Match, If-Modified-Since,
    If-Unmodified-Since.
  • Typescript target is now es2019 instead of esnext to ensure that older
    Node.js versions are supported.
  • Added a workaround to make sure the package works around a bug in
    @types/node@13.

v0.11.1

03 Mar 16:45
0c73fb5
Compare
Choose a tag to compare
  • Set Content-Type to text/plain for errors that fall without being caught
    by an exception handling middleware.

v0.11.0

03 Mar 16:44
59a663d
Compare
Choose a tag to compare
  • Context is no longer a class, it's an interface. It's default
    implementation is now BaseContext. This allows plugins to modify the
    interface and add new features.

v0.10.0

06 Jan 00:25
70715f7
Compare
Choose a tag to compare
  • Added a redirect() function to Context and Response objects, making it
    easier to set a status-code and location header in one step.
  • Support for more Prefer parameters: depth-noroot, safe, transclude.

v0.9.4

21 Dec 20:35
1e776c7
Compare
Choose a tag to compare
  • Fix a bug in HTTP/2 Push. Resources with query parameters in their path were
    not pushed correctly.

v0.9.3

19 Dec 19:02
851899c
Compare
Choose a tag to compare
  • The is() function will now also match wildcards, such as image/*.

0.5.0

31 Aug 17:23
Compare
Choose a tag to compare
  • #74: Added method, path, status, accepts, push, sendInformational,
    and query to Context object. These properties and methods all forward to
    the request or response object.
  • #78: By default the Application will return with a 404 response, unless a
    middleware updates the status or a body was set.
  • Tests will now error when a node version under 8.11.2 is used. They broke
    before as well, but it's more explicit now about why.