Skip to content

Releases: expressjs/morgan

1.10.1

17 Jul 16:15

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.10.0...1.10.1

1.10.0

20 Mar 17:51

Choose a tag to compare

  • Add :total-time token
  • Fix trailing space in colored status code for dev format
  • deps: basic-auth@~2.0.1
  • deps: depd@~2.0.0
    • Replace internal eval usage with Function constructor
    • Use instance methods on process to check for listeners
  • deps: on-headers@~1.0.2
    • Fix res.writeHead patch missing return value

1.9.1

11 Sep 01:17

Choose a tag to compare

  • Fix using special characters in format
  • deps: depd@~1.1.2
    • perf: remove argument reassignment

1.9.0

27 Sep 02:32

Choose a tag to compare

  • Use res.headersSent when available
  • deps: basic-auth@~2.0.0
    • Use safe-buffer for improved Buffer API
  • deps: [email protected]
  • deps: depd@~1.1.1
    • Remove unnecessary Buffer loading

1.8.2

24 May 01:54

Choose a tag to compare

1.8.1

11 Feb 01:46

Choose a tag to compare

  • deps: [email protected]
    • Fix deprecation messages in WebStorm and other editors
    • Undeprecate DEBUG_FD set to 1 or 2

1.8.0

05 Feb 00:35

Choose a tag to compare

  • 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

1.7.0

19 Feb 04:59

Choose a tag to compare

  • Add digits argument to response-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

1.6.1

04 Jul 03:03

Choose a tag to compare

  • deps: basic-auth@~1.0.3

1.6.0

04 Jul 03:01

Choose a tag to compare

  • 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 in dev format
  • Fix token return values to be undefined or a string
  • Improve representation of multiple headers in req and res tokens
  • Use res.getHeader in res 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]
  • 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