Releases: spring-projects/spring-boot
Releases · spring-projects/spring-boot
v2.1.1.RELEASE
⭐ New Features
- Deprecate spring.rabbitmq.template.queue in favor of spring.rabbitmq.template.default-receive-queue #15301
- Add Actuator health check support for Elasticsearch REST Clients #15211
- Improve Servlet and Filter registration logging #15166
- Trim whitespace from configured value for a log level #15143
- Add HANA to the lookup of well-known databases #15125
- Tolerate Hibernate 5.2 #15100
- Allow to disable SSL client authentication on the management port #14985
- Support Java 9 Multi-Release JAR files #12523
🪲 Bug Fixes
- HibernateMetricsAutoConfiguration will fail, when using different JPA implementation #15317
- EmbeddedMongoAutoConfiguration.determineVersion(?) fails with NPE when no features are configured and spring.mongodb.embedded.version specifies a version not included in de.flapdoodle.embed.mongo.distribution.Version #15311
- Wrong default unit for "spring.servlet.multipart" sizes #15162
- ConfigurationPropertyName equals method fails when uppercase values start the same #15152
- HANA validation query does not use fully-qualified dummy table name #15124
- WebFlux doesn't render HTTP status error templates #15083
- Fix stack-trace line breaks in whitelabel error views #15075
- Application that depends upon spring-boot-starter-web and spring-boot-starter-jersey fails to start due to attempt to override requestContextFilter bean #15048
- Cannot run repackage twice with different settings #15034
- TaskSchedulingAutoConfiguration prevents discovery of ScheduledExecutorService #15032
- Improve endpoint mapping debug logging #14292
📔 Documentation
- Document that test slices should not be combined #15310
- Add reference to sentry-spring-boot-starter #15205
- Add reference to ArangoDB starter #15144
- Add reference to Hiatus starter #15082
- Improve HttpMessageConverters javadoc #15027
- Update system requirements in the reference docs to reflect support for Java 11 #15026
🔨 Dependency Upgrades
- Upgrade to Infinispan 9.4.3.Final #15338
- Upgrade to Flyway 5.2.3 #15337
- Upgrade to Jetty Reactive Httpclient 1.0.2 #15336
- Upgrade to Byte Buddy 1.9.5 #15335
- Upgrade to Undertow 2.0.16.Final #15334
- Upgrade to Rxjava2 2.2.4 #15333
- Upgrade to Netty Tcnative 2.0.20.Final #15332
- Upgrade to Lettuce 5.1.3.RELEASE #15331
- Upgrade to Micrometer 1.1.1 #15328
- Upgrade to Junit Jupiter 5.3.2 #15286
- Upgrade to Spring Session Bean-SR1 #15275
- Upgrade to Spring Security 5.1.2.RELEASE #15274
- Upgrade to Spring Kafka 2.2.2.RELEASE #15273
- Upgrade to Spring Integration 5.1.1.RELEASE #15272
- Upgrade to Spring AMQP 2.1.2.RELEASE #15271
- Upgrade to Maven Shade Plugin 3.2.1 #15270
- Upgrade to Lombok 1.18.4 #15268
- Upgrade to Mockito 2.23.4 #15267
- Upgrade to Jooq 3.11.7 #15266
- Upgrade to Infinispan 9.4.2.Final #15265
- Upgrade to Elasticsearch 6.4.3 #15264
- Upgrade to Ehcache3 3.6.2 #15263
- Upgrade to Groovy 2.5.4 #15262
- Upgrade to Tomcat 9.0.13 #15261
- Upgrade to Kafka 2.0.1 #15260
- Upgrade to Byte Buddy 1.9.4 #15259
- Upgrade to Undertow 2.0.15.Final #15258
- Upgrade to Couchbase Client 2.7.1 #15257
- Upgrade to Reactor Californium-SR3 #15192
- Upgrade to Spring Data Lovelace-SR3 #15191
- Upgrade to Spring Framework 5.1.3 #15186
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.0.7.RELEASE
⭐ New Features
- Provide more finely grained metrics for Spring Data REST repositories #14872
🪲 Bug Fixes
- Find DataSourceProxy even when it is wrapped or proxied #15206
- HttpRequestMethodNotSupportedException prevents timing in WebMvcMetricsFilter #15204
- Scoped targets such as those created by @RefreshScope are not skipped when discovering endpoint beans #15182
- Overriding Jackson2JsonDecoder/Encoder should be easier with CodecCustomizer #15167
- Cookie http-only setting has no effect when using Spring Session #15163
- BootJar and BootWar do not provide setters for classpath and provided classpath respectively #15087
- When using WebFluxTest, WebTestClient's codecs are not customized breaking JSON (de)serialisation that relies on Module-provided functionality #15070
- Jetty management access logs should be written to a different file #15041
- Take aliases into consideration when checking descendants #14967
- WebMvcMetricsFilter should not use SLF4J logger #14953
- Fix parameters handling on a restart of a Spring Batch job #14933
- When using Tomcat, closing the application context blocks for two seconds for each DispatcherServlet initialised by a request to the mappings endpoint #14898
- Resource Versioning Handler not being called if any FilterRegistrationBean is found #14897
- Servlet endpoints on Jersey do not take application path property into account #14895
- Set hostname property for JMX in spring-boot-maven-plugin #14836
📔 Documentation
- Warn about dropped Quartz tables #15295
- Update documentation to reflect @AutoConfigureRestDocs support for @WebTestClient #15220
- Improve documentation of how @ConditionalOnBean evaluates all of its attributes #15177
- Document that profiles activated in ~/.spring-boot-devtools.properties will not affect loading of profile-specific configuration files #15151
- Reference documentation contains stale reference to Gradle plugin's embeddedLaunchScriptProperties #15094
- Remove recommendation to add a dependency on Woodstox as it's now a transitive dependency of jackson-dataformat-xml #15092
- Update documentation to remind how JobParameters should be specified #15081
- Update docs to Spock 1.2 #15060
- StaticResourceRequest.at*() have incorrect javadoc #15050
- Reference documentation incorrectly states that the heapdump returned from /actuator/heapdump will be gzipped #15016
- Improve migration documentation at "28.1.8 Path Matching and Content Negotiation" #14977
- Gradle example in reference docs does not work due to missing apply of the dependency management plugin #14878
- Maven Plugin's documentation still refers to module layout that was removed in 2.0 #14854
- Mention fully executable jars when warning about Jersey's scanning limitations #3413
- Document using the Shadow plugin as an alternative to Boot's fat jars when using Gradle #1828
🔨 Dependency Upgrades
- Upgrade to Thymeleaf Extras Java8time 3.0.2.RELEASE #15330
- Upgrade to Netty 4.1.31.Final #15329
- Upgrade to Micrometer 1.0.8 #15327
- Upgrade to Spring Kafka 2.1.11.RELEASE #15315
- Upgrade to Neo4j Ogm 3.1.5 #15293
- Upgrade to Kotlin 1.2.71 #15292
- Upgrade to Spring AMQP 2.0.10.RELEASE #15256
- Upgrade to Spring Session Apple-SR7 #15254
- Upgrade to Spring Security 5.0.10 #15253
- Upgrade to Spring Integration 5.0.10 #15251
- Upgrade to Spring Cloud Connectors 2.0.4.RELEASE #15250
- Upgrade to Jetty El 8.5.33.1 #15249
- Upgrade to Elasticsearch 5.6.13 #15248
- Upgrade to Janino 3.0.11 #15247
- Upgrade to Activemq 5.15.8 #15246
- Upgrade to Javax Json 1.1.4 #15245
- Upgrade to Reactor Bom Bismuth-SR14 #15244
- Upgrade to Unboundid Ldapsdk 4.0.9 #15243
- Upgrade to Spring Framework 5.0.11 #15189
- Upgrade to Thymeleaf Extras Springsecurity4 3.0.4.RELEASE #14997
- Upgrade to Activemq 5.15.7 #14996
- Upgrade to Reactor Bom Bismuth-SR13 #14995
- Upgrade to Ehcache 2.10.6 #14962
- Upgrade to Thymeleaf 3.0.11.RELEASE #14920
- Upgrade to Spring Data Kay SR12 #14893
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v1.5.18.RELEASE
⭐ New Features
- Update the homepage in the homebrew formula to avoid a redirect #14851
🪲 Bug Fixes
- AnnotationsPropertySource can throw a NPE when
javax
meta-annotations are present #15175 - Allow early ServletRequest Autowiring with embedded containers #14990
📔 Documentation
- Document launcher's use of temp directory for libraries that require unpacking #15180
- Fixed typo in Maven Site doc #15176
🔨 Dependency Upgrades
- Upgrade to Spring Data Ingalls-SR17 #15305
- Upgrade to Jackson 2.8.11.20181123 #15289
- Upgrade to Spring Security 4.2.10 #15255
- Upgrade to Spring Session 1.3.4.RELEASE #15242
- Upgrade to Spring Integration 4.3.18.RELEASE #15241
- Upgrade to Spring Cloud Connectors 1.2.7.RELEASE #15240
- Upgrade to Tomcat 8.5.35 #15238
- Upgrade to Appengine Sdk 1.9.68 #15236
- Upgrade to Spring Framework 4.3.21 #15188
- Upgrade to Appengine Sdk 1.9.67 #14955
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.1.0.RELEASE
⭐ New Features
- Rename spring-boot-starter-oauth2-oidc-client to spring-boot-starter-oauth2-client #14951
- Add starter for OAuth2 resource server #14950
- Support parameterizedContainer for ConditionalOnBean and ConditionalOnMissingBean #14940
- Avoid unwanted logging by making auto-configured applicationTaskExecutor bean lazy #14934
- Rename DatabaseDriver#SAP to DatabaseDriver#HANA #14918
- Skip restarter not only for JUnit4 but also for JUnit5 #14915
- Use cluster endpoint in Jest HealthIndicator #14914
- Add Log Output when DevTools restart is disabled #14807
- Create @ConditionalOnMissingServletFilter #7475
🪲 Bug fixes
- Restore isPositive check for maxHttpHeaderSize #14986
- ApplicationConversionService is not binary compatibility with 2.0.x #14938
- Web Services starter depends on a missing mimepull version #14924
- 2.1.0.RC1, startup failed by Log4j2Metrics bean creation when third party library depends on log4j-core #14883
- Upgrade to 2.1.0.RC1 breaks message source with DevTools #14882
- Support primary beans with ApplicationContextAssert.getBean #14874
🔨 Dependency upgrades
- Upgrade to Thymeleaf Extras Springsecurity 3.0.4.RELEASE #15001
- Upgrade to Joda Time 2.10.1 #15000
- Upgrade to Lettuce 5.1.2.RELEASE #14999
- Upgrade to Reactor Californium-SR2 #14992
- Upgrade to Maven Failsafe Plugin 2.22.1 #14965
- Upgrade to Flyway 5.2.1 #14964
- Upgrade to Aspectj 1.9.2 #14963
- Upgrade to Mysql 8.0.13 #14960
- Upgrade to Undertow 2.0.14.Final #14959
- Upgrade to Rxjava2 2.2.3 #14958
- Upgrade to Hazelcast 3.11 #14949
- Upgrade to Spring Kafka 2.2.0.RELEASE #14892
- Upgrade to Spring Batch 4.1.0.RELEASE #14891
- Upgrade to Micrometer 1.1.0 #14890
- Upgrade to Spring Integration 5.1.0.RELEASE #14889
- Upgrade to Spring Data Lovelace SR2 #14888
- Upgrade to Spring Framework 5.1.2.RELEASE #14887
- Upgrade to Byte Buddy 1.9.3 #14866
- Upgrade to Spring Session Bean-RELEASE #14733
❤️ Contributors
We'd like to thank all the contributors who worked on our current release!
v2.1.0.RC1
⭐ New Features
- Thymeleaf 3.0.10 configuration #14849
- Allow multiple endpoint PathMapper beans to be used #14841
- Auto-configure Micrometer's KairosMeterRegistry #14821
- Auto-configure AppOptics metrics #14819
- Switch from thymeleaf-extras-springsecurity4 to thymeleaf-extras-springsecurity5 #14806
- Auto-configure Micrometer's HumioMeterRegistry #14804
- Introduce Ordered Filter and WebFilter interfaces #14793
- Ensure servlet startup failures are handled consistently #14790
- Add support for customizing Flyway's configuration #14786
- Configure Cassandra JMX Reporting #14778
- Allow ClassPathResources to be filtered by FilteredClassLoader #14774
- Metadata hint for logging group #14748
- Support ConfigurationProperties BindHandler advisors #14745
- Document standard "sql" and "web" log groups in the metadata #14740
- Allow construction of HttpTrace objects from custom HttpTraceRepository implementations #14726
- Provide a dedicated hook point for customizing InfluxDB's HTTP client #14709
- Make devtools set
spring.messages.reloadable=true
#14699 - Drop support for "all" from management.metrics.distribution.sla #14684
- Make AssertableApplicationContext interfaces extend ConfigurableApplicationContext #14650
- Load ApplicationContextIntiailizers using the resource loader's class loader #14641
- Make it easier to configure a JOOQ Execution Listener Provider that runs after Boot's default #14598
- Auto-configure binding of Micrometer's JettyServerThreadPoolMetrics #14591
- Auto-configure Neo4J BookmarkManager when possible #14568
- Create configuration property to enable/disable HiddenHttpMethodFilter with WebFlux #14520
- Add a warning message if PID/LOG location uses fallback #14519
- Auto-Configure HTTP Resource Factories on Jetty and Reactor servers #14495
- Deprecate properties for configuring Cassandra retry, reconnection and load balancing policies in favour of using a ClusterBuilderCustomizer #14473
- Add auto-config for Prometheus Pushgateway. Fixes #14346 #14353
- Support more Micrometer histogram properties #14139
- Add reactive health indicator for Couchbase #13926
- Register SpringBeanContainer with default Hibernate setup #13717
- Add support for ReloadableResourceBundleMessageSource #13377
- Validate
server.servlet.path
does not contain unusual patterns (eg/*
) #13292 - Instrument WebFlux.fn to record the URI pattern tag on http.server.requests metric #12757
- Auto-configure Jersey2 server instrumentation #12482
- GitProperties, BuildProperties support encoding. #10771
🪲 Bug fixes
- Invalid target type for logging.group #14743
- WebFluxAutoConfiguration ignores spring.resources.cache.cachecontrol #14741
- Cannot set enableLoggingRequestDetails via WebFluxConfigurer #14723
- ApplicationContext Failure with @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) when Management Port Specfied #14682
- ConfigurationPropertyName equals method fails when values start the same #14665
- Publication of DataSourceSchemaCreatedEvent is more prone to creating a cycle than it was in 2.0 #14651
📔 Documentation
- Fix a broken table in doc #14859
- Repackage goal can be executed twice if the execution id is not provided #14835
- Document how to enable Hibernate 2nd level cache with JCache #14734
- Fix actuator endpoint tables in docs #14712
- Section header in Actuator API docs for query parameters of retrieving caches by name is incorrect #14600
- Provide Kotlin samples alongside existing Groovy samples in Gradle plugin documentation #14585
- Update description of the
logger-name
hint #14456
🔨 Dependency upgrades
- Upgrade to Maven Surefire Plugin 2.22.1 #14870
- Upgrade to Spring Amqp 2.1.0.RELEASE #14869
- Upgrade to Influxdb Java 2.14 #14868
- Upgrade to Hibernate 5.3.7.Final #14867
- Upgrade to Lettuce 5.1.1.RELEASE #14865
- Upgrade to Sendgrid 4.3.0 #14864
- Upgrade to Hazelcast 3.10.6 #14863
- Upgrade to Couchbase Client 2.7.0 #14862
- Upgrade to Groovy 2.5.3 #14825
- Upgrade to Micrometer 1.1.0-rc.1 #14809
- Upgrade to Reactor Californium-SR1 #14788
- Upgrade cassandra-unit-spring to 3.5.0.1 #14777
- Upgrade to Sqlite Jdbc 3.25.2 #14769
- Upgrade to Selenium Htmlunit 2.33.0 #14768
- Upgrade to Mockito 2.23.0 #14767
- Upgrade to Kotlin 1.2.71 #14766
- Upgrade to Infinispan 9.4.0.Final #14765
- Upgrade to Glassfish Jaxb 2.3.1 #14764
- Upgrade to Flyway 5.2.0 #14763
- Upgrade to Elasticsearch 6.4.2 #14762
- Upgrade to Ehcache3 3.6.1 #14761
- Upgrade to Commons Lang3 3.8.1 #14760
- Upgrade to Byte Buddy 1.9.1 #14759
- Upgrade to Javax Jaxws 2.3.1 #14758
- Upgrade to Netty Tcnative 2.0.17.Final #14757
- Upgrade to Saaj Impl 1.5.0 #14756
- Upgrade to Spring Integration 5.1.0.RC2 #14731
- Upgrade to Spring Security 5.1.1.RELEASE #14730
- Upgrade to Spring Data Lovelace SR1 #14729
- Upgrade to Spring Framework 5.1.1.RELEASE #14677
- Raise the default version of Mongo used with Embedded ...
v2.0.6.RELEASE
⭐ New Features
- Deprecate SecurityPrerequisite #14846
- Provide auto-configuration for Thymeleaf's Spring Security 5 dialect and deprecate auto-configuration of the Spring Security 4 dialect #14828
- Allow @ConditionalOnEnabledEndpoint to be used on any component #14787
- For better compatibility with Flyway 5.1, avoid calling setCallbacks when flywayCallbacks is empty #14775
- Make it easier to display the condition evaluation report when using ApplicationContextRunner #13119
🪲 Bug fixes
- WavefrontPropertiesConfigAdapter does not extend StepRegistryPropertiesConfigAdapter #14839
- MeterFilters and MeterRegistryCustomizers are not ordered #14780
- Endpoint IDs should support camelCase #14773
- @ResponseStatus does not work when using WebFlux #14744
- server.ssl.key-store-provider and server.ssl.trust-store-provider are ignored when configuring Netty #14714
- When using WebFlux, having Jersey on the classpath without an embedded servlet container causes the web application type to be deduced as none #14701
- Dependency management for Micrometer is incomplete #14700
- Dependency management for Johnzon is incomplete #14692
- Artemis starter has a transitive dependency on an alpha of the Geronimo variant of the JSON API #14691
- Couchbase health check fails due to timeout #14685
- An application with the JSON-B API and no implementation on the classpath fails to start #14675
- ReactiveWebServerApplicationContext.getHttpHandler() causes early bean initialization #14666
- Actuator's EndpointRequest doesn't consider server.servlet.path #14646
- SpringApplication.setApplicationContextClass does not correctly deduce REACTIVE type #14589
- Make sure cache busting works with error pages #14583
- Clash of websocketContainerCustomizer beans if Tomcat and Jetty both present #14582
- Add dependency management for Neo4J OGM embedded driver #14560
- Dependency management for Caffeine is incomplete #14505
- Metric endpoint is summing up same metric #14497
- Remove duplicate -l option for init command #14460
- Tomcat's failCtxIfServletStartFails should not be ignored #14448
- HTTP/2 on Jetty: ALPNServerConnectionFactory default protocol set to "h2" #14444
- Remote devtools lose reference to component after making a change #14205
- installBootDist creates executables with wrong permission #14158
- Property management.metrics.web.server.auto-time-requests is not taken into account in case of reactive web application #13895
- Liquibase actuator endpoint cannot retrieve change sets when using Hikari and a custom Liquibase DataSource URL #13832
- Failure analysis for NoSuchBeanDefinitionException does not include information about qualifiers or the class on which auto-configured bean methods are declared #13594
- JmsHealthIndicator can hang in case failover with infinite max reconnects is used with ActiveMQ #10809
📔 Documentation
- Improve JSON documentation to cover GSON and JSON-B #14703
- Fix BeansEndpoint typo in readme #14688
- Clarify Javadoc of ConditionalOn annotations #14681
- Fix missing metadata for nested POJO #14669
- Clarify conversion system in Appendix #14645
- Avoid using deprecated configurations in Gradle plugin reference documentation #14593
- Polish RabbitMQ properties doc #14569
- Fix and improve Neo4j related documentation #14548
- Fix typo WebClient example #14499
- 2.0 migration Guide should call out implications for /error #14474
- Devtools documentation incorrectly uses compileOnly Gradle scope #14451
- When using Spring Data REST, spring.data.rest.* properties much be used rather than spring.data.web.pageable.* and spring.data.web.sort.* #14413
- Document application plugin's need for its mainClassName property to be set #14250
- Document the need for compilation with -parameters when using @SpyBean and @Cacheable with a key expression that uses a parameter name #13945
- Fix datasource prefix in multiple-datasource configuration doc #13915
- Refer to Spring Cloud Vault in documentation for property encryption #13618
- Update Spring-Boot documention considering new scopes, e.g. "webDriver" Scope #13093
- Clarify that @QuartzDataSource is the preferred mechanism for customizing Quartz's DataSource #12780
- Recommend using containers' default multipart upload support rather than CommonsMultipartResolver #2958
🔨 Dependency upgrades
- Upgrade to Spring Security 5.0.9.RELEASE #14850
- Upgrade to Reactor Bismuth-SR12 #14838
- Upgrade to Spring Integration 5.0.9 #14834
- Upgrade to Spring AMQP 2.0.8.RELEASE #14833
- Upgrade to Thymeleaf Extras Spring Security 3.0.3.RELEASE #14829
- Upgrade to Neo4j Ogm 3.1.4 #14826
- Upgrade to Micrometer 1.0.7 #14808
- Upgrade to Thymeleaf 3.0.10.RELEASE #14797
- Upgrade to Ehcache3 3.5.3 #14755
- Upgrade to Javax Jaxb 2.3.1 #14754
- Upgrade to Javax Json 1.1.3 #14753
- Upgrade to Rabbit Amqp Client 5.4.3 #14751
- Upgrade to Spring Session Apple-SR6 #14732
- Upgrade to Spring Data Kay SR11 #14728
- Upgrade to Spring Framework 5.0.10.RELEASE #14722
- Upgrade to Neo4j Ogm 3.1.3 #14536
- Upgrade to Hibernate Validator 6.0.13.Final #14535
- Upgrade to Elasticsearch 5.6.12 #14534
- Upgrade to Janino 3.0.10 #14533
- Upgrade to Johnzon Jsonb 1.1.10 #14532
- Upgrade to Unboundid Ldapsdk 4.0.8 #14531
- Upgrade to Jackson 2.9.7 [#14530](https://githu...
v1.5.17.RELEASE
🪲 Bug fixes
- server.ssl.key-store-provider and server.ssl.trust-store-provider are ignored when configuring Undertow #14713
- @AutoConfigureMockMvc does not honor FilterRegistrationBean.enabled=false #14636
- WebRequestTraceFilter calls methods on the request and response to retrieve information that then isn't included in the trace #14550
- Support escaped characters in BasicJsonParser #14521
📔 Documentation
- Fix broken Asciidoctor syntax in section on sanitizing values #14708
- Documentation on using Spock contains references to removed classes #14612
- Cassandra auto-configuration requires load balancing policy, reconnection policy and retry policy classes to have a default constructor #14461
- Improve documentation of RestTemplateBuilder's additionalMessageConverters #13714
🔨 Dependency upgrades
- Upgrade to Spring Security 4.2.9.RELEASE #14848
- Upgrade to Spring Amqp 1.7.11.RELEASE #14837
- Upgrade to Spring Security OAuth 2.0.16 #14832
- Upgrade to Rabbit Amqp Client 4.8.3 #14750
- Upgrade to Appengine Sdk 1.9.66 #14749
- Upgrade to GemFire 8.2.12 #14739
- Upgrade to Spring Data Ingalls SR16 #14727
- Upgrade to Spring Framework 4.3.20.RELEASE #14721
- Upgrade to Spring Web Services 2.4.3.RELEASE #14527
- Upgrade to Undertow 1.4.26.Final #13880
❤️ Contributors
We’d like to thank all the contributors who worked on our current release!
v2.1.0.M4
⭐ New Features
- Reconsider DEBUG web logs enabled by default when devtools is present #14575
- Reduce GC pressure in SpringConfigurationPropertySource #14563
- Reduce Jar Handler GC pressure cause by URL.toString() #14561
- Migrate size properties to DataSize #14549
- Auto-configure Micrometer's Kafka consumer metrics #14525
- Auto-configure Micrometer's Log4j2 metrics #14524
- Auto-configure Micrometer's Elastic meter registry #14523
- Auto-configure Micrometer's Dynatrace meter registry #14522
- Support for SAP Hana Database #14513
- Add support for Spring Data JDBC #14489
- Add outcome tag to Web MVC and reactive metrics #14486
- Add ApplicationContextInitializedEvent to correspond to contextPrepared in SpringApplicationRunListener #14478
- Auto-configure jOOQ to use an ExecutorProvider bean if available #14471
- Reduce GC pressure created by ConfigurationPropertyName.toString() #13414
- Support early class filtering for @ConditionalOnBean, @ConditionalOnSingleCandidate and @ConditionalOnWebApplication #13328
- @SpringBootTest(randomPort = true) does not generate random port for actuator #4424
🪲 Bug fixes
- CLI ExtendedGroovyClassLoader does not filter resources #14482
- Restore Maven 3.3 compatibility #14464
- ReactiveOAuth2ClientAutoConfiguration Should Not Be Used in Servlet Environments #14463
- Quartz Scheduler name not set by the spring.quartz.properties.org.quartz.scheduler.instanceName property #14243
📔 Documentation
- Add https://github.com/fonimus/ssh-shell-spring-boot to list of third-party starters #14496
🔨 Dependency upgrades
- Upgrade to Spring Batch 4.1.0.RC1 #14577
- Upgrade to Spring AMQP 2.1.0.RC1 #14574
- Upgrade to Spring Session Bean-RC1 #14573
- Upgrade to Spring Integration 5.1.0.RC1 #14572
- Upgrade to Spring Security 5.1.0.RELEASE #14571
- Upgrade to Micrometer 1.1.0 M1 #14567
- Upgrade to Maven Shade Plugin 3.2.0 #14546
- Upgrade to Mongo Driver Reactivestreams 1.9.2 #14545
- Upgrade to Mongodb 3.8.2 #14544
- Upgrade to Jooq 3.11.5 #14543
- Upgrade to Kotlin 1.2.70 #14542
- Upgrade to Influxdb Java 2.13 #14541
- Upgrade to Elasticsearch 6.4.1 #14540
- Upgrade to Htmlunit 2.33 #14539
- Upgrade to Lettuce 5.1.0.RELEASE #14538
- Upgrade to Hazelcast 3.10.5 #14537
- Upgrade to Spring Data Lovelace-RELEASE #14510
- Upgrade to Reactor Californium RELEASE #14507
- Upgrade to Spring Kafka 2.2.0.RC1 #14491
- Upgrade to Spring Framwork 5.1.0.RELEASE #14481
❤️ Contributors
We’d like to thank all the contributors who worked on our current release!
v2.1.0.M3
⭐ New Features
- Defer devtools logging #14453
- Allow DeferredLogger to replay and switch loggers #14452
- Enable debug logging for the web logging group when using DevTools #14450
- Add support for logging groups #14421
- Raise the minimum supported version of Gradle to 4.4 #14418
- Make standard JSON builder customizer classes package-private #14399
- Create InMemoryReactiveClientRegistrationRepository in web-application-type=none #14350
- Use deterministic order for configuration properties metadata #14347
- Fix use of deprecated Mongo API #14318
- Add Health details using maps #14305
- Make it possible to disable the BackgroundPreinitializer #14298
- Provide the necessary dependencies in the JPA starter for it to work on Java 9 and later #14287
- Add support for configuring missingQueuesFatal property #14252
- Throw an exception on invalid syntax in SPRING_APPLICATION_JSON #14251
- Align max HTTP header size configuration across all supported containers #14234
- Deprecate 'secure' on WebMvcTest and AutoConfigureMockMvc #14227
- Deprecate OAuth2 login redirect_uri_template in favor of redirect_uri #14226
- Remove
spring.cloud.enabled
property #14219 - Support transaction manager, error handler and after rollback processor with Kafka #14215
- Define execution id for repackage goal in spring-boot-starter-parent #14210
- Auto-configure OAuth ReactiveJwtDecoder bean by issuer url #14199
- auto-configuration for spring-security-oauth2-resource-server by oidc issuer location #14190
- Update MongoAutoConfiguration and MongoDataAutoConfiguration to support com.mongodb.client.MongoClient. #14176
- Add auto-configuation for kafka-streams #14021
- Support Jetty RS HTTP client as a WebClient connector #14005
- Add user-info-authentication-method property for OAuth2-client ClientRegistration #13865
- PropertyMapper.from(value). #13837
- Auto-config authorization_code grant for oauth2-client #13812
- Make some nested private classes package private #13795
- Apply Spring Securiry configuration to WebTestClient #13632
- Support WebExceptionHandler in @WebFluxTest #13627
- Deprecate micrometer's enabled flags (in favour of excluding the auto-configuration) #13408
- Make jmsListenerContainerFactory @ConditionalOnSingleCandidate #12700
- Register ApplicationConversionService for container use #12148
- Improve OnClassCondition report to only mention the condition that has been configured #11086
- Consider @primary annotation when using @MockBean, make @MockBean/@SpyBean behave consistently #11077
- Output a warning from the launch script if the application will run as root #10275
- Include web security configuration classes when @WebMvcTest.secure is true #6514
- Optimize use of Jackson ObjectMapper instances #1789
🪲 Bug fixes
- @WebMvcTest does not include applicationTaskExecutor #14400
- Unable to override org.springframework logging levels since 2.1.0.M2 #14310
- Harmonize JAXB version in dependency management #14308
- Could not bind number to DataSize #14294
- WebClientMetricsAutoConfiguration relies on ResTemplateMetricsAutoConfiguration #14269
- clientSecret property is not required #14156
- Reactor Netty resources created by the auto-configured WebClient may outlive the application context #14058
- Let Hibernate configure the transaction manager on WebSphere #8926
📔 Documentation
- Add reference to Stripe Payment Gateway Service starter #14304
- Add Spring Boot starter for Narayana in doc #14220
- Remove redundancy from actuator documentation #14206
- Improve Spring WebSockets documentation for Spring WebFlux #14069
🔨 Dependency upgrades
- Upgrade to maven-common-artifact-filters 3.0.1 #14441
- Upgrade to checkstyle 8.12 #14439
- Upgrade to zt-zip 1.13 #14437
- Upgrade to testcontainers 1.8.3 #14436
- Upgrade to sisu-inject-plexus 2.6.0 #14435
- Upgrade to maven-plugin-annotations 3.5.2 #14434
- Upgrade to maven-archiver 3.2.0 #14433
- Upgrade to Ivy 2.4.0 #14432
- Upgrade to Commons Compress 1.18 #14431
- Upgrade to JOpt Simple 5.0.4 #14430
- Upgrade to Jest 6.3.1 #14429
- Upgrade to okhttp 3.11.0 #14427
- Upgrade to mockito-kotlin 1.6.0 #14426
- Upgrade to classmate 1.4.0 #14424
- Upgrade plexus-utils to 3.1.0 #14422
- Upgrade to Junit Jupiter 5.3.1 #14416
- Upgrade to Infinispan 9.3.3.Final #14415
- Upgrade to plexus-archiver to 3.6.0 #14411
- Upgrade to Spring AMQP 2.1.0.M3 #14409
- Upgrade to Tomcat 9.0.12 #14408
- Upgrade to Spring Security 5.1.0.RC2 #14407
- Upgrade to Versions Maven Plugin 2.7 #14393
- Upgrade to Xmlunit2 2.6.2 #14392
- Upgrade to Mongo Driver Reactivestreams 1.9.1 #14391
- Upgrade to Mongodb 3.8.1 #14390
- Upgrade to Mockito 2.22.0 #14389
- Upgrade to Mariadb 2.3.0 #14388
- Upgrade to Junit Jupiter 5.3.0 #14387
- Upgrade to Infinispan 9.3.2.Final #14386
- Upgrade to Hibernate 5.3.6.Final [#14385](https://github.com/spring-projects/spr...
v2.0.5.RELEASE
⭐ New Features
- Limit metrics collection of incoming requests #14173
- Deprecate org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder.EntityManagerFactoryBeanCallback #14083
- Auto-configure HiddenHttpMethodFilter when using WebFlux #14008
- Return null immediately when sla is null in convertSla() #13991
- Allow actuator endpoints to be used with mvcMatchers #13962
- Deprecate JMS PooledConnectionFactory that are no longer supported #13956
🪲 Bug fixes
- Use InvalidEndpointRequestException for MetricsEndpoint.metric() #14291
- Add condition to WebServicesAutoConfiguration to work with lists #14285
- EmbeddedWebServerFactoryCustomizerAutoConfiguration is missing conditions #14264
- ReactiveSecurityAutoConfiguration is missing conditions #14263
- Auto-configuration of Spring Integration's JDBC support does not use the auto-configured DataSource #14175
- NullPointerException in EndpointServerWebExchangeMatcher.matches #14161
- Stack overflow when OriginTrackedFieldError.toString() is called #14152
- Due to gradle/gradle#5510, compileJava may be executed unnecessarily when not using Gradle's daemon #14054
- URL's retryWrites query parameter is ignored when auto-configuring a reactive Mongo client #14032
- NullPointerException in FlywayEndpoint with schema baseline #14019
- Dependency management for micrometer-registry-cloudwatch is missing #13982
- NoSuchBeanDefinitionException with starter-web, starter-webflux and spring.main.web-application-type=reactive #13977
- Parsing date into @RequestParam LocalDate argument using spring.mvc.date-format fails with 'yyyy-MM-dd' #13970
- HttpExchangeTracer#postProcessRequestHeaders is never called #13924
- CouchbaseHealthIndicator can hang when Couchbase goes away #13879
/actuator/configprops
does not expose a property when second character is uppercase #13878- localProperties get more preference over environmentProperties in spring boot 2.x #13738
📔 Documentation
- Add reference to third party rollbar starter #14343
- management.metrics.binders.integration.enabled is not used anymore #14319
- Documentation update for default compressible MIME types #14278
- Update @ConfigurationProperties Javadoc to mention that the canonical format is required #14258
- Document that
DispatcherServletPath
is required in case of custom dispatcher servlet arrangement #14145 - Add classpath prefix to the flyway location #13933
- Improve actuator documentation about the types supported for endpoints #13896
- Review slice documentation to clarify the scope and alternative options #13810
- Prune community starters list from non-2.x compatible ones #13510
- Document the use of --args to pass arguments to bootRun #1176
🔨 Dependency upgrades
- Upgrade to Spring Cloud Connectors 2.0.3.RELEASE #14414
- Upgrade to Spring Security 5.0.8.RELEASE #14403
- Upgrade to Spring Kafka 2.1.10.RELEASE #14402
- Upgrade to Spring Amqp 2.0.6.RELEASE #14401
- Upgrade to Spring Kafka 2.1.9.RELEASE #14372
- Upgrade to Postgresql 42.2.5 #14371
- Upgrade to Jetty El 8.5.33 #14370
- Upgrade to Jaybird 3.0.5 #14369
- Upgrade to Elasticsearch 5.6.11 #14368
- Upgrade to Janino 3.0.9 #14367
- Upgrade to Johnzon Jsonb 1.1.9 #14366
- Upgrade to Activemq 5.15.6 #14365
- Upgrade to Netty 4.1.29.Final #14364
- Upgrade to Javax Mail 1.6.2 #14363
- Upgrade to Spring Session Apple-SR5 #14332
- Upgrade to Spring Integration 5.0.8 #14330
- Upgrade to Spring Data Kay SR10 #14328
- Upgrade to Spring Framework 5.0.9 #14325
- Upgrade to Reactor Bom Bismuth-SR11 #14322
- Upgrade to Neo4j Ogm 3.1.2 #14164
- Upgrade to Neo4j Ogm 3.1.1 #14132
- Upgrade to Httpasyncclient 4.1.4 #14098
- Upgrade to Derby 10.14.2.0 #14097
- Upgrade to Activemq 5.15.5 #14096
- Upgrade to Jest 5.3.4 #14095
- Upgrade to Rxjava2 2.1.17 #14094
- Upgrade to Netty 4.1.28.Final #14093
- Upgrade to Lettuce 5.0.5.RELEASE #14092
- Upgrade to Unboundid Ldapsdk 4.0.7 #14091
- Upgrade to Hibernate Validator 6.0.12.Final #14053
❤️ We’d like to thank all the contributors who worked on our current release!