bedrock-express
Advanced tools
Changelog
4.0.0 - 2021-04-21
jsonErrorLevel
to 'full'
. Deployments
that cannot afford the performance penalty may adjust this value on an as
needed basis.dumpExceptions
to true
.useSession
to false
. If useSession
is set to true
, ensure that a session storage module such as
bedrock-session-mongodb
is used. Otherwise, the default Express in-memory
session store can cause memory leaks.Changelog
3.2.1 - 2021-03-29
bedrock
to allow 4.x
.Changelog
3.2.0 - 2020-06-04
httpOnly
that binds express to the HTTP server instead
of the HTTPS/TLS server.Changelog
3.1.0 - 2020-01-11
Changelog
3.0.1 - 2019-11-19
Changelog
3.0.0 - 2019-11-08
bedrock.config.express.jsonErrorLevel
to control output. Defaults to
'none'
when process.env.NODE_ENV === 'production'
, otherwise 'summary'
.
'none'
: no logging'summary'
: brief summary'full'
: full JSON error as beforebedrock.config.express.dumpExceptions
now defaults to false
when process.env.NODE_ENV === 'production'
, otherwise true
.Changelog
2.1.1 - 2019-05-07
bedrock.start
instead of bedrock.ready
. This addresses
a condition where express may not be attached before the server is ready.Changelog
2.1.0 - 2018-07-06
asyncHandler
API allows middleware to be composed using async/await.