Skip to content

Commit

Permalink
Post release automated changes for core releases (#17974)
Browse files Browse the repository at this point in the history
Post release automated changes for azure-core-http
  • Loading branch information
azure-sdk authored Sep 30, 2021
1 parent de8e547 commit 0d02174
Show file tree
Hide file tree
Showing 19 changed files with 98 additions and 34 deletions.
10 changes: 10 additions & 0 deletions sdk/core/core-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 1.3.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.3.1 (2021-09-30)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/core-client",
"version": "1.3.1",
"version": "1.3.2",
"description": "Core library for interfacing with AutoRest generated code",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions sdk/core/core-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 2.2.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 2.2.1 (2021-09-30)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/core-http",
"sdk-type": "client",
"author": "Microsoft Corporation",
"version": "2.2.1",
"version": "2.2.2",
"description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
"tags": [
"isomorphic",
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-http/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Constants = {
/**
* The core-http version
*/
coreHttpVersion: "2.2.1",
coreHttpVersion: "2.2.2",

/**
* Specifies HTTP.
Expand Down
10 changes: 10 additions & 0 deletions sdk/core/core-lro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 2.2.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 2.2.1 (2021-09-30)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-lro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/core-lro",
"author": "Microsoft Corporation",
"sdk-type": "client",
"version": "2.2.1",
"version": "2.2.2",
"description": "Isomorphic client library for supporting long-running operations in node.js and browser.",
"tags": [
"isomorphic",
Expand Down
10 changes: 10 additions & 0 deletions sdk/core/core-rest-pipeline/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 1.3.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.3.1 (2021-09-30)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-rest-pipeline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/core-rest-pipeline",
"version": "1.3.1",
"version": "1.3.2",
"description": "Isomorphic client library for making HTTP requests in node.js and browser.",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down
28 changes: 17 additions & 11 deletions sdk/core/core-rest-pipeline/samples/v1/javascript/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
---
page_type: sample
languages:
- javascript
products:
- azure
urlFragment: core-rest-pipeline-javascript
---

# Azure SDK Core client library samples for JavaScript

These sample programs show how to use the JavaScript client libraries for Azure SDK Core in some common scenarios.
Expand All @@ -17,7 +8,13 @@ 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] to run these sample programs.

Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function.

Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package].

## Setup

Expand All @@ -29,16 +26,25 @@ To run the samples using the published version of the package:
npm install
```

2. Run whichever samples you like (note that some samples may require additional setup, see the table above):
2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically.

3. Run whichever samples you like (note that some samples may require additional setup, see the table above):

```bash
node node-sample.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):

```bash
npx cross-env node node-sample.js
```

## Next Steps

Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/samples/v1/javascript/node-sample.js
[apiref]: https://docs.microsoft.com/javascript/api/@azure/core-rest-pipeline
[freesub]: https://azure.microsoft.com/free/
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "Azure SDK Core client library samples for JavaScript",
"engine": {
"engines": {
"node": ">=12.0.0"
},
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline",
"dependencies": {
"@azure/core-rest-pipeline": "next",
"@azure/core-rest-pipeline": "latest",
"dotenv": "latest"
}
}
Empty file.
28 changes: 17 additions & 11 deletions sdk/core/core-rest-pipeline/samples/v1/typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
---
page_type: sample
languages:
- typescript
products:
- azure
urlFragment: core-rest-pipeline-typescript
---

# Azure SDK Core client library samples for TypeScript

These sample programs show how to use the TypeScript client libraries for Azure SDK Core in some common scenarios.
Expand All @@ -17,14 +8,20 @@ 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:

```bash
npm install -g typescript
```

You need [an Azure subscription][freesub] to run these sample programs.

Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function.

Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package].

## Setup

To run the samples using the published version of the package:
Expand All @@ -41,17 +38,26 @@ npm install
npm run build
```

3. Run whichever samples you like (note that some samples may require additional setup, see the table above):
3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically.

4. Run whichever samples you like (note that some samples may require additional setup, see the table above):

```bash
node dist/node-sample.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):

```bash
npx cross-env node dist/node-sample.js
```

## Next Steps

Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.

[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/samples/v1/typescript/src/node-sample.ts
[apiref]: https://docs.microsoft.com/javascript/api/@azure/core-rest-pipeline
[freesub]: https://azure.microsoft.com/free/
[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md
[typescript]: https://www.typescriptlang.org/docs/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "Azure SDK Core client library samples for TypeScript",
"engine": {
"engines": {
"node": ">=12.0.0"
},
"scripts": {
Expand All @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline",
"dependencies": {
"@azure/core-rest-pipeline": "next",
"@azure/core-rest-pipeline": "latest",
"dotenv": "latest"
},
"devDependencies": {
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**.ts"]
"include": [
"src/**.ts"
]
}
2 changes: 1 addition & 1 deletion sdk/core/core-rest-pipeline/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.3.1";
export const SDK_VERSION: string = "1.3.2";
10 changes: 10 additions & 0 deletions sdk/core/logger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 1.0.4 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.0.3 (2021-09-30)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/logger",
"sdk-type": "client",
"version": "1.0.3",
"version": "1.0.4",
"description": "Microsoft Azure SDK for JavaScript - Logger",
"main": "./dist/index.js",
"module": "dist-esm/src/index.js",
Expand Down

0 comments on commit 0d02174

Please sign in to comment.