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.

v5.2.4

3 years ago

Changes:

Bugs:

  • #1010: Fixes issue #952 - did not write everything to output stream

Others:

  • #1011: Fix new test: Refit 5.2 does not use CamelCasing by default.
  • #952: Request payload corrupted when using System.Text.Json serializer

This list of changes was auto generated.

v6.0-preview.37

3 years ago

Changes:

Bugs:

  • #1010: Fixes issue #952 - did not write everything to output stream

Others:

  • #952: Request payload corrupted when using System.Text.Json serializer

This list of changes was auto generated.

v6.0-preview.34

3 years ago

Changes:

Enhancement:

  • #1007: Nullable Reference Type annotations
  • #1005: Use System.Text.Json by default
  • #1001: 809 set properties in http request message
  • #1002: Feature- multipart data name to be specified at the moment of execution.
  • #636: Content in ValidationApiException hides Content in derived ApiException

Dependencies:

  • #998: Bump System.Reactive from 4.4.1 to 5.0.0
  • #997: Bump System.Text.Json from 4.7.2 to 5.0.0
  • #996: Bump Microsoft.Extensions.Http from 3.1.9 to 5.0.0
See More
  • #1000: Bump Microsoft.CodeAnalysis.CSharp from 3.7.0 to 3.8.0
  • #995: Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
  • #993: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.8.51 to 16.8.55
  • #990: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.8.50 to 16.8.51
  • #989: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.7.56 to 16.8.50
  • #985: Bump Microsoft.Extensions.Http from 3.1.8 to 3.1.9
  • #982: Bump Nerdbank.GitVersioning from 3.2.31 to 3.3.37
  • #970: Bump Microsoft.Extensions.Http from 3.1.7 to 3.1.8

Others:

  • #964: Disposable interfaces
  • #976: Fix dictionary query request mapping
  • #979: fix [BUG] AuthorizeAttribute does not add a header to the request #946
  • #946: [BUG] AuthorizeAttribute does not add a header to the request
  • #953: Support ApiException.Content when actual type is ValidationApiException

This list of changes was auto generated.

v5.2.1

3 years ago

Changes:

  • #900: Add ability to provide custom ExceptionFactory
  • #967: allow HeaderAttribute on parameters used in request path members
  • #899: Support partial interfaces
  • #904: Support Xml default namespace
  • #945: refactor: change verify url method exception message
  • #968: Fix issue 617 (support EnumMember on enums within types for query string param objects)
  • #943: fix: Allow for GenerateRefitStubs to be disabled with RefitDisableGenerateRefitStubs
  • #745: [BUG] AddRefitClient non-generic version does not register service

Dependencies:

  • #950: Bump Microsoft.Extensions.Http from 3.1.5 to 3.1.6
  • #923: Bump System.Text.Json from 4.7.1 to 4.7.2
See More
  • #969: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.7.54 to 16.7.56
  • #965: Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1
  • #961: Bump Microsoft.Extensions.Http from 3.1.6 to 3.1.7
  • #959: Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
  • #958: Bump Microsoft.CodeAnalysis.CSharp from 3.6.0 to 3.7.0
  • #957: Bump xunit.runner.visualstudio from 2.4.2 to 2.4.3
  • #954: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.6.13 to 16.7.54
  • #951: Bump Nerdbank.GitVersioning from 3.1.91 to 3.2.31
  • #938: Bump Microsoft.Extensions.Http from 3.1.4 to 3.1.5
  • #933: Bump xunit.runner.visualstudio from 2.4.1 to 2.4.2
  • #932: Bump coverlet.collector from 1.3.0-preview.6.ga0e22ec622 to 1.3.0
  • #928: Bump Microsoft.CodeAnalysis.CSharp from 3.5.0 to 3.6.0
  • #924: Bump Microsoft.Extensions.Http from 3.1.3 to 3.1.4
  • #917: Bump Nerdbank.GitVersioning from 3.1.74 to 3.1.91
  • #914: Bump Microsoft.NET.Test.Sdk from 16.6.0 to 16.6.1
  • #908: Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.0

Others:

  • #902: latest coverlet

This list of changes was auto generated.

v5.1.67

4 years ago

Changes:

Bugs:

  • #885: Specify Content-Length when serializing JSON with System.Text.Json
  • #889: Fix default CollectionFormat for FormValueMultimap
  • #896: Fix query collection format inside object
  • #895: Fix generated usings in inherited interfaces

Dependencies:

  • #890: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.5.132 to 16.6.13
  • #888: Bump System.Reactive from 4.3.2 to 4.4.1
  • #887: Bump coverlet.collector from 1.2.0 to 1.2.1

Others:

See More
  • #893: Added documentation and examples for the ApiResponse<T> return type.

This list of changes was auto generated.

v5.1.54

