Skip to content

chore(deps): update spring boot to v2.3.0.release #2927

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

Merged
merged 2 commits into from
May 20, 2020
Merged

chore(deps): update spring boot to v2.3.0.release #2927

merged 2 commits into from
May 20, 2020

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Update Change
org.springframework.boot:spring-boot-maven-plugin (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-starter-jetty (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-starter-web (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-starter-test (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-starter-actuator (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-dependencies (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE
org.springframework.boot:spring-boot-starter-thymeleaf (source) minor 2.2.6.RELEASE -> 2.3.0.RELEASE

Release Notes

spring-projects/spring-boot

v2.3.0.RELEASE

Compare Source

For full upgrade instructions and new and noteworthy features please see the release notes.

⭐ New Features

  • Update properties migrator to run on deprecated properties with warn level as well #​21425
  • Provide more extensible constructors on UndertowServletWebServer and UndertowWebServer #​21391
  • Add redis sentinel password property #​21353
  • Auto-configure a LifecycleProcessor with a configurable timeout per shutdown phase #​21347
  • Integrate web server graceful shutdown into the application context's lifecycle processing #​21325
  • Improve backwards compatibility of ErrorAttributes and DefaultErrorAttributes #​21324
  • Align logback's behavior with log4j2 when getting a logger that doesn't exist #​21292
  • Use CNB creator all-in-one lifecycle #​21273
  • Optimize StringSequence.startsWith #​21259
  • Deregister JDBC drivers during undeploy of a war deployment #​21221
  • Add Period converter support #​21136
  • Improve binding performance when using a large number of property sources #​20625
  • Add @WebServiceClientTest annotation that can be used when testing SOAP clients #​17274

🪲 Bug Fixes

  • CLI distribution is missing read rights #​21451
  • Custom converters cannot be used when creating endpoint-related beans due to eager initialization triggered by ServletEndpointRegistrar #​21444
  • Different actuator management server port changes response on errors #​21428
  • Performance regression between RC1 and latest snapshots with large amount of configuration properties #​21416
  • Dependency exclusions declared in spring-boot-dependencies have no effect when using Gradle 6 #​21350
  • Unclear default for 'server.tomcat.use-relative-redirects' #​21343
  • CreateBootStartScripts causes a warning to be logged with Gradle 6.4 #​21341
  • When a request is active, Undertow prevents the JVM from exiting #​21327
  • When using log4j2 log4j2-test.* files are not detected #​21323
  • Classpath wildcards cannot be used with Java 11 or above #​21321
  • Implementation attributes are missing from Maven shade transformer configuration in spring-boot-starter-parent #​21304
  • The @ActiveProfiles annotation no longer overrides those defined in property files #​21302
  • Layertools list and extract commands ignore empty layers #​21301
  • Binder @DefaultValue does not work with PropertyEditor converters #​21294
  • developmentOnly configuration excludes jar files from fat jar #​21288
  • Connection fails when DOCKER_HOST set to local socket #​21173
  • Environment variable that does not follow guidelines for use of _ is still successfully bound if another property source contains a property that is bound to the same target #​14479

📔 Documentation

  • Fix capitalization of Testcontainers in Howto docs #​21417
  • Document use case of splitting auto-configuration and starter #​21367
  • Align TestRestTemplate Javadoc with documentation #​21364
  • Fix typo for includeLayerTools #​21310
  • Fix duplicate slashes in URL links #​21108
  • Update link to new Spring Security docs location #​21040
  • Remove version number from author section of the documentation #​20934
  • Add more context to the Kubernetes container lifecycle documentation #​20932
  • Document that graceful shutdown with Tomcat requires Tomcat 9.0.33 or later #​20886
  • Add a testcontainers section in the reference docs #​20734
  • Remove packages from the javadoc that are not user-facing #​20517

🔨 Dependency Upgrades

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v2.2.7.RELEASE

Compare Source

⭐ New Features

  • Throw exception if spring.config.location uses classpath*: #​21174
  • Deprecate PushRegistryConfig#numThreads #​20835

🪲 Bug Fixes

  • Classpath wildcards cannot be used with Java 11 or above #​21320
  • When a request is active, Undertow prevents the JVM from exiting #​21319
  • Binder @DefaultValue does not work with PropertyEditor converters #​21264
  • JarFiles are being left open #​21126
  • PortInUseException can be thrown when server address is wrong #​21101
  • Fat jars cause classloading problems with JDK11 and Security Manager #​21073
  • WelcomePageHandlerMapping does not honor CORS #​21070
  • PortInUseException thrown when Netty does not have the right to use configured port #​21052
  • ConditionalOnAvailableEndpoint does not deal with dashed IDs #​21044
  • Endpoint exposure patterns do not work with dashed IDs #​21022
  • Embedded database initial failed for setting empty spring.database.url #​21003
  • UndertowCompressionConfigurer fails on invalid Media Types #​20955
  • Default for spring.kafka.listener.missing-topics-fatal is no longer aligned with Spring Kafka's default #​20917
  • Test classes annotated with @SpringBootTest with different args attributes share a context when they should not #​20866
  • Unclear default for 'server.tomcat.use-relative-redirects' #​20796
  • CreateBootStartScripts causes a warning to be logged with Gradle 6.4 #​20759
  • spring.config.additional-location is ignored when spring.config.location is configured #​20745
  • Cassandra health indicator never report version attribute #​20725
  • ReactiveCassandraHealthIndicator runs a query that fails on some Consistency Levels #​20717
  • CassandraHealthIndicator runs a query that fails on some Consistency Levels #​20711
  • spring.security.oauth2.resourceserver.jwt.jws-algorithm is ignored when auto-configuring ReactiveJwtDecoder #​20681
  • MockitoPostProcessor can trigger early initialization of factory beans #​20665
  • Nested object is not initialized if no matching property is defined with constructor binding #​18917
  • When using log4j2 log4j2-test.* files are not detected #​17001

📔 Documentation

  • Improve documentation around relaxed binding, @​Value, and the canonical form of properties #​21106
  • Add "Health as Gauge" how-to documentation #​21091
  • Enhance Database initialization how to guide #​21077
  • Document relaxed binding from environment variables #​21027
  • Document devtool property file profile restrictions #​21025
  • Make it more obvious that Jolokia does not work with a WebFlux app #​20963
  • Fix typo in Adding Active Profiles #​20907
  • Relocate section on configuring DevTools' file system watcher as it isn't specific to remote applications #​20895
  • Deprecate getters and setters for deprecated configuration properties consistently #​20812
  • Update documentation about endpoint enablement to reflect behaviour of @ConditionalOnAvailableEndpoint #​20799
  • Clarify the type to which connection-pool-specific spring.datasource properties are bound #​20727
  • Update system requirements to reflect support for Java 14 #​20689
  • Make it more obvious that Jolokia does not work with a WebFlux app #​20623

🔨 Dependency Upgrades

❤️ Contributors

We'd like to thank all the contributors who worked on this release!


Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Never, 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 WhiteSource Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team May 19, 2020 01:02
@forking-renovate forking-renovate bot added the automerge Merge the pull request once unit tests and other checks pass. label May 19, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 19, 2020
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label May 19, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label May 19, 2020
@gcf-merge-on-green
Copy link
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

@gcf-merge-on-green
Copy link
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, or one of your required reviews was not approved. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@lesv
Copy link
Contributor

lesv commented May 19, 2020

Java 11

------------------------------------------------------------
- testing run/helloworld
------------------------------------------------------------
     [java] JVM args ignored when same JVM is used.
     [java] The following classes needed for analysis were missing:
     [java]   makeConcatWithConstants
[ERROR] com.example.helloworld.HelloworldApplication$HelloworldController is a Spring endpoint (Controller) [com.example.helloworld.HelloworldApplication$HelloworldController] At HelloworldApplication.java:[line 35] SPRING_ENDPOINT
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.458 s <<< FAILURE! - in com.example.helloworld.HelloworldApplicationTests
[ERROR] com.example.helloworld.HelloworldApplicationTests.returnsHelloWorld  Time elapsed: 0.006 s  <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
	at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
	at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatServletWebServerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'servletWebServerFactoryCustomizer' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfiguration.class]: Unsatisfied dependency expressed through method 'servletWebServerFactoryCustomizer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'server-org.springframework.boot.autoconfigure.web.ServerProperties': Could not bind properties to 'ServerProperties' : prefix=server, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'server.port' to java.lang.Integer
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'servletWebServerFactoryCustomizer' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfiguration.class]: Unsatisfied dependency expressed through method 'servletWebServerFactoryCustomizer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'server-org.springframework.boot.autoconfigure.web.ServerProperties': Could not bind properties to 'ServerProperties' : prefix=server, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'server.port' to java.lang.Integer
Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'server-org.springframework.boot.autoconfigure.web.ServerProperties': Could not bind properties to 'ServerProperties' : prefix=server, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'server.port' to java.lang.Integer
Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.lang.Integer] for value '${PORT}'; nested exception is java.lang.NumberFormatException: For input string: "${PORT}"
[ERROR]   HelloworldApplicationTests.returnsHelloWorld » IllegalState Failed to load App...
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

@lesv lesv assigned ace-n and averikitsch and unassigned lesv May 19, 2020
@lesv
Copy link
Contributor

lesv commented May 19, 2020

@ace-n @averikitsch PTAL this is run/helloworld -- Kind of an important sample.

@lesv lesv added api: run Issues related to the Cloud Run API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed automerge Merge the pull request once unit tests and other checks pass. labels May 19, 2020
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label May 20, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label May 20, 2020
@averikitsch averikitsch merged commit e0902e3 into GoogleCloudPlatform:master May 20, 2020
@renovate-bot renovate-bot deleted the renovate/spring-boot branch May 20, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: run Issues related to the Cloud Run API. cla: yes This human has signed the Contributor License Agreement. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants