From 33c4c774ecd4edf7181972e2d30232b62c94734a Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 5 Oct 2021 20:54:13 +0000 Subject: [PATCH] Post release automated changes for azure-eventgrid --- sdk/eventgrid/eventgrid/CHANGELOG.md | 10 ++++++++++ sdk/eventgrid/eventgrid/package.json | 2 +- .../eventgrid/samples/v4/javascript/README.md | 2 +- .../eventgrid/samples/v4/javascript/package.json | 2 +- .../eventgrid/samples/v4/typescript/README.md | 4 ++-- .../eventgrid/samples/v4/typescript/package.json | 4 ++-- .../eventgrid/samples/v4/typescript/tsconfig.json | 3 ++- .../eventgrid/src/generated/generatedClientContext.ts | 2 +- sdk/eventgrid/eventgrid/swagger/README.md | 2 +- 9 files changed, 21 insertions(+), 10 deletions(-) diff --git a/sdk/eventgrid/eventgrid/CHANGELOG.md b/sdk/eventgrid/eventgrid/CHANGELOG.md index b45745789848..67251bb7c84b 100644 --- a/sdk/eventgrid/eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/eventgrid/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 4.5.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 4.5.0 (2021-10-05) ### Features Added diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index 70a0fbc187d1..7ba4d3f0f368 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -3,7 +3,7 @@ "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure Event Grid service.", - "version": "4.5.0", + "version": "4.5.1", "keywords": [ "node", "azure", diff --git a/sdk/eventgrid/eventgrid/samples/v4/javascript/README.md b/sdk/eventgrid/eventgrid/samples/v4/javascript/README.md index d221249dd1d5..5a58639a054e 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/javascript/README.md +++ b/sdk/eventgrid/eventgrid/samples/v4/javascript/README.md @@ -20,7 +20,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: diff --git a/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json b/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json index 74690d17b9b0..74f0c31d336a 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json +++ b/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.0", "description": "Azure Event Grid client library samples for JavaScript", - "engine": { + "engines": { "node": ">=12.0.0" }, "repository": { diff --git a/sdk/eventgrid/eventgrid/samples/v4/typescript/README.md b/sdk/eventgrid/eventgrid/samples/v4/typescript/README.md index d06c53be1e79..69cc53f0daa8 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/typescript/README.md +++ b/sdk/eventgrid/eventgrid/samples/v4/typescript/README.md @@ -20,7 +20,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: @@ -59,7 +59,7 @@ npm run build 4. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node dist/consumeEventsFromServiceBusQueue.ts +node dist/consumeEventsFromServiceBusQueue.js ``` Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): diff --git a/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json b/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json index 3a0d25606933..3028aee56217 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json +++ b/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.0", "description": "Azure Event Grid client library samples for TypeScript", - "engine": { + "engines": { "node": ">=12.0.0" }, "scripts": { @@ -35,7 +35,7 @@ "@azure/service-bus": "^7.0.0" }, "devDependencies": { - "typescript": "~4.2.0", + "typescript": "~4.4.0", "rimraf": "latest" } } diff --git a/sdk/eventgrid/eventgrid/samples/v4/typescript/tsconfig.json b/sdk/eventgrid/eventgrid/samples/v4/typescript/tsconfig.json index 4e7be7e1a850..416c2dd82e00 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/typescript/tsconfig.json +++ b/sdk/eventgrid/eventgrid/samples/v4/typescript/tsconfig.json @@ -1,8 +1,9 @@ { "compilerOptions": { - "target": "ES6", + "target": "ES2018", "module": "commonjs", "moduleResolution": "node", + "resolveJsonModule": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, diff --git a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts index 5cbf23188e84..e2625d16f4db 100644 --- a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts +++ b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts @@ -26,7 +26,7 @@ export class GeneratedClientContext extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-eventgrid/4.5.0`; + const packageDetails = `azsdk-js-eventgrid/4.5.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/eventgrid/eventgrid/swagger/README.md b/sdk/eventgrid/eventgrid/swagger/README.md index d46001fb02d9..c2af6f8db39f 100644 --- a/sdk/eventgrid/eventgrid/swagger/README.md +++ b/sdk/eventgrid/eventgrid/swagger/README.md @@ -7,7 +7,7 @@ ```yaml require: "https://github.com/Azure/azure-rest-api-specs/blob/b6f4a619bd310870334edd79eaec2d4bfeabdbbe/specification/eventgrid/data-plane/readme.md" package-name: "@azure/eventgrid" -package-version: "4.5.0" +package-version: "4.5.1" title: GeneratedClient description: EventGrid Client generate-metadata: false