Skip to content
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

Bump dio and http_interceptor #1

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 21, 2023

Bumps dio and http_interceptor. These dependencies needed to be updated together.
Updates dio from 3.0.8 to 5.0.3

Release notes

Sourced from dio's releases.

dio 5.0.3

What's new

  • Imply List<Map> as JSON content in ImplyContentTypeInterceptor.
  • Fix FormData encoding for collections and objects.

dio 5.0.2

What's new

  • Improve code formats according to linter rules.
  • Remove the force conversion for the response body.
  • Fix DioErrorType.cancel in Interceptors.
  • Fix wrong encoding of collection query parameters.
  • Fix "unsupported operation" error on web platform.

dio 5.0.1

What's new

  • Add ImplyContentTypeInterceptor as a default interceptor.
  • Add Headers.multipartFormDataContentType for headers usage.
  • Fix variable shadowing of withCredentials in browser_adapers.dart.
Commits

Updates http_interceptor from 0.1.1 to 1.0.2

Release notes

Sourced from http_interceptor's releases.

1.0.2

📖 Changed: example project to showcase RetryPolicy usage. 🐞 Fixed: parameters were missing in requests of type POST, PUT, PATCH, and DELETE. 🐞 Fixed: int or other non-string parameters are not being added to request. Thanks to @ Contributor meysammahfouzi 🐞 Fixed: body is not sent in delete requests despite being accepted as parameter. Thanks to @​MaciejZuk

1.0.1

  • ✨  Changed: ResponseData now has request to allow checking on the request that triggered the response. Thanks to @​II11II
  • 🐞  Fixed: Use queryParametersAll when creating RequestData. Thanks to @​Mawi137
  • 📖  Fixed: README to include required keywords needed. Thanks to @​meysammahfouzi
  • 🚦  Tests: Improved testing and documentation.

1.0.0

Check out the 1.0.0 migration guide for information on how to migrate your code.

  • ❗️🛠  Changed: Renamed HttpClientWithInterceptor to InterceptedClient.
  • ❗️🛠  Changed: Renamed HttpWithInterceptor to InterceptedHttp.
  • ❗️🛠  Removed: badCertificateCallback from InterceptedClient and InterceptedHttp in order to fully support Flutter Web 🌐 . In order to use refer to the migration guide.
  • ✨  Added: Array parameters on RequestData following a similar principle than http's queryParametersAll .
  • ✨  Changed: ResponseData now has bodyBytes to allow encoding or decoding in the format desired.
  • ✨  Changed: Migrated tests to use test package instead of flutter_test.
  • ✨  Changed: More tests and coverage, this is a work in progress.
  • 🗑   Removed: Package no longer depends on Flutter, which means that it can be used with standalone Dart projects.

0.4.1

  • 🛠  Changed: Pre initialized headers and params on RequestData. This was a missed change on null-safety migration.

0.4.0

Check out our 0.4.0 migration guide for information on how to migrate your code.

  • ❗️✨  Added: String extension to allow toUri() usage when importing the library. Since http dropped support for string url usage and since Dart does not yet support function overloading, we had to implement an alternative through extensions.
  • ✨  Added: Flutter web support 🌐   (badCertificateCallback and findProxy features are not supported on Flutter Web due to browser limitations)
  • 🛠  Changed: Upgraded http to 0.13.0.
  • 🛠  Changed: Upgraded effective_dart to 1.3.0.
  • 🛠  Changed: Upgraded Dart sdk to >=2.12.0 <3.0.0. (Yay! Sound null safety! 🎉)
  • 🗑  Removed: meta is removed since Dart's null safety now covers all uses inside this plugin

0.3.3

  • Changed: Plugin no longer depends on the flutter/foundation.dart, instead it uses meta plugin which allows for usage on non flutter environments.
  • Changed: README now features a contribution and a roadmap sections for improving visibility on the project's future.
  • Changed: badCertificateCallback is now available to use without the experimental tag.

0.3.2

