@azure/storage-blob
Advanced tools
Comparing version 12.4.0 to 12.4.1-alpha.20210126.1
# Release History | ||
## 12.4.1 (Unreleased) | ||
- Fixed a compile failure due to "Can't resolve 'crypto'" in Angular. [Issue #13267](https://github.com/Azure/azure-sdk-for-js/issues/13267). | ||
- Fixed an error when listing blob with a metadata key of `_` [issue #9197](https://github.com/Azure/azure-sdk-for-js/issues/9171) | ||
- The `"Unclosed root tag"` XML parser error is now retriable. [PR #13076](https://github.com/Azure/azure-sdk-for-js/pull/13076). | ||
## 12.4.0 (2021-01-12) | ||
@@ -4,0 +10,0 @@ |
@@ -81,4 +81,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
new StorageBrowserPolicyFactory(), | ||
deserializationPolicy(), | ||
new StorageRetryPolicyFactory(pipelineOptions.retryOptions), | ||
// Default deserializationPolicy is provided by protocol layer | ||
// Use customized XML char key of "#" so we could deserialize metadata | ||
// with "_" key | ||
deserializationPolicy(undefined, { xmlCharKey: "#" }), | ||
logPolicy({ | ||
@@ -85,0 +88,0 @@ logger: logger.info, |
@@ -201,7 +201,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
err.message.toUpperCase().includes(retriableError) || | ||
(err.code && | ||
err.code | ||
.toString() | ||
.toUpperCase() | ||
.includes(retriableError))) { | ||
(err.code && err.code.toString().toUpperCase() === retriableError)) { | ||
logger.info("RetryPolicy: Network error " + retriableError + " found, will retry."); | ||
@@ -227,2 +223,6 @@ return true; | ||
} | ||
if ((err === null || err === void 0 ? void 0 : err.code) === "PARSE_ERROR" && (err === null || err === void 0 ? void 0 : err.message.startsWith("Error \"Error: Unclosed root tag"))) { | ||
logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."); | ||
return true; | ||
} | ||
return false; | ||
@@ -229,0 +229,0 @@ }; |
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
export var SDK_VERSION = "12.4.0"; | ||
export var SDK_VERSION = "12.4.1"; | ||
export var SERVICE_VERSION = "2020-04-08"; | ||
@@ -5,0 +5,0 @@ export var BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB |
{ | ||
"name": "@azure/storage-blob", | ||
"sdk-type": "client", | ||
"version": "12.4.0", | ||
"version": "12.4.1-alpha.20210126.1", | ||
"description": "Microsoft Azure Storage SDK for JavaScript - Blob", | ||
@@ -11,2 +11,3 @@ "main": "./dist/index.js", | ||
"./dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js": "./dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js", | ||
"./dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js": "./dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js", | ||
"./dist-esm/storage-blob/src/utils/utils.node.js": "./dist-esm/storage-blob/src/utils/utils.browser.js", | ||
@@ -39,3 +40,3 @@ "./dist-esm/storage-blob/test/utils/index.js": "./dist-esm/storage-blob/test/utils/index.browser.js", | ||
"build:nodebrowser": "rollup -c 2>&1", | ||
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples", | ||
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples", | ||
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc", | ||
@@ -57,2 +58,3 @@ "build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1", | ||
"pack": "npm pack 2>&1", | ||
"perfstress-test:node": "cross-env TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" ts-node test/perfstress/track-2/index.spec.ts", | ||
"prebuild": "npm run clean", | ||
@@ -66,3 +68,3 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", | ||
"emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node", | ||
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --mode file --out ./dist/docs ./src" | ||
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" | ||
}, | ||
@@ -127,3 +129,3 @@ "files": [ | ||
"@azure/core-paging": "^1.1.1", | ||
"@azure/core-tracing": "1.0.0-preview.9", | ||
"@azure/core-tracing": "^1.0.0-alpha", | ||
"@azure/logger": "^1.0.0", | ||
@@ -135,6 +137,8 @@ "@opentelemetry/api": "^0.10.2", | ||
"devDependencies": { | ||
"@azure/dev-tool": "^1.0.0", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0", | ||
"@azure/core-https": "^1.0.0-alpha", | ||
"@azure/dev-tool": "^1.0.0-alpha", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0-alpha", | ||
"@azure/identity": "^1.1.0", | ||
"@azure/test-utils-recorder": "^1.0.0", | ||
"@azure/test-utils-recorder": "^1.0.0-alpha", | ||
"@azure/test-utils-perfstress": "^1.0.0-alpha", | ||
"@microsoft/api-extractor": "7.7.11", | ||
@@ -146,2 +150,3 @@ "@rollup/plugin-multi-entry": "^3.0.0", | ||
"@types/node": "^8.0.0", | ||
"@types/node-fetch": "^2.5.0", | ||
"assert": "^1.4.1", | ||
@@ -167,5 +172,6 @@ "cross-env": "^7.0.2", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-remap-istanbul": "^0.6.0", | ||
"karma-sourcemap-loader": "^0.3.8", | ||
"mocha": "^7.1.1", | ||
"mocha-junit-reporter": "^1.18.0", | ||
"node-fetch": "^2.6.0", | ||
"nyc": "^14.0.0", | ||
@@ -186,4 +192,4 @@ "prettier": "^1.16.4", | ||
"util": "^0.12.1", | ||
"typedoc": "0.15.0" | ||
"typedoc": "0.15.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6300614
190
77167
53
1
+ Added@azure/core-tracing@1.0.0-preview.111.2.0(transitive)
+ Added@opentelemetry/api@1.0.0-rc.0(transitive)
- Removed@azure/core-tracing@1.0.0-preview.9(transitive)