Skip to content

Commit

Permalink
Bump Flurl from 3.0.7 to 4.0.0 (#661)
Browse files Browse the repository at this point in the history
Bumps [Flurl](https://github.com/tmenier/Flurl) from 3.0.7 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tmenier/Flurl/releases">Flurl's
releases</a>.</em></p>
<blockquote>
<h2>Flurl.Http 4.0.0</h2>
<p>This is a significant release with many breaking changes. Please read
carefully. An <a href="https://flurl.dev/docs/upgrade/">upgrade
guide</a> has also been added to the documentation.</p>
<h3>Big stuff, all <em>BREAKING</em>:</h3>
<ul>
<li>Removed dependency on <code>Newtonsoft.Json</code> in favor of
<code>System.Text.Json</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/517">#517</a>)
<ul>
<li><em>Rather stick with Newtonsoft? Try the new <a
href="https://www.nuget.org/packages/Flurl.Http.Newtonsoft">Flurl.Http.Newtonsoft</a>
companion package</em></li>
</ul>
</li>
<li>Removed all non-generic, <code>dynamic</code>-returning JSON methods
(<a
href="https://redirect.github.com/tmenier/Flurl/issues/699">#699</a>)
<ul>
<li><em><a
href="https://www.nuget.org/packages/Flurl.Http.Newtonsoft">Flurl.Http.Newtonsoft</a>
also brings these back.</em></li>
</ul>
</li>
<li>Huge overhaul of Flurl's configuration system to make it more fluent
and more DI-friendly (<a
href="https://redirect.github.com/tmenier/Flurl/issues/770">#770</a>)
<ul>
<li>&quot;Factories&quot; are removed, replaced by fluent configuration
of HttpClient and HttpMessageHandlers</li>
<li><code>FlurlHttp</code> static object completely overhauled, now
mostly just responsible for client caching associated with
&quot;clientless&quot; usage pattern</li>
<li><code>Configure</code> and <code>ConfigureRequest</code> methods
renamed to <code>WithSettings</code></li>
</ul>
</li>
<li>Overhaul of Event Handlers (<a
href="https://redirect.github.com/tmenier/Flurl/issues/784">#784</a>)
<ul>
<li>No longer available on <code>Settings</code></li>
<li>Fluent extension methods still work</li>
</ul>
</li>
</ul>
<h3>Smaller stuff, all <em>BREAKING</em>:</h3>
<ul>
<li><code>Settings.ConnectionLeaseTimeout</code> removed (<a
href="https://redirect.github.com/tmenier/Flurl/issues/703">#703</a>)</li>
<li><code>WithClient</code> extension methods removed (<a
href="https://redirect.github.com/tmenier/Flurl/issues/590">#590</a>)</li>
<li><code>CancellationToken</code> moved to last arg everywhere that it
isn't (<a
href="https://redirect.github.com/tmenier/Flurl/issues/702">#702</a>)</li>
<li><code>AllowHttpStatus</code> now takes <code>int</code> instead of
<code>HttpStatusCode</code> args (<a
href="https://redirect.github.com/tmenier/Flurl/issues/785">#785</a>)</li>
<li><code>GetStreamAsync</code> defaults to unbuffered behavior (<a
href="https://redirect.github.com/tmenier/Flurl/issues/630">#630</a>)</li>
<li><code>IFlurlClient.Settings</code> and
<code>IFlurlRequest.Settings</code> container objects are read-only</li>
<li><code>IFlurlClient.HttpMessageHandler</code> removed</li>
<li><code>FlurlCall.RedirectedFrom</code> moved to
<code>IFlurlRequest</code> (accessible via
<code>FlurlCall.Request.RedirectedFrom</code>)</li>
<li><code>FlurlResponse</code> ctor takes a <code>FlurlCall</code>
instead of an <code>HttpResponseMessage</code></li>
<li><code>FlurlRequest.Client</code> is no longer instantiated on demand
by just referencing the property. If it hasn't been set explicitly, or
(more common) by calling <code>FlurlClient.Request</code>, it will
remain null until the request is sent</li>
<li><code>IHttpSettingsContainer</code> renamed to
<code>ISettingsContainer</code>, and its <code>Headers</code> property
moved to (new) <code>IHeadersContainer</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/773">#773</a>)</li>
<li><code>FakeHttpMessageHandler</code>,
<code>TestHttpClientFactory</code>, and
<code>TestFlurlHttpSettings</code> types all <a
href="https://redirect.github.com/tmenier/Flurl/issues/683#issuecomment-1363411919">removed</a></li>
</ul>
<h3>Non-breaking enhancements and bug fixes:</h3>
<ul>
<li><a
href="https://redirect.github.com/tmenier/Flurl/issues/758#issuecomment-1726438821">First-class
support</a> for persisting and restoring <code>CookieJar</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/758">#758</a>)</li>
<li>HTTP 2.0 support via <code>Settings.HttpVersion</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/639">#639</a>)</li>
<li><code>AllowRealHttp</code> now reverts to original HttpClient,
eliminating certain quirks (<a
href="https://redirect.github.com/tmenier/Flurl/issues/683">#683</a>)</li>
<li>Flurl no longer disposes request message automatically, per best
practices (<a
href="https://redirect.github.com/tmenier/Flurl/issues/650">#650</a>)</li>
<li>Removed circular redirect detection (<a
href="https://redirect.github.com/tmenier/Flurl/issues/714">#714</a>)</li>
<li>Bugfix: <code>ShouldHaveCalled</code> false negative with URL ending
with <code>?</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/721">#721</a>)</li>
<li>Bugfix: extra space added to Content-Type headers (<a
href="https://redirect.github.com/tmenier/Flurl/issues/740">#740</a>)</li>
</ul>
<h2>Flurl 4.0.0</h2>
<ul>
<li><code>AppendQueryParams</code> method/overloads (<a
href="https://redirect.github.com/tmenier/Flurl/issues/688">#688</a>),
thx <a
href="https://github.com/Marusyk"><code>@​Marusyk</code></a>!</li>
<li>BUGFIX: <code>SetQueryParams</code> with collection, duplicate keys
should append not overwrite (<a
href="https://redirect.github.com/tmenier/Flurl/issues/370">#370</a>)</li>
<li>BUGFIX: False negatives with <code>Url.IsValid</code> (<a
href="https://redirect.github.com/tmenier/Flurl/issues/462">#462</a>)</li>
</ul>
<h2>Flurl.Http 4.0.0-pre7</h2>
<ul>
<li><em>BREAKING</em>: Event handler changes (<a
href="https://redirect.github.com/tmenier/Flurl/issues/784">#784</a>)</li>
<li><em>BREAKING</em>: <code>AllowHttpStatus</code> now takes
<code>int</code> instead of <code>HttpStatusCode</code> args (<a
href="https://redirect.github.com/tmenier/Flurl/issues/785">#785</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tmenier/Flurl/commit/e620fabf75cf4e358b3030dfcc64cef4e0987daf"><code>e620fab</code></a>
revert Version -&gt; PackageVersion rename</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/1f3fd3d6f3dbc2d04b01aef39a572ad4c7eacd36"><code>1f3fd3d</code></a>
4.0!</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/b508e6947b8114df8528264cfad6e096e186a99e"><code>b508e69</code></a>
readme tweaks</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/7314cf3956ba5452315502cf84f5fca8f5fdf78b"><code>7314cf3</code></a>
<a href="https://redirect.github.com/tmenier/Flurl/issues/770">#770</a>
remove potentially confusing IFlurlClientCache.Add overload</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/ad461510b164b5361def40461e9ed99a0504febc"><code>ad46151</code></a>
coverlet complaining again</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/bd175715c4dbc3b1170cd18a9423d236888a221e"><code>bd17571</code></a>
Newtonsoft readme</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/d0a43cf042ab4044148db6fc5cd154a9b378dad3"><code>d0a43cf</code></a>
get error response as dynamic with Newtonsoft</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/4361a2d9fd7c082bc6a8585e7508bfdea2f93057"><code>4361a2d</code></a>
Flurl.Http pre version bump</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/439afe952275d4d13ecf1483d415d83c19477937"><code>439afe9</code></a>
<a href="https://redirect.github.com/tmenier/Flurl/issues/778">#778</a>
DefautRequestHeaders sync bug</li>
<li><a
href="https://github.com/tmenier/Flurl/commit/d9924c4012de89e07fa8fb15edebf591acb1ca44"><code>d9924c4</code></a>
<a href="https://redirect.github.com/tmenier/Flurl/issues/785">#785</a>
AllowHttpStatus should take int[]</li>
<li>Additional commits viewable in <a
href="https://github.com/tmenier/Flurl/compare/Flurl.3.0.7...Flurl.4.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Flurl&package-manager=nuget&previous-version=3.0.7&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 8, 2024
1 parent 9bd78d6 commit 404cc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spd.Utilities.Address/Spd.Utilities.Address.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Flurl" Version="3.0.7" />
<PackageReference Include="Flurl" Version="4.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
Expand Down

0 comments on commit 404cc7b

Please sign in to comment.