📝 Changelog

  • Changed: Example now showcases exception handling.
  • Changed: README now showcases exception handling.
  • Fixed: Interceptor no longer using custom exceptions, instead it rethrows in the case that the retry policy is not set or if it has reached max attempts.

0.3.1

... (truncated)

Changelog

Sourced from http_interceptor's changelog.

1.0.2

  • 📖  Changed: example project to showcase RetryPolicy usage.
  • 🐞  Fixed: parameters were missing in requests of type POST, PUT, PATCH, and DELETE.
  • 🐞  Fixed: int or other non-string parameters are not being added to request. Thanks to @​meysammahfouzi
  • 🐞  Fixed: body is not sent in delete requests despite being accepted as parameter. Thanks to @​MaciejZuk

1.0.1

  • ✨  Changed: ResponseData now has request to allow checking on the request that triggered the response. Thanks to @​II11II
  • 🐞  Fixed: Use queryParametersAll when creating RequestData. Thanks to @​Mawi137
  • 📖  Fixed: README to include required keywords needed. Thanks to @​meysammahfouzi
  • 🚦  Tests: Improved testing and documentation.

1.0.0

Check out the 1.0.0 migration guide for information on how to migrate your code.

  • ❗️🛠  Changed: Renamed HttpClientWithInterceptor to InterceptedClient.
  • ❗️🛠  Changed: Renamed HttpWithInterceptor to InterceptedHttp.
  • ❗️🛠  Removed: badCertificateCallback from InterceptedClient and InterceptedHttp in order to fully support Flutter Web 🌐 . In order to use refer to the migration guide.
  • ✨  Added: Array parameters on RequestData following a similar principle than http's queryParametersAll .
  • ✨  Changed: ResponseData now has bodyBytes to allow encoding or decoding in the format desired.
  • ✨  Changed: Migrated tests to use test package instead of flutter_test.
  • ✨  Changed: More tests and coverage, this is a work in progress.
  • 🗑  Removed: Package no longer depends on Flutter, which means that it can be used with standalone Dart projects.

0.4.1

  • 🛠  Changed: Pre initialized headers and params on RequestData. This was a missed change on null-safety migration.

0.4.0

Check out our 0.4.0 migration guide for information on how to migrate your code.

  • ❗️✨  Added: String extension to allow toUri() usage when importing the library. Since http dropped support for string url usage and since Dart does not yet support function overloading, we had to implement an alternative through extensions.
  • ✨  Added: Flutter web support 🌐   (badCertificateCallback and findProxy features are not supported on Flutter Web due to browser limitations)
  • 🛠  Changed: Upgraded http to 0.13.0.
  • 🛠  Changed: Upgraded effective_dart to 1.3.0.
  • 🛠  Changed: Upgraded Dart sdk to >=2.12.0 <3.0.0. (Yay! Sound null safety! 🎉)
  • 🗑  Removed: meta is removed since Dart's null safety now covers all uses inside this plugin

0.3.3

  • 🛠  Changed: Plugin no longer depends on the flutter/foundation.dart, instead it uses meta plugin which allows for usage on non flutter environments.
  • 🛠  Changed: README now features a contribution and a roadmap sections for improving visibility on the project's future.
  • 🛠  Changed: badCertificateCallback is now available to use without the experimental tag.

0.3.2

... (truncated)

Commits

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 recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [dio](https://github.com/cfug/dio) and [http_interceptor](https://github.com/CodingAleCR/http_interceptor). These dependencies needed to be updated together.

Updates `dio` from 3.0.8 to 5.0.3
- [Release notes](https://github.com/cfug/dio/releases)
- [Commits](cfug/dio@3.0.8...dio_v5.0.3)

Updates `http_interceptor` from 0.1.1 to 1.0.2
- [Release notes](https://github.com/CodingAleCR/http_interceptor/releases)
- [Changelog](https://github.com/CodingAleCR/http_interceptor/blob/main/CHANGELOG.md)
- [Commits](CodingAleCR/http_interceptor@0.1.1...1.0.2)

---
updated-dependencies:
- dependency-name: dio
  dependency-type: direct:production
- dependency-name: http_interceptor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants