All Versions
121
Latest Version
Avg Release Cycle
37 days
Latest Release
1480 days ago

Changelog History
Page 5

  • v3.0.0 Changes

    November 19, 2016
    • ⬆️ Dropped support for Node 0.x. Please upgrade to at least Node 4.
    • ⬇️ Dropped support for componentjs (Damien Caselli)
    • ✂ Removed deprecated .part()/superagent.Part APIs.
    • ✂ Removed unreliable .body property on internal response object used by unbuffered parsers. Note: the normal response.body is unaffected.
    • Multiple .send() calls mixing Buffer/Blob and JSON data are not possible and will now throw instead of messing up the data.
    • 👌 Improved .send() data object type check (Fernando Mendes)
    • ➕ Added common prototype for Node and browser versions (Andreas Helmberger)
    • ➕ Added http+unix: schema to support Unix sockets (Yuki KAN)
    • ➕ Added full attach options parameter in the Node version (Lapo Luchini)
    • ➕ Added pfx TLS option with new pfx() method. (Reid Burke)
    • Internally changed .on to .once to prevent possible memory leaks (Matt Blair)
    • Made all errors reported as an event (Kornel Lesiński)
  • v2.3.0 Changes

    September 20, 2016
    • Enabled .field() to handle objects (Affan Shahid)
    • ➕ Added authentication with client certificates (terusus)
    • ➕ Added .catch() for more Promise-like interface (Maxim Samoilov, Kornel Lesiński)
    • 💻 Silenced errors from incomplete gzip streams for compatibility with web browsers (Kornel Lesiński)
    • 🛠 Fixed event.direction in uploads (Kornel Lesiński)
    • 🛠 Fixed returned value of overwritten response object's on() method (Juan Dopazo)
  • v2.2.0 Changes

    August 13, 2016
    • ➕ Added timedout property to node Request instance (Alexander Pope)
    • 💻 Unified null querystring values in node and browser environments. (George Chung)
  • v2.1.0 Changes

    June 14, 2016
    • 🔨 Refactored async parsers. Now the end callback waits for async parsers to finish (Kornel Lesiński)
    • Errors thrown in .end() callback don't cause the callback to be called twice (Kornel Lesiński)
    • ➕ Added headers to toJSON() (Tao)
  • v2.0.0 Changes

    May 29, 2016

    💥 Breaking changes

    💥 Breaking changes are in rarely used functionality, so we hope upgrade will be smooth for most users.

    • 📜 Browser: The .parse() method has been renamed to .serialize() for consistency with NodeJS version.
    • 📜 Browser: Query string keys without a value used to be parsed as 'undefined', now their value is '' (empty string) (shura, Kornel Lesiński).
    • NodeJS: The redirect event is called after new query string and headers have been set and is allowed to override the request URL (Kornel Lesiński)
    • .then() returns a real Promise. Note that use of superagent with promises now requires a global Promise object. If you target Internet Explorer or Node 0.10, you'll need require('es6-promise').polyfill() or similar.
    • ⬆️ Upgraded all dependencies (Peter Lyons)
    • 🛠 Renamed properties documented as @api private to have _prefixed names (Kornel Lesiński)

    Probably not breaking changes:

    • Extracted common functions to request-base (Peter Lyons)
    • 🛠 Fixed race condition in pipe tests (Peter Lyons)
    • 🖐 Handle FormData error events (scriptype)
    • 🛠 Fixed wrong jsdoc of Request#attach (George Chung)
    • ⚡️ Updated and improved tests (Peter Lyons)
    • 👍 request.head() supports .redirects(5) call (Kornel Lesiński)
    • response event is also emitted when using .pipe()
  • v1.8.2 Changes

    March 20, 2016
    • 🛠 Fixed handling of HTTP status 204 with content-encoding: gzip (Andrew Shelton)
    • Handling of FormData error events (scriptype)
    • 🛠 Fixed parsing of vnd+json MIME types (Kornel Lesiński)
    • 📜 Aliased browser implementation of .parse() as .serialize() for forward compatibility
  • v1.8.1 Changes

    March 14, 2016
    • 🛠 Fixed form-data incompatibility with IE9
  • v1.8.0 Changes

    March 09, 2016
    • Extracted common code into request-base class (Peter Lyons)
      • It does not affect the public API, but please let us know if you notice any plugins/subclasses breaking!
    • ➕ Added option {type:'auto'} to auth method, which enables browser-native auth types (Jungle, Askar Yusupov)
    • ➕ Added responseType() to set XHR responseType (chris)
    • 💻 Switched to form-data for browserify-compatible FormData (Peter Lyons)
    • ➕ Added statusCode to error response when JSON response is malformed (mattdell)
    • ✅ Prevented TCP port conflicts in all tests (Peter Lyons)
    • ⚡️ Updated form-data dependency
  • v1.7.2 Changes

    January 26, 2016
    • 🛠 Fix case-sensitivity of header fields introduced by a4ddd6a. (Edward J. Jinotti)
    • ⬆️ bump extend dependency, as former version did not contain any license information (Lukas Eipert)
  • v1.7.1 Changes

    January 21, 2016
    • 🛠 Fixed a conflict with express when using npm 3.x (Glenn)
    • 🛠 Fixed redirects after a multipart/form-data POST request (cyclist2)