Skip to content

Bump Refit.HttpClientFactory from 17.0.0 to 17.1.0 - #539

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/nuget/samples/CommunityToolkit.Maui.Markup.Sample/Refit.HttpClientFactory-17.1.0
Nov 30, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/nuget/samples/CommunityToolkit.Maui.Markup.Sample/Refit.HttpClientFactory-17.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Updated Refit.HttpClientFactory from 17.0.0 to 17.1.0.

Release notes

Sourced from Refit.HttpClientFactory's releases.

17.1.0

✨ Summary

No reflection in core Refit

Refit.Reflection now handles values that are only known at run time, such as object, interface, recursive and derived types. If nothing else loads that package, register it once at startup:

using Refit;

ReflectionSupport.EnsureRegistered();

public interface IEventsApi
{
    [Post("/events")]
    Task Send([Body(BodySerializationMethod.UrlEncoded)] object payload);
}

More generated at compile time

[EnumMember] names and nested, collection and dictionary form bodies are now generated, and form bodies of these shapes are 1.5 to 2.5 times faster:

public enum Status
{
    [EnumMember(Value = "in-progress")]
    InProgress,
}

public sealed class OrderForm
{
    public Status Status { get; set; }
    public Address Shipping { get; set; } = new();
    public Dictionary<string, int> Lines { get; set; } = [];
}

public interface IOrdersApi
{
    [Post("/orders")]
    Task Create([Body(BodySerializationMethod.UrlEncoded)] OrderForm form);
}

Typed JSON replies in Refit.Testing

Stub replies can use source-generated JSON metadata, so tests work with trimming and Native AOT:

stub.Add(Route.Get("/people/1"), Reply.With(person, TestingJsonContext.Default.TestingPerson));
stub.Add(Route.Post("/people"), Reply.With(person, TestingJsonContext.Default.TestingPerson, HttpStatusCode.Created));
 ... (truncated)

Commits viewable in [compare view](https://github.com/reactiveui/refit/compare/v17.0.0...v17.1.0).
</details>

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Refit.HttpClientFactory&package-manager=nuget&previous-version=17.0.0&new-version=17.1.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 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>

---
updated-dependencies:
- dependency-name: Refit.HttpClientFactory
  dependency-version: 17.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Nov 30, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 30, 2026 17:55
@github-actions
github-actions Bot merged commit 789012f into main Nov 30, 2026
10 checks passed
@github-actions
github-actions Bot deleted the dependabot/nuget/samples/CommunityToolkit.Maui.Markup.Sample/Refit.HttpClientFactory-17.1.0 branch November 30, 2026 18:06
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.

0 participants