1 |
3a515b92
|
cagy
|
1.7.4 / 2019-03-18
|
2 |
|
|
==================
|
3 |
|
|
|
4 |
|
|
* deps: compressible@~2.0.16
|
5 |
|
|
- Mark `text/less` as compressible
|
6 |
|
|
- deps: mime-db@'>= 1.38.0 < 2'
|
7 |
|
|
* deps: on-headers@~1.0.2
|
8 |
|
|
- Fix `res.writeHead` patch missing return value
|
9 |
|
|
* perf: prevent unnecessary buffer copy
|
10 |
|
|
|
11 |
|
|
1.7.3 / 2018-07-15
|
12 |
|
|
==================
|
13 |
|
|
|
14 |
|
|
* deps: accepts@~1.3.5
|
15 |
|
|
- deps: mime-types@~2.1.18
|
16 |
|
|
* deps: compressible@~2.0.14
|
17 |
|
|
- Mark all XML-derived types as compressible
|
18 |
|
|
- deps: mime-db@'>= 1.34.0 < 2'
|
19 |
|
|
* deps: safe-buffer@5.1.2
|
20 |
|
|
|
21 |
|
|
1.7.2 / 2018-02-18
|
22 |
|
|
==================
|
23 |
|
|
|
24 |
|
|
* deps: compressible@~2.0.13
|
25 |
|
|
- deps: mime-db@'>= 1.33.0 < 2'
|
26 |
|
|
|
27 |
|
|
1.7.1 / 2017-09-26
|
28 |
|
|
==================
|
29 |
|
|
|
30 |
|
|
* deps: accepts@~1.3.4
|
31 |
|
|
- deps: mime-types@~2.1.16
|
32 |
|
|
* deps: bytes@3.0.0
|
33 |
|
|
* deps: compressible@~2.0.11
|
34 |
|
|
- deps: mime-db@'>= 1.29.0 < 2'
|
35 |
|
|
* deps: debug@2.6.9
|
36 |
|
|
* deps: vary@~1.1.2
|
37 |
|
|
- perf: improve header token parsing speed
|
38 |
|
|
|
39 |
|
|
1.7.0 / 2017-07-10
|
40 |
|
|
==================
|
41 |
|
|
|
42 |
|
|
* Use `safe-buffer` for improved Buffer API
|
43 |
|
|
* deps: bytes@2.5.0
|
44 |
|
|
* deps: compressible@~2.0.10
|
45 |
|
|
- Fix regex fallback to not override `compressible: false` in db
|
46 |
|
|
- deps: mime-db@'>= 1.27.0 < 2'
|
47 |
|
|
* deps: debug@2.6.8
|
48 |
|
|
- Allow colors in workers
|
49 |
|
|
- Deprecated `DEBUG_FD` environment variable set to `3` or higher
|
50 |
|
|
- Fix error when running under React Native
|
51 |
|
|
- Fix `DEBUG_MAX_ARRAY_LENGTH`
|
52 |
|
|
- Use same color for same namespace
|
53 |
|
|
- deps: ms@2.0.0
|
54 |
|
|
* deps: vary@~1.1.1
|
55 |
|
|
- perf: hoist regular expression
|
56 |
|
|
|
57 |
|
|
1.6.2 / 2016-05-12
|
58 |
|
|
==================
|
59 |
|
|
|
60 |
|
|
* deps: accepts@~1.3.3
|
61 |
|
|
- deps: mime-types@~2.1.11
|
62 |
|
|
- deps: negotiator@0.6.1
|
63 |
|
|
* deps: bytes@2.3.0
|
64 |
|
|
- Drop partial bytes on all parsed units
|
65 |
|
|
- Fix parsing byte string that looks like hex
|
66 |
|
|
- perf: hoist regular expressions
|
67 |
|
|
* deps: compressible@~2.0.8
|
68 |
|
|
- deps: mime-db@'>= 1.23.0 < 2'
|
69 |
|
|
|
70 |
|
|
1.6.1 / 2016-01-19
|
71 |
|
|
==================
|
72 |
|
|
|
73 |
|
|
* deps: bytes@2.2.0
|
74 |
|
|
* deps: compressible@~2.0.7
|
75 |
|
|
- deps: mime-db@'>= 1.21.0 < 2'
|
76 |
|
|
* deps: accepts@~1.3.1
|
77 |
|
|
- deps: mime-types@~2.1.9
|
78 |
|
|
|
79 |
|
|
1.6.0 / 2015-09-29
|
80 |
|
|
==================
|
81 |
|
|
|
82 |
|
|
* Skip compression when response has `Cache-Control: no-transform`
|
83 |
|
|
* deps: accepts@~1.3.0
|
84 |
|
|
- deps: mime-types@~2.1.7
|
85 |
|
|
- deps: negotiator@0.6.0
|
86 |
|
|
* deps: compressible@~2.0.6
|
87 |
|
|
- deps: mime-db@'>= 1.19.0 < 2'
|
88 |
|
|
* deps: on-headers@~1.0.1
|
89 |
|
|
- perf: enable strict mode
|
90 |
|
|
* deps: vary@~1.1.0
|
91 |
|
|
- Only accept valid field names in the `field` argument
|
92 |
|
|
|
93 |
|
|
1.5.2 / 2015-07-30
|
94 |
|
|
==================
|
95 |
|
|
|
96 |
|
|
* deps: accepts@~1.2.12
|
97 |
|
|
- deps: mime-types@~2.1.4
|
98 |
|
|
* deps: compressible@~2.0.5
|
99 |
|
|
- deps: mime-db@'>= 1.16.0 < 2'
|
100 |
|
|
* deps: vary@~1.0.1
|
101 |
|
|
- Fix setting empty header from empty `field`
|
102 |
|
|
- perf: enable strict mode
|
103 |
|
|
- perf: remove argument reassignments
|
104 |
|
|
|
105 |
|
|
1.5.1 / 2015-07-05
|
106 |
|
|
==================
|
107 |
|
|
|
108 |
|
|
* deps: accepts@~1.2.10
|
109 |
|
|
- deps: mime-types@~2.1.2
|
110 |
|
|
* deps: compressible@~2.0.4
|
111 |
|
|
- deps: mime-db@'>= 1.14.0 < 2'
|
112 |
|
|
- perf: enable strict mode
|
113 |
|
|
|
114 |
|
|
1.5.0 / 2015-06-09
|
115 |
|
|
==================
|
116 |
|
|
|
117 |
|
|
* Fix return value from `.end` and `.write` after end
|
118 |
|
|
* Improve detection of zero-length body without `Content-Length`
|
119 |
|
|
* deps: accepts@~1.2.9
|
120 |
|
|
- deps: mime-types@~2.1.1
|
121 |
|
|
- perf: avoid argument reassignment & argument slice
|
122 |
|
|
- perf: avoid negotiator recursive construction
|
123 |
|
|
- perf: enable strict mode
|
124 |
|
|
- perf: remove unnecessary bitwise operator
|
125 |
|
|
* deps: bytes@2.1.0
|
126 |
|
|
- Slight optimizations
|
127 |
|
|
- Units no longer case sensitive when parsing
|
128 |
|
|
* deps: compressible@~2.0.3
|
129 |
|
|
- Fix regex fallback to work if type exists, but is undefined
|
130 |
|
|
- deps: mime-db@'>= 1.13.0 < 2'
|
131 |
|
|
- perf: hoist regex declaration
|
132 |
|
|
- perf: use regex to extract mime
|
133 |
|
|
* perf: enable strict mode
|
134 |
|
|
* perf: remove flush reassignment
|
135 |
|
|
* perf: simplify threshold detection
|
136 |
|
|
|
137 |
|
|
1.4.4 / 2015-05-11
|
138 |
|
|
==================
|
139 |
|
|
|
140 |
|
|
* deps: accepts@~1.2.7
|
141 |
|
|
- deps: mime-types@~2.0.11
|
142 |
|
|
- deps: negotiator@0.5.3
|
143 |
|
|
* deps: debug@~2.2.0
|
144 |
|
|
- deps: ms@0.7.1
|
145 |
|
|
|
146 |
|
|
1.4.3 / 2015-03-14
|
147 |
|
|
==================
|
148 |
|
|
|
149 |
|
|
* deps: accepts@~1.2.5
|
150 |
|
|
- deps: mime-types@~2.0.10
|
151 |
|
|
* deps: debug@~2.1.3
|
152 |
|
|
- Fix high intensity foreground color for bold
|
153 |
|
|
- deps: ms@0.7.0
|
154 |
|
|
|
155 |
|
|
1.4.2 / 2015-03-11
|
156 |
|
|
==================
|
157 |
|
|
|
158 |
|
|
* Fix error when code calls `res.end(str, encoding)`
|
159 |
|
|
- Specific to Node.js 0.8
|
160 |
|
|
* deps: debug@~2.1.2
|
161 |
|
|
- deps: ms@0.7.0
|
162 |
|
|
|
163 |
|
|
1.4.1 / 2015-02-15
|
164 |
|
|
==================
|
165 |
|
|
|
166 |
|
|
* deps: accepts@~1.2.4
|
167 |
|
|
- deps: mime-types@~2.0.9
|
168 |
|
|
- deps: negotiator@0.5.1
|
169 |
|
|
|
170 |
|
|
1.4.0 / 2015-02-01
|
171 |
|
|
==================
|
172 |
|
|
|
173 |
|
|
* Prefer `gzip` over `deflate` on the server
|
174 |
|
|
- Not all clients agree on what "deflate" coding means
|
175 |
|
|
|
176 |
|
|
1.3.1 / 2015-01-31
|
177 |
|
|
==================
|
178 |
|
|
|
179 |
|
|
* deps: accepts@~1.2.3
|
180 |
|
|
- deps: mime-types@~2.0.8
|
181 |
|
|
* deps: compressible@~2.0.2
|
182 |
|
|
- deps: mime-db@'>= 1.1.2 < 2'
|
183 |
|
|
|
184 |
|
|
1.3.0 / 2014-12-30
|
185 |
|
|
==================
|
186 |
|
|
|
187 |
|
|
* Export the default `filter` function for wrapping
|
188 |
|
|
* deps: accepts@~1.2.2
|
189 |
|
|
- deps: mime-types@~2.0.7
|
190 |
|
|
- deps: negotiator@0.5.0
|
191 |
|
|
* deps: debug@~2.1.1
|
192 |
|
|
|
193 |
|
|
1.2.2 / 2014-12-10
|
194 |
|
|
==================
|
195 |
|
|
|
196 |
|
|
* Fix `.end` to only proxy to `.end`
|
197 |
|
|
- Fixes an issue with Node.js 0.11.14
|
198 |
|
|
* deps: accepts@~1.1.4
|
199 |
|
|
- deps: mime-types@~2.0.4
|
200 |
|
|
|
201 |
|
|
1.2.1 / 2014-11-23
|
202 |
|
|
==================
|
203 |
|
|
|
204 |
|
|
* deps: accepts@~1.1.3
|
205 |
|
|
- deps: mime-types@~2.0.3
|
206 |
|
|
|
207 |
|
|
1.2.0 / 2014-10-16
|
208 |
|
|
==================
|
209 |
|
|
|
210 |
|
|
* deps: debug@~2.1.0
|
211 |
|
|
- Implement `DEBUG_FD` env variable support
|
212 |
|
|
|
213 |
|
|
1.1.2 / 2014-10-15
|
214 |
|
|
==================
|
215 |
|
|
|
216 |
|
|
* deps: accepts@~1.1.2
|
217 |
|
|
- Fix error when media type has invalid parameter
|
218 |
|
|
- deps: negotiator@0.4.9
|
219 |
|
|
|
220 |
|
|
1.1.1 / 2014-10-12
|
221 |
|
|
==================
|
222 |
|
|
|
223 |
|
|
* deps: accepts@~1.1.1
|
224 |
|
|
- deps: mime-types@~2.0.2
|
225 |
|
|
- deps: negotiator@0.4.8
|
226 |
|
|
* deps: compressible@~2.0.1
|
227 |
|
|
- deps: mime-db@1.x
|
228 |
|
|
|
229 |
|
|
1.1.0 / 2014-09-07
|
230 |
|
|
==================
|
231 |
|
|
|
232 |
|
|
* deps: accepts@~1.1.0
|
233 |
|
|
* deps: compressible@~2.0.0
|
234 |
|
|
* deps: debug@~2.0.0
|
235 |
|
|
|
236 |
|
|
1.0.11 / 2014-08-10
|
237 |
|
|
===================
|
238 |
|
|
|
239 |
|
|
* deps: on-headers@~1.0.0
|
240 |
|
|
* deps: vary@~1.0.0
|
241 |
|
|
|
242 |
|
|
1.0.10 / 2014-08-05
|
243 |
|
|
===================
|
244 |
|
|
|
245 |
|
|
* deps: compressible@~1.1.1
|
246 |
|
|
- Fix upper-case Content-Type characters prevent compression
|
247 |
|
|
|
248 |
|
|
1.0.9 / 2014-07-20
|
249 |
|
|
==================
|
250 |
|
|
|
251 |
|
|
* Add `debug` messages
|
252 |
|
|
* deps: accepts@~1.0.7
|
253 |
|
|
- deps: negotiator@0.4.7
|
254 |
|
|
|
255 |
|
|
1.0.8 / 2014-06-20
|
256 |
|
|
==================
|
257 |
|
|
|
258 |
|
|
* deps: accepts@~1.0.5
|
259 |
|
|
- use `mime-types`
|
260 |
|
|
|
261 |
|
|
1.0.7 / 2014-06-11
|
262 |
|
|
==================
|
263 |
|
|
|
264 |
|
|
* use vary module for better `Vary` behavior
|
265 |
|
|
* deps: accepts@1.0.3
|
266 |
|
|
* deps: compressible@1.1.0
|
267 |
|
|
|
268 |
|
|
1.0.6 / 2014-06-03
|
269 |
|
|
==================
|
270 |
|
|
|
271 |
|
|
* fix regression when negotiation fails
|
272 |
|
|
|
273 |
|
|
1.0.5 / 2014-06-03
|
274 |
|
|
==================
|
275 |
|
|
|
276 |
|
|
* fix listeners for delayed stream creation
|
277 |
|
|
- fixes regression for certain `stream.pipe(res)` situations
|
278 |
|
|
|
279 |
|
|
1.0.4 / 2014-06-03
|
280 |
|
|
==================
|
281 |
|
|
|
282 |
|
|
* fix adding `Vary` when value stored as array
|
283 |
|
|
* fix back-pressure behavior
|
284 |
|
|
* fix length check for `res.end`
|
285 |
|
|
|
286 |
|
|
1.0.3 / 2014-05-29
|
287 |
|
|
==================
|
288 |
|
|
|
289 |
|
|
* use `accepts` for negotiation
|
290 |
|
|
* use `on-headers` to handle header checking
|
291 |
|
|
* deps: bytes@1.0.0
|
292 |
|
|
|
293 |
|
|
1.0.2 / 2014-04-29
|
294 |
|
|
==================
|
295 |
|
|
|
296 |
|
|
* only version compatible with node.js 0.8
|
297 |
|
|
* support headers given to `res.writeHead`
|
298 |
|
|
* deps: bytes@0.3.0
|
299 |
|
|
* deps: negotiator@0.4.3
|
300 |
|
|
|
301 |
|
|
1.0.1 / 2014-03-08
|
302 |
|
|
==================
|
303 |
|
|
|
304 |
|
|
* bump negotiator
|
305 |
|
|
* use compressible
|
306 |
|
|
* use .headersSent (drops 0.8 support)
|
307 |
|
|
* handle identity;q=0 case
|