- [#38] Array support for
res.append
(#23). - fix: update lockfile for breaking sub-dependency.
- [#22] Add res.redirect API (#36).
- docs: add React example.
- [#34] Capture errors from async routes (#33).
- fix: examples permission instructions.
- fix: proxy example.
- [#20] Add instructions for nest.land package registry (#35).
## [0.14.0] - 29-06-2020
- fix: several minor bugfixes.
- test: add serious test coverage.
- feat: bump Deno and std versions.
- feat: [#24] Object and array support for
res.set()
(#28). - chore: [#29] Automate typedoc publish (#30).
- chore: [#16] Benchmark workflow name fix (#31).
- chore: update dependencies.
- feat: add render and engine public APIs.
- feat: add repository field to
egg.json
. - chore: upgrade eggs CLI in CI.
- feat: integration with https://nest.land package repository.
- feat: move to "main" branch
- fix: lockfile dependencies.
- fix: handling of empty bodies (Content-Length: 0) within body parsers.
- chore: update support matrix to last version of v1.0.x and include v1.1.0.
- fix:
res.sendFile()
not correctly resolving paths, impactingres.download()
and other APIs that use it internally. - feat: decouple the base Opine route handler from the server it starts so can use Opine as a route handler within other libraries / frameworks as middleware with a server that is not started via
app.listen()
. - feat: attempt to close the server within
app.listen()
if an exception occurs in the server connection handling loop.
- feat: support passing no parameters to
app.listen()
and being automatically assigned a port.
- fix: set versions on all deps to prevent adopting breaking changes from
master
. - feat: minor upgrade of the
std
library third party module imports to0.53.0
.
- feat: support express style callback on
app.listen()
.
- refactor: Replace internal ports of NPM modules with tested third party module equivalents.
- feat: deliver content negotiation with the
res.format()
andres.vary()
methods. - feat: flesh out majority of missing
request
methods and properties:req.accepts()
req.acceptsCharsets()
req.acceptsEncodings()
req.acceptsLanguages()
req.is()
req.protocol
req.secure
req.subdomains
req.path
req.hostname
req.stale
req.xhr
- chore: update to types.
- chore: add a content negotiation example to the examples.
- chore: update the docs with the new methods / properties.
- fix: better types for
RouterConstructor
.
- fix: better types for
Router
.
- fix: only set
x-powered-by
header if it is enabled as a setting. - feat: add missing methods to
response.md
API docs:unset
andetag
. - chore: audit of feature gap between Express and Opine. Available as TODOs in the code.
- fix: missing location method type
- feat: add res.location usage example
- feat: update API docs pointer out use of res.location()
- 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 populatereq.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
andraw
body parser examples. - docs: add
README.md
to the examples + improve each examples'README.md
.
- fix: formatting bug.
- feat: allow Express-like
port
passing signature forapp.listen()
.
- 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
evt@1.6.8
->evt@1.7.9
to pull in bug fixes for Deno>=1.0.2
.- Moved from
DENO_SUPPORTED_VERSION
toDENO_SUPPORTED_VERSIONS
- Added support for
v1.0.2
to CI workflow (v1.0.1
not supported due to breaking error in Deno).
json
,text
,raw
andurlencoded
body parser middlewares.
- Test coverage for majority of code that doesn't require supertest.
- 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
- Etags and fresh checking.
request.get()
andrequest.fresh
.- Types overhaul.
- Large refactor of import / export strategy.
- Bug fixes.
- Export query middleware
- Convert finalHandler to ts file.
- Some additional properties of Response type.
- Ported hello world, download, error and multi-router examples from Express.
- Event emitter added to application.
- Use same pathToRegex version as Express (copied locally as can't be imported).
- Fix filepath in
res.sendFile
. - Fix the mounting of routers onto the app (at the cost of performance - to be remedied).
Request
type.- Improvements to the final handler.
- Initial port of ExpressJS to Deno.