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
RemoveFragmentmethods on both
Urland string. (#29)
QueryParamCollectionnow inherits from
List<QueryParameter>and therefore supports in-place sorting, etc. (#78)
SetQueryParam(string, string, bool)overload with
isEncodedargument that allows declaring the value to already be encoded, hence avoiding double-encoding. Related, if string passed to
Urlconstructor has a query, it is assumed to be already encoded. (#56)
- NEW: Any
objectcan be used with
AppendPathSegment(s), avoiding need for explicit string cast. (#60)
- Better preservation of order when multiple values of same name appear in query.
QueryParamCollectionno longer implements
IDictionary. It still supports some of the same methods such as
this[name]getter/setter, but others didn't make since as the collection is more list-like than dictionary-like.
QueryParamCollectionno longer has a
Parsemethod. Query parsing can only be done by creating a
Urlobject and inspecting the
string.IsUrl()extension method replaced by
Url.IsValid(string)static method and
- 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.