Skip to content

Commit

Permalink
Release azure-cosmo:4.33.0 (#29951)
Browse files Browse the repository at this point in the history
* update changelog

Co-authored-by: annie-mac <[email protected]>
  • Loading branch information
xinlian12 and annie-mac authored Jul 14, 2022
1 parent b7d3689 commit dd909b6
Show file tree
Hide file tree
Showing 23 changed files with 145 additions and 149 deletions.
6 changes: 3 additions & 3 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.33.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.33.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos-encryption</artifactId>
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;current} -->
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down Expand Up @@ -619,7 +619,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-spring-data-cosmos</artifactId>
<version>3.24.0-beta.1</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
<version>3.24.0</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
10 changes: 5 additions & 5 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ com.azure:azure-core-serializer-json-gson;1.1.18;1.2.0-beta.1
com.azure:azure-core-serializer-json-jackson;1.2.19;1.3.0-beta.1
com.azure:azure-core-test;1.10.0;1.11.0-beta.1
com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.26;1.0.0-beta.27
com.azure:azure-cosmos;4.32.1;4.33.0-beta.1
com.azure:azure-cosmos;4.32.1;4.33.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_2-12;1.0.0-beta.1;1.0.0-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.11.2;4.12.0-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;4.11.2;4.12.0-beta.1
com.azure:azure-cosmos-encryption;1.3.0;1.4.0-beta.1
com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.11.2;4.12.0
com.azure.cosmos.spark:azure-cosmos-spark_3-2_2-12;4.11.2;4.12.0
com.azure:azure-cosmos-encryption;1.3.0;1.4.0
com.azure:azure-data-appconfiguration;1.3.5;1.4.0-beta.1
com.azure:azure-data-appconfiguration-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-data-schemaregistry;1.2.2;1.3.0-beta.1
Expand Down Expand Up @@ -135,7 +135,7 @@ com.azure:azure-security-keyvault-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-sdk-template;1.1.1234;1.2.2-beta.1
com.azure:azure-sdk-template-two;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-sdk-template-three;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-spring-data-cosmos;3.23.0;3.24.0-beta.1
com.azure:azure-spring-data-cosmos;3.23.0;3.24.0
com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1
com.azure:azure-storage-blob;12.18.0;12.19.0-beta.1
com.azure:azure-storage-blob-batch;12.14.0;12.15.0-beta.1
Expand Down
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-cosmos-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.33.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.33.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos-encryption</artifactId>
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;current} -->
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;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 @@ -50,7 +50,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.33.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.33.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

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

### 1.4.0-beta.1 (Unreleased)

#### Features Added

#### Breaking Changes

#### Bugs Fixed
### 1.4.0 (2022-07-14)

#### Other Changes
* Updated `azure-cosmos` to version `4.33.0`.

### 1.3.0 (2022-06-08)
#### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Azure Cosmos Encryption Plugin is used for encrypting data with a user-provi
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos-encryption</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-cosmos-encryption/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-encryption</artifactId>
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;current} -->
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-cosmos-encryption;current} -->
<name>Encryption Plugin for Azure Cosmos DB SDK</name>
<description>This Package contains Encryption Plugin for Microsoft Azure Cosmos SDK</description>
<packaging>jar</packaging>
Expand Down Expand Up @@ -56,7 +56,7 @@ Licensed under the MIT License.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.33.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.33.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>

<dependency>
Expand Down
6 changes: 1 addition & 5 deletions sdk/cosmos/azure-cosmos-spark_3-1_2-12/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
## Release History

### 4.12.0-beta.1 (Unreleased)
### 4.12.0 (2022-07-14)

#### Features Added
* Added a new config option `spark.cosmos.changeFeed.batchCheckpointLocation` that allows to also proceed a change feed batch query from a checkpoint/offset - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)
* Added an option to also restrict the memory consumption for batch change feed queries (via the `spark.cosmos.changeFeed.itemCountPerTriggerHint` config option) - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)
* Added a UDF `CreateChangeFeedOffsetFromSpark2` that allows creating a Spark 3.* offset/checkpoint from a Spark 2.4 checkpoint - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)

#### Breaking Changes

