Skip to content

Releases: cmorten/opine

0.5.3

28 May 11:10
Compare
Choose a tag to compare

ChangeLog

[0.5.3] - 28-05-2020

  • fix: better types for Router.

0.5.2

28 May 07:04
7f058ec
Compare
Choose a tag to compare

ChangeLog

[0.5.2] - 28-05-2020

  • fix: only set x-powered-by header if it is enabled as a setting.
  • feat: add missing methods to response.md API docs: unset and etag.
  • chore: audit of feature gap between Express and Opine. Available as TODOs in the code.

0.5.1

27 May 16:48
49df5cb
Compare
Choose a tag to compare

ChangeLog

[0.5.1] - 27-05-2020

  • fix: missing location method type
  • feat: add res.location usage example
  • feat: update API docs pointer out use of res.location()

0.5.0

27 May 16:23
58250f5
Compare
Choose a tag to compare

ChangeLog

[0.5.0] - 27-05-2020

  • fix: major bug with the body parsers. req.body is protected in Deno and thus cannot overwrite. We could look to use a proxy like method in the future. For now we populate req.parsedBody instead.
  • docs: update middlewares and request docs to cover the use of req.parsedBody.
  • test: update body-parser unit tests.
  • docs: update examples to include urlencoded, text and raw body parser examples.
  • docs: add README.md to the examples + improve each examples' README.md.

0.4.2

27 May 16:24
Compare
Choose a tag to compare

ChangeLog

[0.4.2] - 26-05-2020

  • fix: formatting bug.

0.4.1

26 May 12:35
Compare
Choose a tag to compare

ChangeLog

[0.4.1] - 26-05-2020

  • feat: allow Express-like port passing signature for app.listen().

0.4.0

25 May 17:49
dc60ae7
Compare
Choose a tag to compare

ChangeLog

[0.4.0] - 25-05-2020

  • feat: initial serveStatic implementation
  • refactor: clean up examples.
  • refactor: remove superfluous verification code given we have static type checking.
  • refactor: remove unnecessary file path parsing.
  • chore: remove old typings folder.
  • chore: update docs, lockfile etc.
  • feat: add benchmarks github action
  • feat: update API docs with serveStatic middleware section

0.3.0

25 May 09:16
54ceed5
Compare
Choose a tag to compare

ChangeLog

[0.3.0] - 25-05-2020

Updated

  • evt@1.6.8 -> evt@1.7.9 to pull in bug fixes for Deno >=1.0.2.
  • Moved from DENO_SUPPORTED_VERSION to DENO_SUPPORTED_VERSIONS
  • Added support for v1.0.2 to CI workflow (v1.0.1 not supported due to breaking error in Deno).

0.2.0

25 May 09:16
Compare
Choose a tag to compare

ChangeLog

[0.2.0] - 23-05-2020

Added

  • json, text, raw and urlencoded body parser middlewares.

0.1.0

23 May 04:21
9c3eefc
Compare
Choose a tag to compare

ChangeLog

[0.1.0] - 23-05-2020

Added

  • Test coverage for majority of code that doesn't require supertest.

Updated

  • fix: bug in router when next is undefined
  • fix: bug in url parser for FQDN and other combinations
  • fix: bug in etag generator not decoding Uint8Arrays