Changelog
Version 18
18.1.1
- #312 fix: strip proxy-authorization header on redirect
18.1.0
18.0.2
- #310 Optimize header toLowerCasing
18.0.1
- #299 chore: bump hoek
18.0.0
- #296 Support node v18 and drop node v12
Version 17
17.2.0
- #295 [CI] Cancel redirect request
- #292 strip authorization and cookie headers when redirecting to a new hostname
- #287 Cancel redirect request
17.1.0
- #283 Create ci-module.yml
- #281 added IPv6 support
- #280 upgrade lab to v24 and devDependency of typescript
- #276 Unable to GET a server that listens to IPv6 address. ETIMEDOUT
17.0.0
- #270 Only node 12
- #267 Refactor early abort detection to use the 'abort' event
- #266 Don't set redirected host header
Version 16
16.0.1
- #264 Allow any readable stream in read()
16.0.0
Version 15
15.1.0
- #254 'abort' event
- #252 Respect uri parameter when using socketPath
- #250 memory leak issue
- #248 Change redirect method in
beforeRedirect - #247 Return an empty buffer payload on text content-type rather than
null
15.0.2
- #256 Update deps
15.0.1
- #246 Explicit host header trumps host implied in url
- #245 An explicit host header is ignored if the request url has no implicit host
15.0.0
- #244 15.0.0 Release Notes
- #243 Change module namespace
- #242 Remove usage of deprecated url.Parse
- #235 Introduce new preRequest event and emit request on request event
- #209 Shouldn't request event emit request object?
Version 14
14.2.0
14.1.4
- #236 Protect against prototype poisoning
14.1.3
- #231 Remove engines
14.1.2
- #230 Update hoek v6
14.1.1
- #229 Cleanup
14.1.0
- #226 Handle edge cases introduced with deferred payload piping
- #225 Handle stream payload errors before socket connection
- #224 Workaround node 10 regression
- #223 Defer piping of options.payload until socket connection
- #222 Investigate only piping the payload after a connection is established
- #218 Remove new Buffer usage
- #215 test(request) correct tests to check errors for boom instance
14.0.2
- #208 Fix new Boom
14.0.1
14.0.0
Version 13
13.0.3
- #202 Update deps
13.0.2
- #199 Return errors for partial payload transfers
13.0.1
- #198 Retain boom errors from response stream on read()
13.0.0
Version 12
12.6.1
- #258 Backport #250
12.6.0
- #241 Commercial version of v12 branch
12.5.1
12.5.0
- #195 closes #194 - support for a list of TLS ciphers
- #194 Add support for specifying the TLS ciphers list
12.4.0
- #193 Add onRequest to request options
12.3.0
12.2.3
- #189 Fix possible content-type header duplication
- #188 Possible
content-typeheader duplication - #184 Upgrade lab
12.2.2
- #183 Fix tests for node 7.10.0
12.2.1
- #182 Update deps.
12.2.0
- #177 fix(json): allow numbers in mime fixes #176
- #175 Include full response with the HTTP error
- #173 Return full response with the Boom HTTP error
- #170 4XX is now an error
12.1.0
- #174 Tidy code around default agents
- #172 Update README.md
- #169 Pass an Error object to Boom.create for #168
- #156 Preserve
agentsacross .defaults({...})
12.0.0
Version 11
11.0.0
- #162 11.0.0 Release Notes
- #161 Fix redirection method for 301, 302
- #160 Update lab dep
- #159 Add example https agent setting
- #158 Wrap error response with Boom
- #157 Change response event signature
- #155 Update code dep
- #154 Clarify state of response in shortcuts
- #153 Question about responses as readable streams
- #138 Redirect 302 changes method from POST to GET
- #83 Change "response" Payload
- #82 Option to convert 4xx and 5xx to errors
- #66 Add certificate options for requests
Version 10
10.0.0
- #150 10.0.0 Release Notes
- #149 Update boom and lab deps
- #148 Refactor event propagation
- #147 Fix tests to timeout quicker
Version 9
9.0.0
- #144 9.0.0 Release Notes
- #143 Stringify payload objects
- #142 Fix redirect with different host on default options
- #131 Fail to redirect to different host
- #113 Suggestion: Allow json objects as payload
Version 8
8.0.1
8.0.0
- #136 Upgrade to code v3
- #135 8.0.0 Release Notes
- #134 Expose response headers on redirect
- #133 Redirect 303 and expose headers
- #132 Support 303 Redirection
Version 7
7.2.1
7.2.0
7.1.0
- #123 Add support for Unix sockets
7.0.2
7.0.1
- #119 Update deps and fix tests
- #118 Add tests for defaults
- #117 Wreck#request's options are overridden by Defaults
7.0.0
- #109 ES6 style and node v4
Version 6
6.3.0
- #108 Add a beforeRedirect callback option
- #106 Fix code coverage
- #105 Workaround node issue in test
- #104 Fails on node v4
6.2.0
- #102 add 'PATCH' convenience method.
6.1.0
6.0.0
- #96 6.0.0 Release notes
- #95 Payload returns as a buffer. Fixes Issue #75
- #75 Read automatically converts payload from Buffer to UTF-8 String
Version 5
5.6.1
- #94 Skip res.destroy() when not present. Closes #71
- #93 Fix missing options when redirecting
- #71 Attempt to call
destroy()onGunzipobject
5.6.0
- #92 More robust baseUrl and uri merging
- #89 support for detecting/parsing +json suffix types i.e. application/*+json
- #88 Maintenance
- #87 Update license attribute
- #86 Add support for the
baseUrloption - #85 add support for defaults
5.5.0
- #81 Added uri to event payloads.
5.4.0
5.3.0
- #77 Add event for response and logging
- #76 Adding log support
- #74 implement debugging to file and console. Fixes #72
- #73 Fix issues with node 0.12
- #72 Add logging to req/res details for debug mode
5.2.0
- #70 Added 'smart' and 'force' modes to json option.
5.1.0
- #69 Dont try to parse JSON if the statusCode is 204 (No Content)
- #56 Add secureProtocol for setting SSL method version
- #55 Added ability to set secureProtocol to a value.
5.0.1
5.0.0
- #50 5.0.0 Release Notes
- #49 Requests can be aborted
- #47 rejectUnauthorized works in node 0.10
- #46 rejectUnauthorized isn't honored on node 0.10
- #40 Allow requests to be aborted
Version 4
4.0.0
- #45 4.0.0 Release Notes
- #44 Support disabling agent pooling
- #43 Support agent = false for disabled pooling
- #42 Override default maxSockets to Infinity
- #41 Default maxSockets to Infinity
- #39 Now working on v3.0.2
Version 3
3.0.0
- #37 Adding shortcut wrapper for helping with optimization
- #33 Read now requires 3 arguments
- #32 Refactor
internals.shortcutto have a fixed signature. - #31 Refactor
readAPI to have a fixed signature. - #30 Clarify optional options argument.
- #28 Nipple.request
optionsare only optional if callback is omitted as well.
Version 2
2.5.5
- #27 Correct copypasta errors in convenience method docs.
- #26 Document API, parameters, and helper methods.
- #25 Update to use lab v4
- #24 Breaking out code into separate modules
2.5.4
2.5.3
- #18 Set content-length on string or buffer payload
2.5.2
- #13 respect size in _read for toReadableStream
2.5.1
- #16 Prevent starvation due to timeout requests
2.5.0
- #11 Hoek version bump to 2.x.x
- #10 match() -> test()
- #9 coverage to 100% with Lab v3.0
- #8 get code coverage to 100% under Lab v3.0
- #7 Fixed Shortcut test grouping
2.4.0
- #6 Added support for automatic JSON response parsing.