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

Update spring boot to v3 (major) - autoclosed #790

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 24, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework.boot:spring-boot-starter-parent (source) 2.7.16 -> 3.1.4 age adoption passing confidence
org.springframework.boot 2.7.16 -> 3.1.4 age adoption passing confidence

Release Notes

spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-parent)

v3.1.4

Compare Source

⭐ New Features
  • Add TWENTY_ONE to JavaVersion enum #​37364
🐞 Bug Fixes
  • When SLF4J and Logback are initialized on multiple threads in parallel, startup may fail due to SubstituteLoggerFactory being considered to be a competing LoggerFactory implementation #​37484
  • Saml2RelyingPartyAutoConfiguration ignores sign-request when metadata-url is used #​37482
  • Leaking file descriptor / socket within DomainSocket tooling #​37460
  • Invalid Accept header produces HTTP 500 in WelcomePageHandlerMapping #​37457
  • PrivateKeyParser doesn't support ed448, XDH and RSA-PSS keys #​37422
  • "languageVersion is final and cannot be changed" when using Gradle 8.3 and configuring the Java toolchain's language version #​37380
  • AOT processing fails when a @ConfigurationProperties-annotated record has multiple constructors #​37336
  • Spring Boot dependency management not working for ehcache when using Gradle and the dependency management plugin #​37270
  • SslStoreBundle implementations aren't immutable #​37222
  • Parsing OCI image names that are invalid due to the use of upper case letters is very slow #​37183
  • Producing and consuming different tracing propagation formats doesn't work #​37178
  • Using https with elliptic curves other than secp384r1 fails #​37169
  • In 3.0.x and later, Spring Security cannot be used to secure a WebSocket upgrade request when using Jetty #​37158
  • Local baggage is propagated when using Brave and W3C #​37156
  • ServiceConnectionContextCustomizer can trigger docker usage during AOT processing #​37097
  • java.lang.OutOfMemoryError: Metaspace when repeatedly deploying and undeploying a Spring Boot web application multiple times in Tomcat #​37096
  • Property 'logging.threshold.console' not working #​36741
📔 Documentation
  • Document that PKCS8 PEM files should be used whenever possible #​37443
  • Add reference to Oracle Spring Boot Starters #​37411
  • Correct the description of spring.artemis.broker-url #​37309
  • Add default value metadata for management.metrics.export.signalfx.published-histogram-type #​37253
  • Polish javadoc #​37143
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Eng-Fouad, @​dependabot[bot], @​izeye, @​markxnelson, @​mdeinum, and @​quaff

v3.1.3

Compare Source

🐞 Bug Fixes
  • Logging config URLs with query parameters are not detected as XML #​37062
  • Changed environment variable name APP_PASSWORD to APP_USER_PASSWORD i? #​37044
  • BindableRuntimeHintsRegistrar does not generate hints for all nested types of a ConfigurationProperties type #​37022
  • server.max-http-request-header-size doesn't affect Netty server with http2 enabled #​37015
  • AbstractAotMojo should not add source or target if they are null #​36972
  • Exception message in ProcessTestAotMojo has a typo #​36966
  • Docker Compose start fails with "unknown flag: --no-color" #​36908
  • Script-based database initialization fails with an unhelpful error message when configured with a resource that points to a directory #​36786
  • Artemis ConnectionFactory is not configured when CachingConnectionFactory is missing and enabled properties are false #​36772
  • DatabaseDriver swallows real exception #​36759
  • Defining a custom ElasticsearchTransport causes the auto-configured JsonpMapper to back off #​36700
  • Auto-configuration's session repository customization may override that of SessionRepositoryCustomizer beans #​36696
  • RabbitMQ smoke test is missing a test #​36612
  • Tomcat warns about a missing +/- prefix when enabling multiple protocols through server.ssl.enabled-protocols #​36584
  • management.metrics.export.stackdriver properties are incomplete #​36559
  • management.wavefront.metrics.export properties are incomplete #​36556
  • management.metrics.export.signalfx properties are incomplete #​36553
  • JobLauncherApplicationRunner returns a success exit code even when no jobs have been run #​36532
  • Remove use of jakarta.annotation.PostConstruct #​36529
  • management.metrics.export.atlas properties are incomplete #​36526
  • Descriptions of started and ready time metrics contain time units but the unit may change when the metrics are exported #​36516
  • Unlike other Spring Boot goals, process-aot and process-test-aot run on Maven reactor projects #​36494
  • @ServiceConnection on a @Bean method does not work in sliced tests #​36037
