Stéphane Nicoll
4420c92173
Adapt Kotlin null-safety with Spring Framework changes
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
Run CodeQL Analysis / run-analysis (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run
Details
Closes gh-47428
2025-10-07 15:44:09 +02:00
Stéphane Nicoll
6f1bcc4bfa
Polish "Add support for Neo4j Java Driver 6.0.0"
...
See gh-47381
2025-10-07 11:37:25 +02:00
Andy Wilkinson
44099d3d21
Build with Gradle 9.1.0
2025-10-06 18:30:48 +01:00
Stéphane Nicoll
485180df4f
Polish "Register controller advices to RSocket messaging"
...
See gh-45360
2025-10-06 11:29:16 +02:00
NeatGuyCoding
8a9528ebdc
Fix Javadoc link
...
See gh-47401
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-10-05 08:19:33 +02:00
Stéphane Nicoll
1ed8eb08e0
Add missing Kotlin example for MockMvc and RestTestClient
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Has been cancelled
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Has been cancelled
Details
Run CodeQL Analysis / run-analysis (push) Has been cancelled
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Has been cancelled
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Has been cancelled
Details
Build and Deploy Snapshot / Trigger Docs Build (push) Has been cancelled
Details
Build and Deploy Snapshot / Verify (push) Has been cancelled
Details
Closes gh-47371
2025-10-03 16:32:11 +02:00
Stéphane Nicoll
871f82d116
Polish "Auto-configure observation of Redis with Lettuce"
...
See gh-46975
2025-10-03 14:45:12 +02:00
Stéphane Nicoll
04038101d2
Merge branch '3.5.x'
...
Closes gh-47393
2025-10-03 14:25:45 +02:00
Stéphane Nicoll
fbcc1fdec6
Polish "Add support for static master-replica with Lettuce"
...
See gh-46957
2025-10-03 10:03:54 +02:00
Brian Clozel
92ee73df30
Deprecate HttpMessageConverters for Framework's
...
Prior to this commit, Spring Boot had an `HttpMessageConverters` class
that allowed, to configure message converter instances for MVC server
applications and traditional Spring HTTP clients.
As of Spring Framework 7.0, Framework ships its own
`HttpMessageConverters` class, aligning with the existing codecs
configuration on the WebFlux side. As a result, a few methods taking
`List<HttpMessageConverter>` as arguments were deprecated in favor of
the new arrangement.
This commit adapts to the Framework changes by deprecating Boot's
`HttpMessageConverters` in favor of Framework's. This splits the client
and server configuration as they are meant to be managed separately.
Applications can still contribute `HttpMessageConverters` (Boot's
variant) beans but the type itself is now deprecated.
Instead, applications should now contribute
`ClientHttpMessageConvertersCustomizer` and
`ServerHttpMessageConvertersCustomizer` beans to customize message
converters.
Closes gh-46411
2025-10-02 15:22:13 +02:00
Phillip Webb
2a521ce4e9
Remove `spring-boot-web-server-test` module
...
Remove the `spring-boot-web-server-test` module, adding
`SpringBootTestRandomPortContextCustomizerFactory` to
`spring-boot-web-server` as a replacement for
`SpringBootTestRandomPortApplicationListener`.
See gh-46356
See gh-47322
2025-10-01 21:54:54 -07:00
Phillip Webb
97c89b480f
Move `@LocalServerPort` and `@LocalManagementServerPort`
...
Move `@LocalServerPort` and `@LocalManagementServerPort` back to
`spring-boot-test`. The should help reduce upgrade pain since these
annotations are fairly commonly used. It also removes the need for
depending on `spring-boot-webserver-test`.
This is slight compromise with the module structure, since the
web-server module usually contributes the properties referenced
by the annotations.
See gh-46356
See gh-47322
2025-10-01 21:53:58 -07:00
Phillip Webb
bba56ffc8b
Move `RestTestClientBuilderCustomizer` to `spring-boot-test`
...
Relocate `RestTestClientBuilderCustomizer` to `spring-boot-test`
and break the direct link to web-server by making use of
`spring.factories` and the new `BaseUrlProviders` class.
See gh-46356
2025-10-01 21:51:20 -07:00
Phillip Webb
6f909114e7
Move `WebTestClientBuilderCustomizer` to `spring-boot-test`
...
Relocate `WebTestClientBuilderCustomizer` to `spring-boot-test`
and break the direct link to web-server and http-codec by making
use of `spring.factories` and the new `BaseUrlProviders` class.
A new `spring-boot-test-integration-test` module has also been
added to ensure hold the previous tests.
See gh-46356
2025-10-01 21:50:13 -07:00
Phillip Webb
8008076e04
Remove spring-boot-json-test module
...
Remove spring-boot-json-test module and spread code between
`spring-boot-test`, `spring-boot-test-autoconfigure` and JSON
technology modules.
See gh-46356
See gh-47322
2025-10-01 21:42:18 -07:00
Phillip Webb
4b2d358384
Refine spring-boot-test-autoconfigure dependencies
...
Make `spring-boot-test-autoconfigure` optionally depend on
`spring-boot-autoconfigure` so that it can be an `api` dependency
for `*-test` modules. Also relocate it to core.
See gh-47322
2025-10-01 21:41:55 -07:00
Stéphane Nicoll
787840735b
Add support for RestTestClient
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
Run CodeQL Analysis / run-analysis (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run
Details
This commit adds support for RestTestClient for MockMvc and integration
tests.
Closes gh-47335
2025-10-01 09:04:59 +02:00
Stéphane Nicoll
474c9cdeb1
Fix javadoc links in reference guide
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
Run CodeQL Analysis / run-analysis (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run
Details
Closes gh-47351
2025-09-29 18:37:31 +02:00
Stéphane Nicoll
cbdd7cf23b
Fix links to source code in reference documentation
...
Closes gh-47348
2025-09-29 16:38:04 +02:00
Andy Wilkinson
569fa5fd7d
Remove milestone repository from Maven and Gradle examples
...
Closes gh-47341
2025-09-29 15:25:02 +01:00
Stéphane Nicoll
4f6bbac13e
Add support for in-memory Batch infrastructure
...
This commit moves the existing JDBC-based Spring Batch infrastructure
to a new 'spring-boot-batch-jdbc' module, while the existing module
only offers in-memory (aka resourceless) support.
The commit also updates the reference guide to provide some more
information about what's available and how to use it.
Closes gh-46307
2025-09-29 15:00:52 +02:00
Andy Wilkinson
54ffc42309
Fix table formatting
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run
Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Waiting to run
Details
Run CodeQL Analysis / run-analysis (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run
Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run
Details
Closes gh-47345
See gh-47328
2025-09-29 10:47:41 +01:00
Moritz Halbritter
db10e3d1ed
Fix typo
2025-09-29 10:11:08 +02:00
Stéphane Nicoll
ae86895953
Merge branch '3.5.x'
...
Closes gh-47344
2025-09-29 09:46:15 +02:00
Andy Wilkinson
2756424035
Merge branch '3.5.x'
...
Closes gh-47331
2025-09-26 10:32:41 +01:00
Andy Wilkinson
0959271061
Move jackson read and write to spring.jackson.json
...
The spring.jackson.read and spring.jackson.write properties are
JSON-specific. To make this more clear, this commit moves them
beneath spring.jackson.json. This also paves the way for
spring.jackson.cbor and spring.jackson.xml properties for CBOR- and
XML-specific settings should we add auto-configuration for XMLMapper
and/or CBORMapper in the future.
Closes gh-47328
2025-09-26 10:01:59 +01:00
Andy Wilkinson
8c7e0c675f
Move Jackson datetime property beneath datatype
...
Closes gh-47327
2025-09-26 09:04:06 +01:00
Andy Wilkinson
0b601118bd
Modularize spring-boot-test
...
Closes gh-46356
2025-09-25 17:24:12 +01:00
Andy Wilkinson
5348880b69
Modularize spring-boot-test-autoconfigure
...
This commit modularizes spring-boot-test-autoconfigure. It now
contains only the code that's central to test auto-configuration.
Feature-specific functionality has moved out into -test modules,
some existing and some newly created. For example, `@DataJpaTest` can
now be found in spring-boot-data-jpa-test.
Closes gh-47322
2025-09-25 13:11:35 +01:00
Andy Wilkinson
51b606e941
Polish
2025-09-24 12:47:09 +01:00
Stéphane Nicoll
cae5a811ad
Polish
...
See gh-47297
2025-09-24 11:48:26 +02:00
rstoyanchev
0afd40fa40
Fix renamed link to HTTP Service Clients docs
...
See gh-47297
2025-09-24 11:44:47 +02:00
Phillip Webb
bc46bb2a24
Drop spring-boot-loader-classic support
...
Closes gh-45714
2025-09-23 15:31:51 -07:00
Phillip Webb
dc341edfdd
Add config prop to enabled/disable Elasticsearch sniffer
...
Closes gh-47301
Co-Authored-By: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-09-23 08:28:51 +01:00
Stéphane Nicoll
14703cbafd
Revert "Remove mentions of JUnit 4"
...
This reverts commit 3b98af30f5
.
See gh-47228
2025-09-19 17:05:00 +02:00
Stéphane Nicoll
3b98af30f5
Remove mentions of JUnit 4
...
This commit removes all mentions of JUnit 4 from the Javadoc and
reference documentation. It also harmonizes to simply refers to JUnit.
Closes gh-47228
2025-09-19 15:29:11 +02:00
Phillip Webb
c1d51f8687
Remove Bitnami support
...
Closes gh-47267
2025-09-18 14:41:16 -07:00
Phillip Webb
6c84674c33
Relocate `EnvironmentPostProcessor` and implementations out of `env`
...
Move the `EnvironmentPostProcessor` from `org.springframework.boot.env`
to `org.springframework.boot` so that we can make the `env` package
foundational.
Most `EnvironmentPostProcessor` implementation has also been relocated
to a new `org.springframework.boot.support` package.
See gh-47232
2025-09-17 14:57:10 -07:00
Stéphane Nicoll
cdd39bafd7
Introduce spring-boot-persistence
...
This commit adds a spring-boot-persistence module with data technology
independent features. This provides a better home for EntityScan and
PersistenceExceptionTranslationAutoConfiguration.
Closes gh-45328
2025-09-17 14:42:22 +02:00
Moritz Halbritter
b71d6475c3
Merge branch '3.5.x'
...
Closes gh-47248
2025-09-17 10:43:25 +02:00
Yanming Zhou
612714f35e
Fix typo
...
See gh-47234
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-09-17 09:10:26 +02:00
Phillip Webb
b439c07153
Document HTTP Service client support
...
Closes gh-47179
2025-09-16 09:09:10 -07:00
Stéphane Nicoll
83ad15ba3b
Enable liveness and readiness by default
...
Closes gh-22825
2025-09-15 11:33:34 +02:00
Stéphane Nicoll
07c18ea9f1
Migrate dependency management for Spring Authorization Server
...
With Spring Authorization Server migrating to Spring Security proper as
of v7, this commit removes dependency management for it and adapt to
changes in recent snapshots
Closes gh-47174
2025-09-14 06:43:54 +02:00
Andy Wilkinson
2dc80b4047
Move Prometheus code from s-b-actuator to s-b-micrometer-metrics
...
Closes gh-47175
2025-09-12 15:19:34 +01:00
Stéphane Nicoll
629777b7c7
Upgrade to Pulsar 4.1.0
...
Closes gh-47170
2025-09-12 11:41:23 +02:00
Brian Clozel
6a55d7b49b
Polishing contribition
...
Closes gh-46546
2025-09-10 20:53:40 +02:00
Dmitry Sulman
c7621bb6be
Introduce Kotlin Serialization auto-configuration
...
See gh-46546
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2025-09-10 20:53:40 +02:00
Stéphane Nicoll
d7c482aa16
Replace @OptionalParameter with JSpecify's @Nullable
...
This commit removes OptionalParameter in favor of the nullness support
introduced in Spring Framework 7. The parameter of an action can now
be flagged as optional using JSpecify's @Nullable, and simplifies the
setup for those who are using JSpecify as only a single annotation is
required.
Closes gh-45390
2025-09-10 15:01:43 +02:00
Andy Wilkinson
c86eb5298a
Add configuration property for Jackson's DateTimeFeature
...
See gh-45535
2025-09-09 17:58:16 +01:00