Skip to content

Latest commit

Β 

History

History
348 lines (165 loc) Β· 13.4 KB

CHANGELOG.md

File metadata and controls

348 lines (165 loc) Β· 13.4 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.16.3 (2022-12-21)

Bug Fixes

  • reload: ensure Windows compatibility (8fc1259)

0.16.2 (2022-06-15)

Bug Fixes

  • json: properly set content-type (77fc27a)

0.16.1 (2022-06-14)

Features

  • error: support status property (da4d487)

0.16.0 (2022-05-30)

Features

Bug Fixes

  • 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)

Bug Fixes

  • cache: adjust shouldCache arguments (d751d71)

0.15.1 (2022-05-29)

Features

  • cache: add shouldCache parameter (f156eee)
  • modularize and support Node 16 (b644df5)

Bug Fixes

  • onRequest: also end when no keep-alive option (680cecb)

0.15.0 (2021-05-08)

⚠ BREAKING CHANGES

  • exposeFolder: Content is not cached by default anymore.

Features

  • exposeFolder: add isImmutable option (ab6d562)

0.14.0 (2021-03-29)

⚠ BREAKING CHANGES

  • reload: Add parameter object to reload.

Bug Fixes

  • reload: prevent crash on reload (8e22c86)

0.13.1 (2021-03-18)

Bug Fixes

  • use: better handle connect API (fe1105a)

0.13.0 (2021-03-17)

⚠ BREAKING CHANGES

  • 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.

Bug Fixes

  • header: write content-encoding when unset (f1a4099)
  • reload: externalize watcher (dceb7bf)

0.12.1 (2021-03-16)

Bug Fixes

  • exposeFolder: add missing content-encoding (0dfdb9e)

0.12.0 (2021-03-03)

⚠ BREAKING CHANGES

  • Respond is now just a handler that returns the default response object.

Features

  • 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)

Features

  • add exposeFolder parameters (035aa5d)

0.11.4 (2020-12-04)

Bug Fixes

  • exposeFolder: handle URI encoding (e1cc0e3)

0.11.3 (2020-12-04)

Bug Fixes

  • isChildPath: include self (b3682ef)

0.11.2 (2020-12-04)

Features

0.11.1 (2020-12-04)

Features

0.11.0 (2020-10-29)

Features

  • export COMPRESSIBLE_CONTENT_TYEPS (f69b1b9)

0.10.0 (2020-09-30)

Bug Fixes

  • session: omit from session if undefined value (a5d6269)
  • withJson: handle iterable headers in options (3fd91a0)

0.9.0 (2020-09-25)

Features

  • handleError: also pass request to callback (10ff600)

0.8.1 (2020-09-25)

Bug Fixes

  • exposeFolder: correctly normalize pathname (f7ec9f3)

0.8.0 (2020-09-24)

Bug Fixes

  • stringify JSON in withJson (856d508)

0.7.1 (2020-09-04)

Bug Fixes

  • respond did not get iterable headers values (ef65499)

0.7.0 (2020-09-03)

Features

  • support WebAPI headers in response (8fc0cb2)

0.6.0 (2020-09-03)

Features

  • add keyTransform decorator (3865eeb)

0.5.0 (2020-08-30)

Features

0.4.0 (2020-08-24)

Features

  • session cookies default to root path (7a438f7)
  • support status prop in response objects (3909649)

Bug Fixes

  • status codes are now integers (db5efc2)

0.3.0 (2020-08-23)

⚠ BREAKING CHANGES

  • Remove captureUrl in favor of matchUrl.

Features

0.2.0 (2020-08-21)

⚠ BREAKING CHANGES

  • request.breadcrumbs are removed.

The routeUrl handler now sets the original request pathname before passing it to the next handler.

Features

Bug Fixes

  • fix routeUrl and remove breadcrumbs (ae6099c)

0.1.8 (2020-08-20)

Bug Fixes

0.1.7 (2020-08-20)

Features

  • add maxAge support to exposeFolder (045b2ee)
  • add status code constants (88cc2aa)
  • return compressed version if any found (e497428)

Bug Fixes

  • 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)

Bug Fixes

0.1.5 (2020-08-19)

Features

  • error handling, websocket, and body parser (cc31bfb)

0.1.4 (2020-07-24)

Bug Fixes

  • reload did not reload all modules (c385fdb)

0.1.3 (2020-07-23)

Features

0.1.2 (2020-07-23)

0.1.1 (2020-07-23)

Bug Fixes

  • remove dist folder and add roadmap item (ba52402)

0.1.0 (2020-07-23)

Features

Bug Fixes

  • performance: shift to (request,next) pattern (b8e67cb)