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
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
5.0.0
- #120 Only node 12
Version 4
4.1.2
- #112 Update joi
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
- #101 Remove engines
4.0.6
- #100 Update deps
4.0.5
4.0.4
4.0.3
- #90 Update joi
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
3.2.0
- #74 Include statusMessage
3.1.1
- #72 npmignore
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
Version 1
1.7.0
1.6.1
1.6.0
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
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
- #14 lab 4.0
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