Spring Boot v2.2.7.RELEASE Release Notes

Release Date: 2020-05-07 // almost 4 years ago
  • 🍱 ⭐ 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
    • 0️⃣ 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
    • 0️⃣ 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
    • 0️⃣ 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

    • 🚀 Upgrade to Spring Ldap 2.3.3.RELEASE #21351
    • 🚀 Upgrade to Spring Security 5.2.4.RELEASE #21348
    • ⬆️ Upgrade to Jetty El 8.5.54 #21340
    • ⬆️ Upgrade to Hibernate 5.4.15.Final #21339
    • ⬆️ Upgrade to Johnzon Jsonb 1.2.5 #21338
    • ⬆️ Upgrade to Byte Buddy 1.10.10 #21337
    • ⬆️ Upgrade to Dropwizard Metrics 4.1.7 #21336
    • ⬆️ Upgrade to Saaj Impl 1.5.2 #21335
    • ⬆️ Upgrade to Okhttp3 3.14.8 #21334
    • ⬆️ Upgrade to Hazelcast 3.12.7 #21333
    • ⬆️ Upgrade to Jackson 2.10.4 #21332
    • 🚀 Upgrade to Spring HATEOAS 1.0.5.RELEASE #21209
    • 🚀 Upgrade to Spring Ws 3.0.9.RELEASE #21205
    • 🚀 Upgrade to Spring Batch 4.2.2.RELEASE #21203
    • ⬆️ Upgrade to Postgresql 42.2.12 #21202
    • ⬆️ Upgrade to Neo4j Ogm 3.2.11 #21201
    • ⬆️ Upgrade to Liquibase 3.8.9 #21200
    • ⬆️ Upgrade to Kotlin 1.3.72 #21199
    • ⬆️ Upgrade to Infinispan 9.4.19.Final #21198
    • ⬆️ Upgrade to Hibernate Validator 6.0.19.Final #21197
    • ⬆️ Upgrade to Glassfish Jaxb 2.3.3 #21195
    • ⬆️ Upgrade to Elasticsearch 6.8.8 #21194
    • ⬆️ Upgrade to Jetty 9.4.28.v20200408 #21193
    • ⬆️ Upgrade to Groovy 2.5.11 #21192
    • ⬆️ Upgrade to Tomcat 9.0.34 #21191
    • ⬆️ Upgrade to Mysql 8.0.20 #21188
    • ⬆️ Upgrade to Joda Time 2.10.6 #21187
    • ⬆️ Upgrade to Netty 4.1.49.Final #21186
    • ⬆️ Upgrade to Micrometer 1.3.8 #21185
    • ⬆️ Upgrade to Hikaricp 3.4.3 #21183
    • ⬆️ Upgrade to Sendgrid 4.4.8 #21182
    • ⬆️ Upgrade to Appengine Sdk 1.9.80 #21181
    • ⬆️ Upgrade to Caffeine 2.8.2 #21180
    • ⬆️ Upgrade to Couchbase Client 2.7.14 #21179
    • ⬆️ Upgrade to RSocket 1.0.0-RC7 #21046
    • ⬆️ Upgrade to Spring Kafka 2.3.8 #20952
    • ⬆️ Upgrade to Spring Integration 5.2.6 #20950
    • ⬆️ Upgrade to Spring Data Moore-SR7 #20948
    • ⬆️ Upgrade to Spring AMQP 2.2.6 #20946
    • ⬆️ Upgrade to Spring Framework 5.2.6 #20944
    • ⬆️ Upgrade to Reactor Bom Dysprosium-SR7 #20942

    🍱 ❤️ Contributors

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