Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks for Spring Boot 2.7.0-GA #28726

Closed
1 of 9 tasks
Tracked by #28518
Netyyyy opened this issue May 9, 2022 · 5 comments
Closed
1 of 9 tasks
Tracked by #28518

Tasks for Spring Boot 2.7.0-GA #28726

Netyyyy opened this issue May 9, 2022 · 5 comments
Assignees
Labels
azure-spring All azure-spring related issues Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.
Milestone

Comments

@Netyyyy
Copy link
Member

Netyyyy commented May 9, 2022

Context

Spring Boot will release 2.7.0 GA on 2022-05-19.

We should upgrade external dependencies' version align with spring-boot-dependencies:2.7.0 managed versions.

Goal

  1. Make our libraries compatible with latest Spring Boot: 2.7.0 by making external dependencies' version align to spring-boot-dependencies:2.7.0 managed versions

Solution

Tasks are copied from this page: https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Cloud-Azure-tasks-for-a-new-Spring-Boot-release

@Netyyyy Netyyyy added Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. azure-spring All azure-spring related issues labels May 9, 2022
@Netyyyy Netyyyy added this to the [2022] June milestone May 9, 2022
@Netyyyy Netyyyy self-assigned this May 9, 2022
@andersthorbeck
Copy link

Hello,

My team's app's automatic update to Spring Boot 2.7.0 has been blocked by com.azure.spring:spring-cloud-azure-dependencies:4.1.0, claiming that

Spring Boot [2.7.0] is not compatible with this Spring Cloud Azure release
Change Spring Boot version to one of the following versions [2.5.x, 2.6.x].

The full error was

org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.azure.spring.cloud.autoconfigure.implementation.compatibility.AzureSpringBootVersionVerifier]: Factory method 'springCloudAzureSpringBootVersionVerifier' threw exception; nested exception is com.azure.spring.cloud.autoconfigure.implementation.compatibility.AzureCompatibilityNotMetException: Spring Cloud Azure/ Spring Boot version compatibility checks have failed: [[VerificationResult@16e1219f description = 'Spring Boot [2.7.0] is not compatible with this Spring Cloud Azure release', action = 'Change Spring Boot version to one of the following versions [2.5.x, 2.6.x].
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn]. 
If you want to learn more about the Spring Cloud Azure compatibility, you can visit this page [https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Versions-Mapping] and check the [Which Version of Spring Cloud Azure Should I Use] section.
If you want to disable this check, just set the property [spring.cloud.azure.compatibility-verifier.enabled=false]']]

This seems related to this GitHub issue. Do you have an estimated time for when Spring Cloud Azure will support Spring Boot 2.7.0?

@saragluna
Copy link
Member

Hi @andersthorbeck, according to our compatibility test, our code is compatible with Spring Boot 2.7.0. So you can either disable the verifier by adding spring.cloud.azure.compatibility-verifier.enabled=false or specifying the support of 2.7.0 by adding spring.cloud.azure.compatibility-verifier.compatible-boot-versions=2.7.0. Our release to support Spring Boot 2.7.0 will be out next month (this is an estimation time).

@dbelyaev
Copy link

@saragluna I suppose, those property overrides should be taken with a note: "at your own risk", or not?

@saragluna
Copy link
Member

@dbelyaev, we did run a compatibility test with Spring Boot 2.7.0, and it passed. But please let us know if you run into issues so that we can improve the compatibility tests.

@hui1110 hui1110 modified the milestones: [2022] June, [2022] July Jun 6, 2022
@Netyyyy
Copy link
Member Author

Netyyyy commented Jun 27, 2022

close it and works on 2.7.1

@Netyyyy Netyyyy closed this as completed Jun 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-spring All azure-spring related issues Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.
Projects
Archived in project
Development

No branches or pull requests

5 participants