프로젝트

일반

사용자정보

통계
| 개정판:

root / HServer / 00.Server / 00.Program / node_modules / send / HISTORY.md

이력 | 보기 | 이력해설 | 다운로드 (11.3 KB)

1 39 HKM
0.16.2 / 2018-02-07
2
===================
3
4
  * Fix incorrect end tag in default error & redirects
5
  * deps: depd@~1.1.2
6
    - perf: remove argument reassignment
7
  * deps: encodeurl@~1.0.2
8
    - Fix encoding `%` as last character
9
  * deps: statuses@~1.4.0
10
11
0.16.1 / 2017-09-29
12
===================
13
14
  * Fix regression in edge-case behavior for empty `path`
15
16
0.16.0 / 2017-09-27
17
===================
18
19
  * Add `immutable` option
20
  * Fix missing `</html>` in default error & redirects
21
  * Use instance methods on steam to check for listeners
22
  * deps: mime@1.4.1
23
    - Add 70 new types for file extensions
24
    - Set charset as "UTF-8" for .js and .json
25
  * perf: improve path validation speed
26
27
0.15.6 / 2017-09-22
28
===================
29
30
  * deps: debug@2.6.9
31
  * perf: improve `If-Match` token parsing
32
33
0.15.5 / 2017-09-20
34
===================
35
36
  * deps: etag@~1.8.1
37
    - perf: replace regular expression with substring
38
  * deps: fresh@0.5.2
39
    - Fix handling of modified headers with invalid dates
40
    - perf: improve ETag match loop
41
    - perf: improve `If-None-Match` token parsing
42
43
0.15.4 / 2017-08-05
44
===================
45
46
  * deps: debug@2.6.8
47
  * deps: depd@~1.1.1
48
    - Remove unnecessary `Buffer` loading
49
  * deps: http-errors@~1.6.2
50
    - deps: depd@1.1.1
51
52
0.15.3 / 2017-05-16
53
===================
54
55
  * deps: debug@2.6.7
56
    - deps: ms@2.0.0
57
  * deps: ms@2.0.0
58
59
0.15.2 / 2017-04-26
60
===================
61
62
  * deps: debug@2.6.4
63
    - Fix `DEBUG_MAX_ARRAY_LENGTH`
64
    - deps: ms@0.7.3
65
  * deps: ms@1.0.0
66
67
0.15.1 / 2017-03-04
68
===================
69
70
  * Fix issue when `Date.parse` does not return `NaN` on invalid date
71
  * Fix strict violation in broken environments
72
73
0.15.0 / 2017-02-25
74
===================
75
76
  * Support `If-Match` and `If-Unmodified-Since` headers
77
  * Add `res` and `path` arguments to `directory` event
78
  * Remove usage of `res._headers` private field
79
    - Improves compatibility with Node.js 8 nightly
80
  * Send complete HTML document in redirect & error responses
81
  * Set default CSP header in redirect & error responses
82
  * Use `res.getHeaderNames()` when available
83
  * Use `res.headersSent` when available
84
  * deps: debug@2.6.1
85
    - Allow colors in workers
86
    - Deprecated `DEBUG_FD` environment variable set to `3` or higher
87
    - Fix error when running under React Native
88
    - Use same color for same namespace
89
    - deps: ms@0.7.2
90
  * deps: etag@~1.8.0
91
  * deps: fresh@0.5.0
92
    - Fix false detection of `no-cache` request directive
93
    - Fix incorrect result when `If-None-Match` has both `*` and ETags
94
    - Fix weak `ETag` matching to match spec
95
    - perf: delay reading header values until needed
96
    - perf: enable strict mode
97
    - perf: hoist regular expressions
98
    - perf: remove duplicate conditional
99
    - perf: remove unnecessary boolean coercions
100
    - perf: skip checking modified time if ETag check failed
101
    - perf: skip parsing `If-None-Match` when no `ETag` header
102
    - perf: use `Date.parse` instead of `new Date`
103
  * deps: http-errors@~1.6.1
104
    - Make `message` property enumerable for `HttpError`s
105
    - deps: setprototypeof@1.0.3
106
107
0.14.2 / 2017-01-23
108
===================
109
110
  * deps: http-errors@~1.5.1
111
    - deps: inherits@2.0.3
112
    - deps: setprototypeof@1.0.2
113
    - deps: statuses@'>= 1.3.1 < 2'
114
  * deps: ms@0.7.2
115
  * deps: statuses@~1.3.1
116
117
0.14.1 / 2016-06-09
118
===================
119
120
  * Fix redirect error when `path` contains raw non-URL characters
121
  * Fix redirect when `path` starts with multiple forward slashes
122
123
0.14.0 / 2016-06-06
124
===================
125
126
  * Add `acceptRanges` option
127
  * Add `cacheControl` option
128
  * Attempt to combine multiple ranges into single range
129
  * Correctly inherit from `Stream` class
130
  * Fix `Content-Range` header in 416 responses when using `start`/`end` options
131
  * Fix `Content-Range` header missing from default 416 responses
132
  * Ignore non-byte `Range` headers
