Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[storage] stg74 #11459

Merged
merged 37 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
bb4d071
[storage][stg74] swagger update (#11171)
ljian3377 Sep 15, 2020
33c0867
Merge branch 'master' into storage/stg74base
ljian3377 Sep 17, 2020
5b49d57
swagger-regenerate: 196d5c1
ljian3377 Sep 23, 2020
a3a172b
smb multi-channel (#11178)
ljian3377 Sep 23, 2020
47b6b70
[Storage] Feature - Recursive ACL (#9689)
XiaoningLiu Sep 24, 2020
7265f09
Merge branch 'master' into storage/stg74base
ljian3377 Sep 24, 2020
6db3291
lastAccessed in BlobDownloadResponse wrapper
ljian3377 Sep 24, 2020
13ffcc3
[storage][stg74] container restore (#11457)
ljian3377 Sep 24, 2020
a32a1e4
[storage][stg74] get file range diff (#11455)
ljian3377 Sep 24, 2020
9b78225
nit: PR comments
ljian3377 Sep 24, 2020
58a959d
[storage][stg74] quick query new output format "arrow" (#11423)
ljian3377 Sep 24, 2020
2e8784e
[storage][stg74] Delegation SAS v2 and Directory SAS (#11395)
ljian3377 Sep 24, 2020
cbcfa5b
update allow optional messageText (#11258)
ljian3377 Sep 24, 2020
4fd83a8
[storage][stg74] 4TB file for standard account (#11177)
ljian3377 Sep 24, 2020
6698d69
add set expiry (#11461)
ljian3377 Sep 24, 2020
beb900c
fix merge issue
ljian3377 Sep 24, 2020
2ac4a95
Continuation Token wrapped with Error when Recursive Acl call is inte…
XiaoningLiu Oct 8, 2020
c9886e5
[storage][stg74] address PR comments (#11520)
ljian3377 Oct 9, 2020
7ea23a5
[storage][stg74] set file tier (#11735)
ljian3377 Oct 9, 2020
91763cf
Merge branch 'master' into storage/stg74base
ljian3377 Oct 9, 2020
981933b
[storage] temporary fix for issue #11505 (#11737)
ljian3377 Oct 9, 2020
a9f0e30
update pacakge versions and change log (#11739)
ljian3377 Oct 9, 2020
0435f6a
[storage][stg74] fix ci (#11752)
ljian3377 Oct 10, 2020
14b4081
unskip quick query record & support include-leased for x-ms-delete-sn…
ljian3377 Oct 10, 2020
c4bbf5b
Merge branch 'master' into storage/stg74base
ljian3377 Oct 10, 2020
c0483db
Resolve CRI failure (#11756)
XiaoningLiu Oct 10, 2020
a65e668
fix lease test case
ljian3377 Oct 10, 2020
deb6986
Record RecAcl (#11765)
XiaoningLiu Oct 12, 2020
120ed16
[storage][stg74] test coverage improvement (#11757)
ljian3377 Oct 13, 2020
46e4147
Merge branch 'master' into storage/stg74base
ljian3377 Oct 13, 2020
4c078e9
re-record blob delegation SAS cases
ljian3377 Oct 13, 2020
a241fd1
modify testutils and re-record
ljian3377 Oct 13, 2020
1e00dae
record for browser
ljian3377 Oct 13, 2020
ad2c142
me
ljian3377 Oct 13, 2020
010dfc7
fix CI and unskip cases
ljian3377 Oct 13, 2020
8260fef
tune setProperties in IE
ljian3377 Oct 13, 2020
1a30063
remove .only
ljian3377 Oct 13, 2020
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
2 changes: 1 addition & 1 deletion sdk/eventhub/eventhubs-checkpointstore-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"dependencies": {
"@azure/event-hubs": "^5.0.0",
"@azure/logger": "^1.0.0",
"@azure/storage-blob": "^12.2.0",
"@azure/storage-blob": "^12.3.0",
"events": "^3.0.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob-changefeed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure Storage Blob Change Feed client library for JavaScript

> Server Version: 2019-12-12
> Server Version: 2019-12-12 or later.

The change feed provides an ordered, guaranteed, durable, immutable, read-only transaction log of all the changes that occur to blobs and blob metadata in your storage account. Client applications can read these logs at any time. The change feed enables you to build efficient and scalable solutions that process change events that occur in your Blob Storage account at a low cost.

Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob-changefeed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
]
},
"dependencies": {
"@azure/storage-blob": "^12.2.0",
"@azure/storage-blob": "^12.3.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-http": "^1.1.6",
"@azure/core-lro": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions 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.2.1",
"version": "12.3.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.2.1 [email protected]/[email protected]",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 50 additions & 1 deletion sdk/storage/storage-blob/review/storage-blob.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ export interface BlobDownloadHeaders {
etag?: string;
isSealed?: boolean;
isServerEncrypted?: boolean;
lastAccessed?: Date;
lastModified?: Date;
leaseDuration?: LeaseDurationType;
leaseState?: LeaseStateType;
Expand Down Expand Up @@ -654,6 +655,7 @@ export interface BlobGetPropertiesHeaders {
isIncrementalCopy?: boolean;
isSealed?: boolean;
isServerEncrypted?: boolean;
lastAccessed?: Date;
ljian3377 marked this conversation as resolved.
Show resolved Hide resolved
lastModified?: Date;
leaseDuration?: LeaseDurationType;
leaseState?: LeaseStateType;
Expand Down Expand Up @@ -868,6 +870,8 @@ export interface BlobProperties {
// (undocumented)
isSealed?: boolean;
// (undocumented)
lastAccessedOn?: Date;
// (undocumented)
lastModified: Date;
leaseDuration?: LeaseDurationType;
leaseState?: LeaseStateType;
Expand All @@ -881,6 +885,23 @@ export interface BlobProperties {
tagCount?: number;
}

// @public
export interface BlobQueryArrowConfiguration {
kind: "arrow";
schema: BlobQueryArrowField[];
}

// @public
export interface BlobQueryArrowField {
name?: string;
precision?: number;
scale?: number;
type: BlobQueryArrowFieldType;
}

// @public
export type BlobQueryArrowFieldType = "int64" | "bool" | "timestamp[ms]" | "string" | "double" | "decimal";

// @public
export interface BlobQueryCsvTextConfiguration {
columnSeparator?: string;
Expand Down Expand Up @@ -1024,6 +1045,10 @@ export class BlobServiceClient extends StorageClient {
getUserDelegationKey(startsOn: Date, expiresOn: Date, options?: ServiceGetUserDelegationKeyOptions): Promise<ServiceGetUserDelegationKeyResponse>;
listContainers(options?: ServiceListContainersOptions): PagedAsyncIterableIterator<ContainerItem, ServiceListContainersSegmentResponse>;
setProperties(properties: BlobServiceProperties, options?: ServiceSetPropertiesOptions): Promise<ServiceSetPropertiesResponse>;
undeleteContainer(deletedContainerName: string, destinationContainerName?: string, options?: ContainerUndeleteOptions): Promise<{
ljian3377 marked this conversation as resolved.
Show resolved Hide resolved
ljian3377 marked this conversation as resolved.
Show resolved Hide resolved
containerClient: ContainerClient;
containerUndeleteResponse: ContainerUndeleteResponse;
}>;
}

// @public
Expand Down Expand Up @@ -1355,7 +1380,7 @@ export interface BlockBlobQueryOptions extends CommonOptions {
inputTextConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration;
onError?: (error: BlobQueryError) => void;
onProgress?: (progress: TransferProgressEvent) => void;
outputTextConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration;
outputTextConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration | BlobQueryArrowConfiguration;
}

// @public
Expand Down Expand Up @@ -1873,6 +1898,29 @@ export type ContainerSetMetadataResponse = ContainerSetMetadataHeaders & {
};
};

// @public
export interface ContainerUndeleteHeaders {
clientRequestId?: string;
date?: Date;
// (undocumented)
errorCode?: string;
requestId?: string;
version?: string;
}

// @public
export interface ContainerUndeleteOptions extends CommonOptions {
abortSignal?: AbortSignalLike;
deletedContainerVersion?: string;
}

// @public
export type ContainerUndeleteResponse = ContainerUndeleteHeaders & {
_response: coreHttp.HttpResponse & {
parsedHeaders: ContainerUndeleteHeaders;
};
};

// @public
export type CopyPollerBlobClient = Pick<BlobClient, "abortCopyFromURL" | "getProperties"> & {
startCopyFromURL(copySource: string, options?: BlobStartCopyFromURLOptions): Promise<BlobBeginCopyFromURLResponse>;
Expand Down Expand Up @@ -2725,6 +2773,7 @@ export type ServiceGetUserDelegationKeyResponse = UserDelegationKey & ServiceGet
// @public
export interface ServiceListContainersOptions extends CommonOptions {
abortSignal?: AbortSignalLike;
includeDeleted?: boolean;
includeMetadata?: boolean;
prefix?: string;
}
Expand Down
12 changes: 12 additions & 0 deletions sdk/storage/storage-blob/src/BlobDownloadResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,18 @@ export class BlobDownloadResponse implements BlobDownloadResponseParsed {
return this.originalResponse.lastModified;
}

/**
* Returns the UTC date and time generated by the service that indicates the time at which the blob was
* last read or written to.
*
* @readonly
* @type {(Date | undefined)}
* @memberof BlobDownloadResponse
*/
public get lastAccessed(): Date | undefined {
return this.originalResponse.lastAccessed;
}

/**
* A name-value pair
* to associate with a file storage object.
Expand Down
Loading