Skip to content
This repository was archived by the owner on Jul 16, 2019. It is now read-only.

Conversation

@dependabot-preview
Copy link

Bumps got from 8.0.1 to 9.2.0.

Release notes

Sourced from got's releases.

v9.2.0

sindresorhus/got@v9.1.0...v9.2.0

v9.1.0

  • Add got.mergeInstances() which lets you easily compose multiple instances of Got into a single one. It's like plugins without any of the plugin mess. (#510) f0b190a
  • Normalize the URL in the baseUrl option. (#579) c901c46
  • Follow redirects with encoded URI. (#564) 3d98b9b
  • Allow the query option to be a URLSearchParams instance. (#565) b8a086f
  • Support retrying on 500 HTTP status code. a3e77de
  • Bump get-stream to 0.4.0 for improved handling of stream edge-cases. (#578) 45d3a60
  • Normalize the casing of the method option. (#547) ecf3180
  • Fix the agent option with got.extend(). (#577) 2ffcd49
  • Fix throwing errors when using got.stream(). (#550) ae5b114
  • Ignore empty query objects. (#572) eb652f8

sindresorhus/got@v9.0.0...v9.1.0

v9.0.0

Got version 9 is a massive release! Many new awesome features and we have pretty much fixed all the open issues regarding Got bugs on the issue tracker.

Got is a human-friendly and powerful HTTP request library for Node.js

Breaking changes

  • Requires Node.js 8.
    You might ask, why not follow the Node.js LTS cycle and target Node.js 6. In short, async/await and WHATWG URL, which enabled us to simplify the codebase and reduce the dependency-tree considerably. Got v8 is a stable release, and you can continue using that if you need to support Node.js 6.
  • The retry functionality was rewritten to improve its reliability and to support retrying on HTTP status codes. Previously, it only retried on some network failures. sindresorhus/got@98b5664
    The option was renamed from retries to retry and it now accepts either a number of retries or an object with the ability to specify the number of retries, HTTP status codes and methods to retry on, and a function to decide how to retry. See the docs for more.
    Migration:
    - { retries: 4 }{ retry: 4 }
    - { retries: () => { … } }{ retry: { retries: () => { … } } }
  • Renamed the .canceled property to .isCanceled. sindresorhus/got@00fdeea
  • Dropped support for the body option being an Array when form: true. sindresorhus/got@dfe5b1c
    The built-in new URLSearchParams() API doesn't support this either and it's a weird use-case. If you need support for this, just don't set form: true and handle stringifying yourself.
  • Got throws an error if .pipe() was called after the response has been emitted.
    This makes us sure you receive whole response in case flowing mode is on (#223).

Improvements

  • Fewer dependencies and smaller install size!
    • Got v9: install size
... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [got](https://github.com/sindresorhus/got) from 8.0.1 to 9.2.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v8.0.1...v9.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@holvonix-bot
Copy link
Contributor

[task] 📙 👉 @holvonixAdvay please review

@codecov
Copy link

codecov bot commented Sep 3, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@4b5520d). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master     #92   +/-   ##
========================================
  Coverage          ?   63.6%           
========================================
  Files             ?       1           
  Lines             ?     261           
  Branches          ?       0           
========================================
  Hits              ?     166           
  Misses            ?      95           
  Partials          ?       0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b5520d...60adccb. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #94.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/got-9.2.0 branch September 7, 2018 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants