Skip to content

Commit da62bb6

Browse files
committed
Merge commit 'ec4b28d83ef6d22deca08250e5fcfd67ae0da9ef'
* commit 'ec4b28d83ef6d22deca08250e5fcfd67ae0da9ef': Changelog Bump
2 parents ec987f6 + ec4b28d commit da62bb6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

History.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 4.0.0
2+
3+
## Breaking changes
4+
5+
* Node.js v4 has reached it's end of life, so we no longer support it. It's v6+ or later.
6+
* We now use ES6 in the browser code, too.
7+
* If you're using Browserify or Webpack to package code for Internet Explorer, you will also have to use Babel.
8+
* The pre-built node_modules/superagent.js is still ES5-compatible.
9+
10+
## Minor changes
11+
12+
* Throw if `req.abort().end()` is called
13+
* Throw if using unsupported mix of send and field
14+
* Reject `.end()` promise on all error events (Kornel Lesiński)
15+
* Set `https.servername` from the `Host` header (Kornel Lesiński)
16+
* Leave backticks unencoded in query strings where possible (Ethan Resnick)
17+
* Update node-mime to 2.x (Alexey Kucherenko)
18+
* Allow default buffer settings based on response-type (shrey)
19+
20+
# 3.8.3 (2018-04-29)
21+
22+
* Add flags for 201 & 422 responses (Nikhil Fadnis)
23+
* Emit progress event while uploading Node `Buffer` via send method (Sergey Akhalkov)
24+
* Fixed setting correct cookies for redirects (Damien Clark)
25+
* Replace .catch with ['catch'] for IE9 Support (Miguel Stevens)
26+
127
# 3.8.2 (2017-12-09)
228

329
* Fixed handling of exceptions thrown from callbacks

0 commit comments

Comments
 (0)