Releases: vinhch/BizwebSharp
Releases · vinhch/BizwebSharp
2.0.1
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
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 useIHttpClientFactory
- Move JSON serialization settings and methods to static
Serialization
class. - Remove redundant code in
RequestExecutionPolicy
(httpclient param). - Fallback to
LimitRetryExecutionPolicy
ifDefaultRequestExecutionPolicy
. 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 ofoptionDictionary
).
2.0.0-beta3
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
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
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 useIHttpClientFactory
- Move JSON serialization settings and methods to static
Serialization
class. - Remove redundant code in
RequestExecutionPolicy
(httpclient param). - Fallback to
LimitRetryExecutionPolicy
ifDefaultRequestExecutionPolicy
. 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 ofoptionDictionary
).
1.1.0
1.0.3
Merge pull request #2 from vinhch/1.0.2
1.0.2 - Update solution to VS 2017, fix some bugs and clean