From a8ce9c5c649e66911c99f9dfc775c23bdf552df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Mon, 9 Sep 2019 21:27:29 +0000 Subject: [PATCH 1/3] 4.0.0-preview 5 and fixed #5003 Fixes #5003 --- sdk/keyvault/keyvault-certificates/CHANGELOG.md | 4 ++++ sdk/keyvault/keyvault-certificates/package.json | 8 ++------ sdk/keyvault/keyvault-keys/package.json | 6 +----- sdk/keyvault/keyvault-secrets/package.json | 4 ---- 4 files changed, 7 insertions(+), 15 deletions(-) create mode 100644 sdk/keyvault/keyvault-certificates/CHANGELOG.md diff --git a/sdk/keyvault/keyvault-certificates/CHANGELOG.md b/sdk/keyvault/keyvault-certificates/CHANGELOG.md new file mode 100644 index 000000000000..0bd73c307205 --- /dev/null +++ b/sdk/keyvault/keyvault-certificates/CHANGELOG.md @@ -0,0 +1,4 @@ +# Release History + +## 4.0.0-preview.5 (2019-09-09) +- Released keyvault-certificates diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 1326cc9897ae..35db63a51ec3 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -2,7 +2,7 @@ "name": "@azure/keyvault-certificates", "sdk-type": "client", "author": "Microsoft Corporation", - "version": "0.0.1", + "version": "4.0.0-preview.5", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's certificates.", "homepage": "https://github.com/Azure/azure-sdk-for-js#readme", @@ -76,15 +76,13 @@ "devDependencies": { "@azure/identity": "1.0.0-preview.3", "@azure/test-utils-recorder": "1.0.0", - "@azure/keyvault-keys": "4.0.0-preview.4", + "@azure/keyvault-keys": "4.0.0-preview.5", "@azure/keyvault-secrets": "4.0.0-preview.5", "@microsoft/api-extractor": "^7.1.5", "@types/chai": "^4.1.6", "@types/dotenv": "^6.1.0", "@types/fs-extra": "^8.0.0", "@types/mocha": "^5.2.5", - "@types/nise": "^1.4.0", - "@types/nock": "^10.0.1", "@types/node": "^8.0.0", "@types/query-string": "6.2.0", "@typescript-eslint/eslint-plugin": "^2.0.0", @@ -115,8 +113,6 @@ "mocha": "^6.2.0", "mocha-junit-reporter": "^1.18.0", "mocha-multi": "^1.1.3", - "nise": "^1.4.10", - "nock": "^11.3.2", "nyc": "^14.0.0", "prettier": "^1.16.4", "puppeteer": "^1.11.0", diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index a94c52851848..d0e4aa09e5d8 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -2,7 +2,7 @@ "name": "@azure/keyvault-keys", "sdk-type": "client", "author": "Microsoft Corporation", - "version": "4.0.0-preview.4", + "version": "4.0.0-preview.5", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's keys.", "homepage": "https://github.com/Azure/azure-sdk-for-js#readme", @@ -84,8 +84,6 @@ "@types/dotenv": "^6.1.0", "@types/fs-extra": "^8.0.0", "@types/mocha": "^5.2.5", - "@types/nise": "^1.4.0", - "@types/nock": "^10.0.1", "@types/node": "^8.0.0", "@types/query-string": "6.2.0", "@typescript-eslint/eslint-plugin": "^2.0.0", @@ -116,8 +114,6 @@ "mocha": "^6.2.0", "mocha-junit-reporter": "^1.18.0", "mocha-multi": "^1.1.3", - "nise": "^1.4.10", - "nock": "^11.3.2", "nyc": "^14.0.0", "prettier": "^1.16.4", "puppeteer": "^1.11.0", diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 6b5da3fdfb2e..029e8738e5c2 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -83,8 +83,6 @@ "@types/dotenv": "^6.1.0", "@types/fs-extra": "^8.0.0", "@types/mocha": "^5.2.5", - "@types/nise": "^1.4.0", - "@types/nock": "^10.0.1", "@types/node": "^8.0.0", "@types/query-string": "6.2.0", "@typescript-eslint/eslint-plugin": "^2.0.0", @@ -115,8 +113,6 @@ "mocha": "^6.2.0", "mocha-junit-reporter": "^1.18.0", "mocha-multi": "^1.1.3", - "nise": "^1.4.10", - "nock": "^11.3.2", "nyc": "^14.0.0", "prettier": "^1.16.4", "puppeteer": "^1.11.0", From ea3b9060a29330435b6f747ec5ad81ccde99dd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Mon, 9 Sep 2019 21:32:38 +0000 Subject: [PATCH 2/3] added a dot --- sdk/keyvault/keyvault-certificates/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/keyvault/keyvault-certificates/CHANGELOG.md b/sdk/keyvault/keyvault-certificates/CHANGELOG.md index 0bd73c307205..496b6b1a3df7 100644 --- a/sdk/keyvault/keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/keyvault-certificates/CHANGELOG.md @@ -1,4 +1,4 @@ # Release History ## 4.0.0-preview.5 (2019-09-09) -- Released keyvault-certificates +- Released keyvault-certificates. From bd7740951516b98efd0248c38f42ce8f1ba3f019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Mon, 9 Sep 2019 22:35:18 +0000 Subject: [PATCH 3/3] updated the versions everywhere they needed to be updated --- sdk/cosmosdb/cosmos/review/cosmos.api.md | 2 +- .../keyvault-certificates/src/core/keyVaultClientContext.ts | 2 +- .../keyvault-certificates/src/core/utils/constants.ts | 2 +- sdk/keyvault/keyvault-keys/CHANGELOG.md | 4 ++++ sdk/keyvault/keyvault-keys/src/core/keyVaultClientContext.ts | 2 +- sdk/keyvault/keyvault-keys/src/core/utils/constants.ts | 2 +- sdk/keyvault/keyvault-secrets/CHANGELOG.md | 4 ++++ .../keyvault-secrets/src/core/keyVaultClientContext.ts | 2 +- sdk/keyvault/keyvault-secrets/src/core/utils/constants.ts | 2 +- 9 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sdk/cosmosdb/cosmos/review/cosmos.api.md b/sdk/cosmosdb/cosmos/review/cosmos.api.md index 432e5302398b..c92df69e50fa 100644 --- a/sdk/cosmosdb/cosmos/review/cosmos.api.md +++ b/sdk/cosmosdb/cosmos/review/cosmos.api.md @@ -579,12 +579,12 @@ export class Items { query(query: string | SqlQuerySpec, options: FeedOptions): QueryIterator; readAll(options?: FeedOptions): QueryIterator; readAll(options?: FeedOptions): QueryIterator; + readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; // Warning: (ae-forgotten-export) The symbol "ChangeFeedOptions" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "ChangeFeedIterator" needs to be exported by the entry point index.d.ts readChangeFeed(partitionKey: string | number | boolean, changeFeedOptions: ChangeFeedOptions): ChangeFeedIterator; readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; readChangeFeed(partitionKey: string | number | boolean, changeFeedOptions: ChangeFeedOptions): ChangeFeedIterator; - readChangeFeed(changeFeedOptions?: ChangeFeedOptions): ChangeFeedIterator; upsert(body: any, options?: RequestOptions): Promise>; upsert(body: T, options?: RequestOptions): Promise>; } diff --git a/sdk/keyvault/keyvault-certificates/src/core/keyVaultClientContext.ts b/sdk/keyvault/keyvault-certificates/src/core/keyVaultClientContext.ts index be974e545fd7..0e0c00a1dfd2 100644 --- a/sdk/keyvault/keyvault-certificates/src/core/keyVaultClientContext.ts +++ b/sdk/keyvault/keyvault-certificates/src/core/keyVaultClientContext.ts @@ -12,7 +12,7 @@ import * as coreHttp from "@azure/core-http"; import * as coreArm from "@azure/core-arm"; const packageName = "@azure/keyvault-certificates"; -const packageVersion = "0.0.1"; +const packageVersion = "4.0.0-preview.5"; export class KeyVaultClientContext extends coreArm.AzureServiceClient { credentials: coreHttp.TokenCredential; diff --git a/sdk/keyvault/keyvault-certificates/src/core/utils/constants.ts b/sdk/keyvault/keyvault-certificates/src/core/utils/constants.ts index c46e84d2f67f..889b0ef50cbe 100644 --- a/sdk/keyvault/keyvault-certificates/src/core/utils/constants.ts +++ b/sdk/keyvault/keyvault-certificates/src/core/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -export const SDK_VERSION: string = "1.0.0-preview1"; +export const SDK_VERSION: string = "4.0.0-preview.5"; export const RetryConstants = { MIN_RETRY_INTERVAL_MS: 3000, diff --git a/sdk/keyvault/keyvault-keys/CHANGELOG.md b/sdk/keyvault/keyvault-keys/CHANGELOG.md index b2904ac926b6..f27da4da793a 100644 --- a/sdk/keyvault/keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/keyvault-keys/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 4.0.0-preview.5 (2019-09-09) +- Improved tests and upgraded dependencies. +- Added the browser folder to the released bundle. + ## 4.0.0-preview.3 (2019-08-06) - Added a new CryptographyClient to handle cryptography tasks. - Added browser support. diff --git a/sdk/keyvault/keyvault-keys/src/core/keyVaultClientContext.ts b/sdk/keyvault/keyvault-keys/src/core/keyVaultClientContext.ts index 3973b532d708..6f716c1b5694 100644 --- a/sdk/keyvault/keyvault-keys/src/core/keyVaultClientContext.ts +++ b/sdk/keyvault/keyvault-keys/src/core/keyVaultClientContext.ts @@ -12,7 +12,7 @@ import * as coreHttp from "@azure/core-http"; import * as coreArm from "@azure/core-arm"; const packageName = "@azure/keyvault-keys"; -const packageVersion = "4.0.0-preview.2"; +const packageVersion = "4.0.0-preview.5"; export class KeyVaultClientContext extends coreArm.AzureServiceClient { credentials: coreHttp.TokenCredential; diff --git a/sdk/keyvault/keyvault-keys/src/core/utils/constants.ts b/sdk/keyvault/keyvault-keys/src/core/utils/constants.ts index 101b93a1cfb3..ed665f172677 100644 --- a/sdk/keyvault/keyvault-keys/src/core/utils/constants.ts +++ b/sdk/keyvault/keyvault-keys/src/core/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -export const SDK_VERSION: string = "4.0.0-preview.2"; +export const SDK_VERSION: string = "4.0.0-preview.5"; export const RetryConstants = { MIN_RETRY_INTERVAL_MS: 3000 diff --git a/sdk/keyvault/keyvault-secrets/CHANGELOG.md b/sdk/keyvault/keyvault-secrets/CHANGELOG.md index f83b63c607e3..85496d17ae4a 100644 --- a/sdk/keyvault/keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/keyvault-secrets/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 4.0.0-preview.5 (2019-09-09) +- Improved tests and upgraded dependencies. +- Added the browser folder to the released bundle. + ## 4.0.0-preview.4 (2019-08-09) - Fixed the missing TypeScript types by adding back the generated `.d.ts` file to the package.json diff --git a/sdk/keyvault/keyvault-secrets/src/core/keyVaultClientContext.ts b/sdk/keyvault/keyvault-secrets/src/core/keyVaultClientContext.ts index 50a818113f2d..800d3bbace31 100644 --- a/sdk/keyvault/keyvault-secrets/src/core/keyVaultClientContext.ts +++ b/sdk/keyvault/keyvault-secrets/src/core/keyVaultClientContext.ts @@ -12,7 +12,7 @@ import * as coreHttp from "@azure/core-http"; import * as coreArm from "@azure/core-arm"; const packageName = "@azure/keyvault-secrets"; -const packageVersion = "4.0.0-preview.2"; +const packageVersion = "4.0.0-preview.5"; export class KeyVaultClientContext extends coreArm.AzureServiceClient { credentials: coreHttp.TokenCredential; diff --git a/sdk/keyvault/keyvault-secrets/src/core/utils/constants.ts b/sdk/keyvault/keyvault-secrets/src/core/utils/constants.ts index 101b93a1cfb3..ed665f172677 100644 --- a/sdk/keyvault/keyvault-secrets/src/core/utils/constants.ts +++ b/sdk/keyvault/keyvault-secrets/src/core/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -export const SDK_VERSION: string = "4.0.0-preview.2"; +export const SDK_VERSION: string = "4.0.0-preview.5"; export const RetryConstants = { MIN_RETRY_INTERVAL_MS: 3000