Skip to content

Commit

Permalink
cosmos release 3.17.0 (#22869)
Browse files Browse the repository at this point in the history
* cosmos release 3.17.0

* Update CHANGELOG.md

Fix up features added

* Update CHANGELOG.md

Update release date.
  • Loading branch information
jay-most committed Aug 18, 2022
1 parent 6c33763 commit ae3776d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 15 deletions.
40 changes: 27 additions & 13 deletions sdk/cosmosdb/cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,42 @@
# Release History

## 3.16.4 (2022-08-05)
## 3.17.0 (2022-08-19)

### Features Added

#### GA: Azure Cosmos DB Integrated Cache

- Support DedicatedGatewayRequestOptions and MaxIntegratedCacheStaleness [#21240](https://github.com/Azure/azure-sdk-for-js/pull/21240)
- Upgrade cosmos with azure core tracing [#22284](https://github.com/Azure/azure-sdk-for-js/pull/22284)
- Removed old logging and implement Azure core logging coverage [#18723](https://github.com/Azure/azure-sdk-for-js/pull/18723?)

### Bugs Fixed
- Reverts changes of [PR 22548](https://github.com/Azure/azure-sdk-for-js/pull/22548) to avoid possible regression when customers use id with special characters and their account is on ComputeGateway already. - See [PR 22818](https://github.com/Azure/azure-sdk-for-js/pull/22818)

- ParallelQueryExecutionContextBase breaks use of abortSignal [#18544](https://github.com/Azure/azure-sdk-for-js/pull/18544)
- Fixes id encoding issues when using special characters fo RoutingGateway

## 3.16.3 (2022-07-13)

### Bugs Fixed
- Fixes issues with "id" encoding when using special characters that should be allowed in the "id" property of a document. [#22548](https://github.com/Azure/azure-sdk-for-js/pull/22548)

- Fixes issues with "id" encoding when using special characters that should be allowed in the "id" property of a document. [#22548](https://github.com/Azure/azure-sdk-for-js/pull/22548)

## 3.16.2 (2022-06-24)

### Bugs Fixed
- Adds support to run queries with group by over a column with null values. [#22345](https://github.com/Azure/azure-sdk-for-js/pull/22345)

- Adds support to run queries with group by over a column with null values. [#22345](https://github.com/Azure/azure-sdk-for-js/pull/22345)

## 3.16.1 (2022-05-31)

### Bugs Fixed

- Fix [#22003](https://github.com/Azure/azure-sdk-for-js/issues/22003) missing interface error. [#22015](https://github.com/Azure/azure-sdk-for-js/pull/22015)

## 3.16.0 (2022-05-23)

### Features Added

- Allow users like cosmos-explorer to specify hierarchical partition keys. https://github.com/Azure/azure-sdk-for-js/pull/21934
- Support Dedicated Gateway RequestOptions and Max Integrated Cache Staleness. https://github.com/Azure/azure-sdk-for-js/pull/21240

Expand Down Expand Up @@ -112,8 +126,8 @@ const client = new CosmosClient({
connectionPolicy: {
...defaultConnectionPolicy,
endpointRefreshRateInMs: 700,
enableBackgroundEndpointRefreshing: true
}
enableBackgroundEndpointRefreshing: true,
},
});
```

Expand Down Expand Up @@ -258,17 +272,17 @@ database.container.create(containerDefinition)
const operations: OperationInput[] = [
{
operationType: "Create",
resourceBody: { id: "doc1", name: "sample", key: "A" }
resourceBody: { id: "doc1", name: "sample", key: "A" },
},
{
operationType: "Upsert",
resourceBody: { id: "doc2", name: "other", key: "A" }
resourceBody: { id: "doc2", name: "other", key: "A" },
},
{
operationType: "Read",
id: "readItemId",
partitionKey: "key"
}
partitionKey: "key",
},
];

await database.container.items.bulk(operations);
Expand Down Expand Up @@ -485,14 +499,14 @@ Constructor options have been simplified:
const client = new CosmosClient({
endpoint: "https://your-database.cosmos.azure.com",
auth: {
masterKey: "your-primary-key"
}
masterKey: "your-primary-key",
},
});

// v3
const client = new CosmosClient({
endpoint: "https://your-database.cosmos.azure.com",
key: "your-primary-key"
key: "your-primary-key",
});
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/cosmos",
"version": "3.16.4",
"version": "3.17.0",
"description": "Microsoft Azure Cosmos DB Service Node.js SDK for SQL API",
"sdk-type": "client",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const Constants = {
AzureNamespace: "Azure.Cosmos",
AzurePackageName: "@azure/cosmos",
SDKName: "azure-cosmos-js",
SDKVersion: "3.16.4",
SDKVersion: "3.17.0",

Quota: {
CollectionSize: "collectionSize",
Expand Down

0 comments on commit ae3776d

Please sign in to comment.