- Wrapped proxy discovery in try-catch for the platform unsupported exception
- Fixed DateTime deserialization with millisecond UTC conflict
- Fixed HttpMethod is not overridden in
RestClient.Sync.Execute(IRestRequest request, Method httpMethod)
- Split
ISerializer
toIJsonSerializer
andIXmlSerializer
to avoid the namespace confusion - Fixed double escape bug in SimpleJson
- Fixed the wrong HTTP method used in
Post
extension method - Custom content type for multipart requests
- Added the XML documentation file to the NuGet package
- Fixed the issue with
AddBody
overrides the XML namespace with an empty string - Fixed the issue when combining query parameters and JSON body caused an incorrect content type
- Marked
MethodTaskAsync<T>
extensions as obsolete (whereMethod
isGet
,Post
, etc) - Added new extensions for
MethodAsync<T>
(whereMethod
is the same as above) that will return the result or throw an exception. Obsolete methods still don't throw and return an empty instance. - You can now add query string parameters without encoding them
- Fixed the issue with query string parameters in combination with OAuth1
- Fixed ignoring the DeserializeAsAttribute for list properties
- Fixed the proxy issue on .NET Core
- Fixed Uri builder when the Resource is an absolute Uri
- Add RSA-SHA1 signing capability
- Add ability to customize the Host header
- Added support of .NET Standard 2.0, enabling development for .NET Core 2.0
- Support for .NET 3.5, .NET 4.0, Silverlight, Windows Phone and Monotouch is removed
- Several smaller fixes
To see all commits for this version, click here.
- Added nuget targets for windows phone 8 and 8.1, monotouch10, monoandroid10, xamarin.ios10, net46
- Fixed the silverlight target to be sl5
- Added all projects to the solution
- Cleaned up and consolidated the build and packaging scripts
- Code clean-up and namespace patching may cause breaking changes
To see all commits for this version, click here.
- Code clean-up and namespace patching may cause breaking changes
To see all commits for this version, click here.
To see all commits for this version, click here.
To see all commits for this version, click here.
- Reverted changes to parameter encoding
To see all commits for this version, click here.
- 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
- Fixed potential Null Reference Exceptions on the parameters in RestClient (ToString usage)
To see all commits for this version, click here.
To see all commits for this version, click here.
To see all commits for this version, click here.
- 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
- Fixed regression that prevented deserializing requests when non-protocol errors occurred
- Properly URL encode strings longer than 32766 characters
To see all commits for this version, click here.
- Allow specifying the body of a
PUT
orPOST
to be specified as a byte array. - Added
ExecuteAsync
overloads that returnTask<T>
- Improved handling of nullable types
- Support
DateTimeOffset
toXmlDeserializer
- 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
- Fixed bug where ExecuteAsync sometimes doesn't send data
-
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)
AddedRestClientExtensions.AddDefaultParameter()
with 4 overloads. See pull request #311 for more info -
Adding support for deserializing enums from integer representations (thanks dontjee)
- Version bump to fix assembly versioning
- 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)
- 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)
- 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)
- #267 Added CLS Compliance
- #263 Fixed InvalidCastException
- #218 Handles connection failures better
- #231 OAuth now complies with rfc3986 url hex encoding
- Remove WP7.0 support (7.1 Mango remains).
- Updating Json.NET to 4.0.8, misc fixes
- Updating Json.NET reference to 4.0.5