Refit Versions Save

The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.

7.0.0

8 months ago

Dependencies:

  • 0a03d4a4ca91b5823c1151de35d977c41ca98183 Bump Nerdbank.GitVersioning from 3.5.119 to 3.6.132 (#1507) @dependabot[bot]
  • 65f395a7dd525676e284d8a4e03d8db8fa2f99c3 Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit (#1506) @dependabot[bot]
  • a16b0fd6b69e9a74e923121eabd07fc400a95f90 Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 (#1508) @dependabot[bot]
  • ec73fed75327eaf70f6fd12e2f3dd4d9aa08190f Bump Microsoft.VisualStudio.Threading.Analyzers from 17.5.22 to 17.6.40 (#1511) @dependabot[bot]
  • cd1b108be2e4eb828a554675379a17ab0bb70a5a Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.0.1 to 4.6.0 (#1510) @dependabot[bot]
  • 34b81336de3617e82c8975595953c9766bb4704b Bump coverlet.msbuild from 3.2.0 to 6.0.0 (#1512) @dependabot[bot]
  • 0e118d0f404c1004caaf9859f10906075137831f Bump System.Reactive from 5.0.0 to 6.0.0 (#1509) @dependabot[bot]
  • 57919c4ac3effd231ca7cad9c0c22c0d98458180 Bump Nerdbank.GitVersioning from 3.6.132 to 3.6.133 (#1516) @dependabot[bot]
  • dd1eebf477b24fcdc3974b2d8aef89d64bcbbcd9 Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.2 (#1520) @dependabot[bot]
  • a50c8ae4c4708d80dd5f309a8720665d2f9a8af7 Bump System.Text.Json from 7.0.2 to 7.0.3 (#1523) @dependabot[bot]

Other:

  • 4744780644ecaa5e23ee93fccbadd9528eaa6add Ship 7.0.0 @anaisbetts

7.0.0-beta.1

10 months ago

Housekeeping:

  • 6cf8169a3def3214d25716c40b1624f479d8a0d6 housekeeping: Convert to using coverlet msbuild (#1491) @glennawatson
  • c10bcbf6714616aff3b7bb3bd7e7638431b23398 housekeeping: Add code coverage status in readme @glennawatson
  • 9276d6bcbf89dfd50f475a4a4df341f65d2a00db housekeeping: Disallow making of package for benchmarks (#1492) @glennawatson

Other:

  • 35965b8238eaf237af5305312989a2f66246491d BREAKING: Simplify authorization configuration (#1495) @anaisbetts
  • ef463956936fcdfd248d120672fe0bb7ff93d5ac Add a DevContainer (#1501) @anaisbetts
  • e4a3565c85fc05feb9123afe6474c9ca3d2aca7b Revert #1418, #1367, introduce public version of RestMethodInfo (#1496) @anaisbetts
  • de50934f73c177f0156690d8c7ffb28d382de781 bump @anaisbetts

6.5.1

11 months ago

Features:

  • c0af5c2a3a78f490b3aaf1f07e994b2017e67e62 feature: Make the RestMethodInfo available in the request options (#1317) @0xced

Fixes:

  • ed61774dbf418e03323d6a65b9a775c012779636 Fix Added MemberNotNullWhen in IApiResponse (#1483) @AlbertoMonteiro
  • c8888e12d7f7f96539eca1f131d99ef0c9f58b81 Fix condition of method return type in RequestBuilder to only allow Task<> and IObservable<> (#1364) @barchkile

Housekeeping:

  • 857becce5d623fe2b8ab8bd640f182ca10cc0eaf housekeeping: Update readme to show GitHub actions status @glennawatson

Other:

  • fec2cf34992ad476a1962c48c601a927285d9e87 Update version.json @glennawatson

6.4.1

11 months ago

Dependencies:

  • 63b96540716a12a5f36c514ee117316bbb92e116 Bump Newtonsoft.Json from 13.0.1 to 13.0.3 (#1480) @dependabot[bot]

Features:

  • b78bbc79dda7c856cb2e7c1d28589764c6e93f5b feature: Add named httpclient support (#1418) @redbaty
  • c97fcb66ce1c87936e552b022d764b99dc3e0bc2 feature: Add RestMethodInfo in HttpRequestMessage (Options or Properties) (#1352) @Int32Overflow
  • 77f084f0e45f611c055df9aa58ff91e74ea21f16 feature: Add an authorization header value getter property that supports cancellation (#1413) @0xced
  • b06ef7c37dab6b003805424d010137ebbef65661 Feature: allow developers to inject the MethodInfo as a Property (#1367) @james-s-tayler

Fixes:

  • 153f5202dfaeed03853b870cf369e6282f59da1d Fix typo in README.md (#1428) @owns
  • aef6cbb8c78bd34ee333dba6eb12626607d69cbd Fixed a bug in the readme (#1366) @james-s-tayler
  • 3c8761162a0f3599e0dc3e78d002c75bb23b0522 Fix cache in RestService for generated type (#1348) @Int32Overflow
  • 25c48404664f80837dfbac2dbfd910b084ecdd3c fix: Update readme with details on supply a custom HttpClient instance (#1362) @chowarth

Housekeeping:

  • 1fd2b3f5aed4256c715498e0cf9e171243f2f038 housekeeping: Convert to using GitHub actions @glennawatson
  • 977246a77fcb21e74f323b099bfa32f098d5e6ce housekeeping: Remove the need to install maui workflows @glennawatson
  • eb61d396eca37961bed2ad8c41ada87ce8cac75d housekeeping: remove duplicated tags @glennawatson
  • da483b98558b494505dead5e79659e458abf3fc3 housekeeping: update directory.build.props file @glennawatson
  • e571bc685aef43d9271e698d54fac23d65ca7efc housekeeping: Remove invalid tag from release @glennawatson
  • 500f4a2389d25a2b43b62606a9db048d30579424 housekeeping: Remove invalid tag from release @glennawatson
  • e83f7e230881e9ca51785f00c37066a87da3a666 housekeeping: Remove old targets from tests @glennawatson
  • 098c4e327d2c38c5eb1932d8b25948efdcee5257 housekeeping: Update Targets, Fix build, Update relevant packages (#1488) @ChrisPulman

Other:

  • 5fe5ce562806f4297224e64698a9a17a15671bcd Update dependabot.yml @glennawatson
  • 00dde435b456331e9b2580fe2e3034c83e08c4a2 Sample using local api (#785) @NakWarsi
  • 469bfce046e3403c7b4d1cba87fee9a462e14427 add tests setting Authorization headers via HeaderCollection (#1385) @james-s-tayler
  • b608846c097f8d0c9c7fc409ea96b783e1f0071a Add benchmark dotnet and comprehensive set of end to end benchmarks (#1175) @james-s-tayler
  • 5589ab9aac95776d34d3c4d744ed060dee546e40 Use Error property when throwing exception (#1448) @marcominerva
  • b5ce1dbd870eae8764e308580e3d9939dc4a3b1e Use the root directory for builds @glennawatson
  • c1516a83fe8b83a945281c9f24d2bb9b05faab67 Add HttpRequestMessageOptions to RefitSettings and add this dictionary to HttpRequestMessage.(Options/Properties) (#1353) @Int32Overflow

v6.3.2

2 years ago

Changes:

Enhancements:

  • #1310: Split XmlContentSerializer into separate package

Dependencies:

  • #1306: Bump coverlet.collector from 3.1.0 to 3.1.2

Others:

  • #1307: Fix missing syntax highlighting
  • #1303: Add MemberNotNullWhen attribute to IsSuccessStatusCode

This list of changes was auto generated.

v6.2.16

2 years ago

Changes:

Bugs:

  • #1290: Refit interface methods that return Task<IApiResponse> assign ApiException to the IApiResponse.Error property on error

Dependencies:

  • #1285: Bump Nerdbank.GitVersioning from 3.4.231 to 3.4.255
  • #1271: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.10.56 to 17.0.64
  • #1260: Bump Microsoft.NET.Test.Sdk from 16.10.0 to 17.0.0
  • #1276: Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1

Others:

  • #1298: remove readme from package
  • #1297: Update dependencies
See More
  • #1296: Add a readme to the package
  • #1294: Fix example syntax, add paren.
  • #1293: fix: load content into buffer for void return methods
  • #1292: Update renamed section in Table of Contents
  • #1275: Add Xml documentation to exposed methods and classes.
  • #1287: Update README.md
  • #1279: Add note about JSON source generator
  • #1267: Fix NuGet package link for Serilog.Exceptions.Refit doc

This list of changes was auto generated.

v6.1.15

2 years ago

Changes:

Enhancements:

  • #1251: Switch to Roslyn component versioning
  • #1235: Enchance SystemTextJsonContentSerializer default options
  • #1216: Support Roslyn 3.8 and Roslyn 4.0 source generator scenarios

Dependencies:

  • #1228: Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.0.0-2.final to 4.0.0-4.21423.7
  • #1227: Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.0.0-2.final to 4.0.0-4.21420.8

Others:

  • #1248: Add documentation for Serilog.Exceptions.Refit nuget package
  • #1229: Gate the incremental source generators on LangVersion=preview
See More
  • #1222: Change folder path to avoid implicit NuGet inclusions

This list of changes was auto generated.

v6.0.94

2 years ago

Changes:

Enhancements:

  • #1167: Support returning api response in case of deserialization exception

Bugs:

  • #1211: [BUG] Using same key multiple times throws exception
  • #1131: Header collection post without body bug

Dependencies:

  • #1158: Upgrade to GitHub-native Dependabot
  • #1207: Bump Nerdbank.GitVersioning from 3.4.228 to 3.4.231
  • #1205: Bump Nerdbank.GitVersioning from 3.4.220 to 3.4.228
  • #1200: Bump coverlet.collector from 3.0.3 to 3.1.0
See More
  • #1193: Bump Nerdbank.GitVersioning from 3.4.216 to 3.4.220
  • #1183: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21265.1 to 1.1.0
  • #1188: Bump Nerdbank.GitVersioning from 3.4.205 to 3.4.216
  • #1185: Bump Nerdbank.GitVersioning from 3.4.203 to 3.4.205
  • #1184: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.9.60 to 16.10.56
  • #1182: Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
  • #1181: Bump Nerdbank.GitVersioning from 3.4.194 to 3.4.203
  • #1177: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21256.1 to 1.0.1-beta1.21265.1
  • #1170: Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.1 to 1.0.2
  • #1165: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21254.1 to 1.0.1-beta1.21256.1
  • #1164: Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.1
  • #1162: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21177.1 to 1.0.1-beta1.21254.1
  • #1148: Bump Nerdbank.GitVersioning from 3.4.190 to 3.4.194
  • #1146: Bump Nerdbank.GitVersioning from 3.3.37 to 3.4.190
  • #1147: Bump System.Text.Json from 5.0.1 to 5.0.2
  • #1144: Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
  • #1134: Bump Newtonsoft.Json from 12.0.3 to 13.0.1

Others:

  • #1214: .NET 6 SDK update
  • #1166: Small typos in README
  • #1140: Update Microsoft.CodeAnalysis.Testing to 1.0.1-beta1.21177.1
  • #1132: Update README.md fix typo FromHttpContnentAsync

This list of changes was auto generated.

v6.0.38

3 years ago

Changes:

Enhancements:

  • #1112: Added methods to support creating RefitSettings using the service provider
  • #1115: Really Buffered JsonContent when buffered is set

Bugs:

  • #1130: Fix issue where explicit or override wasn't being passed correctly to the generic constraints writer

Dependencies:

  • #1117: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.9.54 to 16.9.60
  • #1104: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.8.55 to 16.9.54
  • #1089: Bump Microsoft.NET.Test.Sdk from 16.9.0 to 16.9.1

Others:

See More
  • #1097: Update Meow Sample To .NET 5 and .NET Standard 2.1

This list of changes was auto generated.

v6.0.24

3 years ago

Changes:

Bugs:

  • #1088: Update inferred types converter for 5.0

Dependencies:

  • #1083: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21109.2 to 1.0.1-beta1.21117.2

This list of changes was auto generated.