Skip to content

Releases: vinhch/BizwebSharp

2.0.1

20 Sep 21:44
Compare
Choose a tag to compare

Changes:

  • Change DefaultRequestExecutionPolicy from LimitRetryExecutionPolicy to SmartRetryExecutionPolicy

Bugfix:

  • Check null response.Content before using in RequestEngine.CheckResponseExceptionsAsync.
  • Using published_on field to publish/unpublish a product by update instead of published field (Bizweb doesn't has this field).
  • Buffer request content for multiple reads in RequestEngine.
  • Fix race condition when initialize HttpClient.
  • Fix test cases.

2.0.0

04 Sep 00:44
Compare
Choose a tag to compare

Changes:

  • Cleanup project, target to exactly .Net framework 4.5 -> 4.6.2.
  • 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.
  • Refactor HttpClient using.
  • Refactor to reduce dependencies.
  • Add build script, change version, Nuget status, more xml documents and README documents.
  • Return path ASAP if queryParams don't contain anything.
  • Make SmartRetryExecutionPolicy can dynamically resize the leacky bucket size (some customers may have a bigger bucket).
  • Leak rate can change to, but not sure bizweb have supported larger rate or not.
  • Use named HttpClient from HttpClientFactory for default CreateHttpClient() method, to prevent any ambiguous from other HttpClient instances.
  • Refactor to use the response stream when deserialize json.
  • Optimize HttpClient, change DnsRefreshTimeout and DefaultConnectionLimit
  • Use HttpCompletionOption.ResponseHeadersRead when send request.
  • Manually enable support for TLS 1.2 with .NET Framework 4.5 -> 4.6.2
  • 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).

2.0.0-beta3

01 Sep 09:54
Compare
Choose a tag to compare
2.0.0-beta3 Pre-release
Pre-release

Changes:

  • Refactor to use the response stream when deserialize json.
  • Still need to separate ExecuteRequestToStringAsync with this scenario.
  • Optimize HttpClient, change DnsRefreshTimeout and DefaultConnectionLimit
  • Use HttpCompletionOption.ResponseHeadersRead when send request.
  • Target to exactly .Net framework 4.5 -> 4.6.2.
  • Manually enable support for TLS 1.2 with .NET Framework 4.5 -> 4.6.2

2.0.0-beta2

28 Aug 03:47
Compare
Choose a tag to compare
2.0.0-beta2 Pre-release
Pre-release

Changes:

  • Return path ASAP if queryParams don't contain anything.
  • Make SmartRetryExecutionPolicy can dynamically resize the leacky bucket size (some customers may have a bigger bucket).
  • Leak rate can change to, but not sure bizweb have supported larger rate or not.
  • Use named HttpClient from HttpClientFactory for default CreateHttpClient() method, to prevent any ambiguous from other HttpClient instances.
  • ValueTuple not support for .Net 4.5, use Tuple instead of.

2.0.0-beta1

25 Aug 11:40
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-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).

1.1.0

30 Mar 18:17
4525bae
Compare
Choose a tag to compare
  • Remove RestSharp dependency, use HttpClient
  • Authorize overload to retrieve granted scopes
  • Some minor improves , bugs fixed and update libs

1.0.3

13 Feb 13:14
40b29cb
Compare
Choose a tag to compare
  • PriceRule APIs support
  • Critical bug fix: CheckResponseExceptions throw wrong exception when response status code >= 200 and < 300
  • Some minor improves and bugs fixed

Merge pull request #2 from vinhch/1.0.2

08 Sep 15:21
Compare
Choose a tag to compare
1.0.2 - Update solution to VS 2017, fix some bugs and clean