{"id":2304,"date":"2022-12-12T06:57:08","date_gmt":"2022-12-12T14:57:08","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=2304"},"modified":"2022-12-12T07:47:26","modified_gmt":"2022-12-12T15:47:26","slug":"announcing-the-beta-release-of-spring-cloud-azure-versions-6-0-0-beta-3-and-beta-4","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/announcing-the-beta-release-of-spring-cloud-azure-versions-6-0-0-beta-3-and-beta-4\/","title":{"rendered":"Announcing the beta release of Spring Cloud Azure versions 6.0.0 Beta 3 and Beta 4"},"content":{"rendered":"<p>This is the first release of Spring Cloud Azure version 6.x, and it&#8217;s also the first version to support Spring Framework 6.0 and Spring Boot 3.0. By reading the two blogs of <a href=\"https:\/\/spring.io\/blog\/2022\/11\/16\/spring-framework-6-0-goes-ga\">Spring Framework 6.0 goes GA<\/a> and <a href=\"https:\/\/spring.io\/blog\/2022\/11\/24\/spring-boot-3-0-goes-ga\">Spring Boot 3.0 Goes GA<\/a>, you can find that there are many new features in the released spring boot 3 and spring framework 6, some highlights include:<\/p>\n<ul>\n<li>Upgraded baseline Java version to Java 17<\/li>\n<li>Replaced Java EE with Jakarta EE<\/li>\n<li>Introduces a foundation for <a href=\"https:\/\/spring.io\/blog\/2022\/03\/22\/initial-aot-support-in-spring-framework-6-0-0-m3\">Ahead-Of-Time<\/a> transformations<\/li>\n<\/ul>\n<p>The Spring Cloud Azure team has been busy on this as well, and you can now use Spring Cloud Azure 6.0-beta4 with Spring Boot 3. We&#8217;re pleased to announce that Spring Cloud Azure versions 6.0.0 Beta 3 and Beta 4 have been released. For a complete list of changes, see the <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/releases\/tag\/spring-cloud-azure_6.0.0-beta.4\">release notes<\/a>.<\/p>\n<h2>Notable changes in this release<\/h2>\n<ul>\n<li>The <em>6.0.0 Beta3<\/em> release upgrades Spring Boot dependencies version to <strong>3.0.0-RC1<\/strong> and Spring Cloud dependencies version to <strong>2022.0.0-RC1<\/strong><\/li>\n<li>The <em>6.0.0 Beta4<\/em> release upgrades Spring Boot dependencies version to <strong>3.0.0-RC2<\/strong> and Spring Cloud dependencies version to <strong>2022.0.0-RC2<\/strong><\/li>\n<li>Delete the artifact <code>spring-cloud-azure-trace-sleuth<\/code>(<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<\/ul>\n<h3>Spring Cloud Azure Autoconfigure<\/h3>\n<p>The following features added, bug fixes, and breaking changes are included in the <em>spring-cloud-azure-autoconfigure<\/em> module.<\/p>\n<h4>Features Added<\/h4>\n<ul>\n<li>Remove warning logs of Kafka passwordless autoconfiguration <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31182\">#31182<\/a><\/li>\n<li>Enhance the Azure AD Resource Server configurer to accept the custom <code>jwt<\/code> granted authorities converter <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/28665\">#28665<\/a><\/li>\n<\/ul>\n<h4>Bugs fixed<\/h4>\n<ul>\n<li><code>JacksonHttpSessionOAuth2AuthorizedClientRepository.getAuthorizedClients<\/code> returns an unmodifiable Map (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31190\">#31190<\/a>)<\/li>\n<li><code>RestTemplate<\/code> used to get access token should only contain two converters (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31482\">#31482<\/a>)<\/li>\n<li><code>RestOperations<\/code> isn&#8217;t well-configured when <code>jwkResolver<\/code> is null(<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31218\">#31218<\/a>)<\/li>\n<li>Duplicated &#8220;scope&#8221; parameter (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31191\">#31191<\/a>)<\/li>\n<li><code>NimbusJwtDecoder<\/code> still uses <code>RestTemplate()<\/code> instead <code>RestTemplateBuilder<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31233\">#31233<\/a>)<\/li>\n<li>Proxy setting not working in Azure AD B2C web application (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31593\">31593<\/a>)<\/li>\n<li>NoClassDefFoundError for JSONArray (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues\/31716\">31716<\/a>)<\/li>\n<li><code>spring.main.sources<\/code> configuration from Spring Cloud Stream Kafka binder can&#8217;t take effect (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31715\">#31715<\/a>)<\/li>\n<\/ul>\n<h4>Breaking changes<\/h4>\n<ul>\n<li>Delete the class <code>com.azure.spring.cloud.autoconfigure.aad.implementation.oauth2.AadOAuth2AuthenticatedPrincipal<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Delete the class <code>com.azure.spring.cloud.autoconfigure.aad.implementation.webapi.AadOboOAuth2AuthorizedClientProvider<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Delete the class <code>com.azure.spring.cloud.autoconfigure.aad.properties.AadAuthorizationGrantType<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Delete the class <code>com.azure.spring.cloud.autoconfigure.aad.AadJwtBearerTokenAuthenticationConverter<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Delete the <code>AuthorizationGrantType.PASSWORD<\/code> support (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Delete the auto configuration for Spring Cloud Sleuth support (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Use the <code>com.nimbusds.jwt.proc.DefaultJWTClaimsVerifier#DefaultJWTClaimsVerifier(com.nimbusds.jwt.JWTClaimsSet, java.util.Set&lt;java.lang.String&gt;)<\/code> instead of <code>com.nimbusds.jwt.proc.DefaultJWTClaimsVerifier#DefaultJWTClaimsVerifier()<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)\nUse the <code>org.springframework.http.ResponseEntity#getStatusCode<\/code> instead of <code>org.springframework.http.ResponseEntity#getStatusCodeValue<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Use an abstract configurer <code>AbstractHttpConfigurer<\/code> instead of <code>org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31543\">#31543<\/a>)<\/li>\n<li>Use the annotation <code>org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity<\/code> instead the <code>org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31808\">#31808<\/a>)<\/li>\n<li>Use the class <code>org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken<\/code> instead of <code>org.springframework.security.oauth2.server.resource.BearerTokenAuthenticationToken<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/31808\">#31808<\/a>)<\/li>\n<li>Move Key Vault environment classes for internal usage to the implementation package <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/32428\">#32428<\/a><\/li>\n<li>Delete properties: <code>spring.jms.serviebus.username<\/code>, <code>spring.jms.serviebus.password<\/code> and <code>spring.jms.serviebus.remote-uri<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/pull\/32465\">#32465<\/a><\/li>\n<\/ul>\n<h3>Dependency upgrades<\/h3>\n<p>This release upgraded to the following dependency versions:<\/p>\n<ul>\n<li>Azure SDK BOM 1.2.7<\/li>\n<li>Azure Core 1.34.0<\/li>\n<li>Azure Cosmos 4.39.0<\/li>\n<li>Azure Data App Configuration 1.3.9<\/li>\n<li>Azure Messaging Service Bus 7.13.0<\/li>\n<li>Azure Messaging Event Hubs 5.15.0<\/li>\n<li>Azure Security Key Vault Certificates 4.4.2<\/li>\n<li>Azure Security Key Vault Secrets 4.5.2<\/li>\n<li>Azure Storage Blob 12.20.1<\/li>\n<li>Azure Storage File Share 12.16.1<\/li>\n<li>Azure Storage Queue 12.15.1<\/li>\n<li>Azure Spring Data Cosmos DB 3.31.0-beta.1<\/li>\n<\/ul>\n<h2>Feedback<\/h2>\n<p>As always, we welcome feedback and contributions. Reach out to us on <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/spring-cloud-azure\">StackOverflow<\/a> or <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-java\/issues?q=is%3Aissue+is%3Aopen+label%3Aazure-spring\">GitHub<\/a>.<\/p>\n<h2>Resources<\/h2>\n<p>Here&#8217;s a list of links that are helpful to learn more about Spring Cloud Azure:<\/p>\n<ul>\n<li><a href=\"https:\/\/aka.ms\/spring\/docs\">Reference documentation<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/spring\/msdocs\">Conceptual documentation<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/spring\/samples\">Code samples<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/spring\/versions\">Spring versions mapping<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the release of the Spring Cloud Azure 6.0.0 Beta 3 and 6.0.0 Beta 4.<\/p>\n","protected":false},"author":108073,"featured_media":2312,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[160,871,872],"class_list":["post-2304","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-java","tag-spring","tag-spring-cloud-azure"],"acf":[],"blog_post_summary":"<p>This post announces the release of the Spring Cloud Azure 6.0.0 Beta 3 and 6.0.0 Beta 4.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/users\/108073"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=2304"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2304\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media\/2312"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media?parent=2304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=2304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=2304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}