Changelog
4.5.1 - 2022-04-04 (backported fix)
defaultMeta
override bug.Changelog
4.5.0 - 2022-03-22
main
export that includes information about the main program
module such as its filename
. The main program module will be
properly computed on bedrock workers to express not the worker
filename but the filename of the first loaded module, e.g., if
an application foo.js
calls bedrock.start
, then main
includes
the full path filename
for foo.js
whether running in the primary
process on a worker process.Changelog
4.4.3 - 2021-12-08
Changelog
4.4.2 - 2021-11-04
Changelog
4.4.1 - 2021-09-21
Infinity
for max event listeners instead of using 0
which is a proxy
for it (from docs: "The value can be set to Infinity (or 0) to indicate an
unlimited number of listeners.").
Link: https://nodejs.org/api/events.html#events_emitter_setmaxlisteners_n
This addresses problems with libraries (such as esm
) that assume
Infinity
will be used and that make erroneous calculations if 0
is used
instead (e.g., the esm
library scales the max listeners from Infinity
to
1
when the intention was to increase the max listeners by just 1
).Changelog
4.4.0 - 2021-07-23
config.loggers.enableFileTransport
with a default of true
.
One can disable all file based logging by setting this value to false
. This
is useful for deployment targets such as Kubernetes that are only concerned
with console logs.Changelog
4.3.0 - 2021-07-02
unhandledRejection
handler to deal with uncaught promises by causing
the process to exit.Changelog
4.2.1 - 2021-07-01
config.core.master
(removal planned for 5.x).Changelog
4.2.0 - 2021-06-30
bedrock.exit
event prior to exiting.Changelog
4.1.1 - 2020-12-18