Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Conversation

@doppins-bot
Copy link
Contributor

Hi!

A new version was just released of superagent, so Doppins
has upgraded your project's dependency ranges.

Make sure that it doesn't break anything, and happy merging! :shipit:


Upgraded superagent from ^1.2.0 to ^2.1.0

Changelog:

Version 2.0.0

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() to avoid inconsistency with NodeJS version (v1.8.3 supports .serialize() too)
  • 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 privateto 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)

Version 2.1.0

  • Wait for async parsers to avoid double callback (Kornel Lesiński)
  • DRY parser selection and response creation code (Kornel Lesiński)
  • Treat multipart like other parsers (Kornel Lesiński)
  • Errors thrown in .end() callback don't cause the callback to be called twice (Kornel Lesiński)

Version 2.0.0

@doppins-bot
Copy link
Contributor Author

An additional new version was just released of superagent, so we've added an
extra commit upgrading your range to ^2.2.0.

Hope that's alright!
Doppins

@doppins-bot doppins-bot changed the title [Doppins] Upgrade dependency superagent to ^2.1.0 [Doppins] Upgrade dependency superagent to ^2.2.0 Aug 24, 2016
@doppins-bot
Copy link
Contributor Author

An additional new version was just released of superagent, so we've added an
extra commit upgrading your range to ^2.3.0.

Hope that's alright!
Doppins

@doppins-bot doppins-bot changed the title [Doppins] Upgrade dependency superagent to ^2.2.0 [Doppins] Upgrade dependency superagent to ^2.3.0 Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants