Download Latest Version 14.0.1 source code.zip (1.8 MB)
Email in envelope

Get an email when there's a new version of Refit

Home / v13.0.0
Name Modified Size InfoDownloads / Week
Parent folder
Refit.13.0.0.nupkg 2026-07-01 2.1 MB
Refit.HttpClientFactory.13.0.0.nupkg 2026-07-01 358.0 kB
Refit.Newtonsoft.Json.13.0.0.nupkg 2026-07-01 252.0 kB
Refit.Testing.13.0.0.nupkg 2026-07-01 473.2 kB
Refit.Xml.13.0.0.nupkg 2026-07-01 270.8 kB
13.0.0 source code.tar.gz 2026-07-01 585.5 kB
13.0.0 source code.zip 2026-07-01 1.0 MB
README.md 2026-07-01 1.8 kB
Totals: 8 Items   5.1 MB 0

πŸ—žοΈ What's Changed

Refit 13 is a major release focused on security hardening and a brand-new testing package.

  • Security hardening (#2181) β€” closes issues found in a security audit. XML deserialization is now protected against XXE (external entity) attacks, the Newtonsoft.Json integration no longer honours unsafe TypeNameHandling by default (blocking type-confusion/deserialization attacks), and sensitive values (auth headers, tokens) are now redacted from exception and log output. This is the main reason for the major version bump: if you relied on permissive Newtonsoft type handling you may need to opt back in explicitly.
  • New Refit.Testing package (#2184) β€” a first-party way to stub and verify Refit clients in tests without spinning up a real HttpClient. Supply canned responses for interface calls and assert which requests your code made, instead of hand-rolling HttpMessageHandler fakes.
  • R3 bridge analyzer fix (#2186) β€” corrects the removal target for the R3 bridge analyzer.
  • CI and documentation tidy-ups for SonarCloud on fork pull requests.

✨ Features

  • [cc2438] feat: security hardening from audit (XXE, Newtonsoft type handling, redaction) (#2181) @glennawatson
  • [339cb8] feat: add Refit.Testing package for stubbing and verifying clients (#2184) @glennawatson

🧹 General Changes

  • [5d272c] ci: run SonarCloud on fork pull requests @glennawatson

πŸ“ Documentation

  • [533bbb] docs: slim fork-PR SonarCloud wrapper comments @glennawatson

πŸ“Œ Other

  • [c0bbb5] [codex] Fix R3 bridge analyzer removal target (#2186) @ChrisPulman

πŸ”— Full Changelog: https://github.com/reactiveui/refit/compare/v12.1.0...v13.0.0

πŸ™Œ Contributions

πŸ’– Thanks to all the contributors: @ChrisPulman, @glennawatson

Source: README.md, updated 2026-07-01