4 years ago

Changes:

Enhancement:

  • #880: Include icon in the nuget package
  • #873: Enable deterministic builds

Dependencies:

  • #875: Bump Nerdbank.GitVersioning from 3.1.71 to 3.1.74
  • #867: Bump Microsoft.Extensions.Http from 3.1.2 to 3.1.3

Others:

  • #883: Usings fix
  • #879: Base address fix
  • #866: Fixed System.Text.Json deserialization on streamed data
See More
  • #877: Disable CI build for tests as coverlet doesn't work
  • #874: Replace .NET Standard 1.4 with 2.0 in README.md
  • #868: Fix GitHub Pages
  • #653: IContentSerializer implementation and/or example for .NET Core 3.0?
  • #2: Add top-level API

This list of changes was auto generated.

v5.1.27

4 years ago

Changes:

Enhancement:

  • #800: Added: Support for Nullable References
  • #824: Unescape Querystring parameters #277
  • #277: How to disable urlencoding get-params in Refit?
  • #829: Added interfaces to ApiResponse
  • #836: System.Text.Json-powered IContentSerializer
  • #841: Allow specifying default CollectionFormat
  • #848: handle serialization for query objects with IEnumerable properties
  • #861: Support handlers in AddRefitClient and document use of HttpClient

Bugs:

  • #847: [BUG] QueryAttribute is not taken into account with custom objects and query parameters
  • #802: Using uppercase letters in objects bound to URL throws an error
  • #811: [BUG] RefitStubs.g.cs is generated when it shouldn't
  • #784: [BUG] Multiple Input Files (May) Lead To Ambiguous Reference Errors
  • #807: Fix for #802 casing bug on object bound to url
  • #843: fix issue experienced in #649
  • #649: [BUG] RefitStubs.g.cs generated by dotnet build 2.2.203 SDK cannot process nested type

Others:

See More
  • #864: Revert "Ensure we have an emtpy byte array so that a content-length of 0 is sent"

  • #862: Custom query prop

  • #860: Trim trailing / for HttpClient-supplied base addresses

  • #858: Remove unused types (supporting netstandard1.4 )

  • #856: Bump Microsoft.CodeAnalysis.CSharp from 3.4.0 to 3.5.0

  • #854: Bump Nerdbank.GitVersioning from 3.1.68 to 3.1.71

  • #851: Bump Nerdbank.GitVersioning from 3.0.50 to 3.1.68

  • #1: Handle actually issuing REST requests, not just building them

  • #842: Bump Microsoft.Extensions.Http from 3.1.1 to 3.1.2

  • #838: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.45 to 16.5.132

  • #834: Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0

  • #830: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.43 to 16.4.45

  • #827: Bump Nerdbank.GitVersioning from 3.0.48 to 3.0.50

  • #826: Bump Microsoft.Extensions.Http from 3.1.0 to 3.1.1

  • #825: Bump Nerdbank.GitVersioning from 3.0.28 to 3.0.48

  • #819: Bump coverlet.collector from 1.1.0 to 1.2.0

  • #5: Silverlight support?

  • #817: Bump System.Reactive from 4.3.1 to 4.3.2

  • #815: Updating #811 fix with better language detection

  • #814: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.33 to 16.4.43

  • #813: Fix issue #811 & add tests for query parameters

  • #808: Bump System.Reactive from 4.2.0 to 4.3.1

  • #804: Bump Microsoft.CodeAnalysis.CSharp from 3.3.1 to 3.4.0

  • #805: Bump Microsoft.Extensions.Http from 3.0.1 to 3.1.0

  • #803: Generate using statements inside namespaces

  • #798: Bump Microsoft.SourceLink.GitHub from 1.0.0-beta2-19554-01 to 1.0.0

  • #792: Bump Microsoft.Extensions.Http from 3.0.0 to 3.0.1

  • #791: Bump Microsoft.Extensions.DependencyInjection from 3.0.0 to 3.0.1

  • #790: Update to MockHttp client with strong name

This list of changes was auto generated.

v5.0.23

4 years ago

Changes:

  • #789: Get rid of query shift parameter and rely on value from dictionary key
  • #788: feat: Add support for ProblemDetails extensions
  • #787: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.16 to 16.4.33
  • #786: Bump Nerdbank.GitVersioning from 3.0.26 to 3.0.28

This list of changes was auto generated.

v5.0.15

4 years ago

Changes:

  • #783: Update README.md
  • #757: Objects Bound to URL Path
  • #779: Bump Newtonsoft.Json from 12.0.2 to 12.0.3
  • #778: Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
  • #776: Bump Microsoft.SourceLink.GitHub from 1.0.0-beta2-19367-01 to 1.0.0-beta2-19554-01

This list of changes was auto generated.

v4.8.14

4 years ago