Skip to content

2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@vinhch vinhch released this 25 Aug 11:40
· 39 commits to develop since this release

Changes:

  • Cleanup project, re-target frameworks to netstandard2.0; netstandard1.4 ; net45
  • Added the Dictionary and Raw query string abilities to IsAuthenticProxyRequest.
  • Unittests for Proxy Authorization (skip - not finish yet).
  • In PrepareQuerystring method, use StringComparer.Ordinal for query ordering to support uppercase querysting parameters.
  • Refactor RequestEngine and AuthorizationService to use IHttpClientFactory
  • Move JSON serialization settings and methods to static Serialization class.
  • Remove redundant code in RequestExecutionPolicy (httpclient param).
  • Fallback to LimitRetryExecutionPolicy if DefaultRequestExecutionPolicy. Default is set to null.
  • Return path ASAP if queryParams don't contain anything
  • Refactor HttpClient using.
  • Refactor to reduce dependencies.
  • Add build script, change version, Nuget status, more xml documents and README documents.
  • Clean code.

Bugfix:

  • Ignore case when looking for X-StoreId header.
  • Change IsValidShopDomainAsync to make request to the root domain and not follow redirects.
  • Change JSON Parsing to not lose time zone information when de-serializing JTokens.
  • Use response.Content.Headers to check content type.
  • Use wrong request parameters (option instead of optionDictionary).