changelogs.md


pillarjs/finalhandler

Repository  -  API  -  Source

1.1.2

May 9, 2019
  • Set stricter Content-Security-Policy header
    • deps: parseurl@~1.3.3
    • deps: statuses@~1.5.0

1.1.1

March 6, 2018
  • Fix 404 output for bad / missing pathnames
    • deps: encodeurl@~1.0.2
      • Fix encoding % as last character
    • deps: statuses@~1.4.0

1.1.0

September 24, 2017
  • Use res.headersSent when available

1.0.6

September 22, 2017

1.0.5

September 15, 2017
  • deps: parseurl@~1.3.2
    • perf: reduce overhead for full URLs
    • perf: unroll the "fast-path" RegExp

1.0.4

August 3, 2017

1.0.3

May 16, 2017

1.0.2

April 22, 2017

1.0.1

March 21, 2017
  • Fix missing </html> in HTML document

1.0.0

February 15, 2017
  • Fix exception when err cannot be converted to a string
    • Fully URL-encode the pathname in the 404 message
    • Only include the pathname in the 404 message
    • Send complete HTML document
    • Set Content-Security-Policy: default-src 'self' header
    • deps: debug@2.6.1
      • Allow colors in workers
      • Deprecated DEBUG_FD environment variable set to 3 or higher
      • Fix error when running under React Native
      • Use same color for same namespace
      • deps: ms@0.7.2

0.5.1

November 12, 2016
  • Fix exception when err.headers is not an object
    • deps: statuses@~1.3.1
    • perf: hoist regular expressions
    • perf: remove duplicate validation path

0.5.0

June 15, 2016
  • Change invalid or non-numeric status code to 500
    • Overwrite status message to match set status code
    • Prefer err.statusCode if err.status is invalid
    • Set response headers from err.headers object
    • Use statuses instead of http module for status messages
      • Includes all defined status messages

0.4.1

December 2, 2015
  • deps: escape-html@~1.0.3
    • perf: enable strict mode
    • perf: optimize string replacement
    • perf: use faster string coercion

0.4.0

June 14, 2015
  • Fix a false-positive when unpiping in Node.js 0.8
    • Support statusCode property on Error objects
    • Use unpipe module for unpiping requests
    • deps: escape-html@1.0.2
    • deps: on-finished@~2.3.0
      • Add defined behavior for HTTP CONNECT requests
      • Add defined behavior for HTTP Upgrade requests
      • deps: ee-first@1.1.1
    • perf: enable strict mode
    • perf: remove argument reassignment

0.3.6

May 11, 2015

0.3.5

April 22, 2015
  • deps: on-finished@~2.2.1
    • Fix isFinished(req) when data buffered

0.3.4

March 15, 2015
  • deps: debug@~2.1.3
    • Fix high intensity foreground color for bold
    • deps: ms@0.7.0

0.3.3

January 1, 2015
  • deps: debug@~2.1.1
    • deps: on-finished@~2.2.0

0.3.2

October 22, 2014
  • deps: on-finished@~2.1.1
    • Fix handling of pipelined requests

0.3.1

October 16, 2014
  • deps: debug@~2.1.0
    • Implement DEBUG_FD env variable support

0.3.0

September 17, 2014
  • Terminate in progress response only on error
    • Use on-finished to determine request status

0.2.0

September 3, 2014
  • Set X-Content-Type-Options: nosniff header
    • deps: debug@~2.0.0

0.1.0

July 16, 2014
  • Respond after request fully read
    • prevents hung responses and socket hang ups

0.0.3

July 11, 2014
  • deps: debug@1.0.3
    • Add support for multiple wildcards in namespaces

0.0.2

June 19, 2014
  • Handle invalid status codes

0.0.1

June 5, 2014

0.0.0

June 5, 2014
  • Extracted from connect/express