You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

462 lines
11 KiB

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