Releases: curveball/core
Releases · curveball/core
v0.13.0
- Removed
Request
and Response
interfaces again. They actually made it more
difficult to extend.
v0.12.0
- 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.2
- 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
- Set
Content-Type
to text/plain
for errors that fall without being caught
by an exception handling middleware.
v0.11.0
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
- 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
- Fix a bug in HTTP/2 Push. Resources with query parameters in their path were
not pushed correctly.
v0.9.3
- The
is()
function will now also match wildcards, such as image/*
.
0.5.0
- #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.