编辑 | blame | 历史 | 原始文档

1.7.4 / 2019-03-18

1.7.3 / 2018-07-15

1.7.2 / 2018-02-18

1.7.1 / 2017-09-26

1.7.0 / 2017-07-10

  • Use safe-buffer for improved Buffer API
  • deps: bytes@2.5.0
  • deps: compressible@~2.0.10
    • Fix regex fallback to not override compressible: false in db
    • deps: mime-db@'= 1.27.0 < 2'
  • deps: debug@2.6.8
    • Allow colors in workers
    • Deprecated DEBUG_FD environment variable set to 3 or higher
    • Fix error when running under React Native
    • Fix DEBUG_MAX_ARRAY_LENGTH
    • Use same color for same namespace
    • deps: ms@2.0.0
  • deps: vary@~1.1.1
    • perf: hoist regular expression

1.6.2 / 2016-05-12

1.6.1 / 2016-01-19

1.6.0 / 2015-09-29

1.5.2 / 2015-07-30

1.5.1 / 2015-07-05

1.5.0 / 2015-06-09

  • Fix return value from .end and .write after end
  • Improve detection of zero-length body without Content-Length
  • deps: accepts@~1.2.9
    • deps: mime-types@~2.1.1
    • perf: avoid argument reassignment & argument slice
    • perf: avoid negotiator recursive construction
    • perf: enable strict mode
    • perf: remove unnecessary bitwise operator
  • deps: bytes@2.1.0
    • Slight optimizations
    • Units no longer case sensitive when parsing
  • deps: compressible@~2.0.3
    • Fix regex fallback to work if type exists, but is undefined
    • deps: mime-db@'= 1.13.0 < 2'
    • perf: hoist regex declaration
    • perf: use regex to extract mime
  • perf: enable strict mode
  • perf: remove flush reassignment
  • perf: simplify threshold detection

1.4.4 / 2015-05-11

1.4.3 / 2015-03-14

1.4.2 / 2015-03-11

  • Fix error when code calls res.end(str, encoding)
    • Specific to Node.js 0.8
  • deps: debug@~2.1.2

1.4.1 / 2015-02-15

1.4.0 / 2015-02-01

  • Prefer gzip over deflate on the server
    • Not all clients agree on what "deflate" coding means

1.3.1 / 2015-01-31

1.3.0 / 2014-12-30

1.2.2 / 2014-12-10

1.2.1 / 2014-11-23

1.2.0 / 2014-10-16

  • deps: debug@~2.1.0
    • Implement DEBUG_FD env variable support

1.1.2 / 2014-10-15

1.1.1 / 2014-10-12

1.1.0 / 2014-09-07

1.0.11 / 2014-08-10

1.0.10 / 2014-08-05

1.0.9 / 2014-07-20

1.0.8 / 2014-06-20

1.0.7 / 2014-06-11

1.0.6 / 2014-06-03

  • fix regression when negotiation fails

1.0.5 / 2014-06-03

  • fix listeners for delayed stream creation
  • fixes regression for certain stream.pipe(res) situations

1.0.4 / 2014-06-03

  • fix adding Vary when value stored as array
  • fix back-pressure behavior
  • fix length check for res.end

1.0.3 / 2014-05-29

  • use accepts for negotiation
  • use on-headers to handle header checking
  • deps: bytes@1.0.0

1.0.2 / 2014-04-29

1.0.1 / 2014-03-08

  • bump negotiator
  • use compressible
  • use .headersSent (drops 0.8 support)
  • handle identity;q=0 case