Skip to content

Releases: anaisbetts/ModernHttpClient

ModernHttpClient 2.4.2

22 May 04:52
Compare
Choose a tag to compare

What's New

Bug Fixes

ModernHttpClient 2.4.1

08 May 17:35
Compare
Choose a tag to compare

What's New

Better handling of network errors on iOS (#148, thanks @Tableau-David-Potter!)

  • Add CFNetworkErrors enum missing from Xamarin package.
  • Add NSUrlErrorExtended enum with values missing from Xamarin package.
  • Include an NSErrorException as the inner exception so that the client of the library can troubleshoot issues.
  • Always generate a WebException from the NSError - even if the status is unknown - so that it can be caught by the client.

ModernHttpClient 2.4.0

30 Apr 04:08
Compare
Choose a tag to compare

What's New

Allow disabling of caching (#145)

NativeMessageHandler now has a "DisableCaching" property that will allow you to ignore built-in HTTP caches when fetching content. Thanks @Tableau-David-Potter!

Bug Fixes:

  • Fix issues around cookie handling (#140, thanks @epetutsc)
  • Respect AllowAutoRedirect on iOS (#142, thanks @Tableau-David-Potter)
  • Fix issue on Android where cancellation would sometimes throw the wrong exception
  • Handle exception when content type isn't set (#141, thanks @peterno)

ModernHttpClient 2.3.0

22 Mar 03:40
Compare
Choose a tag to compare

What's New

  • Update to OkHttp 2.3.0
  • Fix a bug where cancellation would sometimes throw the wrong exception (#124, thanks @nicolascaorsi!)

ModernHttpClient 2.2.0

08 Feb 23:00
Compare
Choose a tag to compare

What's New

Cookie Support (#106)

ModernHttpClient now supports getting and setting of cookies via the new NativeCookieHandler class. Create one while initializing NativeMessageHandler and use the SetCookies and GetCookies methods to configure cookies. Thanks @sebfia!

Bug Fixes

ModernHttpClient 2.1.5

16 Dec 22:02
Compare
Choose a tag to compare

What's New

Bug Fixes:

  • Include the request with the response on Android (#104, thanks @tpurtell)
  • Fix issues with using multiple User Agent elements (#110, #111, thanks @kYann)
  • Build against Xamarin.iOS 8.6 for the latest 64-bit iOS support (thanks @Redth for the updated samples)

ModernHttpClient 2.1.4

10 Nov 04:59
Compare
Choose a tag to compare

What's New

  • Fix multipart form POSTs on Android (#92)

ModernHttpClient 2.1.3

06 Nov 06:23
Compare
Choose a tag to compare

What's New

Bug Fixes

  • Detect Captive Networks on Android (#90, thanks @molinch)
  • Correctly set the ReasonPhrase on Android for failed requests (#93, thanks @rogihee)
  • Ensure that cancellation on Android happens on non-UI threads (#96)
  • Correctly handle when custom certificate verification fails (#100, thanks @oleg-st)

ModernHttpClient 2.1.2

24 Sep 05:51
Compare
Choose a tag to compare

What's New

Bug Fixes

  • Fix issue where headers with multiple values weren't handled correctly (#84, thanks @rickykaare)
  • Correctly signal success when using custom TLS certificate verification (#85, thanks @brendanzagaeski)
  • Handle validation of wildcard certificates (#86, thanks @rickykaare)
  • Always derive from HttpClientHandler in NativeMessageHandler (thanks @damiensawyer)

ModernHttpClient 2.1.1

14 Sep 23:38
Compare
Choose a tag to compare

What's New

Xamarin 64-bit Support

Splat now supports the new Xamarin Unified API for 64-bit iOS applications. NuGet already understands this profile, so enabling this is as simple as adding the package to your 64-bit iOS app.