Skip to content

v2.4.2

Compare
Choose a tag to compare
@spring-builds spring-builds released this 15 Jan 04:29
· 18274 commits to main since this release

⭐ New Features

  • Add API for PropertySource resource location retrieval #24504

🪲 Bug Fixes

  • DataSourceUnwrapper calls Wrapper.isWrapperFor with a interface rather than an class causing HikariDataSourceMetricsRegistry failure #24841
  • Wrong logging pattern with multiple web applications #24835
  • Configuration metadata json does not include spring.config.use-legacy-processing #24816
  • Setting -Dspring.devtools.restart.enabled=true has no effect when the class loader class name does not contain AppClassLoader #24797
  • Auto-configured JdbcSessionDataSourceInitializer does not use the @SpringSessionDataSource if available #24790
  • Error Invalid entry size when build application with a dependency jar larger than 2,147,483,647 bytes with Gradle #24768
  • Default servlet location is not registered using a ServletContextResource #24748
  • bootRun task does not use the project's toolchain by default #24738
  • BootRun does not consider configured javaLauncher when determining JVM arguments for an optimized launch #24735
  • spring.profiles.include is silently ignored when used in a profile-specific document #24733
  • main application.yaml overrides test application.properties #24719
  • Actuator 'configprops' endpoint does not show inputs for @Name parameters #24713
  • Exploded archives launched using the launcher have an incorrectly ordered classpath that also contains non-existent jar files #24710
  • spring-boot:build-image has a layout parameter that cannot be always be honoured #24689
  • FailureAnalyzers' unmet dependency errors add noise to logs #24683
  • WebTestClient base path is not set to the application context path #24678
  • Support JSR-305 @Nullable annotations on endpoint methods #24672
  • JSR-305 @Nullable cannot be used to indicate that a parameter to an endpoint operation is optional #24670
  • ConfigDataEnvironment doesn't register updated Binder #24669
  • WebServer implementations should return -1 if not listening on a port #24657
  • Support JSR-305 @Nullable annotations on endpoint methods #24654
  • Handle missing manifest files in JarTypeFilter #24597
  • ConfigDataLocationNotFoundException thrown at application startup with configserver: config imports, that are not even meant for the current profile #24584
  • Maven resources plugin execution generates a warning with a vanilla project #24576
  • BootstrapContext Binder cannot be used if accessed early #24559
  • Opening a connection to a jar:war: URL created by Tomcat results in an illegal reflective access warning on Java 13+ #24554
  • Enforce that builder and run images are pulled from the same authenticated registry #24552
  • Actuator doesn't use the CORS Configuration with default security configuration and Spring MVC #24542
  • Avoid duplicate classes in MergedContextConfiguration #24536
  • Image is built from jar file when when using war packaging with Gradle #24535
  • configtree not working with Kubernetes projected volume #24530
  • Netty Web Server will not start if using Unix Domain Sockets #24529
  • Application Startup Fails For Existing, Non-Optional Config Location, Resulting In ConfigDataLocationNotFoundException #24499
  • Exceptions are still translated by JdbcTransactionManager when spring.dao.exceptiontranslation.enabled is false #24321
  • Persistent and RelationshipProperties-annotated types are not scanned with Spring Data Neo4j #24239
  • flashMapManager and themeResolver beans can no longer be configured without enabling bean overriding #24207

📔 Documentation

  • Fix documentation on probes states during graceful shutdown #24843
  • Clarify behaviour of WebServerFactory in reference guide #24707
  • Migrate away from pivotal-legacy/homebrew-tap #24681
  • Fix javadoc typo in ConfigDataLocation #24660
  • Harmonize ActiveMQ Artemis naming #24587
  • Update version of git-properties plugin in the docs #24572
  • Improve "Git Commit Information" reference documentation #24570
  • Clarify when SpEL expressions in application properties are evaluated #24565
  • Reorder documentation about building images #24563
  • Update documentation containing examples of WebSecurityConfigurerAdapter #24551
  • Improve error message when attempting to build an image when using war packaging with Maven #24538
  • Testing Properties missing from Application Properties Appendix #24518
  • Update reference guide to refine note on excluding spring-boot-configuration-processor explicitly #24498
  • Document warning about InMemoryOAuth2AuthorizedClientService #24313

🔨 Dependency Upgrades

  • Upgrade to AppEngine SDK 1.9.84 #24721
  • Upgrade to Byte Buddy 1.10.19 #24722
  • Upgrade to Dependency Management Plugin 1.0.11.RELEASE #24827
  • Upgrade to Dropwizard Metrics 4.1.17 #24723
  • Upgrade to Hibernate 5.4.27.Final #24724
  • Upgrade to Hibernate Validator 6.1.7.Final #24725
  • Upgrade to Jackson Bom 2.11.4 #24726
  • Upgrade to Jetty Reactive HTTPClient 1.1.5 #24727
  • Upgrade to Johnzon 1.2.9 #24728
  • Upgrade to Lettuce 6.0.2.RELEASE #24802
  • Upgrade to Micrometer 1.6.3 #24786
  • Upgrade to Netty 4.1.58.Final #24828
  • Upgrade to Netty tcNative 2.0.36.Final #24829
  • Upgrade to Reactor 2020.0.3 #24698
  • Upgrade to Spring AMQP 2.3.4 #24702
  • Upgrade to Spring Data 2020.0.3 #24700
  • Upgrade to Spring Framework 5.3.3 #24699
  • Upgrade to Spring HATEOAS 1.2.3 #24803
  • Upgrade to Spring Integration 5.4.3 #24701
  • Upgrade to Spring Kafka 2.6.5 #24703
  • Upgrade to Spring Retry 1.3.1 #24730
  • Upgrade to Thymeleaf 3.0.12 #24602
  • Upgrade to Thymeleaf Layout Dialect 2.5.2 #24731

❤️ Contributors

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