1 |
3a515b92
|
cagy
|
1.1.2 / 2019-05-09
|
2 |
|
|
==================
|
3 |
|
|
|
4 |
|
|
* Set stricter `Content-Security-Policy` header
|
5 |
|
|
* deps: parseurl@~1.3.3
|
6 |
|
|
* deps: statuses@~1.5.0
|
7 |
|
|
|
8 |
|
|
1.1.1 / 2018-03-06
|
9 |
|
|
==================
|
10 |
|
|
|
11 |
|
|
* Fix 404 output for bad / missing pathnames
|
12 |
|
|
* deps: encodeurl@~1.0.2
|
13 |
|
|
- Fix encoding `%` as last character
|
14 |
|
|
* deps: statuses@~1.4.0
|
15 |
|
|
|
16 |
|
|
1.1.0 / 2017-09-24
|
17 |
|
|
==================
|
18 |
|
|
|
19 |
|
|
* Use `res.headersSent` when available
|
20 |
|
|
|
21 |
|
|
1.0.6 / 2017-09-22
|
22 |
|
|
==================
|
23 |
|
|
|
24 |
|
|
* deps: debug@2.6.9
|
25 |
|
|
|
26 |
|
|
1.0.5 / 2017-09-15
|
27 |
|
|
==================
|
28 |
|
|
|
29 |
|
|
* deps: parseurl@~1.3.2
|
30 |
|
|
- perf: reduce overhead for full URLs
|
31 |
|
|
- perf: unroll the "fast-path" `RegExp`
|
32 |
|
|
|
33 |
|
|
1.0.4 / 2017-08-03
|
34 |
|
|
==================
|
35 |
|
|
|
36 |
|
|
* deps: debug@2.6.8
|
37 |
|
|
|
38 |
|
|
1.0.3 / 2017-05-16
|
39 |
|
|
==================
|
40 |
|
|
|
41 |
|
|
* deps: debug@2.6.7
|
42 |
|
|
- deps: ms@2.0.0
|
43 |
|
|
|
44 |
|
|
1.0.2 / 2017-04-22
|
45 |
|
|
==================
|
46 |
|
|
|
47 |
|
|
* deps: debug@2.6.4
|
48 |
|
|
- deps: ms@0.7.3
|
49 |
|
|
|
50 |
|
|
1.0.1 / 2017-03-21
|
51 |
|
|
==================
|
52 |
|
|
|
53 |
|
|
* Fix missing `</html>` in HTML document
|
54 |
|
|
* deps: debug@2.6.3
|
55 |
|
|
- Fix: `DEBUG_MAX_ARRAY_LENGTH`
|
56 |
|
|
|
57 |
|
|
1.0.0 / 2017-02-15
|
58 |
|
|
==================
|
59 |
|
|
|
60 |
|
|
* Fix exception when `err` cannot be converted to a string
|
61 |
|
|
* Fully URL-encode the pathname in the 404 message
|
62 |
|
|
* Only include the pathname in the 404 message
|
63 |
|
|
* Send complete HTML document
|
64 |
|
|
* Set `Content-Security-Policy: default-src 'self'` header
|
65 |
|
|
* deps: debug@2.6.1
|
66 |
|
|
- Allow colors in workers
|
67 |
|
|
- Deprecated `DEBUG_FD` environment variable set to `3` or higher
|
68 |
|
|
- Fix error when running under React Native
|
69 |
|
|
- Use same color for same namespace
|
70 |
|
|
- deps: ms@0.7.2
|
71 |
|
|
|
72 |
|
|
0.5.1 / 2016-11-12
|
73 |
|
|
==================
|
74 |
|
|
|
75 |
|
|
* Fix exception when `err.headers` is not an object
|
76 |
|
|
* deps: statuses@~1.3.1
|
77 |
|
|
* perf: hoist regular expressions
|
78 |
|
|
* perf: remove duplicate validation path
|
79 |
|
|
|
80 |
|
|
0.5.0 / 2016-06-15
|
81 |
|
|
==================
|
82 |
|
|
|
83 |
|
|
* Change invalid or non-numeric status code to 500
|
84 |
|
|
* Overwrite status message to match set status code
|
85 |
|
|
* Prefer `err.statusCode` if `err.status` is invalid
|
86 |
|
|
* Set response headers from `err.headers` object
|
87 |
|
|
* Use `statuses` instead of `http` module for status messages
|
88 |
|
|
- Includes all defined status messages
|
89 |
|
|
|
90 |
|
|
0.4.1 / 2015-12-02
|
91 |
|
|
==================
|
92 |
|
|
|
93 |
|
|
* deps: escape-html@~1.0.3
|
94 |
|
|
- perf: enable strict mode
|
95 |
|
|
- perf: optimize string replacement
|
96 |
|
|
- perf: use faster string coercion
|
97 |
|
|
|
98 |
|
|
0.4.0 / 2015-06-14
|
99 |
|
|
==================
|
100 |
|
|
|
101 |
|
|
* Fix a false-positive when unpiping in Node.js 0.8
|
102 |
|
|
* Support `statusCode` property on `Error` objects
|
103 |
|
|
* Use `unpipe` module for unpiping requests
|
104 |
|
|
* deps: escape-html@1.0.2
|
105 |
|
|
* deps: on-finished@~2.3.0
|
106 |
|
|
- Add defined behavior for HTTP `CONNECT` requests
|
107 |
|
|
- Add defined behavior for HTTP `Upgrade` requests
|
108 |
|
|
- deps: ee-first@1.1.1
|
109 |
|
|
* perf: enable strict mode
|
110 |
|
|
* perf: remove argument reassignment
|
111 |
|
|
|
112 |
|
|
0.3.6 / 2015-05-11
|
113 |
|
|
==================
|
114 |
|
|
|
115 |
|
|
* deps: debug@~2.2.0
|
116 |
|
|
- deps: ms@0.7.1
|
117 |
|
|
|
118 |
|
|
0.3.5 / 2015-04-22
|
119 |
|
|
==================
|
120 |
|
|
|
121 |
|
|
* deps: on-finished@~2.2.1
|
122 |
|
|
- Fix `isFinished(req)` when data buffered
|
123 |
|
|
|
124 |
|
|
0.3.4 / 2015-03-15
|
125 |
|
|
==================
|
126 |
|
|
|
127 |
|
|
* deps: debug@~2.1.3
|
128 |
|
|
- Fix high intensity foreground color for bold
|
129 |
|
|
- deps: ms@0.7.0
|
130 |
|
|
|
131 |
|
|
0.3.3 / 2015-01-01
|
132 |
|
|
==================
|
133 |
|
|
|
134 |
|
|
* deps: debug@~2.1.1
|
135 |
|
|
* deps: on-finished@~2.2.0
|
136 |
|
|
|
137 |
|
|
0.3.2 / 2014-10-22
|
138 |
|
|
==================
|
139 |
|
|
|
140 |
|
|
* deps: on-finished@~2.1.1
|
141 |
|
|
- Fix handling of pipelined requests
|
142 |
|
|
|
143 |
|
|
0.3.1 / 2014-10-16
|
144 |
|
|
==================
|
145 |
|
|
|
146 |
|
|
* deps: debug@~2.1.0
|
147 |
|
|
- Implement `DEBUG_FD` env variable support
|
148 |
|
|
|
149 |
|
|
0.3.0 / 2014-09-17
|
150 |
|
|
==================
|
151 |
|
|
|
152 |
|
|
* Terminate in progress response only on error
|
153 |
|
|
* Use `on-finished` to determine request status
|
154 |
|
|
|
155 |
|
|
0.2.0 / 2014-09-03
|
156 |
|
|
==================
|
157 |
|
|
|
158 |
|
|
* Set `X-Content-Type-Options: nosniff` header
|
159 |
|
|
* deps: debug@~2.0.0
|
160 |
|
|
|
161 |
|
|
0.1.0 / 2014-07-16
|
162 |
|
|
==================
|
163 |
|
|
|
164 |
|
|
* Respond after request fully read
|
165 |
|
|
- prevents hung responses and socket hang ups
|
166 |
|
|
* deps: debug@1.0.4
|
167 |
|
|
|
168 |
|
|
0.0.3 / 2014-07-11
|
169 |
|
|
==================
|
170 |
|
|
|
171 |
|
|
* deps: debug@1.0.3
|
172 |
|
|
- Add support for multiple wildcards in namespaces
|
173 |
|
|
|
174 |
|
|
0.0.2 / 2014-06-19
|
175 |
|
|
==================
|
176 |
|
|
|
177 |
|
|
* Handle invalid status codes
|
178 |
|
|
|
179 |
|
|
0.0.1 / 2014-06-05
|
180 |
|
|
==================
|
181 |
|
|
|
182 |
|
|
* deps: debug@1.0.2
|
183 |
|
|
|
184 |
|
|
0.0.0 / 2014-06-05
|
185 |
|
|
==================
|
186 |
|
|
|
187 |
|
|
* Extracted from connect/express
|