Skip to content

Latest commit

 

History

History
156 lines (105 loc) · 5.82 KB

releasenotes.markdown

File metadata and controls

156 lines (105 loc) · 5.82 KB

RestSharp Release Notes

105.1.0

To see all commits for this version, click here.

105.0.1

To see all commits for this version, click here.

Bug Fixes

  • Reverted changes to parameter encoding

105.0.0

To see all commits for this version, click here.

New Features/Improvements

  • Converted the BaseUrl to be a URI rather than a string (potential breaking change)
  • Updated the SimpleJson package to the latest version (potential breaking change)
  • Converted the use of tabs to spaces
  • Added support for the DeserializeAs attribute on XML
  • Added ability to deserialize into structs
  • Added additional methods on RestRequest
    • IRestRequest.AddJsonBody
    • IRestRequest.AddXmlBody
    • IRestRequest.AddQueryParameter
  • Added support for multi-part form request to allow both a request body and files

Bug Fixes

  • Fixed potential Null Reference Exceptions on the parameters in RestClient (ToString usage)

104.5.0

To see all commits for this version, click here.

104.4.0

To see all commits for this version, click here.

104.3.3

To see all commits for this version, click here.

New Features/Improvements

  • Support for query string parameters on POST requests
  • Deserialize an integer to a bool property
  • Enable Task extensions for Monotouch and Monodroid platforms
  • Support for deserializing a dictionary of lists

Bug Fixes

  • Fixed regression that prevented deserializing requests when non-protocol errors occurred
  • Properly URL encode strings longer than 32766 characters

104.2

To see all commits for this version, click here.

New Features

  • Allow specifying the body of a PUT or POST to be specified as a byte array.
  • Added ExecuteAsync overloads that return Task<T>
  • Improved handling of nullable types
  • Support DateTimeOffset to XmlDeserializer

Bug Fixes

  • Crash if an XML attribute contains empty string
  • Adding array of int to request
  • Support XAuth parameters for OAuth parameter handling
  • Memory leak around handling of Accepts header
  • ConfigureProxy was not being called for async request
  • Serialization for classes with IList properties
  • Exception when executing async requests on multiple threads with one RestClient
  • ResponseStatus.Aborted was not being set if request was aborted
  • ClientCertificate threw NotImplementedException on Mono
  • Fix decimal parsing for small decimal values

104.1

  • Fixed bug where ExecuteAsync sometimes doesn't send data

104.0

  • Fixed Windows Phone and Silverlight to use culture when calling Convert.ChangeType() (thanks trydis)

  • Added support for non-standard HTTP methods (thanks jhoerr)
    New API methods include:

    • IRestClient.ExecuteAsyncGet()
    • IRestClient.ExecuteAsyncPost()
    • IRestClient.ExecuteAsyncGet<T>()
    • IRestClient.ExecuteAsyncPost<T>()

    See groups discussion for more info

  • Resolved an xAuth support issue in the OAuth1Authenticator (thanks artema)

  • Change AddDefaultParameter methods to be extension methods (thanks haacked)
    Added RestClientExtensions.AddDefaultParameter() with 4 overloads. See pull request #311 for more info

  • Adding support for deserializing enums from integer representations (thanks dontjee)

103.4

  • Version bump to fix assembly versioning

103.3

  • Added in the check for it being generic before calling GetGenericType Definition() (thanks nicwise)
  • Add support for deserializing properties with an underscore prefix (thanks psampaio)
  • BaseUrl is now virtual (thanks Haacked)
  • Fixed List json deserialization, when T was a something like DateTime, Timespan, Guid, etc. (thanks PedroLamas)
  • Improve support for parsing iso8601 dates (thanks friism)

103.2

New Features

  • Allow deserializing a single item into a List field, for JSON that only uses a list when there's more than one item for a given field (thanks petejohanson)
  • Extended NtlmAuthenticator so that it can also impersonate a user (thanks kleinron)
  • Added support for mapping JSON objects to Dictionary<string, string=""> (thanks petejohanson)
  • Added ability to set Host and Date when built for .NET 4.0 (thanks lukebakken)
  • Allow deserializing lists with null in them. Should resolve pull request (thanks petejohanson)
  • Add support for deserializing JSON to subclasses of List (thanks abaybuzskiy)

Bugs fixed

  • Fixed invalid OAuth1 signature for GET request (thanks trilobyte)
  • Added some missing OAuth files to the .NET4 and Silverlight projects (thanks PedroLamas)
  • Removed unused NewtonsoftJsonMonoTouch.dll and Newtonsoft.Json.MonoDroid.dll binaries (thanks attilah)
  • Fixed various issues with MonoTouch/Droid ports (thanks attilah)
  • Add ability to set Host and Date when built for .NET 4.0 (thanks lukebakken)
  • Fixed XmlDeserializer issue not handling lowercase + dash root elements in some cases
  • Fixed an issue where RestResponse.Request was not populated (thanks mattleibow)
  • Don't crash on captive networks that intercept SSL (thanks aroben)

103.1

  • #267 Added CLS Compliance
  • #263 Fixed InvalidCastException
  • #218 Handles connection failures better
  • #231 OAuth now complies with rfc3986 url hex encoding

103.0 - Remove dependency on Json.NET

  • Remove WP7.0 support (7.1 Mango remains).

102.7

  • Updating Json.NET to 4.0.8, misc fixes

102.6

  • Updating Json.NET reference to 4.0.5