Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions common/tools/dev-tool/src/commands/samples/prep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ async function enableLocalRun(

let relativePath = new Array(depth).fill("..").join("/");

if (isTs) {
// TypeScript imports should use src directly
relativePath += "/src";
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was done before for reasons that @witemple-msft does not remember and it is causing the storage-file-datalake samples to fail compiling because storage-common is just a simple folder of source files instead of being a package with a package.json (unlike keyvault-common) so compiled files there do not have access to tslib.

outputContent = fileContents.replace(
importRegex,
isTs ? `import $1 from "${relativePath}";` : `const $1 = require("${relativePath}");`
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/core-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Features Added

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

### Breaking Changes

- Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing.
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-http/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"module": "commonjs",
"outDir": "dist",
"target": "es5",
"declarationDir": "./types/latest"
},
"exclude": ["node_modules"],
Expand Down
3 changes: 3 additions & 0 deletions sdk/core/core-lro/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## 1.0.6 (Unreleased)

### New Features

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

## 1.0.5 (2021-04-12)

Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-lro/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.package",
"compilerOptions": {
"target": "es5",
"outDir": "./dist-esm",
"declarationDir": "./types"
},
Expand Down
1 change: 0 additions & 1 deletion sdk/quantum/quantum-jobs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../../tsconfig.package",
"compilerOptions": {
"strict": true,
"target": "es5",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was needed because it depends on core-http. There is no need to bump the version I believe since it is still in beta.

"sourceMap": true,
"lib": [
"es6",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob-changefeed/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sourceMap": true,
"inlineSources": true,
"newLine": "LF",
"target": "es5",
"target": "ES2017",
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down
11 changes: 6 additions & 5 deletions sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Release History

## 12.6.1 (Unreleased)
## 12.7.0 (Unreleased)

### Features Added

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

### Breaking Changes

### Key Bugs Fixed

### Fixed


## 12.6.0 (2021-06-09)

- Includes all features released in 12.6.0-beta.1.
Expand Down Expand Up @@ -355,12 +356,12 @@
- [Breaking] The static methods to create client types are removed. The functionality is moved into new instance methods added to the parent clients.
- [Breaking] The telemetry strings have been updated.
- `Azure-Storage/${SDK_VERSION}` is updated to `azsdk-js-storagefile/${SDK_VERSION}`.
- [Breaking]  withPipeline method is removed.
- [Breaking] withPipeline method is removed.
- Async iterators with pagination support are added for listing methods
- `listContainers()`, `listBlobsFlat()` and `listBlobsByHierarchy()`
- Please refer to the samples for async iterators in the `samples` folder.
- [Breaking]  Methods that list segments(`listBlobFlatSegment()` and `listContainersSegment()`) are no longer exposed in public api.
- [Breaking]  High level convenience functions are moved into clients as their instance member function.
- [Breaking] Methods that list segments(`listBlobFlatSegment()` and `listContainersSegment()`) are no longer exposed in public api.
- [Breaking] High level convenience functions are moved into clients as their instance member function.
- `uploadFileToBlockBlob()`, `uploadStreamToBlockBlob()` and `uploadBrowserDataToBlockBlob()` -> `BlockBlobClient.uploadFile()`, `BlockBlobClient.uploadStream()` and `BlockBlobClient.uploadBrowserData()` respectively
- `downloadBlobToBuffer()` -> `BlobClient.downloadToBuffer()`
- [Breaking] `StorageClient` is no longer exposed. `StorageClient.newPipeline()` static method is moved to the top level exported function `newPipeline()`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-blob",
"sdk-type": "client",
"version": "12.6.1",
"version": "12.7.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { StorageClientOptionalParams } from "./models";

const packageName = "azure-storage-blob";
const packageVersion = "12.6.0-beta.1";
const packageVersion = "12.7.0";

export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "12.6.1";
export const SDK_VERSION: string = "12.7.0";
export const SERVICE_VERSION: string = "2020-08-04";

export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.6.0
package-version: 12.7.0
```

## Customizations for Track 2 Generator
Expand Down
1 change: 0 additions & 1 deletion sdk/storage/storage-blob/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.package",
"compilerOptions": {
"target": "es5",
"declarationDir": "./typings/latest",
"outDir": "./dist-esm",
"lib": ["dom", "es5", "es6", "es7", "esnext"]
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-datalake/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"module": "es6",
"moduleResolution": "node",
"strict": true,
"target": "es5",
"target": "ES2017",
"sourceMap": true,
"declarationMap": true,
"esModuleInterop": true,
Expand Down
5 changes: 3 additions & 2 deletions sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Release History

## 12.5.1 (Unreleased)
## 12.6.0 (Unreleased)

### Features Added

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

### Breaking Changes

### Key Bugs Fixed

### Fixed


## 12.5.0 (2021-06-09)

- Includes all features released in 12.5.0-beta.1.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/storage-file-datalake",
"version": "12.5.1",
"version": "12.6.0",
"description": "Microsoft Azure Storage SDK for JavaScript - DataLake",
"sdk-type": "client",
"main": "./dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { StorageClientOptionalParams } from "./models";

const packageName = "azure-storage-datalake";
const packageVersion = "12.5.1";
const packageVersion = "12.6.0";

export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "12.5.1";
export const SDK_VERSION: string = "12.6.0";
export const SERVICE_VERSION: string = "2020-06-12";

export const KB: number = 1024;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210223.1"
package-version: 12.5.1
package-version: 12.6.0
```

## Customizations for Track 2 Generator
Expand Down
1 change: 0 additions & 1 deletion sdk/storage/storage-file-datalake/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.package",
"compilerOptions": {
"target": "es5",
"declarationDir": "./typings/latest",
"outDir": "./dist-esm",
"lib": ["dom", "es5", "es6", "es7", "esnext"]
Expand Down
9 changes: 5 additions & 4 deletions sdk/storage/storage-file-share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Release History

## 12.6.1 (Unreleased)
## 12.7.0 (Unreleased)

### Features Added

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

### Breaking Changes

### Key Bugs Fixed

### Fixed


## 12.6.0 (2021-06-09)

- Updated Azure Storage Service API version to 2020-08-04.
Expand Down Expand Up @@ -240,8 +241,8 @@
- Async iterators with pagination support are added for listing methods
- `listFilesAndDirectories()` and `listShares()`
- Please refer to the samples for async iterators in the `samples` folder.
- [Breaking] Methods that list segments(`listFilesAndDirectoriesSegment()` and `listSharesSegment()`) are no longer exposed in public api.
- [Breaking] High level convenience functions are moved into clients as their instance member function.
- [Breaking] Methods that list segments(`listFilesAndDirectoriesSegment()` and `listSharesSegment()`) are no longer exposed in public api.
- [Breaking] High level convenience functions are moved into clients as their instance member function.
- `uploadFileToAzureFile()`, `uploadStreamToAzureFile()`, `downloadAzureFileToBuffer()` and `uploadBrowserDataToAzureFile()` -> `FileClient.uploadFile()`,
`FileClient.uploadStream()`, `FileClient.downloadToBuffer()` and `FileClient.uploadBrowserData()` respectively.
- [Breaking] `StorageClient` is no longer exposed. `StorageClient.newPipeline()` static method is moved to the top level exported function `newPipeline()`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-file-share",
"sdk-type": "client",
"version": "12.6.1",
"version": "12.7.0",
"description": "Microsoft Azure Storage SDK for JavaScript - File",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { StorageClientOptionalParams } from "./models";

const packageName = "azure-storage-file-share";
const packageVersion = "12.6.1";
const packageVersion = "12.7.0";

export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "12.6.1";
export const SDK_VERSION: string = "12.7.0";
export const SERVICE_VERSION: string = "2020-08-04";

export const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.6.1
package-version: 12.7.0
```

## Customizations for Track 2 Generator
Expand Down
1 change: 0 additions & 1 deletion sdk/storage/storage-file-share/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.package",
"compilerOptions": {
"target": "es5",
"declarationDir": "./typings/latest",
"outDir": "./dist-esm",
"lib": ["dom", "es5", "es6", "es7", "esnext"]
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-internal-avro/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sourceMap": true,
"inlineSources": true,
"newLine": "LF",
"target": "es5",
"target": "ES2017",
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down
5 changes: 3 additions & 2 deletions sdk/storage/storage-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Release History

## 12.5.1 (Unreleased)
## 12.6.0 (Unreleased)

### Features Added

- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features

### Breaking Changes

### Key Bugs Fixed

### Fixed


## 12.5.0 (2021-06-09)

- Updated Azure Storage Service API version to 2020-08-04.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-queue",
"sdk-type": "client",
"version": "12.5.1",
"version": "12.6.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Queue",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { StorageClientOptionalParams } from "./models";

const packageName = "azure-storage-queue";
const packageVersion = "12.5.1";
const packageVersion = "12.6.0";

export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "12.5.1";
export const SDK_VERSION: string = "12.6.0";
export const SERVICE_VERSION: string = "2020-08-04";

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.5.1
package-version: 12.6.0
```

## Customizations for Track 2 Generator
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sourceMap": true,
"inlineSources": true,
"newLine": "LF",
"target": "es5",
"target": "ES2017",
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down