Skip to content

fix(deps): update dependency http to v1 #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2023

This PR contains the following updates:

Package Update Type Change Package file References
http (source) major dependencies ^0.12.0+2 -> ^1.0.0 pubspec.yaml source

Release Notes

dart-lang/http (http)

v1.2.2

Compare Source

  • Require package web: '>=0.5.0 <2.0.0'.

v1.2.1

  • Require Dart ^3.3
  • Require package:web ^0.5.0.

v1.2.0

  • Add MockClient.pngResponse, which makes it easier to fake image responses.
  • Added the ability to fetch the URL of the response through BaseResponseWithUrl.
  • Add the ability to get headers as a Map<String, List<String> to
    BaseResponse.

v1.1.2

Compare Source

  • Allow web: '>=0.3.0 <0.5.0'.

v1.1.1

Compare Source

  • BrowserClient throws ClientException when the 'Content-Length' header
    is invalid.
  • IOClient trims trailing whitespace on header values.
  • Require Dart 3.2
  • Browser: support Wasm by using package:web.

v1.1.0

  • Add better error messages for SocketExceptions when using IOClient.
  • Make StreamedRequest.sink a StreamSink. This makes request.sink.close()
    return a Future instead of void, but the returned future should not be
    awaited. The Future returned from sink.close() may only complete after the
    request has been sent.

v1.0.0

  • Requires Dart 3.0 or later.
  • Add base, final, and interface modifiers to some classes.

v0.13.6

  • BrowserClient throws an exception if send is called after close.
  • If no_default_http_client=true is set in the environment then disk usage
    is reduced in some circumstances.
  • Require Dart 2.19

v0.13.5

  • Allow async callbacks in RetryClient.
  • In MockHttpClient use the callback returned Response.request instead of
    the argument value to give more control to the callback. This may be breaking
    for callbacks which return incomplete Responses and relied on the default.

v0.13.4

Compare Source

  • Throw a more useful error when a client is used after it has been closed.
  • Require Dart 2.14.

v0.13.3

Compare Source

  • Validate that the method parameter of BaseRequest is a valid "token".

v0.13.2

  • Add package:http/retry.dart with RetryClient. This is the same
    implementation as package:http_retry which will be discontinued.

v0.13.1

  • Fix code samples in README to pass a Uri instance.

v0.13.0

Compare Source

  • Migrate to null safety.
  • Add const constructor to ByteStream.
  • Migrate BrowserClient from blob to arraybuffer.
  • Breaking All APIs which previously allowed a String or Uri to be
    passed now require a Uri.
  • Breaking Added a body and encoding argument to Client.delete. This
    is only breaking for implementations which override that method.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented May 29, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade http
The lower bound of "sdk: '>=2.2.2 <3.0.0'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.0.2) only supports null safety.

For details, see https://dart.dev/null-safety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants