version 2.0.1

master 2.0.1
Trent Mick 2017-08-02 13:26:16 -07:00
parent 2d17313c4a
commit 39aa5d1f6e
6 changed files with 10 additions and 5 deletions

View File

@ -7,6 +7,11 @@ Known issues:
## not yet released
(nothing yet)
## 2.0.1 (beta)
- [issue #504] **Backward incompatible change to the `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`

View File

@ -100,7 +100,7 @@ test: $(NODEUNIT)
$(SUDO) $(NODEUNIT) test/dtrace.test.js)
$(NODEUNIT) $(NON_DTRACE_TEST_FILES)
# Test will all node supported versions (presumes install locations I use on
# Test with all node supported versions (presumes install locations I use on
# my machine -- "~/opt/node-VER"):
# Note: 'test4' is last so (if all is well) I end up with a binary
# dtrace-provider build for my current default node version.

View File

@ -11,7 +11,7 @@
* vim: expandtab:ts=4:sw=4
*/
var VERSION = '2.0.0';
var VERSION = '2.0.1';
var p = console.log;
var util = require('util');

View File

@ -8,7 +8,7 @@
* vim: expandtab:ts=4:sw=4
*/
var VERSION = '2.0.0';
var VERSION = '2.0.1';
/*
* Bunyan log format version. This becomes the 'v' field on all log records.

View File

@ -1,6 +1,6 @@
{
"name": "bunyan",
"version": "2.0.0",
"version": "2.0.1",
"description": "a JSON logging library for node.js services",
"author": "Trent Mick <trentm@gmail.com> (http://trentm.com)",
"main": "./lib/bunyan.js",

View File

@ -55,7 +55,7 @@ test('client_req.address is not used for Host header in 2.x (issue #504)',
function (err, stdout, stderr) {
t.ifError(err)
t.equal(stdout, [
// JSSTYLED:
// JSSTYLED
'[2017-05-12T23:59:15.877Z] TRACE: minfo/66266 on sharptooth.local: request sent (client_req.address=127.0.0.1)',
' HEAD /dap/stor HTTP/1.1',
' accept: application/json, */*',