133
  * deps: http-errors@~1.5.0
134
    - Add `HttpError` export, for `err instanceof createError.HttpError`
135
    - Support new code `421 Misdirected Request`
136
    - Use `setprototypeof` module to replace `__proto__` setting
137
    - deps: inherits@2.0.1
138
    - deps: statuses@'>= 1.3.0 < 2'
139
    - perf: enable strict mode
140
  * deps: range-parser@~1.2.0
141
    - Fix incorrectly returning -1 when there is at least one valid range
142
    - perf: remove internal function
143
  * deps: statuses@~1.3.0
144
    - Add `421 Misdirected Request`
145
    - perf: enable strict mode
146
  * perf: remove argument reassignment
147
148
0.13.2 / 2016-03-05
149
===================
150
151
  * Fix invalid `Content-Type` header when `send.mime.default_type` unset
152
153
0.13.1 / 2016-01-16
154
===================
155
156
  * deps: depd@~1.1.0
157
    - Support web browser loading
158
    - perf: enable strict mode
159
  * deps: destroy@~1.0.4
160
    - perf: enable strict mode
161
  * deps: escape-html@~1.0.3
162
    - perf: enable strict mode
163
    - perf: optimize string replacement
164
    - perf: use faster string coercion
165
  * deps: range-parser@~1.0.3
166
    - perf: enable strict mode
167
168
0.13.0 / 2015-06-16
169
===================
170
171
  * Allow Node.js HTTP server to set `Date` response header
172
  * Fix incorrectly removing `Content-Location` on 304 response
173
  * Improve the default redirect response headers
174
  * Send appropriate headers on default error response
175
  * Use `http-errors` for standard emitted errors
176
  * Use `statuses` instead of `http` module for status messages
177
  * deps: escape-html@1.0.2
178
  * deps: etag@~1.7.0
179
    - Improve stat performance by removing hashing
180
  * deps: fresh@0.3.0
181
    - Add weak `ETag` matching support
182
  * deps: on-finished@~2.3.0
183
    - Add defined behavior for HTTP `CONNECT` requests
184
    - Add defined behavior for HTTP `Upgrade` requests
185
    - deps: ee-first@1.1.1
186
  * perf: enable strict mode
187
  * perf: remove unnecessary array allocations
188
189
0.12.3 / 2015-05-13
190
===================
191
192
  * deps: debug@~2.2.0
193
    - deps: ms@0.7.1
194
  * deps: depd@~1.0.1
195
  * deps: etag@~1.6.0
196
   - Improve support for JXcore
197
   - Support "fake" stats objects in environments without `fs`
198
  * deps: ms@0.7.1
199
    - Prevent extraordinarily long inputs
200
  * deps: on-finished@~2.2.1
201
202
0.12.2 / 2015-03-13
203
===================
204
205
  * Throw errors early for invalid `extensions` or `index` options
206
  * deps: debug@~2.1.3
207
    - Fix high intensity foreground color for bold
208
    - deps: ms@0.7.0
209
210
0.12.1 / 2015-02-17
211
===================
212
213
  * Fix regression sending zero-length files
214
215
0.12.0 / 2015-02-16
216
===================
217
218
  * Always read the stat size from the file
219
  * Fix mutating passed-in `options`
220
  * deps: mime@1.3.4
221
222
0.11.1 / 2015-01-20
223
===================
224
225
  * Fix `root` path disclosure
226
227
0.11.0 / 2015-01-05
228
===================
229
230
  * deps: debug@~2.1.1
231
  * deps: etag@~1.5.1
232
    - deps: crc@3.2.1
233
  * deps: ms@0.7.0
234
    - Add `milliseconds`
235
    - Add `msecs`
236
    - Add `secs`
237
    - Add `mins`
238
    - Add `hrs`
239
    - Add `yrs`
240
  * deps: on-finished@~2.2.0
241
242
0.10.1 / 2014-10-22
243
===================
244
245
  * deps: on-finished@~2.1.1
246
    - Fix handling of pipelined requests
247
248
0.10.0 / 2014-10-15
249
===================
250
251
  * deps: debug@~2.1.0
252
    - Implement `DEBUG_FD` env variable support
253
  * deps: depd@~1.0.0
254
  * deps: etag@~1.5.0
255
    - Improve string performance
256
    - Slightly improve speed for weak ETags over 1KB
257
258
0.9.3 / 2014-09-24
259
==================
260
261
  * deps: etag@~1.4.0
262
    - Support "fake" stats objects
263
264
0.9.2 / 2014-09-15
265
==================
266
267
  * deps: depd@0.4.5
268
  * deps: etag@~1.3.1
269
  * deps: range-parser@~1.0.2
270
271
0.9.1 / 2014-09-07
272
==================
273
274
  * deps: fresh@0.2.4
275
276
0.9.0 / 2014-09-07
277
==================
278
279
  * Add `lastModified` option
280
  * Use `etag` to generate `ETag` header
281
  * deps: debug@~2.0.0
282
283
0.8.5 / 2014-09-04
284
==================
285
286
  * Fix malicious path detection for empty string path