📔 Documentation
  • Fix broken links in the documentation #​37071
  • Maven plugin docs contain invalid parameter for image building #​37051
  • Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes #​36969
  • Improve documentation of spring.cache.type=none #​36962
  • Clarify that spring.security.filter properties only apply to servlet-based web apps #​36865
  • Improve documentation to describe how @EntityScan and @Enable?Repositories can be used to tune scanning #​36862
  • Describe quirks of JUL and Log4j2 in the javadoc of OutputCaptureExtension #​36859
  • LogbackLoggingSystem does not report suppressed exception details #​36856
  • Clarify table that shows how logging properties are transferred to system properties #​36853
  • Review Google AppEngine documentation #​36850
  • Rework Working with NoSQL Technologies to clarify which stores are supported by Spring Data #​36813
  • Clarify how nested directories are treated for configtree with wildcards #​36810
  • Clarify the effect of using @EnableWebMvc #​36797
  • Document defaults for spring.mvc.format.* and spring.webflux.format.* properties #​36793
  • Documentation describes how to opt in to using the path pattern parser but it's now the default #​36789
  • Document that scripts for database initialization are optional by default and how they can be made mandatory #​36783
  • Document @DataR2dbcTest support #​36756
  • @since is missing from javadoc of values added to JavaVersion since its introduction #​36735
  • Update Paketo builder references in documentation #​36690
  • Document how to use Docker Compose integration when running tests #​36636
  • Update RestTemplateBuilder#defaultHeader javadoc to reference correct client-side HTTP request class #​36630
  • Document that server.forward-headers-strategy property defaults to native when running on Kubernetes #​36581
  • Documentation of spring.data.redis.url incorrectly states that it does not override spring.data.redis.user #​36492
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​MahatmaFatalError, @​NersesAM, @​OnSuorce, @​chicobento, @​dependabot[bot], @​dreis2211, @​eddumelendez, @​elevne, @​fzyzcjy, @​itsAkshayDubey, @​izeye, @​joesteel2010, @​jongwooo, @​ls-urs-keller, @​michael-simons, @​msobeck, @​normandra, @​omaryaya, @​quaff, @​rob-valor, @​spa-abaudat, and @​vpavic

v3.1.2

Compare Source

🐞 Bug Fixes
  • Native reflection hints missing for nested properties declared in a superclass #​36448
  • Connecting to Mongo fails with an UnknownHostException when spring.data.mongodb.additional-hosts is configured #​36441
  • Auto-configured ExemplarSampler bean only backs off when a DefaultExemplarSampler is defined #​36429
  • OTel Span is missing required attributes #​36423
  • Auto-configured JacksonJsonpMapper is conditional on an ObjectMapper bean but does not use such a bean #​36409
  • Application fails to start when @Importing a @ConfigurationProperties class that is eligible for constructor binding #​36359
  • Only one health group can be exposed using management.endpoint.health.group.xxx.additional-path=server:/newpath when using Jersey #​36276
  • Mongo auto-configuration fails when username or password properties contains a colon (:) or at-sign (@) #​36261
  • MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #​36230
  • ImportsContextCustomizer does not support AliasFor #​36209
  • Saml2RelyingPartyRegistrationConfiguration can choose the wrong RelyingPartyRegistration.Builder when using a metadata file with multiple providers #​36163
  • ConfigurationPropertiesReportEndpoint does not display primitive wrapper types #​36160
  • ConfigurationPropertyName#equals is not symmetric when element has trailing dashes #​36145
  • ScheduledTasksEndpoint throws NPE if PeriodicTrigger is used with custom SchedulingConfigurer #​36129
  • Java system properties can not be applied to RestTemplate HttpClient connection in some cases #​36123
  • Excluding auto-configuration class that relates to a TemplateAvailabilityProvider causes property binding to fail for native images #​36121
  • When using Flyway 9.20.0, auto-configuration fails with a NoSuchMethodError due to the removal of Oracle-related methods from FluentConfiguration #​36099
  • Dependency management for Selenium 4.8.x is incorrect #​36077
  • Slice test annotations do not include SslAutoConfiguration #​36038
  • Methods in KafkaConnectionDetails are named inconsistently #​35733
