Skip to content

Changelog

Version 6

6.0.2

  • #151 Improve argument validation and messaging
  • #150 Support handlers calling res.destroy() to abort sending a response

6.0.1

  • #147 chore: bump hoek

6.0.0

  • #145 More realistic request socket interface
  • #144 Drop node v12 support
  • #140 Add initial typescript support

Version 5

5.0.5

  • #139 When simulating close, ensure res emits close.
  • #137 remove unused lib/schema.js
  • #134 upgrade lab to v24

5.0.4

  • #133 Another attempt at #129
  • #132 fix: do not auto destroy request stream

5.0.3

  • #130 Revert "Fix cleanup to be consistent across node releases"

5.0.2

  • #129 Fix cleanup to be consistent across node releases

5.0.1

  • #127 test on node 14
  • #124 Replace joi with validate

5.0.0

Version 4

4.1.2

4.1.1

  • #109 work around Node's DEP0066

4.1.0

  • #108 Node V12 deprecation warning [DEP0066] OutgoingMessage.prototype._headers is deprecated
  • #106 Change module name

4.0.7

4.0.6

4.0.5

  • #99 Updated lab to v17 to pass on Node v11
  • #92 skip not covered lines on node master

4.0.4

4.0.3

4.0.2

  • #89 Replace instanceof with symbol

4.0.1

  • #88 Update deps

4.0.0

Version 3

3.5.1

  • #122 Support node 12

3.5.0

  • #105 Commercial version of v3 branch

3.4.2

  • #85 Fix for node 8

3.4.1

  • #84 Fix node 8 issues

3.4.0

  • #83 Update deps
  • #81 Handle streams of utf8 encoded strings
  • #79 Remove custom output parsing and buffer payload chunks via write()
  • #76 Updated API docs to reflect new validate flag

3.3.1

3.3.0

  • #75 Cleanup validation and make it optional

3.2.1

  • #73 Add status message to response object
  • #71 add validation schema to shot

3.2.0

  • #74 Include statusMessage

3.1.1

3.1.0

  • #69 Update code to 3.x.x
  • #68 Test on node 6, update lab and fix tests
  • #67 Support stream payloads
  • #65 Adds quotes around node versions in travis file

3.0.1

  • #63 Add default port to host header when no port specified. Fixes #62
  • #61 Reduce function generation
  • #60 Refactor index.js into separate files

3.0.0

  • #59 Update README with ES6 styles
  • #58 Updated README for ES6 styles closes #59
  • #57 Set trailers in res.trailers rather than res.headers. Fixes #56
  • #56 Trailers should be added to res.trailers, not res.headers

Version 2

2.0.1

  • #55 Fix broken tests

2.0.0

  • #52 Node >= 4 / es2015 updates
  • #51 Upgrade lab to 7.x.x. Closes #50

Version 1

1.7.0

  • #47 Add authority option. Closes #46
  • #46 Add authority option for overriding default host header

1.6.1

  • #44 Always include a host header. Closes #43
  • #43 host header is not always set

1.6.0

  • #36 Inject request with specified the remote client IP address
  • #35 Client IP address

1.5.4

1.5.3

  • #33 Inconsistent assignment of rawPayload

1.5.2

  • #32 use rawPayload, convert to UTF8 after the whole buffer is available

1.5.1

  • #30 fix #7
  • #7 deprecated encoding 'binary' is used

1.5.0

  • #28 Add 'content-length' header matching payload length if none set

1.4.2

  • #27 add -L to test and test-cov

1.4.1

  • #24 Added Hoek.applyToDefaults.
  • #23 Use Hoek to assign defaults to options passed to inject. Fixes #22
  • #22 Use hoek to assign defaults to options passed to inject

1.4.0

  • #19 optionally accept an object as the url

1.3.5

1.3.4

  • #12 Remove repeated assignment

1.3.3

  • #11 Bring coverage back to 100%

1.3.2

  • #10 Bring coverage back to 100% after lab fix

1.3.1

  • #9 Support node 0.11

1.0.0

Deploys by Netlify