diff --git a/CHANGES.md b/CHANGES.md index 61db742..825544f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,8 +1,14 @@ # bunyan Changelog -## bunyan 0.11.4 (not yet released) +## bunyan 0.12.0 (not yet released) -(nothing yet) +- [pull #32] `bunyan -o short` for more concise output (by Dave Pacheco). E.g.: + + 22:56:52.856Z INFO myservice: My message + + instead of: + + [2012-02-08T22:56:52.856Z] INFO: myservice/123 on example.com: My message ## bunyan 0.11.3 diff --git a/Makefile b/Makefile index 276358b..cbf7572 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ all: # Ensure all version-carrying files have the same version. .PHONY: versioncheck versioncheck: + [[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$3}'` ]] [[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F'"' '{print $$2}'` ]] [[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]] @echo Version check ok. diff --git a/bin/bunyan b/bin/bunyan index 8292cc4..cc4a6b4 100755 --- a/bin/bunyan +++ b/bin/bunyan @@ -5,7 +5,7 @@ // See . // -var VERSION = "0.11.4"; +var VERSION = "0.12.0"; var util = require('util'); var pathlib = require('path'); diff --git a/lib/bunyan.js b/lib/bunyan.js index 63678a0..4d4f174 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -4,7 +4,7 @@ * The bunyan logging library for node.js. */ -var VERSION = '0.11.4'; +var VERSION = '0.12.0'; // Bunyan log format version. This becomes the 'v' field on all log records. // `0` is until I release a version '1.0.0' of node-bunyan. Thereafter, diff --git a/package.json b/package.json index ecd751c..0d45cc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bunyan", - "version": "0.11.4", + "version": "0.12.0", "description": "a JSON Logger library for node.js services", "author": "Trent Mick (http://trentm.com)", "main": "./lib/bunyan.js",