[FEATURE REQ] Spring boot 4.x / spring framework 7.x compat
Is your feature request related to a problem? Please describe.
Spring-boot 4.x support. While not yet released you should probably start to adopt as historically releases has been a bit slow. Example of failing calls:
java.lang.IllegalArgumentException: Unable to instantiate factory class [com.azure.spring.cloud.autoconfigure.implementation.keyvault.environment.KeyVaultEnvironmentPostProcessor] for factory type [org.springframework.boot.env.EnvironmentPostProcessor]
Describe the solution you'd like Compatability with spring-boot 4.x. Migration guide on notable changes in your SDK. Result: users can pick up the new release and make it work with SB 4.x with clear actions on how to transition from old to new version.
Describe alternatives you've considered N/A
Additional context Maybe cut some RCs to have user-base test and report back.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [X] Description Added
- [X] Expected solution specified
@moarychan @netyyyy @rujche @saragluna
Thank you for your feedback. Tagging and routing to the team member best able to assist.
@saragluna could we follow up with @davidkarlsen and make sure to track this feature request, thanks!
Please prioritize this request, since Spring Boot 4.0.0 is now released and this is blocking us from upgrading.
Same for us. I opened an issue some times ago
An updated timeline for this would be much appreciated, @samvaity, @rujche @saragluna.
Yes, would very much appreciate any indication on when this will be fixed.
- Here is the link to related PR: https://github.com/Azure/azure-sdk-for-java/pull/47330
@rujche .. do we have snapshot version from that PR ?
@anumalasri
@rujche .. do we have snapshot version from that PR ?
Do, we don't. If you want to try the developing version, you can build one by yourself from the source code in the branch in above PR.
Refs: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/spring/README.md#build-from-source
Please note that Spring Boot OSS only support for 12 months.
Current Spring Boot v3.5.x is supported until June 2026. and Spring Boot v4.0 will end by Nov 2026.
Its cycle of 6 month to migrate onto new versions of Spring Boot.
Please let consumers know if Azure/Microsoft is unable to comply that schedule.
@anumalasri
Please note that Spring Boot OSS only support for 12 months.
Current Spring Boot v3.5.x is supported until June 2026. and Spring Boot v4.0 will end by Nov 2026.
Thanks for pointing this out. We know that. Here is the related link and screenshot: https://spring.io/projects/spring-boot#support
Its cycle of 6 month to migrate onto new versions of Spring Boot.
What does this mean?
Please let consumers know if Azure/Microsoft is unable to comply that schedule.
Our current plan is to always make the Spring Cloud Azure library supports the OSS supported Spring Boot version. Detailed information about version mapping from Spring Boot to Spring Cloud Azure can be found in this page: https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Versions-Mapping
Note that, some of us may need couple of months to test before we consume these versions. We can't take our chances to go out of OSS support, due to major version changes.
Can you please publish timeline to support Spring Boot v4, to help enterprises to plan accordingly ?
@anumalasri
Our current plan is to release Spring Cloud Azure 7.x which supports Spring Boot 4.x. The ETA is before the end of this month. I'll add a comment in current issue when Spring Cloud Azure 7.x is released.