📔 Documentation
  • Documented Servlet container system requirements are out of date #​36355
  • Update the javadoc of ClientHttpRequestFactories to describe the ClientHttpRequestFactory implementations that it supports #​36268
  • Polish formatting in "Running Spring Batch Jobs on Startup" #​36233
  • Improve Kubernetes liveness and readiness probes customization documentation #​36219
  • Document auto-configuration of underlying HTTP client when using WebClient or RestTemplate #​36215
  • Polish Kafka Properties Docs #​36142
  • Fix typo in the Using R2DBC section of the reference documentation #​36139
  • Document observability auto-configuration for HTTP clients #​36131
  • Improve documentation for baggage propagation into MDC #​36112
  • Javadoc of RestTemplateBuilder.requestFactory(Function) links to deprecated ClientHttpRequestFactorySupplier #​36097
  • Javadoc of ConstructorBound and ConfigurationProperties links to deprecated ConstructorBinding annotation #​36095
  • Add Javadoc since to ImageReference.inTaglessForm() #​36054
  • Fix typo in docker compose service connections note #​36016
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Pengfei-Lu, @​ThomazPassarelli, @​bbulgarelli, @​bedla, @​dependabot[bot], @​dkswnkk, @​dreis2211, @​eddumelendez, @​eydunn, @​garyrussell, @​izeye, @​johnnywiller, @​jonatan-ivanov, @​jstansel, @​lasselindqvist, @​lmartelli, and @​quaff

v3.1.1

Compare Source

🐞 Bug Fixes
  • Websockets don't work when using WebFlux with Jetty #​36009
  • When using SimpleClientHttpRequestFactory, non-GET requests sent with RestTemplate have the wrong HttpMethod when SSLBundles are used #​36007
  • Spring Boot properties migrator can create circular references #​35934
  • Actuator loggers list endpoint throws exception on Log4J2 loggers with custom log levels #​35922
  • SSL configuration overwrites other WebClient customization #​35914
  • Validation is not applied for ConfigurationProperties that implement Validator and use @ConstructorBinding #​35913
  • Tracing only supports a single context propagation type #​35907
  • SpringApplication.from(?).with(?) adds its sources to every context that's created #​35873
  • Devtools does not support package-private main classes #​35865
  • DevTools prevent startup in native image with ClassNotFoundException #​35853
  • Password is not used from spring.data.redis.url property without username #​35850
  • Docker Compose connection details for MongoDB is missing the authSource option when authentication is configured #​35777
  • Processing of @EndpointCloudFoundryExtension logs a warnings as it does not use @AliasFor on its override of the endpoint attribute #​35766
  • Java 20 is supported but there's no value for it in the JavaVersion enum #​35764
  • SpringApplication.from(...) is hard to use with Kotlin #​35756
  • Spring Boot 3.1.0 incompatible with Flyway 9.0 #​35721
  • The error message is unhelpful when spring.rabbitmq.host is configured with a comma-separated value #​35684
  • Docker Compose support produces non-working native image #​35676
  • Metadata for spring.ssl properties are missing #​35667
  • The new support for testcontainers in Spring Boot 3.1.0 does not work with native tests #​35663
  • Constructor binding of @ConfigurationProperties to a lateinit property fails with kotlin.UninitializedPropertyAccessException #​35654
  • PEM SSL bundles do not support encrypted PKCS8 private keys #​35652
  • When a configuration properties bean is defined using a @Bean method, BindableRuntimeHintsRegistrar may incorrectly register hints for constructor binding #​35647
  • Enabling Spring Data Elasticsearch auditing causes application startup failure #​35610
  • ZipkinAutoConfiguration always need a ZipkinProperties bean in SB 3.1 #​35592
  • MongoDB authentication to different DB than used no longer works in spring boot 3.1 #​35567
  • Auto-configuration for Spring Data MongoDB ignores spring.data.mongodb.database when spring.data.mongodb.uri has been set #​35566
