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 Flurl from 3.0.6 to 4.0.0 #292

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps Flurl from 3.0.6 to 4.0.0.

Release notes

Sourced from Flurl's releases.

Flurl.Http 4.0.0

This is a significant release with many breaking changes. Please read carefully. An upgrade guide has also been added to the documentation.

Big stuff, all BREAKING:

  • Removed dependency on Newtonsoft.Json in favor of System.Text.Json (#517)
  • Removed all non-generic, dynamic-returning JSON methods (#699)
  • Huge overhaul of Flurl's configuration system to make it more fluent and more DI-friendly (#770)
    • "Factories" are removed, replaced by fluent configuration of HttpClient and HttpMessageHandlers
    • FlurlHttp static object completely overhauled, now mostly just responsible for client caching associated with "clientless" usage pattern
    • Configure and ConfigureRequest methods renamed to WithSettings
  • Overhaul of Event Handlers (#784)
    • No longer available on Settings
    • Fluent extension methods still work

Smaller stuff, all BREAKING:

  • Settings.ConnectionLeaseTimeout removed (#703)
  • WithClient extension methods removed (#590)
  • CancellationToken moved to last arg everywhere that it isn't (#702)
  • AllowHttpStatus now takes int instead of HttpStatusCode args (#785)
  • GetStreamAsync defaults to unbuffered behavior (#630)
  • IFlurlClient.Settings and IFlurlRequest.Settings container objects are read-only
  • IFlurlClient.HttpMessageHandler removed
  • FlurlCall.RedirectedFrom moved to IFlurlRequest (accessible via FlurlCall.Request.RedirectedFrom)
  • FlurlResponse ctor takes a FlurlCall instead of an HttpResponseMessage
  • FlurlRequest.Client is no longer instantiated on demand by just referencing the property. If it hasn't been set explicitly, or (more common) by calling FlurlClient.Request, it will remain null until the request is sent
  • IHttpSettingsContainer renamed to ISettingsContainer, and its Headers property moved to (new) IHeadersContainer (#773)
  • FakeHttpMessageHandler, TestHttpClientFactory, and TestFlurlHttpSettings types all removed

Non-breaking enhancements and bug fixes:

  • First-class support for persisting and restoring CookieJar (#758)
  • HTTP 2.0 support via Settings.HttpVersion (#639)
  • AllowRealHttp now reverts to original HttpClient, eliminating certain quirks (#683)
  • Flurl no longer disposes request message automatically, per best practices (#650)
  • Removed circular redirect detection (#714)
  • Bugfix: ShouldHaveCalled false negative with URL ending with ? (#721)
  • Bugfix: extra space added to Content-Type headers (#740)

Flurl 4.0.0

  • AppendQueryParams method/overloads (#688), thx @​Marusyk!
  • BUGFIX: SetQueryParams with collection, duplicate keys should append not overwrite (#370)
  • BUGFIX: False negatives with Url.IsValid (#462)

Flurl.Http 4.0.0-pre7

  • BREAKING: Event handler changes (#784)
  • BREAKING: AllowHttpStatus now takes int instead of HttpStatusCode args (#785)

... (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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [Flurl](https://github.com/tmenier/Flurl) from 3.0.6 to 4.0.0.
- [Release notes](https://github.com/tmenier/Flurl/releases)
- [Commits](tmenier/Flurl@Flurl.3.0.6...Flurl.4.0.0)

---
updated-dependencies:
- dependency-name: Flurl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jan 22, 2024
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 .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants