Skip to content

Commit 738d858

Browse files
Updated spring boot version support policy (Azure#29530)
* Updated spring boot version support policy * Added spring data commons section * Fixed casing
1 parent c084833 commit 738d858

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

sdk/cosmos/azure-spring-data-cosmos/README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,18 @@
33
**Azure Spring Data Cosmos** provides Spring Data support for Azure Cosmos DB using the [SQL API][sql_api_query], based on Spring Data framework.
44
[Azure Cosmos DB][cosmos_introduction] is a globally-distributed database service which allows developers to work with data using a variety of standard APIs, such as SQL, MongoDB, Cassandra, Graph, and Table.
55

6-
## Spring data version support
7-
This project supports both `spring-data-commons 2.2.x` and `spring-data-commons 2.3.x` versions. Maven users can inherit from the `spring-boot-starter-parent` project to obtain a dependency management section to let Spring manage the versions for dependencies.
6+
## Spring Boot Support Policy
7+
This project supports multiple [Spring Boot Versions][spring_version_mapping]. For complete list of currently supported versions, please visit our [Spring Version Mapping][spring_version_mapping].
8+
9+
Spring Boot releases are marked as "End of Life" when they are no longer supported or released in any form. If you are running an EOL version, you should upgrade as soon as possible.
10+
11+
Please note that a version can be out of support before it is marked as "End of Life". During this time you should only expect releases for critical bugs or security issues.
12+
13+
For more information on Spring Boot supported versions, please visit [Spring Boot Supported Versions][spring_boot_supported_versions].
14+
15+
## Spring Boot Version Support
16+
Maven users can inherit from the `spring-boot-starter-parent` project to obtain a dependency management section to let Spring manage the versions for dependencies.
17+
818
```xml
919
<!-- Inherit defaults from Spring Boot -->
1020
<parent>
@@ -34,7 +44,11 @@ If you don’t want to use the `spring-boot-starter-parent`, you can still keep
3444
</dependencies>
3545
</dependencyManagement>
3646
```
37-
That setup does not allow you to override individual dependencies using a property as explained above. To achieve the same result, you’d need to add an entry in the dependencyManagement of your project before the `spring-boot-dependencies` entry. For instance, to upgrade to another Spring Data release train you’d add the following to your pom.xml.
47+
48+
## Spring Data Version Support
49+
This project supports `spring-data-commons 2.6.x` versions.
50+
51+
The above setup does not allow you to override individual dependencies using a property as explained above. To achieve the same result, you’d need to add an entry in the dependencyManagement of your project before the `spring-boot-dependencies` entry. For instance, to upgrade to another Spring Data release train you’d add the following to your pom.xml.
3852
```xml
3953
<dependencyManagement>
4054
<dependencies>
@@ -973,5 +987,7 @@ or contact [opencode@microsoft.com][coc_contact] with any additional questions o
973987
[jdk_link]: https://docs.microsoft.com/java/azure/jdk/
974988
[maven_link]: https://maven.apache.org/
975989
[autoscale-throughput]: https://docs.microsoft.com/azure/cosmos-db/provision-throughput-autoscale
990+
[spring_version_mapping]: https://aka.ms/spring/versions
991+
[spring_boot_supported_versions]: https://github.com/spring-projects/spring-boot/wiki/Supported-Versions
976992

977993
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcosmos%2F%2Fazure-spring-data-cosmos%2FREADME.png)

0 commit comments

Comments
 (0)