📔 Documentation
  • Remove @EnableBatchProcessing mentions in reference documentation for sliced tests and user configuration #​36004
  • Update description of spring-boot-starter-data-rest to clarify that it uses Spring MVC #​35911
  • Add @DynamicPropertySource to documented list of property source ordering #​35909
  • Fix typo in Docker Compose documentation #​35818
  • Move property notes up to external configuration section #​35769
  • Improve OAuth2 Client section of docs #​35767
  • Description of spring.data.mongodb.uri property incorrectly states that it overrides spring.data.mongodb.database #​35690
  • Fix error in SSL bundle documentation #​35665
  • Document how to add parameters to the JDBC URL created for a Docker Compose managed container #​35636
  • Documenting audience support in Oauth2 resource server #​35634
  • Description of build-image and build-image-no-fork Maven plugin goals is inconsistent #​35618
  • Some spring.docker.compose properties do not document their default values #​35598
  • Description of never value for spring.docker.compose.readiness.wait is incorrect #​35597
  • ServiceConnection Typo In name Documentation #​35594
  • Declare @Testcontainers before @SpringBootTest in documentation examples to ensure that Testcontainers is started before the application tries to use its containers #​35572
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​KitBolourchi, @​ThomasKasene, @​bbulgarelli, @​bikash30851, @​dreis2211, @​eddumelendez, @​fcappi, @​izeye, @​quaff, @​rafaelrc7, @​sdeleuze, @​sjohnr, @​sungchanjo, and @​twobiers

v3.1.0

Compare Source

⭐ New Features

  • Result from SpringApplication.from(...) may need to provide access to more details in the future #​35451
  • Ensure that Flyway uses SLF4J by default and provide a configuration property to override the setting #​35158

🐞 Bug Fixes

  • Welcome page may return a 404 when an acceptable response cannot be produced #​35554
  • Docker compose dependency causes failures during Maven AOT processing #​35548
  • Defining a zipkin2.reporter.Reporter results in two reporter beans as the auto-configured AsyncReporter does not back off #​35546
  • Docker compose service readiness checks cannot be bypassed #​35545
  • Many spring.security.oauth2.authorizationserver properties do not have default values #​35460
  • Default for spring.flway.execute-in-transaction is not aligned with Flyway's default #​35447
  • developmentOnly dependencies are included in the AOT processing classpath #​35444
  • Restarts are slow when using spring-boot-devtools and spring-boot-docker-compose #​35435
  • Hibernate 6.2 doesn't work in native-image: No available JtaPlatform candidates #​35425
  • In a native image, configuration property binding fails when the target has package-private getters and setters #​35400
  • Invalid reference format error when tagging images using Podman #​35396
  • App startup fails with confusing message when a Docker Compose file is not found #​35383
  • WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #​35381
  • MinIdle and MaxValidationTime properties missing for R2DBC pools #​35379
  • spring.data.mongodb.replica-set-name is not applied correctly #​35370
  • Anonymous requests to the token endpoint are redirected to the Spring Security login page instead of receiving a 401 response #​35368
  • Application yaml files cannot be loaded when they exceed 3mb #​35367
  • Can't use PEM encoded PKCS#8 EC keys with server.ssl.certificate-private-key #​35365
  • DisableObservabilityContextCustomizer can't be switched off through properties #​35360
  • FactoryBean.getObject for non-singleton executed when resetting mocks #​35330
  • Tracking of artifact dependency coordinates by BootJar and BootWar may break artifact transforms in sub-projects #​35328

📔 Documentation

  • Javadoc since version for ImageReference is wrong #​35459
  • Polish formatting of permitAll() endpoint security Kotlin example #​35457
  • Improve Kotlin Testcontainers samples #​35446
  • Improve documentation for including Docker Compose support #​35384
  • Wrong anchors in Maven plugin documentation #​35373
  • Fix typo #​35369
  • Formatting issue in the Maven plugin documentation #​35349
  • Clarify profile support when using AOT #​35321

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Ckram, @​JunJaBoy, @​TheHound, @​bclozel, @​be-hase, @​davin111, @​dreis2211, @​izeye, @​quaff, @​scordio, @​sdeleuze, and @​sjohnr

v3.0.11

Compare Source

⭐ New Features

  • Add TWENTY_ONE to JavaVersion enum #​37363

