Repository navigation
Comparing changes
Open a pull request
base repository: reactiveui/refit
base: v15.1.0
head repository: reactiveui/refit
compare: v15.2.0
- 5 commits
- 91 files changed
- 2 contributors
Commits on Aug 18, 2026
-
fix(generator): keep the analyzers loadable in Visual Studio (#2309)
- Drop SourceLink from the Roslyn component projects. It pulls System.IO.Hashing, which floored System.Memory at assembly version 4.0.2.0 for the whole restore graph. - Visual Studio's .NET Framework compiler host binds System.Memory only up to 4.0.1.2, so the generator threw FileNotFoundException on load and the build reported CS8784 with no generated clients. Refit.Analyzers had the same reference, silencing every RF diagnostic there too. - Command-line builds hid it: the .NET compiler host resolves the facade from the shared framework whatever version is asked for. - Add PackagedAnalyzerReferenceTests, which reads each shipped assembly's metadata and fails on a reference the compiler host cannot supply. Fixes #2308
Configuration menu - View commit details
-
Copy full SHA for 05c856a - Browse repository at this point
Copy the full SHA 05c856aView commit details -
fix(headers): stop rewriting raw header values (#2310)
- Check header presence through NonValidated instead of enumerating the collection. Enumerating forces the framework to parse every value already stored and write the parsed form back, so a value added verbatim was rewritten as soon as a second header was applied. - A method declaring "Accept: application/vnd.api.json;version=3.4.1" alongside any other header sent it with a space after the semicolon. Servers matching the media type as an exact string rejected it. - Fix both request paths at once by moving the check into HttpHeaderApplier, which the reflection builder and the generated runner already share. The reflection builder was affected on every target framework; the generated runner only on net4x. - On net4x, where NonValidated does not exist, probe the single named header instead. It leaves every other stored value untouched. Fixes #2306
Configuration menu - View commit details
-
Copy full SHA for 1dc4377 - Browse repository at this point
Copy the full SHA 1dc4377View commit details -
chore(deps): update dependency roslynator.analyzers to 4.16.1 (#2312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 755b8c3 - Browse repository at this point
Copy the full SHA 755b8c3View commit details -
feat(body): compress request bodies (#2311)
* feat(body): compress request bodies - Add `[Body(Compression = ...)]` so a method can send its body under a content coding. Refit compresses whatever the serializer produced and sets Content-Encoding, so the coding composes with every serialization method. - Add RefitSettings.RequestCompression for a client-wide default. A [Body] parameter naming its own coding overrides it, and None opts one method out. - Use the framework's GZipCompressedContent, BrotliCompressedContent and ZstandardCompressedContent on net11.0, and compress through GZipStream or BrotliStream below it. - Throw PlatformNotSupportedException for a coding this framework cannot produce rather than quietly sending the body uncompressed. gzip is always available, Brotli needs net8.0, Zstandard needs net11.0. Closes #2307 * feat(body): configure the request compressor directly - Add RefitSettings.RequestCompressionOptions so a client can set the compressor's own knobs - window size, strategy, a Zstandard dictionary - which a CompressionLevel cannot express. - Options set for a coding replace the level for that coding; the codings left unset still compress by level. - The options types arrived with .NET 9.0, and Zstandard's with .NET 11.0, so the surface only exists from net9.0 onward. * test(body): cover the request compression paths - Add generator tests for the coding and level a [Body] parameter declares, including the None case that emits no call and a level declared without a coding. - Add direct tests for the coding-to-token map and for the wrap and the compressor refusing a value that names no coding. - Add options tests for Brotli and Zstandard, so every coding that accepts its own compressor settings is exercised on the targets that have them. - Read an erroneous named argument through its TypedConstant kind rather than its value, so a value the compiler already rejected leaves the defaults in place instead of being read as an int.
Configuration menu - View commit details
-
Copy full SHA for 1643323 - Browse repository at this point
Copy the full SHA 1643323View commit details -
fix(debugging): stop debugger displays rendering as a bare null (#2315)
- Give every debugger display literal text alongside its placeholder. A display made of nothing but one member rendered as a bare `null` the moment that member was null, which reads as though the object itself does not exist. - ApiResponse<T> was the reported case: hovering a response that came back without content showed `null`, sending the reader looking for a NullReferenceException that was never thrown. It now leads with the type and the status code. - Ten other shipped types carried the same shape and are fixed with it. - Add DebuggerDisplayTests, which walks the shipped assemblies and fails any display whose sole placeholder can be null, plus any placeholder naming a member that does not exist. Closes #2313
Configuration menu - View commit details
-
Copy full SHA for 96316a6 - Browse repository at this point
Copy the full SHA 96316a6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v15.1.0...v15.2.0