request @ 2.57.0 - CHANGELOG.md
1
## Change Log
2
3
### v2.57.0 (2015/05/31)
4
- [#1615](https://github.com/request/request/pull/1615) Replace '.client' with '.socket' as the former was deprecated in 2.2.0. (@ChALkeR)
5
6
### v2.56.0 (2015/05/28)
7
- [#1610](https://github.com/request/request/pull/1610) Bump module dependencies (@simov)
8
- [#1600](https://github.com/request/request/pull/1600) Extract the querystring logic into separate module (@simov)
9
- [#1607](https://github.com/request/request/pull/1607) Re-generate certificates (@simov)
10
- [#1599](https://github.com/request/request/pull/1599) Move getProxyFromURI logic below the check for Invaild URI (#1595) (@simov)
11
- [#1598](https://github.com/request/request/pull/1598) Fix the way http verbs are defined in order to please intellisense IDEs (@simov, @flannelJesus)
12
- [#1591](https://github.com/request/request/pull/1591) A few minor fixes: (@simov)
13
- [#1584](https://github.com/request/request/pull/1584) Refactor test-default tests (according to comments in #1430) (@simov)
14
- [#1585](https://github.com/request/request/pull/1585) Fixing documentation regarding TLS options (#1583) (@mainakae)
15
- [#1574](https://github.com/request/request/pull/1574) Refresh the oauth_nonce on redirect (#1573) (@simov)
16
- [#1570](https://github.com/request/request/pull/1570) Discovered tests that weren't properly running (@seanstrom)
17
- [#1569](https://github.com/request/request/pull/1569) Fix pause before response arrives (@kevinoid)
18
- [#1558](https://github.com/request/request/pull/1558) Emit error instead of throw (@simov)
19
- [#1568](https://github.com/request/request/pull/1568) Fix stall when piping gzipped response (@kevinoid)
20
- [#1560](https://github.com/request/request/pull/1560) Update combined-stream (@apechimp)
21
- [#1543](https://github.com/request/request/pull/1543) Initial support for oauth_body_hash on json payloads (@simov, @aesopwolf)
22
- [#1541](https://github.com/request/request/pull/1541) Fix coveralls (@simov)
23
- [#1540](https://github.com/request/request/pull/1540) Fix recursive defaults for convenience methods (@simov)
24
- [#1536](https://github.com/request/request/pull/1536) More eslint style rules (@froatsnook)
25
- [#1533](https://github.com/request/request/pull/1533) Adding dependency status bar to README.md (@YasharF)
26
- [#1539](https://github.com/request/request/pull/1539) ensure the latest version of har-validator is included (@ahmadnassri)
27
- [#1516](https://github.com/request/request/pull/1516) forever+pool test (@devTristan)
28
29
### v2.55.0 (2015/04/05)
30
- [#1520](https://github.com/request/request/pull/1520) Refactor defaults (@simov)
31
- [#1525](https://github.com/request/request/pull/1525) Delete request headers with undefined value. (@froatsnook)
32
- [#1521](https://github.com/request/request/pull/1521) Add promise tests (@simov)
33
- [#1518](https://github.com/request/request/pull/1518) Fix defaults (@simov)
34
- [#1515](https://github.com/request/request/pull/1515) Allow static invoking of convenience methods (@simov)
35
- [#1505](https://github.com/request/request/pull/1505) Fix multipart boundary extraction regexp (@simov)
36
- [#1510](https://github.com/request/request/pull/1510) Fix basic auth form data (@simov)
37
38
### v2.54.0 (2015/03/24)
39
- [#1501](https://github.com/request/request/pull/1501) HTTP Archive 1.2 support (@ahmadnassri)
40
- [#1486](https://github.com/request/request/pull/1486) Add a test for the forever agent (@akshayp)
41
- [#1500](https://github.com/request/request/pull/1500) Adding handling for no auth method and null bearer (@philberg)
42
- [#1498](https://github.com/request/request/pull/1498) Add table of contents in readme (@simov)
43
- [#1477](https://github.com/request/request/pull/1477) Add support for qs options via qsOptions key (@simov)
44
- [#1496](https://github.com/request/request/pull/1496) Parameters encoded to base 64 should be decoded as UTF-8, not ASCII. (@albanm)
45
- [#1494](https://github.com/request/request/pull/1494) Update eslint (@froatsnook)
46
- [#1474](https://github.com/request/request/pull/1474) Require Colon in Basic Auth (@erykwalder)
47
- [#1481](https://github.com/request/request/pull/1481) Fix baseUrl and redirections. (@burningtree)
48
- [#1469](https://github.com/request/request/pull/1469) Feature/base url (@froatsnook)
49
- [#1459](https://github.com/request/request/pull/1459) Add option to time request/response cycle (including rollup of redirects) (@aaron-em)
50
- [#1468](https://github.com/request/request/pull/1468) Re-enable io.js/node 0.12 build (@simov, @mikeal, @BBB)
51
- [#1442](https://github.com/request/request/pull/1442) Fixed the issue with strictSSL tests on 0.12 & io.js by explicitly setting a cipher that matches the cert. (@BBB, @nicolasmccurdy, @simov, @0x4139)
52
- [#1460](https://github.com/request/request/pull/1460) localAddress or proxy config is lost when redirecting (@simov, @0x4139)
53
- [#1453](https://github.com/request/request/pull/1453) Test on Node.js 0.12 and io.js with allowed failures (@nicolasmccurdy)
54
- [#1426](https://github.com/request/request/pull/1426) Fixing tests to pass on io.js and node 0.12 (only test-https.js stiff failing) (@mikeal)
55
- [#1446](https://github.com/request/request/pull/1446) Missing HTTP referer header with redirects Fixes #1038 (@simov, @guimonz)
56
- [#1428](https://github.com/request/request/pull/1428) Deprecate Node v0.8.x (@nylen)
57
- [#1436](https://github.com/request/request/pull/1436) Add ability to set a requester without setting default options (@tikotzky)
58
- [#1435](https://github.com/request/request/pull/1435) dry up verb methods (@sethpollack)
59
- [#1423](https://github.com/request/request/pull/1423) Allow fully qualified multipart content-type header (@simov)
60
- [#1430](https://github.com/request/request/pull/1430) Fix recursive requester (@tikotzky)
61
- [#1429](https://github.com/request/request/pull/1429) Throw error when making HEAD request with a body (@tikotzky)
62
- [#1419](https://github.com/request/request/pull/1419) Add note that the project is broken in 0.12.x (@nylen)
63
- [#1413](https://github.com/request/request/pull/1413) Fix basic auth (@simov)
64
- [#1397](https://github.com/request/request/pull/1397) Improve pipe-from-file tests (@nylen)
65
66
### v2.53.0 (2015/02/02)
67
- [#1396](https://github.com/request/request/pull/1396) Do not rfc3986 escape JSON bodies (@nylen, @simov)
68
- [#1392](https://github.com/request/request/pull/1392) Improve `timeout` option description (@watson)
69
70
### v2.52.0 (2015/02/02)
71
- [#1383](https://github.com/request/request/pull/1383) Add missing HTTPS options that were not being passed to tunnel (@brichard19) (@nylen, @brichard19)
72
- [#1388](https://github.com/request/request/pull/1388) Upgrade mime-types package version (@roderickhsiao)
73
- [#1389](https://github.com/request/request/pull/1389) Revise Setup Tunnel Function (@seanstrom)
74
- [#1374](https://github.com/request/request/pull/1374) Allow explicitly disabling tunneling for proxied https destinations (@nylen)
75
- [#1376](https://github.com/request/request/pull/1376) Use karma-browserify for tests. Add browser test coverage reporter. (@eiriksm)
76
- [#1366](https://github.com/request/request/pull/1366) Refactor OAuth into separate module (@simov)
77
- [#1373](https://github.com/request/request/pull/1373) Rewrite tunnel test to be pure Node.js (@nylen)
78
- [#1371](https://github.com/request/request/pull/1371) Upgrade test reporter (@nylen)
79
- [#1360](https://github.com/request/request/pull/1360) Refactor basic, bearer, digest auth logic into separate class (@simov)
80
- [#1354](https://github.com/request/request/pull/1354) Remove circular dependency from debugging code (@nylen)
81
- [#1351](https://github.com/request/request/pull/1351) Move digest auth into private prototype method (@simov)
82
- [#1352](https://github.com/request/request/pull/1352) Update hawk dependency to ~2.3.0 (@mridgway)
83
- [#1353](https://github.com/request/request/pull/1353) Correct travis-ci badge (@dogancelik)
84
- [#1349](https://github.com/request/request/pull/1349) Make sure we return on errored browser requests. (@eiriksm)
85
- [#1346](https://github.com/request/request/pull/1346) getProxyFromURI Extraction Refactor (@seanstrom)
86
- [#1337](https://github.com/request/request/pull/1337) Standardize test ports on 6767 (@nylen)
87
- [#1341](https://github.com/request/request/pull/1341) Emit FormData error events as Request error events (@nylen, @rwky)
88
- [#1343](https://github.com/request/request/pull/1343) Clean up readme badges, and add Travis and Coveralls badges (@nylen)
89
- [#1345](https://github.com/request/request/pull/1345) Update README.md (@Aaron-Hartwig)
90
- [#1338](https://github.com/request/request/pull/1338) Always wait for server.close() callback in tests (@nylen)
91
- [#1342](https://github.com/request/request/pull/1342) Add mock https server and redo start of browser tests for this purpose. (@eiriksm)
92
- [#1339](https://github.com/request/request/pull/1339) Improve auth docs (@nylen)
93
- [#1335](https://github.com/request/request/pull/1335) Add support for OAuth plaintext signature method (@simov)
94
- [#1332](https://github.com/request/request/pull/1332) Add clean script to remove test-browser.js after the tests run (@seanstrom)
95
- [#1327](https://github.com/request/request/pull/1327) Fix errors generating coverage reports. (@nylen)
96
- [#1330](https://github.com/request/request/pull/1330) Return empty buffer upon empty response body and encoding is set to null (@seanstrom)
97
- [#1326](https://github.com/request/request/pull/1326) Use faster container-based infrastructure on Travis (@nylen)
98
- [#1315](https://github.com/request/request/pull/1315) Implement rfc3986 option (@simov, @nylen, @apoco, @DullReferenceException, @mmalecki, @oliamb, @cliffcrosland, @LewisJEllis, @eiriksm, @poislagarde)
99
- [#1314](https://github.com/request/request/pull/1314) Detect urlencoded form data header via regex (@simov)
100
- [#1317](https://github.com/request/request/pull/1317) Improve OAuth1.0 server side flow example (@simov)
101
102
### v2.51.0 (2014/12/10)
103
- [#1310](https://github.com/request/request/pull/1310) Revert changes introduced in https://github.com/request/request/pull/1282 (@simov)
104
105
### v2.50.0 (2014/12/09)
106
- [#1308](https://github.com/request/request/pull/1308) Add browser test to keep track of browserify compability. (@eiriksm)
107
- [#1299](https://github.com/request/request/pull/1299) Add optional support for jsonReviver (@poislagarde)
108
- [#1277](https://github.com/request/request/pull/1277) Add Coveralls configuration (@simov)
109
- [#1307](https://github.com/request/request/pull/1307) Upgrade form-data, add back browserify compability. Fixes #455. (@eiriksm)
110
- [#1305](https://github.com/request/request/pull/1305) Fix typo in README.md (@LewisJEllis)
111
- [#1288](https://github.com/request/request/pull/1288) Update README.md to explain custom file use case (@cliffcrosland)
112
113
### v2.49.0 (2014/11/28)
114
- [#1295](https://github.com/request/request/pull/1295) fix(proxy): no-proxy false positive (@oliamb)
115
- [#1292](https://github.com/request/request/pull/1292) Upgrade `caseless` to 0.8.1 (@mmalecki)
116
- [#1276](https://github.com/request/request/pull/1276) Set transfer encoding for multipart/related to chunked by default (@simov)
117
- [#1275](https://github.com/request/request/pull/1275) Fix multipart content-type headers detection (@simov)
118
- [#1269](https://github.com/request/request/pull/1269) adds streams example for review (@tbuchok)
119
- [#1238](https://github.com/request/request/pull/1238) Add examples README.md (@simov)
120
121
### v2.48.0 (2014/11/12)
122
- [#1263](https://github.com/request/request/pull/1263) Fixed a syntax error / typo in README.md (@xna2)
123
- [#1253](https://github.com/request/request/pull/1253) Add multipart chunked flag (@simov, @nylen)
124
- [#1251](https://github.com/request/request/pull/1251) Clarify that defaults() does not modify global defaults (@nylen)
125
- [#1250](https://github.com/request/request/pull/1250) Improve documentation for pool and maxSockets options (@nylen)
126
- [#1237](https://github.com/request/request/pull/1237) Documenting error handling when using streams (@vmattos)
127
- [#1244](https://github.com/request/request/pull/1244) Finalize changelog command (@nylen)
128
- [#1241](https://github.com/request/request/pull/1241) Fix typo (@alexanderGugel)
129
- [#1223](https://github.com/request/request/pull/1223) Show latest version number instead of "upcoming" in changelog (@nylen)
130
- [#1236](https://github.com/request/request/pull/1236) Document how to use custom CA in README (#1229) (@hypesystem)
131
- [#1228](https://github.com/request/request/pull/1228) Support for oauth with RSA-SHA1 signing (@nylen)
132
- [#1216](https://github.com/request/request/pull/1216) Made json and multipart options coexist (@nylen, @simov)
133
- [#1225](https://github.com/request/request/pull/1225) Allow header white/exclusive lists in any case. (@RReverser)
134
135
### v2.47.0 (2014/10/26)
136
- [#1222](https://github.com/request/request/pull/1222) Move from mikeal/request to request/request (@nylen)
137
- [#1220](https://github.com/request/request/pull/1220) update qs dependency to 2.3.1 (@FredKSchott)
138
- [#1212](https://github.com/request/request/pull/1212) Improve tests/test-timeout.js (@nylen)
139
- [#1219](https://github.com/request/request/pull/1219) remove old globalAgent workaround for node 0.4 (@request)
140
- [#1214](https://github.com/request/request/pull/1214) Remove cruft left over from optional dependencies (@nylen)
141
- [#1215](https://github.com/request/request/pull/1215) Add proxyHeaderExclusiveList option for proxy-only headers. (@RReverser)
142
- [#1211](https://github.com/request/request/pull/1211) Allow 'Host' header instead of 'host' and remember case across redirects (@nylen)
143
- [#1208](https://github.com/request/request/pull/1208) Improve release script (@nylen)
144
- [#1213](https://github.com/request/request/pull/1213) Support for custom cookie store (@nylen, @mitsuru)
145
- [#1197](https://github.com/request/request/pull/1197) Clean up some code around setting the agent (@FredKSchott)
146
- [#1209](https://github.com/request/request/pull/1209) Improve multipart form append test (@simov)
147
- [#1207](https://github.com/request/request/pull/1207) Update changelog (@nylen)
148
- [#1185](https://github.com/request/request/pull/1185) Stream multipart/related bodies (@simov)
149
150
### v2.46.0 (2014/10/23)
151
- [#1198](https://github.com/request/request/pull/1198) doc for TLS/SSL protocol options (@shawnzhu)
152
- [#1200](https://github.com/request/request/pull/1200) Add a Gitter chat badge to README.md (@gitter-badger)
153
- [#1196](https://github.com/request/request/pull/1196) Upgrade taper test reporter to v0.3.0 (@nylen)
154
- [#1199](https://github.com/request/request/pull/1199) Fix lint error: undeclared var i (@nylen)
155
- [#1191](https://github.com/request/request/pull/1191) Move self.proxy decision logic out of init and into a helper (@FredKSchott)
156
- [#1190](https://github.com/request/request/pull/1190) Move _buildRequest() logic back into init (@FredKSchott)
157
- [#1186](https://github.com/request/request/pull/1186) Support Smarter Unix URL Scheme (@FredKSchott)
158
- [#1178](https://github.com/request/request/pull/1178) update form documentation for new usage (@FredKSchott)
159
- [#1180](https://github.com/request/request/pull/1180) Enable no-mixed-requires linting rule (@nylen)
160
- [#1184](https://github.com/request/request/pull/1184) Don't forward authorization header across redirects to different hosts (@nylen)
161
- [#1183](https://github.com/request/request/pull/1183) Correct README about pre and postamble CRLF using multipart and not mult... (@netpoetica)
162
- [#1179](https://github.com/request/request/pull/1179) Lint tests directory (@nylen)
163
- [#1169](https://github.com/request/request/pull/1169) add metadata for form-data file field (@dotcypress)
164
- [#1173](https://github.com/request/request/pull/1173) remove optional dependencies (@seanstrom)
165
- [#1165](https://github.com/request/request/pull/1165) Cleanup event listeners and remove function creation from init (@FredKSchott)
166
- [#1174](https://github.com/request/request/pull/1174) update the request.cookie docs to have a valid cookie example (@seanstrom)
167
- [#1168](https://github.com/request/request/pull/1168) create a detach helper and use detach helper in replace of nextTick (@seanstrom)
168
- [#1171](https://github.com/request/request/pull/1171) in post can send form data and use callback (@MiroRadenovic)
169
- [#1159](https://github.com/request/request/pull/1159) accept charset for x-www-form-urlencoded content-type (@seanstrom)
170
- [#1157](https://github.com/request/request/pull/1157) Update README.md: body with json=true (@Rob--W)
171
- [#1164](https://github.com/request/request/pull/1164) Disable tests/test-timeout.js on Travis (@nylen)
172
- [#1153](https://github.com/request/request/pull/1153) Document how to run a single test (@nylen)
173
- [#1144](https://github.com/request/request/pull/1144) adds documentation for the "response" event within the streaming section (@tbuchok)
174
- [#1162](https://github.com/request/request/pull/1162) Update eslintrc file to no longer allow past errors (@FredKSchott)
175
- [#1155](https://github.com/request/request/pull/1155) Support/use self everywhere (@seanstrom)
176
- [#1161](https://github.com/request/request/pull/1161) fix no-use-before-define lint warnings (@emkay)
177
- [#1156](https://github.com/request/request/pull/1156) adding curly brackets to get rid of lint errors (@emkay)
178
- [#1151](https://github.com/request/request/pull/1151) Fix localAddress test on OS X (@nylen)
179
- [#1145](https://github.com/request/request/pull/1145) documentation: fix outdated reference to setCookieSync old name in README (@FredKSchott)
180
- [#1131](https://github.com/request/request/pull/1131) Update pool documentation (@FredKSchott)
181
- [#1143](https://github.com/request/request/pull/1143) Rewrite all tests to use tape (@nylen)
182
- [#1137](https://github.com/request/request/pull/1137) Add ability to specifiy querystring lib in options. (@jgrund)
183
- [#1138](https://github.com/request/request/pull/1138) allow hostname and port in place of host on uri (@cappslock)
184
- [#1134](https://github.com/request/request/pull/1134) Fix multiple redirects and `self.followRedirect` (@blakeembrey)
185
- [#1130](https://github.com/request/request/pull/1130) documentation fix: add note about npm test for contributing (@FredKSchott)
186
- [#1120](https://github.com/request/request/pull/1120) Support/refactor request setup tunnel (@seanstrom)
187
- [#1129](https://github.com/request/request/pull/1129) linting fix: convert double quote strings to use single quotes (@FredKSchott)
188
- [#1124](https://github.com/request/request/pull/1124) linting fix: remove unneccesary semi-colons (@FredKSchott)
189
190
### v2.45.0 (2014/10/06)
191
- [#1128](https://github.com/request/request/pull/1128) Add test for setCookie regression (@nylen)
192
- [#1127](https://github.com/request/request/pull/1127) added tests around using objects as values in a query string (@bcoe)
193
- [#1103](https://github.com/request/request/pull/1103) Support/refactor request constructor (@nylen, @seanstrom)
194
- [#1119](https://github.com/request/request/pull/1119) add basic linting to request library (@FredKSchott)
195
- [#1121](https://github.com/request/request/pull/1121) Revert "Explicitly use sync versions of cookie functions" (@nylen)
196
- [#1118](https://github.com/request/request/pull/1118) linting fix: Restructure bad empty if statement (@FredKSchott)
197
- [#1117](https://github.com/request/request/pull/1117) Fix a bad check for valid URIs (@FredKSchott)
198
- [#1113](https://github.com/request/request/pull/1113) linting fix: space out operators (@FredKSchott)
199
- [#1116](https://github.com/request/request/pull/1116) Fix typo in `noProxyHost` definition (@FredKSchott)
200
- [#1114](https://github.com/request/request/pull/1114) linting fix: Added a `new` operator that was missing when creating and throwing a new error (@FredKSchott)
201
- [#1096](https://github.com/request/request/pull/1096) No_proxy support (@samcday)
202
- [#1107](https://github.com/request/request/pull/1107) linting-fix: remove unused variables (@FredKSchott)
203
- [#1112](https://github.com/request/request/pull/1112) linting fix: Make return values consistent and more straitforward (@FredKSchott)
204
- [#1111](https://github.com/request/request/pull/1111) linting fix: authPieces was getting redeclared (@FredKSchott)
205
- [#1105](https://github.com/request/request/pull/1105) Use strict mode in request (@FredKSchott)
206
- [#1110](https://github.com/request/request/pull/1110) linting fix: replace lazy '==' with more strict '===' (@FredKSchott)
207
- [#1109](https://github.com/request/request/pull/1109) linting fix: remove function call from if-else conditional statement (@FredKSchott)
208
- [#1102](https://github.com/request/request/pull/1102) Fix to allow setting a `requester` on recursive calls to `request.defaults` (@tikotzky)
209
- [#1095](https://github.com/request/request/pull/1095) Tweaking engines in package.json (@pdehaan)
210
- [#1082](https://github.com/request/request/pull/1082) Forward the socket event from the httpModule request (@seanstrom)
211
- [#972](https://github.com/request/request/pull/972) Clarify gzip handling in the README (@kevinoid)
212
- [#1089](https://github.com/request/request/pull/1089) Mention that encoding defaults to utf8, not Buffer (@stuartpb)
213
- [#1088](https://github.com/request/request/pull/1088) Fix cookie example in README.md and make it more clear (@pipi32167)
214
- [#1027](https://github.com/request/request/pull/1027) Add support for multipart form data in request options. (@crocket)
215
- [#1076](https://github.com/request/request/pull/1076) use Request.abort() to abort the request when the request has timed-out (@seanstrom)
216
- [#1068](https://github.com/request/request/pull/1068) add optional postamble required by .NET multipart requests (@netpoetica)
217
218
### v2.43.0 (2014/09/18)
219
- [#1057](https://github.com/request/request/pull/1057) Defaults should not overwrite defined options (@davidwood)
220
- [#1046](https://github.com/request/request/pull/1046) Propagate datastream errors, useful in case gzip fails. (@ZJONSSON, @Janpot)
221
- [#1063](https://github.com/request/request/pull/1063) copy the input headers object #1060 (@finnp)
222
- [#1031](https://github.com/request/request/pull/1031) Explicitly use sync versions of cookie functions (@ZJONSSON)
223
- [#1056](https://github.com/request/request/pull/1056) Fix redirects when passing url.parse(x) as URL to convenience method (@nylen)
224
225
### v2.42.0 (2014/09/04)
226
- [#1053](https://github.com/request/request/pull/1053) Fix #1051 Parse auth properly when using non-tunneling proxy (@isaacs)
227
228
### v2.41.0 (2014/09/04)
229
- [#1050](https://github.com/request/request/pull/1050) Pass whitelisted headers to tunneling proxy. Organize all tunneling logic. (@isaacs, @Feldhacker)
230
- [#1035](https://github.com/request/request/pull/1035) souped up nodei.co badge (@rvagg)
231
- [#1048](https://github.com/request/request/pull/1048) Aws is now possible over a proxy (@steven-aerts)
232
- [#1039](https://github.com/request/request/pull/1039) extract out helper functions to a helper file (@seanstrom)
233
- [#1021](https://github.com/request/request/pull/1021) Support/refactor indexjs (@seanstrom)
234
- [#1033](https://github.com/request/request/pull/1033) Improve and document debug options (@nylen)
235
- [#1034](https://github.com/request/request/pull/1034) Fix readme headings (@nylen)
236
- [#1030](https://github.com/request/request/pull/1030) Allow recursive request.defaults (@tikotzky)
237
- [#1029](https://github.com/request/request/pull/1029) Fix a couple of typos (@nylen)
238
- [#675](https://github.com/request/request/pull/675) Checking for SSL fault on connection before reading SSL properties (@VRMink)
239
- [#989](https://github.com/request/request/pull/989) Added allowRedirect function. Should return true if redirect is allowed or false otherwise (@doronin)
240
- [#1025](https://github.com/request/request/pull/1025) [fixes #1023] Set self._ended to true once response has ended (@mridgway)
241
- [#1020](https://github.com/request/request/pull/1020) Add back removed debug metadata (@FredKSchott)
242
- [#1008](https://github.com/request/request/pull/1008) Moving to module instead of cutomer buffer concatenation. (@mikeal)
243
- [#770](https://github.com/request/request/pull/770) Added dependency badge for README file; (@timgluz, @mafintosh, @lalitkapoor, @stash, @bobyrizov)
244
- [#1016](https://github.com/request/request/pull/1016) toJSON no longer results in an infinite loop, returns simple objects (@FredKSchott)
245
- [#1018](https://github.com/request/request/pull/1018) Remove pre-0.4.4 HTTPS fix (@mmalecki)
246
- [#1006](https://github.com/request/request/pull/1006) Migrate to caseless, fixes #1001 (@mikeal)
247
- [#995](https://github.com/request/request/pull/995) Fix parsing array of objects (@sjonnet19)
248
- [#999](https://github.com/request/request/pull/999) Fix fallback for browserify for optional modules. (@eiriksm)
249
- [#996](https://github.com/request/request/pull/996) Wrong oauth signature when multiple same param keys exist [updated] (@bengl, @hyjin)
250
251
### v2.40.0 (2014/08/06)
252
- [#992](https://github.com/request/request/pull/992) Fix security vulnerability. Update qs (@poeticninja)
253
- [#988](https://github.com/request/request/pull/988) “--” -> “—” (@upisfree)
254
- [#987](https://github.com/request/request/pull/987) Show optional modules as being loaded by the module that reqeusted them (@iarna)
255
256
### v2.39.0 (2014/07/24)
257
- [#976](https://github.com/request/request/pull/976) Update README.md (@pvoznenko)
258
259
### v2.38.0 (2014/07/22)
260
- [#952](https://github.com/request/request/pull/952) Adding support to client certificate with proxy use case (@ofirshaked)
261
- [#884](https://github.com/request/request/pull/884) Documented tough-cookie installation. (@wbyoung)
262
- [#935](https://github.com/request/request/pull/935) Correct repository url (@fritx)
263
- [#963](https://github.com/request/request/pull/963) Update changelog (@nylen)
264
- [#960](https://github.com/request/request/pull/960) Support gzip with encoding on node pre-v0.9.4 (@kevinoid)
265
- [#953](https://github.com/request/request/pull/953) Add async Content-Length computation when using form-data (@LoicMahieu)
266
- [#844](https://github.com/request/request/pull/844) Add support for HTTP[S]_PROXY environment variables. Fixes #595. (@jvmccarthy)
267
- [#946](https://github.com/request/request/pull/946) defaults: merge headers (@aj0strow)
268
269
### v2.37.0 (2014/07/07)
270
- [#957](https://github.com/request/request/pull/957) Silence EventEmitter memory leak warning #311 (@watson)
271
- [#955](https://github.com/request/request/pull/955) check for content-length header before setting it in nextTick (@camilleanne)
272
- [#951](https://github.com/request/request/pull/951) Add support for gzip content decoding (@kevinoid)
273
- [#949](https://github.com/request/request/pull/949) Manually enter querystring in form option (@charlespwd)
274
- [#944](https://github.com/request/request/pull/944) Make request work with browserify (@eiriksm)
275
- [#943](https://github.com/request/request/pull/943) New mime module (@eiriksm)
276
- [#927](https://github.com/request/request/pull/927) Bump version of hawk dep. (@samccone)
277
- [#907](https://github.com/request/request/pull/907) append secureOptions to poolKey (@medovob)
278
279
### v2.35.0 (2014/05/17)
280
- [#901](https://github.com/request/request/pull/901) Fixes #555 (@pigulla)
281
- [#897](https://github.com/request/request/pull/897) merge with default options (@vohof)
282
- [#891](https://github.com/request/request/pull/891) fixes 857 - options object is mutated by calling request (@lalitkapoor)
283
- [#869](https://github.com/request/request/pull/869) Pipefilter test (@tgohn)
284
- [#866](https://github.com/request/request/pull/866) Fix typo (@dandv)
285
- [#861](https://github.com/request/request/pull/861) Add support for RFC 6750 Bearer Tokens (@phedny)
286
- [#809](https://github.com/request/request/pull/809) upgrade tunnel-proxy to 0.4.0 (@ksato9700)
287
- [#850](https://github.com/request/request/pull/850) Fix word consistency in readme (@0xNobody)
288
- [#810](https://github.com/request/request/pull/810) add some exposition to mpu example in README.md (@mikermcneil)
289
- [#840](https://github.com/request/request/pull/840) improve error reporting for invalid protocols (@FND)
290
- [#821](https://github.com/request/request/pull/821) added secureOptions back (@nw)
291
- [#815](https://github.com/request/request/pull/815) Create changelog based on pull requests (@lalitkapoor)
292
293
### v2.34.0 (2014/02/18)
294
- [#516](https://github.com/request/request/pull/516) UNIX Socket URL Support (@lyuzashi)
295
- [#801](https://github.com/request/request/pull/801) 794 ignore cookie parsing and domain errors (@lalitkapoor)
296
- [#802](https://github.com/request/request/pull/802) Added the Apache license to the package.json. (@keskival)
297
- [#793](https://github.com/request/request/pull/793) Adds content-length calculation when submitting forms using form-data li... (@Juul)
298
- [#785](https://github.com/request/request/pull/785) Provide ability to override content-type when `json` option used (@vvo)
299
- [#781](https://github.com/request/request/pull/781) simpler isReadStream function (@joaojeronimo)
300
301
### v2.32.0 (2014/01/16)
302
- [#767](https://github.com/request/request/pull/767) Use tough-cookie CookieJar sync API (@stash)
303
- [#764](https://github.com/request/request/pull/764) Case-insensitive authentication scheme (@bobyrizov)
304
- [#763](https://github.com/request/request/pull/763) Upgrade tough-cookie to 0.10.0 (@stash)
305
- [#744](https://github.com/request/request/pull/744) Use Cookie.parse (@lalitkapoor)
306
- [#757](https://github.com/request/request/pull/757) require aws-sign2 (@mafintosh)
307
308
### v2.31.0 (2014/01/08)
309
- [#645](https://github.com/request/request/pull/645) update twitter api url to v1.1 (@mick)
310
- [#746](https://github.com/request/request/pull/746) README: Markdown code highlight (@weakish)
311
- [#745](https://github.com/request/request/pull/745) updating setCookie example to make it clear that the callback is required (@emkay)
312
- [#742](https://github.com/request/request/pull/742) Add note about JSON output body type (@iansltx)
313
- [#741](https://github.com/request/request/pull/741) README example is using old cookie jar api (@emkay)
314
- [#736](https://github.com/request/request/pull/736) Fix callback arguments documentation (@mmalecki)
315
316
### v2.30.0 (2013/12/13)
317
- [#732](https://github.com/request/request/pull/732) JSHINT: Creating global 'for' variable. Should be 'for (var ...'. (@Fritz-Lium)
318
- [#730](https://github.com/request/request/pull/730) better HTTP DIGEST support (@dai-shi)
319
- [#728](https://github.com/request/request/pull/728) Fix TypeError when calling request.cookie (@scarletmeow)
320
321
### v2.29.0 (2013/12/06)
322
- [#727](https://github.com/request/request/pull/727) fix requester bug (@jchris)
323
324
### v2.28.0 (2013/12/04)
325
- [#724](https://github.com/request/request/pull/724) README.md: add custom HTTP Headers example. (@tcort)
326
- [#719](https://github.com/request/request/pull/719) Made a comment gender neutral. (@unsetbit)
327
- [#715](https://github.com/request/request/pull/715) Request.multipart no longer crashes when header 'Content-type' present (@pastaclub)
328
- [#710](https://github.com/request/request/pull/710) Fixing listing in callback part of docs. (@lukasz-zak)
329
- [#696](https://github.com/request/request/pull/696) Edited README.md for formatting and clarity of phrasing (@Zearin)
330
- [#694](https://github.com/request/request/pull/694) Typo in README (@VRMink)
331
- [#690](https://github.com/request/request/pull/690) Handle blank password in basic auth. (@diversario)
332
- [#682](https://github.com/request/request/pull/682) Optional dependencies (@Turbo87)
333
- [#683](https://github.com/request/request/pull/683) Travis CI support (@Turbo87)
334
- [#674](https://github.com/request/request/pull/674) change cookie module,to tough-cookie.please check it . (@sxyizhiren)
335
- [#666](https://github.com/request/request/pull/666) make `ciphers` and `secureProtocol` to work in https request (@richarddong)
336
- [#656](https://github.com/request/request/pull/656) Test case for #304. (@diversario)
337
- [#662](https://github.com/request/request/pull/662) option.tunnel to explicitly disable tunneling (@seanmonstar)
338
- [#659](https://github.com/request/request/pull/659) fix failure when running with NODE_DEBUG=request, and a test for that (@jrgm)
339
- [#630](https://github.com/request/request/pull/630) Send random cnonce for HTTP Digest requests (@wprl)
340
341
### v2.27.0 (2013/08/15)
342
- [#619](https://github.com/request/request/pull/619) decouple things a bit (@joaojeronimo)
343
344
### v2.26.0 (2013/08/07)
345
- [#613](https://github.com/request/request/pull/613) Fixes #583, moved initialization of self.uri.pathname (@lexander)
346
- [#605](https://github.com/request/request/pull/605) Only include ":" + pass in Basic Auth if it's defined (fixes #602) (@bendrucker)
347
348
### v2.24.0 (2013/07/23)
349
- [#596](https://github.com/request/request/pull/596) Global agent is being used when pool is specified (@Cauldrath)
350
- [#594](https://github.com/request/request/pull/594) Emit complete event when there is no callback (@RomainLK)
351
- [#601](https://github.com/request/request/pull/601) Fixed a small typo (@michalstanko)
352
353
### v2.23.0 (2013/07/23)
354
- [#589](https://github.com/request/request/pull/589) Prevent setting headers after they are sent (@geek)
355
- [#587](https://github.com/request/request/pull/587) Global cookie jar disabled by default (@threepointone)
356
357
### v2.22.0 (2013/07/05)
358
- [#544](https://github.com/request/request/pull/544) Update http-signature version. (@davidlehn)
359
- [#581](https://github.com/request/request/pull/581) Fix spelling of "ignoring." (@bigeasy)
360
- [#568](https://github.com/request/request/pull/568) use agentOptions to create agent when specified in request (@SamPlacette)
361
- [#564](https://github.com/request/request/pull/564) Fix redirections (@criloz)
362
- [#541](https://github.com/request/request/pull/541) The exported request function doesn't have an auth method (@tschaub)
363
- [#542](https://github.com/request/request/pull/542) Expose Request class (@regality)
364
365
### v2.21.0 (2013/04/30)
366
- [#536](https://github.com/request/request/pull/536) Allow explicitly empty user field for basic authentication. (@mikeando)
367
- [#532](https://github.com/request/request/pull/532) fix typo (@fredericosilva)
368
- [#497](https://github.com/request/request/pull/497) Added redirect event (@Cauldrath)
369
- [#503](https://github.com/request/request/pull/503) Fix basic auth for passwords that contain colons (@tonistiigi)
370
- [#521](https://github.com/request/request/pull/521) Improving test-localAddress.js (@noway421)
371
- [#529](https://github.com/request/request/pull/529) dependencies versions bump (@jodaka)
372
373
### v2.17.0 (2013/04/22)
374
- [#523](https://github.com/request/request/pull/523) Updating dependencies (@noway421)
375
- [#520](https://github.com/request/request/pull/520) Fixing test-tunnel.js (@noway421)
376
- [#519](https://github.com/request/request/pull/519) Update internal path state on post-creation QS changes (@jblebrun)
377
- [#510](https://github.com/request/request/pull/510) Add HTTP Signature support. (@davidlehn)
378
- [#502](https://github.com/request/request/pull/502) Fix POST (and probably other) requests that are retried after 401 Unauthorized (@nylen)
379
- [#508](https://github.com/request/request/pull/508) Honor the .strictSSL option when using proxies (tunnel-agent) (@jhs)
380
- [#512](https://github.com/request/request/pull/512) Make password optional to support the format: http://username@hostname/ (@pajato1)
381
- [#513](https://github.com/request/request/pull/513) add 'localAddress' support (@yyfrankyy)
382
- [#498](https://github.com/request/request/pull/498) Moving response emit above setHeaders on destination streams (@kenperkins)
383
- [#490](https://github.com/request/request/pull/490) Empty response body (3-rd argument) must be passed to callback as an empty string (@Olegas)
384
- [#479](https://github.com/request/request/pull/479) Changing so if Accept header is explicitly set, sending json does not ov... (@RoryH)
385
- [#475](https://github.com/request/request/pull/475) Use `unescape` from `querystring` (@shimaore)
386
- [#473](https://github.com/request/request/pull/473) V0.10 compat (@isaacs)
387
- [#471](https://github.com/request/request/pull/471) Using querystring library from visionmedia (@kbackowski)
388
- [#461](https://github.com/request/request/pull/461) Strip the UTF8 BOM from a UTF encoded response (@kppullin)
389
- [#460](https://github.com/request/request/pull/460) hawk 0.10.0 (@hueniverse)
390
- [#462](https://github.com/request/request/pull/462) if query params are empty, then request path shouldn't end with a '?' (merges cleanly now) (@jaipandya)
391
- [#456](https://github.com/request/request/pull/456) hawk 0.9.0 (@hueniverse)
392
- [#429](https://github.com/request/request/pull/429) Copy options before adding callback. (@nrn, @nfriedly, @youurayy, @jplock, @kapetan, @landeiro, @othiym23, @mmalecki)
393
- [#454](https://github.com/request/request/pull/454) Destroy the response if present when destroying the request (clean merge) (@mafintosh)
394
- [#310](https://github.com/request/request/pull/310) Twitter Oauth Stuff Out of Date; Now Updated (@joemccann, @isaacs, @mscdex)
395
- [#413](https://github.com/request/request/pull/413) rename googledoodle.png to .jpg (@nfriedly, @youurayy, @jplock, @kapetan, @landeiro, @othiym23, @mmalecki)
396
- [#448](https://github.com/request/request/pull/448) Convenience method for PATCH (@mloar)
397
- [#444](https://github.com/request/request/pull/444) protect against double callbacks on error path (@spollack)
398
- [#433](https://github.com/request/request/pull/433) Added support for HTTPS cert & key (@mmalecki)
399
- [#430](https://github.com/request/request/pull/430) Respect specified {Host,host} headers, not just {host} (@andrewschaaf)
400
- [#415](https://github.com/request/request/pull/415) Fixed a typo. (@jerem)
401
- [#338](https://github.com/request/request/pull/338) Add more auth options, including digest support (@nylen)
402
- [#403](https://github.com/request/request/pull/403) Optimize environment lookup to happen once only (@mmalecki)
403
- [#398](https://github.com/request/request/pull/398) Add more reporting to tests (@mmalecki)
404
- [#388](https://github.com/request/request/pull/388) Ensure "safe" toJSON doesn't break EventEmitters (@othiym23)
405
- [#381](https://github.com/request/request/pull/381) Resolving "Invalid signature. Expected signature base string: " (@landeiro)
406
- [#380](https://github.com/request/request/pull/380) Fixes missing host header on retried request when using forever agent (@mac-)
407
- [#376](https://github.com/request/request/pull/376) Headers lost on redirect (@kapetan)
408
- [#375](https://github.com/request/request/pull/375) Fix for missing oauth_timestamp parameter (@jplock)
409
- [#374](https://github.com/request/request/pull/374) Correct Host header for proxy tunnel CONNECT (@youurayy)
410
- [#370](https://github.com/request/request/pull/370) Twitter reverse auth uses x_auth_mode not x_auth_type (@drudge)
411
- [#369](https://github.com/request/request/pull/369) Don't remove x_auth_mode for Twitter reverse auth (@drudge)
412
- [#344](https://github.com/request/request/pull/344) Make AWS auth signing find headers correctly (@nlf)
413
- [#363](https://github.com/request/request/pull/363) rfc3986 on base_uri, now passes tests (@jeffmarshall)
414
- [#362](https://github.com/request/request/pull/362) Running `rfc3986` on `base_uri` in `oauth.hmacsign` instead of just `encodeURIComponent` (@jeffmarshall)
415
- [#361](https://github.com/request/request/pull/361) Don't create a Content-Length header if we already have it set (@danjenkins)
416
- [#360](https://github.com/request/request/pull/360) Delete self._form along with everything else on redirect (@jgautier)
417
- [#355](https://github.com/request/request/pull/355) stop sending erroneous headers on redirected requests (@azylman)
418
- [#332](https://github.com/request/request/pull/332) Fix #296 - Only set Content-Type if body exists (@Marsup)
419
- [#343](https://github.com/request/request/pull/343) Allow AWS to work in more situations, added a note in the README on its usage (@nlf)
420
- [#320](https://github.com/request/request/pull/320) request.defaults() doesn't need to wrap jar() (@StuartHarris)
421
- [#322](https://github.com/request/request/pull/322) Fix + test for piped into request bumped into redirect. #321 (@alexindigo)
422
- [#326](https://github.com/request/request/pull/326) Do not try to remove listener from an undefined connection (@strk)
423
- [#318](https://github.com/request/request/pull/318) Pass servername to tunneling secure socket creation (@isaacs)
424
- [#317](https://github.com/request/request/pull/317) Workaround for #313 (@isaacs)
425
- [#293](https://github.com/request/request/pull/293) Allow parser errors to bubble up to request (@mscdex)
426
- [#290](https://github.com/request/request/pull/290) A test for #289 (@isaacs)
427
- [#280](https://github.com/request/request/pull/280) Like in node.js print options if NODE_DEBUG contains the word request (@Filirom1)
428
- [#207](https://github.com/request/request/pull/207) Fix #206 Change HTTP/HTTPS agent when redirecting between protocols (@isaacs)
429
- [#214](https://github.com/request/request/pull/214) documenting additional behavior of json option (@jphaas)
430
- [#272](https://github.com/request/request/pull/272) Boundary begins with CRLF? (@elspoono, @timshadel, @naholyr, @nanodocumet, @TehShrike)
431
- [#284](https://github.com/request/request/pull/284) Remove stray `console.log()` call in multipart generator. (@bcherry)
432
- [#241](https://github.com/request/request/pull/241) Composability updates suggested by issue #239 (@polotek)
433
- [#282](https://github.com/request/request/pull/282) OAuth Authorization header contains non-"oauth_" parameters (@jplock)
434
- [#279](https://github.com/request/request/pull/279) fix tests with boundary by injecting boundry from header (@benatkin)
435
- [#273](https://github.com/request/request/pull/273) Pipe back pressure issue (@mafintosh)
436
- [#268](https://github.com/request/request/pull/268) I'm not OCD seriously (@TehShrike)
437
- [#263](https://github.com/request/request/pull/263) Bug in OAuth key generation for sha1 (@nanodocumet)
438
- [#265](https://github.com/request/request/pull/265) uncaughtException when redirected to invalid URI (@naholyr)
439
- [#262](https://github.com/request/request/pull/262) JSON test should check for equality (@timshadel)
440
- [#261](https://github.com/request/request/pull/261) Setting 'pool' to 'false' does NOT disable Agent pooling (@timshadel)
441
- [#249](https://github.com/request/request/pull/249) Fix for the fix of your (closed) issue #89 where self.headers[content-length] is set to 0 for all methods (@sethbridges, @polotek, @zephrax, @jeromegn)
442
- [#255](https://github.com/request/request/pull/255) multipart allow body === '' ( the empty string ) (@Filirom1)
443
- [#260](https://github.com/request/request/pull/260) fixed just another leak of 'i' (@sreuter)
444
- [#246](https://github.com/request/request/pull/246) Fixing the set-cookie header (@jeromegn)
445
- [#243](https://github.com/request/request/pull/243) Dynamic boundary (@zephrax)
446
- [#240](https://github.com/request/request/pull/240) don't error when null is passed for options (@polotek)
447
- [#211](https://github.com/request/request/pull/211) Replace all occurrences of special chars in RFC3986 (@chriso)
448
- [#224](https://github.com/request/request/pull/224) Multipart content-type change (@janjongboom)
449
- [#217](https://github.com/request/request/pull/217) need to use Authorization (titlecase) header with Tumblr OAuth (@visnup)
450
- [#203](https://github.com/request/request/pull/203) Fix cookie and redirect bugs and add auth support for HTTPS tunnel (@milewise)
451
- [#199](https://github.com/request/request/pull/199) Tunnel (@isaacs)
452
- [#198](https://github.com/request/request/pull/198) Bugfix on forever usage of util.inherits (@isaacs)
453
- [#197](https://github.com/request/request/pull/197) Make ForeverAgent work with HTTPS (@isaacs)
454
- [#193](https://github.com/request/request/pull/193) Fixes GH-119 (@goatslacker)
455
- [#188](https://github.com/request/request/pull/188) Add abort support to the returned request (@itay)
456
- [#176](https://github.com/request/request/pull/176) Querystring option (@csainty)
457
- [#182](https://github.com/request/request/pull/182) Fix request.defaults to support (uri, options, callback) api (@twilson63)
458
- [#180](https://github.com/request/request/pull/180) Modified the post, put, head and del shortcuts to support uri optional param (@twilson63)
459
- [#179](https://github.com/request/request/pull/179) fix to add opts in .pipe(stream, opts) (@substack)
460
- [#177](https://github.com/request/request/pull/177) Issue #173 Support uri as first and optional config as second argument (@twilson63)
461
- [#170](https://github.com/request/request/pull/170) can't create a cookie in a wrapped request (defaults) (@fabianonunes)
462
- [#168](https://github.com/request/request/pull/168) Picking off an EasyFix by adding some missing mimetypes. (@serby)
463
- [#161](https://github.com/request/request/pull/161) Fix cookie jar/headers.cookie collision (#125) (@papandreou)
464
- [#162](https://github.com/request/request/pull/162) Fix issue #159 (@dpetukhov)
465
- [#90](https://github.com/request/request/pull/90) add option followAllRedirects to follow post/put redirects (@jroes)
466
- [#148](https://github.com/request/request/pull/148) Retry Agent (@thejh)
467
- [#146](https://github.com/request/request/pull/146) Multipart should respect content-type if previously set (@apeace)
468
- [#144](https://github.com/request/request/pull/144) added "form" option to readme (@petejkim)
469
- [#133](https://github.com/request/request/pull/133) Fixed cookies parsing (@afanasy)
470
- [#135](https://github.com/request/request/pull/135) host vs hostname (@iangreenleaf)
471
- [#132](https://github.com/request/request/pull/132) return the body as a Buffer when encoding is set to null (@jahewson)
472
- [#112](https://github.com/request/request/pull/112) Support using a custom http-like module (@jhs)
473
- [#104](https://github.com/request/request/pull/104) Cookie handling contains bugs (@janjongboom)
474
- [#121](https://github.com/request/request/pull/121) Another patch for cookie handling regression (@jhurliman)
475
- [#117](https://github.com/request/request/pull/117) Remove the global `i` (@3rd-Eden)
476
- [#110](https://github.com/request/request/pull/110) Update to Iris Couch URL (@jhs)
477
- [#86](https://github.com/request/request/pull/86) Can't post binary to multipart requests (@developmentseed)
478
- [#105](https://github.com/request/request/pull/105) added test for proxy option. (@dominictarr)
479
- [#102](https://github.com/request/request/pull/102) Implemented cookies - closes issue 82: https://github.com/mikeal/request/issues/82 (@alessioalex)
480
- [#97](https://github.com/request/request/pull/97) Typo in previous pull causes TypeError in non-0.5.11 versions (@isaacs)
481
- [#96](https://github.com/request/request/pull/96) Authless parsed url host support (@isaacs)
482
- [#81](https://github.com/request/request/pull/81) Enhance redirect handling (@danmactough)
483
- [#78](https://github.com/request/request/pull/78) Don't try to do strictSSL for non-ssl connections (@isaacs)
484
- [#76](https://github.com/request/request/pull/76) Bug when a request fails and a timeout is set (@Marsup)
485
- [#70](https://github.com/request/request/pull/70) add test script to package.json (@isaacs, @aheckmann)
486
- [#73](https://github.com/request/request/pull/73) Fix #71 Respect the strictSSL flag (@isaacs)
487
- [#69](https://github.com/request/request/pull/69) Flatten chunked requests properly (@isaacs)
488
- [#67](https://github.com/request/request/pull/67) fixed global variable leaks (@aheckmann)
489
- [#66](https://github.com/request/request/pull/66) Do not overwrite established content-type headers for read stream deliver (@voodootikigod)
490
- [#53](https://github.com/request/request/pull/53) Parse json: Issue #51 (@benatkin)
491
- [#45](https://github.com/request/request/pull/45) Added timeout option (@mbrevoort)
492
- [#35](https://github.com/request/request/pull/35) The "end" event isn't emitted for some responses (@voxpelli)
493
- [#31](https://github.com/request/request/pull/31) Error on piping a request to a destination (@tobowers)