🐞 Bug Fixes

  • Saml2RelyingPartyAutoConfiguration ignores sign-request when metadata-url is used #​37481
  • When SLF4J and Logback are initialized on multiple threads in parallel, startup may fail due to SubstituteLoggerFactory being considered to be a competing LoggerFactory implementation #​37477
  • Leaking file descriptor / socket within DomainSocket tooling #​37459
  • Invalid Accept header produces HTTP 500 in WelcomePageHandlerMapping #​37456
  • PrivateKeyParser doesn't support ed448, XDH and RSA-PSS keys #​37413
  • "languageVersion is final and cannot be changed" when using Gradle 8.3 and configuring the Java toolchain's language version #​37343
  • Spring Boot dependency management not working for ehcache when using Gradle and the dependency management plugin #​37243
  • Parsing OCI image names that are invalid due to the use of upper case letters is very slow #​37182
  • Using https with elliptic curves other than secp384r1 fails #​37168
  • Producing and consuming different tracing propagation formats doesn't work #​37161
  • AOT processing fails when a @ConfigurationProperties-annotated record has multiple constructors #​37283
  • In 3.0.x and later, Spring Security cannot be used to secure a WebSocket upgrade request when using Jetty #​37115
  • Local baggage is propagated when using Brave and W3C #​37109

📔 Documentation

  • Document that PKCS8 PEM files should be used whenever possible #​37442
  • Correct the description of spring.artemis.broker-url #​37308
  • Add default value metadata for management.metrics.export.signalfx.published-histogram-type #​37252
  • Polish javadoc #​37142
  • Add reference to Oracle Spring Boot Starters #​37069

🔨 Dependency Upgrades


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Dependency updates label Nov 24, 2022
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 5 times, most recently from 17dd16c to fe4eab8 Compare December 1, 2022 11:25
build.gradle Outdated
@@ -20,7 +20,7 @@ buildscript {
protobufGradlePluginVersion = '0.9.1'

// https://github.com/spring-projects/spring-boot/releases
springBootVersion = '2.7.6'
springBootVersion = '3.0.0'
// https://github.com/spring-cloud/spring-cloud-release/releases
springCloudVersion = '2021.0.5'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to upgrade this to 2022.0.0-RC3

For more details see https://spring.io/projects/spring-cloud

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info. ❤️
I'm not going to merge his yet.
I will try to have spring-boot 3 compatibility with v2.7.x first.

@renovate renovate bot force-pushed the renovate/major-spring-boot branch 3 times, most recently from 6084f14 to 4fb2e8c Compare December 8, 2022 09:59
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 4 times, most recently from 722bb75 to 0808f8e Compare December 18, 2022 21:28
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 2 times, most recently from c2b04c9 to 0f5f8f2 Compare December 23, 2022 00:17
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 2 times, most recently from 636f698 to c3c47d6 Compare January 2, 2023 08:30
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 5 times, most recently from 44710ae to 8bb4a71 Compare January 15, 2023 21:33
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 3 times, most recently from a992183 to 561cc6a Compare January 26, 2023 00:56
@renovate renovate bot force-pushed the renovate/major-spring-boot branch from 561cc6a to 720e1e2 Compare January 31, 2023 23:50
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 3 times, most recently from 252da23 to 2aa59be Compare February 16, 2023 23:25
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 5 times, most recently from f5c1b0b to 9244bb0 Compare June 28, 2023 06:13
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 4 times, most recently from 7ca18c7 to 186d94a Compare July 1, 2023 06:15
@renovate renovate bot force-pushed the renovate/major-spring-boot branch from 186d94a to 9b7ec3a Compare July 7, 2023 06:15
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 5 times, most recently from 04793fd to 920ff5a Compare July 20, 2023 17:10
@renovate renovate bot force-pushed the renovate/major-spring-boot branch from 920ff5a to 5cacac8 Compare August 24, 2023 11:18
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 2 times, most recently from 7b8904a to 2ff88f3 Compare September 21, 2023 13:59
@renovate renovate bot force-pushed the renovate/major-spring-boot branch 7 times, most recently from 88fca66 to d80834f Compare September 28, 2023 03:03
@renovate renovate bot force-pushed the renovate/major-spring-boot branch from d80834f to 3d3f96e Compare October 8, 2023 11:50
@renovate renovate bot changed the title Update spring boot to v3 (major) Update spring boot to v3 (major) - autoclosed Oct 10, 2023
@renovate renovate bot closed this Oct 10, 2023
@renovate renovate bot deleted the renovate/major-spring-boot branch October 10, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants