Repository navigation
Bump Refit and Refit.HttpClientFactory - #566
Merged
Merged
Conversation
Bumps Refit from 16.3.0 to 16.4.0 Bumps Refit.HttpClientFactory from 16.3.0 to 16.4.0 --- updated-dependencies: - dependency-name: Refit dependency-version: 16.4.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Refit.HttpClientFactory dependency-version: 16.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/nuget/multi-e4532b208f
branch
from
November 1, 2026 20:03
bca5f06 to
70024e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pinned Refit at 16.4.0.
Release notes
Sourced from Refit's releases.
16.4.0
Summary
Refit 16.4.0 adds opt-in HTTP-aware retries, new query naming and relative URL options, and fixes for parameter binding and response handling. Existing clients keep their current behavior unless you enable the new options.
HTTP-aware retries
HttpRetryHandlerworks with Refit clients and ordinaryHttpClientcalls. It needs no extra resilience package or changes to your API interface.HttpRequestException. A 403 retries only when the configured delay reader finds a valid timing hint.Retry-Afterheaders.RetryDelayProviders.Azure,.Aws,.GitHuband.Jiraalso read provider-specific timing headers. Custom readers can useReadHeaderwith seconds, milliseconds, Unix timestamps or date formats.RetryJitterMode.Symmetric.MaxDelayreturns the response rather than retrying too early.ServerDelayJitterRatiocan add a small positive variation to a server delay.Quick start
Put the retry handler in the client's handler chain, then create your Refit client as usual:
IGitHubApiis your existing Refit interface. OmitDelayProviderto use standardRetry-Afterhandling. WithRefit.HttpClientFactory, register a fresh handler for the client:Set
MaxRetries = 0to disable retries. UseShouldRetryto replace the response rules, andBaseDelay/MaxDelayto tune waits. POST, PUT, PATCH and DELETE requireRetryUnsafeMethods = true; enable this only when replay is safe for the endpoint, such as when it supports an idempotency key. Avoid unbounded streaming uploads and stacking this handler with another retry strategy.... (truncated)
Commits viewable in compare view.
Pinned Refit.HttpClientFactory at 16.4.0.
Release notes
Sourced from Refit.HttpClientFactory's releases.
16.4.0
Summary
Refit 16.4.0 adds opt-in HTTP-aware retries, new query naming and relative URL options, and fixes for parameter binding and response handling. Existing clients keep their current behavior unless you enable the new options.
HTTP-aware retries
HttpRetryHandlerworks with Refit clients and ordinaryHttpClientcalls. It needs no extra resilience package or changes to your API interface.HttpRequestException. A 403 retries only when the configured delay reader finds a valid timing hint.Retry-Afterheaders.RetryDelayProviders.Azure,.Aws,.GitHuband.Jiraalso read provider-specific timing headers. Custom readers can useReadHeaderwith seconds, milliseconds, Unix timestamps or date formats.RetryJitterMode.Symmetric.MaxDelayreturns the response rather than retrying too early.ServerDelayJitterRatiocan add a small positive variation to a server delay.Quick start
Put the retry handler in the client's handler chain, then create your Refit client as usual:
IGitHubApiis your existing Refit interface. OmitDelayProviderto use standardRetry-Afterhandling. WithRefit.HttpClientFactory, register a fresh handler for the client:Set
MaxRetries = 0to disable retries. UseShouldRetryto replace the response rules, andBaseDelay/MaxDelayto tune waits. POST, PUT, PATCH and DELETE requireRetryUnsafeMethods = true; enable this only when replay is safe for the endpoint, such as when it supports an idempotency key. Avoid unbounded streaming uploads and stacking this handler with another retry strategy.... (truncated)
Commits viewable in compare view.