Skip to content

Commit 063f084

Browse files
committed
1.12.0 (#376)
1 parent fbf9383 commit 063f084

2 files changed

Lines changed: 63 additions & 57 deletions

File tree

HISTORY.md

Lines changed: 62 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1-
1.11.0 / 2026-06-02
2-
===================
1+
1.12.0
2+
======
3+
* Security fix for [CVE-2026-15603](https://www.cve.org/CVERecord?id=CVE-2026-15603)([GHSA-jxfw-x594-9x9m](https://github.com/expressjs/morgan/security/advisories/GHSA-jxfw-x594-9x9m))
4+
* Allow format functions to return objects for streams in `objectMode`
5+
* Respect the `NO_COLOR` environment variable in the `dev` format
6+
7+
1.11.0
8+
======
39
* add `:pid` token
410

511
Security Fix:
612
* Escape control characters in `:remote-user` token to prevent log injection
713
* Fixes [CVE-2026-5078](https://www.cve.org/CVERecord?id=CVE-2026-5078) [GHSA-4vj7-5mj6-jm8m](https://github.com/expressjs/morgan/security/advisories/GHSA-4vj7-5mj6-jm8m)
814

9-
1.10.1 / 2025-07-17
10-
===================
15+
1.10.1
16+
======
1117

1218
* deps: on-headers@~1.1.0
1319
- Fix [CVE-2025-7339](https://www.cve.org/CVERecord?id=CVE-2025-7339) ([GHSA-76c9-3jph-rj3q](https://github.com/expressjs/on-headers/security/advisories/GHSA-76c9-3jph-rj3q))
1420

15-
1.10.0 / 2020-03-20
16-
===================
21+
1.10.0
22+
======
1723

1824
* Add `:total-time` token
1925
* Fix trailing space in colored status code for `dev` format
@@ -25,15 +31,15 @@
2531
* deps: on-headers@~1.0.2
2632
- Fix `res.writeHead` patch missing return value
2733

28-
1.9.1 / 2018-09-10
29-
==================
34+
1.9.1
35+
=====
3036

3137
* Fix using special characters in format
3238
* deps: depd@~1.1.2
3339
- perf: remove argument reassignment
3440

35-
1.9.0 / 2017-09-26
36-
==================
41+
1.9.0
42+
=====
3743

3844
* Use `res.headersSent` when available
3945
* deps: basic-auth@~2.0.0
@@ -42,22 +48,22 @@
4248
* deps: depd@~1.1.1
4349
- Remove unnecessary `Buffer` loading
4450

45-
1.8.2 / 2017-05-23
46-
==================
51+
1.8.2
52+
=====
4753

4854
* deps: debug@2.6.8
4955
- Fix `DEBUG_MAX_ARRAY_LENGTH`
5056
- deps: ms@2.0.0
5157

52-
1.8.1 / 2017-02-04
53-
==================
58+
1.8.1
59+
=====
5460

5561
* deps: debug@2.6.1
5662
- Fix deprecation messages in WebStorm and other editors
5763
- Undeprecate `DEBUG_FD` set to `1` or `2`
5864

59-
1.8.0 / 2017-02-04
60-
==================
65+
1.8.0
66+
=====
6167

6268
* Fix sending unnecessary `undefined` argument to token functions
6369
* deps: basic-auth@~1.1.0
@@ -69,8 +75,8 @@
6975
- deps: ms@0.7.2
7076
* perf: enable strict mode in compiled functions
7177

72-
1.7.0 / 2016-02-18
73-
==================
78+
1.7.0
79+
=====
7480

7581
* Add `digits` argument to `response-time` token
7682
* deps: depd@~1.1.0
@@ -79,13 +85,13 @@
7985
* deps: on-headers@~1.0.1
8086
- perf: enable strict mode
8187

82-
1.6.1 / 2015-07-03
83-
==================
88+
1.6.1
89+
=====
8490

8591
* deps: basic-auth@~1.0.3
8692

87-
1.6.0 / 2015-06-12
88-
==================
93+
1.6.0
94+
=====
8995

9096
* Add `morgan.compile(format)` export
9197
* Do not color 1xx status codes in `dev` format
@@ -109,8 +115,8 @@
109115
* pref: remove an argument reassignment
110116
* pref: skip function call without `skip` option
111117

112-
1.5.3 / 2015-05-10
113-
==================
118+
1.5.3
119+
=====
114120

115121
* deps: basic-auth@~1.0.1
116122
* deps: debug@~2.2.0
@@ -119,21 +125,21 @@
119125
* deps: on-finished@~2.2.1
120126
- Fix `isFinished(req)` when data buffered
121127

122-
1.5.2 / 2015-03-15
123-
==================
128+
1.5.2
129+
=====
124130

125131
* deps: debug@~2.1.3
126132
- Fix high intensity foreground color for bold
127133
- deps: ms@0.7.0
128134

129-
1.5.1 / 2014-12-31
130-
==================
135+
1.5.1
136+
=====
131137

132138
* deps: debug@~2.1.1
133139
* deps: on-finished@~2.2.0
134140

135-
1.5.0 / 2014-11-06
136-
==================
141+
1.5.0
142+
=====
137143

138144
* Add multiple date formats
139145
- `clf` for the common log format
@@ -143,53 +149,53 @@
143149
* Fix date format in `common` and `combined` formats
144150
* Fix token arguments to accept values with `"`
145151

146-
1.4.1 / 2014-10-22
147-
==================
152+
1.4.1
153+
=====
148154

149155
* deps: on-finished@~2.1.1
150156
- Fix handling of pipelined requests
151157

152-
1.4.0 / 2014-10-16
153-
==================
158+
1.4.0
159+
=====
154160

155161
* Add `debug` messages
156162
* deps: depd@~1.0.0
157163

158-
1.3.2 / 2014-09-27
159-
==================
164+
1.3.2
165+
=====
160166

161167
* Fix `req.ip` integration when `immediate: false`
162168

163-
1.3.1 / 2014-09-14
164-
==================
169+
1.3.1
170+
=====
165171

166172
* Remove un-used `bytes` dependency
167173
* deps: depd@0.4.5
168174

169-
1.3.0 / 2014-09-01
170-
==================
175+
1.3.0
176+
=====
171177

172178
* Assert if `format` is not a function or string
173179

174-
1.2.3 / 2014-08-16
175-
==================
180+
1.2.3
181+
=====
176182

177183
* deps: on-finished@2.1.0
178184

179-
1.2.2 / 2014-07-27
180-
==================
185+
1.2.2
186+
=====
181187

182188
* deps: depd@0.4.4
183189
- Work-around v8 generating empty stack traces
184190

185-
1.2.1 / 2014-07-26
186-
==================
191+
1.2.1
192+
=====
187193

188194
* deps: depd@0.4.3
189195
- Fix exception when global `Error.stackTraceLimit` is too low
190196

191-
1.2.0 / 2014-07-19
192-
==================
197+
1.2.0
198+
=====
193199

194200
* Add `:remote-user` token
195201
* Add `combined` log format
@@ -199,13 +205,13 @@
199205
* Deprecate not providing a format
200206
* Remove non-standard grey color from `dev` format
201207

202-
1.1.1 / 2014-05-20
203-
==================
208+
1.1.1
209+
=====
204210

205211
* simplify method to get remote address
206212

207-
1.1.0 / 2014-05-18
208-
==================
213+
1.1.0
214+
=====
209215

210216
* "dev" format will use same tokens as other formats
211217
* `:response-time` token is now empty when immediate used
@@ -216,14 +222,14 @@
216222
* deps: bytes@1.0.0
217223
- add negative support
218224

219-
1.0.1 / 2014-05-04
220-
==================
225+
1.0.1
226+
=====
221227

222228
* Make buffer unique per morgan instance
223229
* deps: bytes@0.3.0
224230
* added terabyte support
225231

226-
1.0.0 / 2014-02-08
227-
==================
232+
1.0.0
233+
=====
228234

229235
* Initial release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "morgan",
33
"description": "HTTP request logger middleware for node.js",
4-
"version": "1.11.0",
4+
"version": "1.12.0",
55
"contributors": [
66
"Douglas Christopher Wilson <doug@somethingdoug.com>",
77
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"

0 commit comments

Comments
 (0)