Skip to content

Commit

Permalink
Merge commit 'ec4b28d83ef6d22deca08250e5fcfd67ae0da9ef'
Browse files Browse the repository at this point in the history
* commit 'ec4b28d83ef6d22deca08250e5fcfd67ae0da9ef':
  Changelog
  Bump
  • Loading branch information
kornelski committed Apr 29, 2018
2 parents ec987f6 + ec4b28d commit da62bb6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 4.0.0

## Breaking changes

* Node.js v4 has reached it's end of life, so we no longer support it. It's v6+ or later.
* We now use ES6 in the browser code, too.
* If you're using Browserify or Webpack to package code for Internet Explorer, you will also have to use Babel.
* The pre-built node_modules/superagent.js is still ES5-compatible.

## Minor changes

* Throw if `req.abort().end()` is called
* Throw if using unsupported mix of send and field
* Reject `.end()` promise on all error events (Kornel Lesiński)
* Set `https.servername` from the `Host` header (Kornel Lesiński)
* Leave backticks unencoded in query strings where possible (Ethan Resnick)
* Update node-mime to 2.x (Alexey Kucherenko)
* Allow default buffer settings based on response-type (shrey)

# 3.8.3 (2018-04-29)

* Add flags for 201 & 422 responses (Nikhil Fadnis)
* Emit progress event while uploading Node `Buffer` via send method (Sergey Akhalkov)
* Fixed setting correct cookies for redirects (Damien Clark)
* Replace .catch with ['catch'] for IE9 Support (Miguel Stevens)

# 3.8.2 (2017-12-09)

* Fixed handling of exceptions thrown from callbacks
Expand Down

0 comments on commit da62bb6

Please sign in to comment.