Skip to content

Releases: pillarjs/finalhandler

1.0.3

17 May 04:57

Choose a tag to compare

1.0.2

22 Apr 23:20

Choose a tag to compare

1.0.1

22 Mar 05:53

Choose a tag to compare

  • Fix missing </html> in HTML document
  • deps: [email protected]
    • Fix: DEBUG_MAX_ARRAY_LENGTH

1.0.0

16 Feb 07:03

Choose a tag to compare

  • 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: [email protected]
    • 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: [email protected]

0.5.1

13 Nov 06:21

Choose a tag to compare

  • 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

15 Jun 22:10

Choose a tag to compare

  • 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

02 Dec 18:06

Choose a tag to compare

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

v0.4.0

09 Jul 21:29

Choose a tag to compare

  • Fix a false-positive when unpiping in Node.js 0.8
  • Support statusCode property on Error objects
  • Use unpipe module for unpiping requests
  • deps: [email protected]
  • deps: on-finished@~2.3.0
    • Add defined behavior for HTTP CONNECT requests
    • Add defined behavior for HTTP Upgrade requests
    • deps: [email protected]
  • perf: enable strict mode
  • perf: remove argument reassignment

0.3.6

12 May 03:46

Choose a tag to compare

0.3.5

23 Apr 02:25

Choose a tag to compare

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