mirror of
https://github.com/github/codeql-action.git
synced 2026-10-24 14:47:13 +00:00
11 KiB
11 KiB
Release History
1.2.0 (2020-11-05)
- Explicitly set
manualredirect handling for node fetch. And fixing redirectPipeline PR 11863 - Add support for multiple error response codes. PR 11841
- Allow customizing serializer behavior via optional
SerialzierOptionsparameters. Particularly allow using a differentXML_CHARKEYthan the default_when parsing XML PR 12065 - Unexpected status code is now handled as an error if a mapper is not provided for it PR 12153
- Empty collection is now serialized correctly for
multiformat query parameters PR 12090 - De-serialize error from parsed object before trying to use its
codeandmessageproperties PR 12150 - Fix an error thrown on older versions of Safari PR 11759
1.1.9 (2020-09-30)
-
Add support for XML namespaces in deserialization PR 11201
-
Add support for NDJSON format PR 11325
-
Add support for
NO_PROXYandALL_PROXYenvironment variables PR 7069 -
Serializer now resolves
additionalPropertiescorrectly from referenced mapper PR 11473 -
Empty wrapped XML element lists are no properly de-serialized. This fixes issue 11071
1.1.8 (2020-09-08)
URLQueryparsing now accepts=in query parameter values and no longer drops such query parameter name/value pairs. This fixes issue 11014
1.1.7 (2020-09-02)
BearerTokenAuthenticationPolicynow starts trying to refresh the token 30 seconds before the token expires. It will only try to refresh said token on each request when refreshing is not in progress. In the mean time, requests will use the existing token. This fixes issue 10084.- Un-export the
{...}Policyclasses that were meant to be internal to@azure/core-http. PR 10738
1.1.6 (2020-08-04)
- Update dependencies
@azure/core-tracingto version 1.0.0-preview.9 and@opentelemetry/apito version 0.10.2 PR 10393
1.1.5 (2020-08-04)
- The global
fetch()is no longer overridden by node-fetch. This fixed an issue impacting Electron render process. PR #9880
1.1.4 (2020-07-02)
- Fix issue with flattened model serialization, where constant properties are being dropped PR #8658
- Switch to use
x-ms-useragentheader key for passing user agent info in browsers PR #9490 - Refactor
ExponentialRetryPolicyandSystemErrorRetryPolicyto share common code PR #9667
1.1.3 (2020-06-03)
- Fix issue of
SystemErrorRetryPolicydidn't retry on errors PR #8803 - Add support for serialization of text media type. PR #8977
- Fix issue with URLBuilder incorrectly handling full URL in path. PR #9245
1.1.2 (2020-05-07)
- Fix issue with null/undefined values in array and tabs/space delimiter arrays during sendOperationRequest. PR #8604
1.1.1 (2020-04-28)
- Add support for
text/plainendpoints. PR #7963 - Updated to use OpenTelemetry 0.6.1 via
@azure/core-tracing.
1.1.0 (2020-03-31)
-
A new interface
WebResourceLikewas introduced to avoid a direct dependency on the classWebResourcein public interfaces.HttpHeadersLikewas also added to replace references toHttpHeaders. This should improve cross-version compatibility for core-http. PR #7873 -
Add support to disable response decompression in
node-fetchHttp client. PR #7878
1.0.4 (2020-03-03)
- When an operation times out based on the
timeoutconfigured in theOperationRequestOptions, it gets terminated with an error. In this update, the error that is thrown in browser for such cases is updated to match what is thrown in node i.e anAbortErroris thrown instead of the previousRestError. PR #7159 - Support for username and password in the proxy url PR #7211
- Removed dependency on
lib.dom.d.tsso TypeScript users no longer needlib: ["dom"]in their tsconfig.json file to use this library. PR #7500
1.0.3 (2020-01-02)
- Added
x-ms-useragentto the list of allowed headers in request logs. - Fix issue of data being pushed twice when reporting progress (PR #6427)
- Move
getDefaultProxySettings()calls intoproxyPolicyso that libraries that don't use the PipelineOptions or createDefaultRequestPolicyFactories from core-http can use this behavior without duplicating code. (PR #6478) - Fix tracingPolicy() to set standard span attributes (PR #6565). Now the following are set correctly for the spans
http.methodhttp.urlhttp.user_agenthttp.status_coderequestIdserviceRequestIdkind= Client- span name: URI path
1.0.2 (2019-12-02)
- Updated to use OpenTelemetry 0.2 via
@azure/core-tracing
1.0.0 (2019-10-29)
- This release marks the general availability of the
@azure/core-httppackage. - Removed the browser bundle. A browser-compatible library can still be created through the use of a bundler such as Rollup, Webpack, or Parcel. (#5860)
1.0.0-preview.6 (2019-10-22)
- Introduced a HTTP pipeline configuration type,
PipelineOptions, which makes it easier to configure common settings for API requests. This is now the options type used in the@azure/keyvault-*data plane libraries. - Support for HTTP request logging has been redesigned to use
@azure/logger; useAZURE_LOG_LEVEL="info"to see full request/response logs when running in Node.js. In the browser, you can importsetLogLevelfrom@azure/loggerto change the log level; logs will then be written to the browser console. - Removed error type
ResponseBodyNotFoundErrorthat was introduced in the previous preview. Use cases for it were removed. - Fixed an issue where error response details were not being deserialized correctly when the default mapper is used.
- In Node.js, HTTP agents configured for proxy or keepAlive are now reused across requests. This resolves a memory leak reported in #4964.
- Fixes a memory leak issue resulting from event listeners not being removed from abortSignals.
- Cancelling an operation using an
abortSignalwill now throw anAbortError. Thenameproperty on the error will match "AbortError".
1.0.0-preview.4 (2019-10-07)
- No longer re-exports
@azure/core-tracing. To enable tracing, callsetTracerfrom@azure/core-tracingdirectly. (PR #5389) - Report upload/download progress only after the first data chunk is received (PR #5298)
- Added new error type
ResponseBodyNotFoundErrorfor cases when the response body is unexpectedly empty. (PR #5369) - Temporary fix for a memory leak issue resulting from creating new agents every time WebResource is cloned. (PR #5396)
1.0.0-preview.3 (2019-09-09)
- Syncs changes from
@azure/ms-rest-jsto@azure/core-http. (PR #4756).- Updates HTTP clients to
fetchandnode-fetchfor the browser and node.js respectively.
- Updates HTTP clients to
- Reintroduces
ServiceClientCredentialstype tocredentialsparameter ofServiceClient(PR #4773). - Updates types for better compatibility with TypeScript 3.6.x. (PR #4928).
- Adds
TracingPolicyto support settingtraceparentandtracestateheaders when setting spans in operation as per the trace context HTTP headers format. (PR #4712). - Adds
text/plainas an accepted MIME type for JSON output. (PR #4975). - Exposes
ProxySettingstype. (PR #5043). - Fixes bug where
WebResource.clonewould not copyproxySettingsorkeepAlivesettings. (PR #5047).
1.0.0-preview.2 (2019-08-05)
- Removed
ServiceClientCredentialstype fromcredentialsparameter ofServiceClient(PR #4367). Credential implementations are now standardized on@azure/core-auth'sTokenCredentialinterface and provided by@azure/identity. - Added an
AccessTokenCacheso that access tokens can be cached across pipeline instances (PR #4174). - Fixed the issue preventing
ServiceClientfrom correctly setting the scope's resource URI when creating aBearerTokenAuthenticationPolicy(PR #4335). - Migrated over
AxiosHttpClientfixes from@azure/ms-rest-js(PR #4106).
1.0.0-preview.1 (2019-06-25)
- Forked
@azure/ms-rest-jsto@azure/core-httpto form the base HTTP pipeline of the Azure SDK TypeScript/JavaScript libraries. - Added
TokenCredentialto define a simple interface for credentials that provided bearer tokens - Added
BearerTokenAuthenticationPolicywhich can use aTokenCredentialimplementation to perform bearer token authentication against Azure services