From 39aa5d1f6e6513ceebd5f52e5f244aabf0d75737 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Wed, 2 Aug 2017 13:26:16 -0700 Subject: [PATCH] version 2.0.1 --- CHANGES.md | 5 +++++ Makefile | 2 +- bin/bunyan | 2 +- lib/bunyan.js | 2 +- package.json | 2 +- test/cli-client-req.test.js | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 39936d7..ee035f8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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` diff --git a/Makefile b/Makefile index 4c93eb6..1f32011 100644 --- a/Makefile +++ b/Makefile @@ -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. diff --git a/bin/bunyan b/bin/bunyan index 3275b24..cd96878 100755 --- a/bin/bunyan +++ b/bin/bunyan @@ -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'); diff --git a/lib/bunyan.js b/lib/bunyan.js index fc02a2a..fa603a9 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -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. diff --git a/package.json b/package.json index 4efead4..1f29b7b 100644 --- a/package.json +++ b/package.json @@ -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 (http://trentm.com)", "main": "./lib/bunyan.js", diff --git a/test/cli-client-req.test.js b/test/cli-client-req.test.js index 9ed6476..8ef4a09 100644 --- a/test/cli-client-req.test.js +++ b/test/cli-client-req.test.js @@ -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, */*',