Changelog
[v0.12.6] - 2023-09-11
app.run()
to start and setup, handle process signals and log crashesChangelog
[v0.11.14] - 2023-09-11
app.run()
to start and setup, handle process signals and log crashes via cliChangelog
[v0.13.3] - 2023-08-22
signed
option of res.cookie()
body.raw()
res.end()
being called more than onceapp.stop()
to preserve globals so callbacks trying to access them don't failChangelog
[v0.13.2] - 2022-06-08
app.run()
to start and setup, handle process signals and log crashesdel
route builder to main exportNodecaf.run()
in favor of app.run()
body
handler to inherit the native IncomingMessage
stream behaviorres
handler to inherit the native ServerResponse
stream behaviorapp.setup()
to accept multiple spread conf objects/pathsChangelog
[v0.13.1] - 2022-06-07
run
from separate package to ensure version compatibilityall
route builder to main exportapi
constructor option in favor of routes
Changelog
[v0.13.0] - 2022-03-29
keep()
handler method to store a variable in handler args for the lifetime of the requestip
address to handler argsres.end()
is called more than oncewebsocket()
handler method to work with ws upgradesopts.routes
as an experimental alternative way to define routesbody.req
to body.stream
app.trigger()
to be completely isomorphic with calls coming from http requestsfork()
, flash
, next()
& middleware-style chaining in favor of single handler and call()
pre()
and pos()
in favor of using call()
opts.alwaysRebuildAPI
in favor of using opts.conf
and variadic routesreq
from handler args in favor of method
and path
content-type
header defaulting to parse body as text