Moritz Halbritter
52eaa7fb3a
Revert "Merge pull request #39941 from schauder"
...
This reverts commit ab5dee819b , reversing
changes made to 24223075eb .
2024-03-15 12:06:27 +01:00
Moritz Halbritter
148c5e8ed5
Polish "Add property spring.data.jdbc.dialect"
...
See gh-39941
2024-03-15 11:47:35 +01:00
Jens Schauder
b3ddb22f75
Add property spring.data.jdbc.dialect
...
The class valued property allows to configure a dialect, without relying
on a database connection to determine it.
See gh-39941
2024-03-15 11:40:47 +01:00
Johnny Lim
412b8dd548
Polish
...
See gh-39910
2024-03-15 11:25:16 +01:00
Johnny Lim
c5df4e3530
Polish gh-38559
...
See gh-39931
2024-03-14 10:47:34 +01:00
Chris Bono
9c054a021f
Re-enable Spring Pulsar interceptor tests
...
The PulsarTemplate recently replaced its list of ProducerInterceptors
with a list of ProducerBuilderCustomizers that customize the builder by
adding each interceptor to the builder. The PulsarAutoConfigurationTests
previosuly relied on the previous field. This commit adjusts the tests
to instead use the Customizers testing utility to verify the
interceptors.
See gh-39912
2024-03-13 11:34:55 +01:00
Johnny Lim
d9d305ba3d
Delegate getExecutionContextSerializer() to DefaultBatchConfiguration if not provided
...
See gh-39911
2024-03-12 16:40:20 -05:00
Andy Wilkinson
68ac11c1fc
Start building against Spring Pulsar 1.1.0 snapshots
...
See gh-39898
2024-03-12 10:13:22 +00:00
Andy Wilkinson
25ffa09731
Start building against Spring Kafka 3.2.0 snapshots
...
See gh-39897
2024-03-12 09:28:29 +00:00
Brian Clozel
08626d3591
Auto-configure SSE support for GraphQL endpoints
...
This commit auto-configures the newly supported SSE transport for
GraphQL endpoints in both Spring MVC and WebFlux.
Closes gh-39651
2024-03-11 14:55:58 +01:00
Brian Clozel
65ef899400
Use optimized request predicates for GraphQL endpoints
...
Prior to this commit, Spring Boot auto-configurations for GraphQL web
endpoint were implementing their own `RequestPredicate` instances for
HTTP endpoints. Those were composing predicates with the provided DSL.
While this is functionnally right, Spring for GraphQL now provides
predicates in order to:
* host the implementation in spring-graphql directly
* provide optimized predicates for faster matching and lower overhead
This commit switches the auto-configurations to using these new
predicates.
Closes gh-39652
2024-03-11 11:03:39 +01:00
Moritz Halbritter
2f99c19f11
Revert "Configure virtual threads on Undertow if enabled"
...
This reverts commit cff1b33f8e .
See gh-38819
Closes gh-39812
2024-03-04 09:46:14 +01:00
Scott Frederick
930c9347be
Merge branch '3.2.x'
...
Closes gh-39774
2024-02-27 14:13:21 -06:00
Scott Frederick
460d8a070d
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39773
2024-02-27 14:13:12 -06:00
Stéphane Nicoll
f6e4bede09
Stop throwing BindingException in tests
...
This commit adapts the error controller tests that need the request
to fail with a bind issue, and simulate the behavior of
ModelAttributeMethodProcessor.
As of Spring Framework 6.0.x, this processor no longer throws a
BindingException, but rather a MethodArgumentNotValidException and
the handing of BindException itself is deprecated.
This makes sure that those tests can smoothly be executed against
Spring Framework 6.2.x as throwing a BindingException now results
into an unresolved exception, and an internal server error rather than
the expected bad request.
See gh-39767
2024-02-27 14:12:19 -06:00
Scott Frederick
2594e1c116
Merge branch '3.2.x'
...
Closes gh-39770
2024-02-27 13:01:02 -06:00
Scott Frederick
7efef3141e
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39769
2024-02-27 13:00:50 -06:00
Stéphane Nicoll
c259a673d3
Make resolution algorithm of ConnectionDetailsFactory more explicit
...
This commit moves the resolution check for ConnectionDetailsFactory
to a dedicated method to make it more clear that it is meant to verify
that the implementation is resolved and can be loaded from the
classpath.
The previous algorithm relied on a behavior of ResolvableType that only
resolves the first level generics. Further improvements in Spring
Framework 6.2 make this check invalid as some implementations use a
Container that can hold a nested generic.
See gh-39737
2024-02-27 12:46:51 -06:00
Phillip Webb
f8a1dae835
Merge branch '3.2.x'
2024-02-21 15:27:57 -08:00
Phillip Webb
12de6aa46a
Merge branch '3.1.x' into 3.2.x
2024-02-21 15:27:27 -08:00
Moritz Halbritter
9110b1298c
Polish "Configure suitable TaskExecutor for WebSocket"
...
See gh-39611
2024-02-20 11:07:27 +01:00
BenchmarkingBuffalo
1d820a8994
Configure suitable TaskExecutor for WebSocket
...
For WebSocket support the preconfigured ThreadExecutor is set for
ChannelRegistrations similar to the JpaRepositoriesAutoConfiguration.
See gh-39611
2024-02-20 10:26:23 +01:00
Brian Clozel
8d1e877e55
Merge branch '3.2.x'
...
Closes gh-39625
2024-02-19 14:36:21 +01:00
Patrick Strawderman
057432c87b
Re-order route registration for GraphQL web endpoints
...
Re-order the route registrations for GraphQL requests so that the
most commonly matched path is evaluated first.
Closes gh-39613
2024-02-19 14:36:09 +01:00
Moritz Halbritter
73d3623670
Merge branch '3.2.x'
...
Closes gh-39620
2024-02-19 11:09:44 +01:00
Moritz Halbritter
bb7706fe88
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39619
2024-02-19 11:09:36 +01:00
Stéphane Nicoll
7d73b11239
Fix json path assertion
...
See gh-39605
2024-02-19 11:01:12 +01:00
Brian Clozel
4fd0e29cc8
iRemove TypeDefinitionConfigurer auto-configuration
...
Closes gh-39604
2024-02-16 15:27:23 +01:00
Moritz Halbritter
ba265e54d0
Merge branch '3.2.x'
...
Closes gh-39599
2024-02-16 09:44:43 +01:00
Moritz Halbritter
d6d70828f1
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39598
2024-02-16 09:44:32 +01:00
junhyung
8fee77761d
Change ConcurrentReferenceCachingMetadataReaderFactory to use application's resource loader
...
See gh-39321
2024-02-16 09:32:24 +01:00
Andy Wilkinson
63efdff16a
Merge branch '3.2.x'
...
Closes gh-39542
2024-02-14 09:09:48 +00:00
Andy Wilkinson
256f9fe83a
Only configure WebFlux blocking executor when using virtual threads
...
Fixes gh-39469
2024-02-14 08:19:58 +00:00
Scott Frederick
22952c3057
Polish "Add BatchTransactionManager annotation"
...
See gh-39473
2024-02-13 15:39:22 -06:00
BenchmarkingBuffalo
bb87faf237
Add BatchTransactionManager annotation
...
Add a new @BatchTransactionManager annotation for marking a
PlatformTransactionManager that should be used in batch processing.
See gh-39473
2024-02-13 15:39:21 -06:00
Andy Wilkinson
b98e2f16c7
Merge branch '3.2.x'
...
See gh-39493
2024-02-13 17:33:37 +00:00
Andy Wilkinson
b6467ed826
Adapt to Spring Data Neo4j now requiring a transaction manager
...
See gh-39493
2024-02-13 16:53:18 +00:00
Andy Wilkinson
107dc5338b
Merge branch '3.2.x'
2024-02-12 12:36:32 +00:00
Andy Wilkinson
d597a4d56b
Correct handling of disable-html-escaping
...
See gh-39504
2024-02-12 12:35:47 +00:00
Andy Wilkinson
a27cedc3ef
Merge branch '3.2.x'
...
Closes gh-39525
2024-02-12 10:22:56 +00:00
Andy Wilkinson
5746886e64
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39524
2024-02-12 10:22:37 +00:00
Andy Wilkinson
4319554f8a
Fix mapping of boolean properties to Gson's builder
...
Fixes gh-39504
2024-02-12 10:13:04 +00:00
Moritz Halbritter
7f55cae90f
Merge branch '3.2.x'
2024-02-12 10:19:46 +01:00
Moritz Halbritter
4387b79831
Merge branch '3.1.x' into 3.2.x
2024-02-12 10:18:46 +01:00
Moritz Halbritter
8ffcfc9b77
Harmonize style of igored exceptions across the codebase
2024-02-12 10:14:20 +01:00
Johnny Lim
2b7fcd271c
Add Javadoc for ServerProperties.mimeMappings
...
See gh-39503
2024-02-12 08:24:13 +01:00
Andy Wilkinson
33b48786a8
Start building against Spring GraphQL 1.3.0-M1 snapshots
...
See gh-39495
2024-02-09 14:22:58 +00:00
Andy Wilkinson
dada1378bd
Start building against Spring GraphQL 1.2.5 snapshots
...
See gh-39482
2024-02-09 11:04:12 +00:00
BenchmarkingBuffalo
0a11cdcc33
Add customizer callback for WebHttpHandlerBuilder
...
Add a new interface for customizing the WebHttpHandlerBuilder
before the HttpHandler is built from it.
See gh-39467
2024-02-08 13:59:47 -06:00
Andy Wilkinson
af3ffb209c
Start building against Spring GraphQL 1.2.5 snapshots
...
See gh-39462
Co-authored-by: Brian Clozel <brian.clozel@broadcom.com >
2024-02-08 15:19:32 +00:00