Changelog
2.0.5 (beta)
req.originalUrl
for the "url" field per
https://expressjs.com/en/api.html#req.originalUrl. (By @twelve17 and
@kingcody.)Changelog
2.0.4 (beta)
os.EOL
for newlines in bunyan output, which helps with
some Unix-EOL-naive apps like notepad. (By @bwknight877.)Changelog
2.0.3 (beta)
Fix a vulnerability from a crafted argument to 'bunyan -p ARG'
This was reported privately as: https://hackerone.com/reports/902739 bunyan - RCE via insecure command formatting
Previous to this version the 'bunyan' CLI was not escaping a given argument
to the '-p' option before executing ps -A -o pid,command | grep '$ARG'
which could lead to unintended execution.
(This same change is also in bunyan@1.8.13.)
Changelog
2.0.2 (beta)
bunyan
CLI to not duplicate the "HTTP/1.1 ..." status
line when serializing a "res" field.Changelog
2.0.1 (beta)
bunyan
CLI:
The bunyan
CLI no longer adds a Host
header when rendering a client_req
field in a log record. In 1.x it used to do this (using client_req.address
and client_req.port
), on the guess that Node.js' http.ClientRequest
handling would add it. However, the guess can be wrong and misleading. It is
better not to guess.