Skip to content

Commit

Permalink
azure-cosmos/4.20.0, azure-cosmos-encryption/1.0.0-beta.9, azure-spri…
Browse files Browse the repository at this point in the history
…ng-data/3.13.0 (#24791)

* release changelog

Co-authored-by: annie-mac <[email protected]>
  • Loading branch information
xinlian12 and annie-mac authored Oct 14, 2021
1 parent 40239d8 commit ec19c97
Show file tree
Hide file tree
Showing 15 changed files with 53 additions and 30 deletions.
4 changes: 2 additions & 2 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down Expand Up @@ -470,7 +470,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-spring-data-cosmos</artifactId>
<version>3.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
<version>3.13.0</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
Expand Down
4 changes: 2 additions & 2 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ com.azure:azure-core-serializer-json-gson;1.1.7;1.2.0-beta.1
com.azure:azure-core-serializer-json-jackson;1.2.8;1.3.0-beta.1
com.azure:azure-core-test;1.7.2;1.8.0-beta.1
com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.15;1.0.0-beta.16
com.azure:azure-cosmos;4.19.1;4.20.0-beta.1
com.azure:azure-cosmos;4.19.1;4.20.0
com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1
com.azure:azure-cosmos-dotnet-benchmark;4.0.1-beta.1;4.0.1-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.4.0-beta.1;4.4.0-beta.1
Expand Down Expand Up @@ -118,7 +118,7 @@ com.azure:azure-security-keyvault-keys;4.3.4;4.4.0-beta.5
com.azure:azure-security-keyvault-secrets;4.3.4;4.4.0-beta.3
com.azure:azure-security-keyvault-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-sdk-template;1.2.1-beta.2;1.2.1-beta.16
com.azure:azure-spring-data-cosmos;3.12.0;3.13.0-beta.1
com.azure:azure-spring-data-cosmos;3.12.0;3.13.0
com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1
com.azure:azure-storage-blob;12.14.1;12.15.0-beta.1
com.azure:azure-storage-blob-batch;12.11.1;12.12.0-beta.1
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
15 changes: 7 additions & 8 deletions sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
## Release History

### 1.0.0-beta.9 (Unreleased)

#### Features Added

#### Breaking Changes

#### Bugs Fixed
### 1.0.0-beta.9 (2021-10-14)
#### New Features
* Added support for transaction batch.
* Added support for aggregate query.
* Updated `azure-cosmos` to version `4.20.0`.

#### Other Changes
#### Key Bug Fixes
* Fixed Json property name of ClientEncryptionKeyProperties.

### 1.0.0-beta.8 (2021-09-09)
#### New Features
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-encryption/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>org.scala-lang.modules</groupId>
Expand Down
7 changes: 7 additions & 0 deletions sdk/cosmos/azure-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Release History

### 4.20.0 (2021-10-14)
#### Features Added
* Enabling `queryplan` cache by default

#### Key Bug Fixes
* Fixed issue with bulk reads when `contentResponseOnWrite` is not explicitly enabled on the cosmos client.

### 4.19.1 (2021-09-24)
#### Features Added
* Added support to config retry count for `openConnectionsAndInitCaches`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Licensed under the MIT License.

<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<name>Microsoft Azure SDK for SQL API of Azure Cosmos DB Service</name>
<description>This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API</description>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-spring-data-cosmos-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-spring-data-cosmos</artifactId>
<version>3.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
<version>3.13.0</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
</dependency>
<!-- Test -->
<dependency>
Expand Down
14 changes: 5 additions & 9 deletions sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
## Release History

### 3.13.0-beta.1 (Unreleased)

#### Features Added

#### Breaking Changes

#### Bugs Fixed

#### Other Changes
### 3.13.0 (2021-10-14)
#### New Features
* Added support for setting throughput on database creation.
* Pagination improvement with slice query API.
* Updated `azure-cosmos` to version `4.20.0`.

### 3.12.0 (2021-09-24)
#### New Features
Expand Down
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-spring-data-cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-spring-data-cosmos</artifactId>
<version>3.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
<version>3.13.0</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
<packaging>jar</packaging>
<name>Spring Data for Azure Cosmos DB SQL API</name>
<description>Spring Data for Azure Cosmos DB SQL API</description>
Expand Down Expand Up @@ -88,7 +88,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public CosmosMappingContext cosmosMappingContext() throws ClassNotFoundException
return mappingContext;
}

/**
* Get the mapping base package name.
*
* @return Base mapping package name set.
*/
protected Collection<String> getMappingBasePackages() {
final Package mappingBasePackage = getClass().getPackage();
return Collections.singleton(mappingBasePackage == null ? null : mappingBasePackage.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,31 @@ public class DatabaseThroughputConfig {
private final boolean autoScale;
private final int requestUnits;

/**
* Constructor.
*
* @param autoScale flag to enable autoscale.
* @param requestUnits the request units.
*/
public DatabaseThroughputConfig(boolean autoScale, int requestUnits) {
this.autoScale = autoScale;
this.requestUnits = requestUnits;
}

/**
* Flag to indicate whether autoscale is enabled.
*
* @return Flag to indicate whether autoscale is enabled.
*/
public boolean isAutoScale() {
return autoScale;
}

/**
* Get the request units.
*
* @return The request units.
*/
public int getRequestUnits() {
return requestUnits;
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.20.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.20.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
</dependencies>

Expand Down

0 comments on commit ec19c97

Please sign in to comment.