Releases: tmenier/Flurl
Releases · tmenier/Flurl
Flurl.Http 1.0.3
- Update .NET Core support to 1.0.1
- Fix for #131
Flurl.Http 1.0.2
Fix for #128
Flurl 2.2.1
Fix for #128
Flurl 2.2
Flurl.Http 1.0
This is a major release with numerous enhancements and several breaking changes:
- NEW: .NET Core 1.0 support
- NEW Target .NET Platform Standard 1.4
- NEW: Support for mulitpart posts with file uploads. (#113)
- NEW:
Send*Async
methods with variable HTTP verb for atypical scenarios. (#111, #91) - NEW:
SendAsync
extension onUrl
andstring
to match coreFlurlClient.SendAsync
- NEW:
PostAsync
,PutAsync
, andPatchAsync
have anHttpContent
argument, which can be null. - NEW: All async HTTP methods have optional
HttpCompletionOption
argument. - NEW:
FlurlHttpSettings.CookiesEnabled
to allow globally enabling cookies instead of just per client. - NEW:
WithOAuthBearerToken
andWithBasicAuth
onHttpCallAssertion
. (#73) - FIXED: Cookies can be enabled before URL is specified on the client. (#106)
- FIXED: Several small issues and quirks with multi-platform support, including Xamarin
- FIXED: Deal with quoted charset value (#76)
- BREAKING:
FlurlClient.GetCookies()
(read-only) dictionary replaced byFlurlClient.Cookies
dictionary, which can also be written to for sending. (WithCookies
fluent methods still supported and recommended.) - BREAKING:
HttpTest.RespondWith
andHttpTest.RespondWithJson
have different parameter order, supporting more options but fewer overloads:([string or object] body, int status = 200, object headers = null, object cookies = null)
Thanks to @kroniak and @engenb for lots of help with this release!
Flurl 2.1
- .NET Core 1.0 support
- Target .NET Platform Standard 1.4
Flurl 2.1
Support for .NET Core 1.0
Flurl.Http 0.10.1
Fix for #90
Flurl 2.0
This release includes a major rewrite of parts of the core URL parser in support of a few new features and to address several issues and edge cases.
- NEW: Support for URL fragments (everything after
#
) viaUrl.Fragment
and fluentSetFragment(string)
andRemoveFragment
methods on bothUrl
and string. (#29) - NEW:
QueryParamCollection
now inherits fromList<QueryParameter>
and therefore supports in-place sorting, etc. (#78) - NEW:
SetQueryParam(string, string, bool)
overload withisEncoded
argument that allows declaring the value to already be encoded, hence avoiding double-encoding. Related, if string passed toUrl
constructor has a query, it is assumed to be already encoded. (#56) - NEW: Any
object
can be used withAppendPathSegment(s)
, avoiding need for explicit string cast. (#60) - Better preservation of order when multiple values of same name appear in query.
- BREAKING:
QueryParamCollection
no longer implementsIDictionary
. It still supports some of the same methods such asContainsKey
andthis[name]
getter/setter, but others didn't make since as the collection is more list-like than dictionary-like. - BREAKING:
QueryParamCollection
no longer has aParse
method. Query parsing can only be done by creating aUrl
object and inspecting theQueryParams
property. - BREAKING:
string.IsUrl()
extension method replaced byUrl.IsValid(string)
static method andUrl.IsValid()
instance method. - BREAKING: Support for Silverlight 5 and Windows Phone Silverlight 8.1 has been dropped due to a few quirks they caused and apparent lack of demand for them.
Flurl.Http 0.10.0
Lib updates, including Flurl 2.0