#### Bugs Fixed
* Fixed a bug preventing use patch on container not partitioned by `id`. - See [PR 29883](https://github.com/Azure/azure-sdk-for-java/pull/29883)

#### Other Changes

### 4.11.2 (2022-06-17)

#### Bugs Fixed
Expand Down
88 changes: 45 additions & 43 deletions sdk/cosmos/azure-cosmos-spark_3-1_2-12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,58 +27,60 @@ https://github.com/Azure/azure-sdk-for-java/issues/new
### Version Compatibility

#### azure-cosmos-spark_3-1_2-12
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
| 4.11.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.11.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.11.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.10.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.10.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.9.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.8.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.7.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.3 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.3.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.3.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.2.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.1.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.3 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.2 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.1 | 3.1.1 | 8 | 2.12 | 8.\* |
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
|--------------| ------------------------ | -------------------- | ----------------------- | ----------------------------- |
| 4.12.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.11.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.11.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.11.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.10.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.10.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.9.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.8.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.7.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.6.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.3 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.5.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.2 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.4.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.3.1 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.3.0 | 3.1.1 - 3.1.2 | 8 | 2.12 | 8.\*, 9.\* |
| 4.2.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.1.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.3 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.2 | 3.1.1 | 8 | 2.12 | 8.\* |
| 4.0.0-beta.1 | 3.1.1 | 8 | 2.12 | 8.\* |

#### azure-cosmos-spark_3-2_2-12
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
| ------------- | ------------------------ | -------------------- | ----------------------- | ----------------------------- |
| 4.11.2 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.11.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.11.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.10.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.10.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.9.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.8.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.7.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.2 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| Connector | Supported Spark Versions | Minimum Java Version | Supported Scala Versions | Supported Databricks Runtimes |
|-----------| ------------------------ | -------------------- | ----------------------- | ----------------------------- |
| 4.12.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.11.2 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.11.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.11.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.10.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.10.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.9.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.8.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.7.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.2 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.1 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |
| 4.6.0 | 3.2.0 - 3.2.1 | 8 | 2.12 | 10.\* |

### Download

You can use the maven coordinate of the jar to auto install the Spark Connector to your Databricks Runtime 8 from Maven:
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.11.2`
`com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12:4.12.0`

You can also integrate against Cosmos DB Spark Connector in your SBT project:
```scala
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.11.2"
libraryDependencies += "com.azure.cosmos.spark" % "azure-cosmos-spark_3-1_2-12" % "4.12.0"
```

Cosmos DB Spark Connector is available on [Maven Central Repo](https://search.maven.org/search?q=g:com.azure.cosmos.spark).
Expand Down
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>com.azure.cosmos.spark</groupId>
<artifactId>azure-cosmos-spark_3-1_2-12</artifactId>
<version>4.12.0-beta.1</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
<version>4.12.0</version> <!-- {x-version-update;com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;current} -->
<packaging>jar</packaging>
<url>https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3-1_2-12</url>
<name>OLTP Spark 3.1 Connector for Azure Cosmos DB SQL API</name>
Expand Down Expand Up @@ -106,7 +106,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.33.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
<version>4.33.0</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
6 changes: 1 addition & 5 deletions sdk/cosmos/azure-cosmos-spark_3-2_2-12/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
## Release History

### 4.12.0-beta.1 (Unreleased)
### 4.12.0 (2022-07-14)

#### Features Added
* Added a new config option `spark.cosmos.changeFeed.batchCheckpointLocation` that allows to also proceed a change feed batch query from a checkpoint/offset - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)
* Added an option to also restrict the memory consumption for batch change feed queries (via the `spark.cosmos.changeFeed.itemCountPerTriggerHint` config option) - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)
* Added a UDF `CreateChangeFeedOffsetFromSpark2` that allows creating a Spark 3.* offset/checkpoint from a Spark 2.4 checkpoint - See [PR 29771](https://github.com/Azure/azure-sdk-for-java/pull/29771)

#### Breaking Changes

#### Bugs Fixed
* Fixed a bug preventing use patch on container not partitioned by `id`. - See [PR 29883](https://github.com/Azure/azure-sdk-for-java/pull/29883)

#### Other Changes

### 4.11.2 (2022-06-17)

#### Bugs Fixed
Expand Down
Loading

0 comments on commit dd909b6

Please sign in to comment.