- Fix trailing space in colored status code for
dev
format - deps: basic-auth@~2.0.1
- deps: [email protected]
- Fix using special characters in format
- deps: depd@~1.1.2
- perf: remove argument reassignment
- Use
res.headersSent
when available - deps: basic-auth@~2.0.0
- Use
safe-buffer
for improved Buffer API
- Use
- deps: [email protected]
- deps: depd@~1.1.1
- Remove unnecessary
Buffer
loading
- Remove unnecessary
- deps: [email protected]
- Fix
DEBUG_MAX_ARRAY_LENGTH
- deps: [email protected]
- Fix
- deps: [email protected]
- Fix deprecation messages in WebStorm and other editors
- Undeprecate
DEBUG_FD
set to1
or2
- Fix sending unnecessary
undefined
argument to token functions - deps: basic-auth@~1.1.0
- deps: [email protected]
- Allow colors in workers
- Deprecated
DEBUG_FD
environment variable - Fix error when running under React Native
- Use same color for same namespace
- deps: [email protected]
- perf: enable strict mode in compiled functions
- Add
digits
argument toresponse-time
token - deps: depd@~1.1.0
- Enable strict mode in more places
- Support web browser loading
- deps: on-headers@~1.0.1
- perf: enable strict mode
- deps: basic-auth@~1.0.3
- Add
morgan.compile(format)
export - Do not color 1xx status codes in
dev
format - Fix
response-time
token to not include response latency - Fix
status
token incorrectly displaying before response indev
format - Fix token return values to be
undefined
or a string - Improve representation of multiple headers in
req
andres
tokens - Use
res.getHeader
inres
token - deps: basic-auth@~1.0.2
- perf: enable strict mode
- perf: hoist regular expression
- perf: parse with regular expressions
- perf: remove argument reassignment
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECT
requests - Add defined behavior for HTTP
Upgrade
requests - deps: [email protected]
- Add defined behavior for HTTP
- pref: enable strict mode
- pref: reduce function closure scopes
- pref: remove dynamic compile on every request for
dev
format - pref: remove an argument reassignment
- pref: skip function call without
skip
option
- deps: basic-auth@~1.0.1
- deps: debug@~2.2.0
- deps: [email protected]
- deps: depd@~1.0.1
- deps: on-finished@~2.2.1
- Fix
isFinished(req)
when data buffered
- Fix
- deps: debug@~2.1.3
- Fix high intensity foreground color for bold
- deps: [email protected]
- deps: debug@~2.1.1
- deps: on-finished@~2.2.0
- Add multiple date formats
clf
for the common log formatiso
for the common ISO 8601 date time formatweb
for the common RFC 1123 date time format
- Deprecate
buffer
option - Fix date format in
common
andcombined
formats - Fix token arguments to accept values with
"
- deps: on-finished@~2.1.1
- Fix handling of pipelined requests
- Add
debug
messages - deps: depd@~1.0.0
- Fix
req.ip
integration whenimmediate: false
- Remove un-used
bytes
dependency - deps: [email protected]
- Assert if
format
is not a function or string
- deps: [email protected]
- deps: [email protected]
- Work-around v8 generating empty stack traces
- deps: [email protected]
- Fix exception when global
Error.stackTraceLimit
is too low
- Fix exception when global
- Add
:remote-user
token - Add
combined
log format - Add
common
log format - Add
morgan(format, options)
function signature - Deprecate
default
format -- usecombined
format instead - Deprecate not providing a format
- Remove non-standard grey color from
dev
format
- simplify method to get remote address
- "dev" format will use same tokens as other formats
:response-time
token is now empty when immediate used:response-time
token is now monotonic:response-time
token has precision to 1 μs- fix
:status
+ immediate output in node.js 0.8 - improve
buffer
option to prevent indefinite event loop holding - deps: [email protected]
- add negative support
- Make buffer unique per morgan instance
- deps: [email protected]
- added terabyte support
- Initial release