All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.16.3 (2022-12-21)
- reload: ensure Windows compatibility (8fc1259)
0.16.2 (2022-06-15)
- json: properly set content-type (77fc27a)
0.16.1 (2022-06-14)
- error: support
status
property (da4d487)
0.16.0 (2022-05-30)
- add
toObject
(438f4b1) - add
toString
(9e7e2d8) - add
withContentType
(804baaa) - add
withHtml
(cc5c185) - add
withText
(1c8d50a)
- cache: restrict
shouldCache
to request (c1dd138) - parseBodyJson: mixed charset and content-type (7b61e7b)
- parseBody: use true default charset (f6af2b2)
- reload: no stack and wrong import (1d02601)
- setup: fix export declaration (de98a92)
0.15.2 (2022-05-29)
- cache: adjust
shouldCache
arguments (d751d71)
0.15.1 (2022-05-29)
- onRequest: also end when no keep-alive option (680cecb)
0.15.0 (2021-05-08)
- exposeFolder: Content is not cached by default anymore.
- exposeFolder: add isImmutable option (ab6d562)
0.14.0 (2021-03-29)
- reload: Add parameter object to
reload
.
- reload: prevent crash on reload (8e22c86)
0.13.1 (2021-03-18)
- use: better handle connect API (fe1105a)
0.13.0 (2021-03-17)
- reload: To avoid an unnecessary dependency on a development
dependency, the watcher must now be passed onto
reload
. This also gives more flexibility on what and how to watch files.
0.12.1 (2021-03-16)
- exposeFolder: add missing content-encoding (0dfdb9e)
0.12.0 (2021-03-03)
- Respond is now just a handler that returns the default response object.
-
exposeFolder: support if-modified-since (14d24f5)
-
onUse: add connect adapter (14438ad)
-
reload: support async default function (a683cdb)
-
setHref: add new tool (06283c7)
-
use: new handler for connect-like listeners (f335b1e)
-
move respond to tools (2cc7cd8)
0.11.5 (2020-12-21)
- add exposeFolder parameters (035aa5d)
0.11.4 (2020-12-04)
- exposeFolder: handle URI encoding (e1cc0e3)
0.11.3 (2020-12-04)
- isChildPath: include self (b3682ef)
0.11.2 (2020-12-04)
- add index support (dc3625c)
0.11.1 (2020-12-04)
- expose isChildPath (9245739)
0.11.0 (2020-10-29)
- export COMPRESSIBLE_CONTENT_TYEPS (f69b1b9)
0.10.0 (2020-09-30)
- session: omit from session if undefined value (a5d6269)
- withJson: handle iterable headers in options (3fd91a0)
0.9.0 (2020-09-25)
- handleError: also pass
request
to callback (10ff600)
0.8.1 (2020-09-25)
- exposeFolder: correctly normalize pathname (f7ec9f3)
0.8.0 (2020-09-24)
- stringify JSON in withJson (856d508)
0.7.1 (2020-09-04)
- respond did not get iterable headers values (ef65499)
0.7.0 (2020-09-03)
- support WebAPI headers in response (8fc0cb2)
0.6.0 (2020-09-03)
- add keyTransform decorator (3865eeb)
0.5.0 (2020-08-30)
- add withJson (06f4027)
0.4.0 (2020-08-24)
- status codes are now integers (db5efc2)
0.3.0 (2020-08-23)
- Remove captureUrl in favor of matchUrl.
- add matchUrl (d334d6b)
0.2.0 (2020-08-21)
request.breadcrumbs
are removed.
The routeUrl handler now sets the original request pathname
before
passing it to the next handler.
- add captureUrl (b3b7e28)
- fix routeUrl and remove breadcrumbs (ae6099c)
0.1.8 (2020-08-20)
- add missing exports (3fc9725)
0.1.7 (2020-08-20)
- add maxAge support to exposeFolder (045b2ee)
- add status code constants (88cc2aa)
- return compressed version if any found (e497428)
- add binary response support (8c4116f)
- optional update date in exposeFolder (20b511a)
- skipping gzip test (7787d77)
- stabilize decompress tool (c447072)
0.1.6 (2020-08-19)
- lint (a7c6d9e)
0.1.5 (2020-08-19)
- error handling, websocket, and body parser (cc31bfb)
0.1.4 (2020-07-24)
- reload did not reload all modules (c385fdb)
0.1.3 (2020-07-23)
- add reload (8bcda93)
0.1.2 (2020-07-23)
0.1.1 (2020-07-23)
- remove dist folder and add roadmap item (ba52402)
- initial version (b70853d)
- performance: shift to (request,next) pattern (b8e67cb)