Skip to content

Commit 0ece348

Browse files
authored
Post release automated changes for cosmosdb releases (Azure#19079)
Post release automated changes for azure-cosmos
1 parent 3c97db3 commit 0ece348

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

sdk/cosmosdb/cosmos/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release History
22

3+
## 3.15.1 (Unreleased)
4+
5+
### Features Added
6+
7+
### Breaking Changes
8+
9+
### Bugs Fixed
10+
11+
### Other Changes
12+
313
## 3.15.0 (2021-11-22)
414

515
### Features Added

sdk/cosmosdb/cosmos/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure/cosmos",
3-
"version": "3.15.0",
3+
"version": "3.15.1",
44
"description": "Microsoft Azure Cosmos DB Service Node.js SDK for SQL API",
55
"sdk-type": "client",
66
"keywords": [

sdk/cosmosdb/cosmos/samples-dev/SasTokenAuth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sasToken = "your-sas-token";
2323
async function run() {
2424
logStep("Create a SasToken object");
2525

26-
const sasTokenProperties = <SasTokenProperties>{
26+
const sasTokenProperties = {
2727
user: "your-user",
2828
userTag: "your-userTag",
2929
databaseName: "your-databaseName",
@@ -37,7 +37,7 @@ async function run() {
3737
controlPlaneWriterScope: 0,
3838
dataPlaneReaderScope: SasTokenPermissionKind.ContainerFullAccess,
3939
dataPlaneWriterScope: 0
40-
};
40+
} as SasTokenProperties;
4141

4242
const key = await createAuthorizationSasToken(masterKey, sasTokenProperties);
4343

sdk/cosmosdb/cosmos/samples/v3/typescript/src/SasTokenAuth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sasToken = "your-sas-token";
2323
async function run() {
2424
logStep("Create a SasToken object");
2525

26-
const sasTokenProperties = <SasTokenProperties>{
26+
const sasTokenProperties = {
2727
user: "your-user",
2828
userTag: "your-userTag",
2929
databaseName: "your-databaseName",
@@ -37,7 +37,7 @@ async function run() {
3737
controlPlaneWriterScope: 0,
3838
dataPlaneReaderScope: SasTokenPermissionKind.ContainerFullAccess,
3939
dataPlaneWriterScope: 0
40-
};
40+
} as SasTokenProperties;
4141

4242
const key = await createAuthorizationSasToken(masterKey, sasTokenProperties);
4343

sdk/cosmosdb/cosmos/samples/v3/typescript/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@
66
"resolveJsonModule": true,
77
"esModuleInterop": true,
88
"allowSyntheticDefaultImports": true,
9-
"strict": true,
10-
"alwaysStrict": true,
119
"outDir": "dist",
1210
"rootDir": "src"
1311
},
14-
"include": [
15-
"src/**.ts"
16-
]
12+
"include": ["src/**.ts"]
1713
}

sdk/cosmosdb/cosmos/src/common/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const Constants = {
179179
CurrentVersion: "2018-12-31",
180180

181181
SDKName: "azure-cosmos-js",
182-
SDKVersion: "3.15.0",
182+
SDKVersion: "3.15.1",
183183

184184
Quota: {
185185
CollectionSize: "collectionSize"

0 commit comments

Comments
 (0)