287
288
0.8.4 / 2014-09-04
289
==================
290
291
  * Fix a path traversal issue when using `root`
292
293
0.8.3 / 2014-08-16
294
==================
295
296
  * deps: destroy@1.0.3
297
    - renamed from dethroy
298
  * deps: on-finished@2.1.0
299
300
0.8.2 / 2014-08-14
301
==================
302
303
  * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
304
  * deps: dethroy@1.0.2
305
306
0.8.1 / 2014-08-05
307
==================
308
309
  * Fix `extensions` behavior when file already has extension
310
311
0.8.0 / 2014-08-05
312
==================
313
314
  * Add `extensions` option
315
316
0.7.4 / 2014-08-04
317
==================
318
319
  * Fix serving index files without root dir
320
321
0.7.3 / 2014-07-29
322
==================
323
324
  * Fix incorrect 403 on Windows and Node.js 0.11
325
326
0.7.2 / 2014-07-27
327
==================
328
329
  * deps: depd@0.4.4
330
    - Work-around v8 generating empty stack traces
331
332
0.7.1 / 2014-07-26
333
==================
334
335
 * deps: depd@0.4.3
336
   - Fix exception when global `Error.stackTraceLimit` is too low
337
338
0.7.0 / 2014-07-20
339
==================
340
341
 * Deprecate `hidden` option; use `dotfiles` option
342
 * Add `dotfiles` option
343
 * deps: debug@1.0.4
344
 * deps: depd@0.4.2
345
   - Add `TRACE_DEPRECATION` environment variable
346
   - Remove non-standard grey color from color output
347
   - Support `--no-deprecation` argument
348
   - Support `--trace-deprecation` argument
349
350
0.6.0 / 2014-07-11
351
==================
352
353
 * Deprecate `from` option; use `root` option
354
 * Deprecate `send.etag()` -- use `etag` in `options`
355
 * Deprecate `send.hidden()` -- use `hidden` in `options`
356
 * Deprecate `send.index()` -- use `index` in `options`
357
 * Deprecate `send.maxage()` -- use `maxAge` in `options`
358
 * Deprecate `send.root()` -- use `root` in `options`
359
 * Cap `maxAge` value to 1 year
360
 * deps: debug@1.0.3
361
   - Add support for multiple wildcards in namespaces
362
363
0.5.0 / 2014-06-28
364
==================
365
366
 * Accept string for `maxAge` (converted by `ms`)
367
 * Add `headers` event
368
 * Include link in default redirect response
369
 * Use `EventEmitter.listenerCount` to count listeners
370
371
0.4.3 / 2014-06-11
372
==================
373
374
 * Do not throw un-catchable error on file open race condition
375
 * Use `escape-html` for HTML escaping
376
 * deps: debug@1.0.2
377
   - fix some debugging output colors on node.js 0.8
378
 * deps: finished@1.2.2
379
 * deps: fresh@0.2.2
380
381
0.4.2 / 2014-06-09
382
==================
383
384
 * fix "event emitter leak" warnings
385
 * deps: debug@1.0.1
386
 * deps: finished@1.2.1
387
388
0.4.1 / 2014-06-02
389
==================
390
391
 * Send `max-age` in `Cache-Control` in correct format
392
393
0.4.0 / 2014-05-27
394
==================
395
396
 * Calculate ETag with md5 for reduced collisions
397
 * Fix wrong behavior when index file matches directory
398
 * Ignore stream errors after request ends
399
   - Goodbye `EBADF, read`
400
 * Skip directories in index file search
401
 * deps: debug@0.8.1
402
403
0.3.0 / 2014-04-24
404
==================
405
406
 * Fix sending files with dots without root set
407
 * Coerce option types
408
 * Accept API options in options object
409
 * Set etags to "weak"
410
 * Include file path in etag
411
 * Make "Can't set headers after they are sent." catchable
412
 * Send full entity-body for multi range requests
413
 * Default directory access to 403 when index disabled
414
 * Support multiple index paths
415
 * Support "If-Range" header
416
 * Control whether to generate etags
417
 * deps: mime@1.2.11
418
419
0.2.0 / 2014-01-29
420
==================
421
422
 * update range-parser and fresh
423
424
0.1.4 / 2013-08-11
425
==================
426
427
 * update fresh
428
429
0.1.3 / 2013-07-08
430
==================
431
432
 * Revert "Fix fd leak"
433
434
0.1.2 / 2013-07-03
435
==================
436
437
 * Fix fd leak
438
439
0.1.0 / 2012-08-25
440
==================
441
442
  * add options parameter to send() that is passed to fs.createReadStream() [kanongil]
443
444
0.0.4 / 2012-08-16
445
==================
446
447
  * allow custom "Accept-Ranges" definition
448
449
0.0.3 / 2012-07-16
450
==================
451
452
  * fix normalization of the root directory. Closes #3
453
454
0.0.2 / 2012-07-09
455
==================
456
457
  * add passing of req explicitly for now (YUCK)
458
459
0.0.1 / 2010-01-03
460
==================
461
462
  * Initial release