Stéphane Nicoll
6383a0d7ca
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
5d6501c75e
Revisit stored procedure detection
...
This commit revisits the improved detection algorithm for stored
procedure as, unfortunately, certain JDBC drivers do not support
the documented pattern for schema and procedure name.
To work around this limitation, this commit applies the escaping of
wildcard characters to the case where multiple procedures have been
found for a given search.
Closes gh-32295
2 years ago
Sam Brannen
3fb170058f
Polish contribution
...
See gh-32294
2 years ago
Patrick Strawderman
f9fe8efb2e
Use ConcurrentHashMap.newKeySet
...
In places where a ConcurrentHashMap was used as a set by wrapping it
with Collections.newSetFromMap, switch to just using the set returned
by ConcurrentHashMap.newKeySet directly.
Closes gh-32294
2 years ago
Juergen Hoeller
ff9c7141c5
Replace superclass exposure in case of late configuration class skipping
...
Closes gh-28676
2 years ago
Stéphane Nicoll
871f705bca
Remove ComponentScan duplicate condition
...
Closes gh-27077
2 years ago
Juergen Hoeller
22b41c33ba
Preserve existing imported class over scanned configuration class
...
Closes gh-24643
2 years ago
Juergen Hoeller
266953195c
Avoid enhancement of configuration class in case of existing instance
...
Closes gh-25738
2 years ago
Juergen Hoeller
889c4e0ff5
Reject multiple primary candidates in ancestor factory as well
...
Closes gh-26612
2 years ago
Juergen Hoeller
ad2e95be4b
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
93f0ec2fa1
Polishing
2 years ago
Juergen Hoeller
85c9279431
Consistent default error handling/logging for all scheduled tasks
...
Closes gh-32298
2 years ago
Juergen Hoeller
63ca8d5d17
Consider defaultCandidate flag in case of no annotations as well
...
See gh-26528
2 years ago
Juergen Hoeller
bc01e3116f
Ignore fallback bean for shortcut resolution
...
See gh-26241
See gh-28122
2 years ago
Juergen Hoeller
480051a21c
Introduce fallback flag and annotation (as companion to primary)
...
Closes gh-26241
2 years ago
Arjen Poutsma
c077805761
Set correct capacity in DefaultDataBuffer::setNativeBuffer
...
Closes gh-30984
2 years ago
Arjen Poutsma
ceb7afdca2
Merge pull request #32009 from injae-kim:fix-defaultDataBuffer-getNativeBuffer
...
* gh-32009:
Polishing external contribution
Set correct limit in DefaultDataBuffer::getNativeBuffer
2 years ago
Arjen Poutsma
70004e9ad0
Polishing external contribution
...
Change position and limit on duplicate, rather than source.
See gh-30967
Closes gh-32009
2 years ago
injae-kim
969d0bd08b
Set correct limit in DefaultDataBuffer::getNativeBuffer
...
Closes gh-30967
2 years ago
Juergen Hoeller
a8fb16b47c
Introduce defaultCandidate flag (for plain type vs. qualified match)
...
Closes gh-26528
2 years ago
Arjen Poutsma
bc2257aaff
Invoke defaultRequest earlier in RestClient and WebClient
...
Closes gh-32053
2 years ago
Stéphane Nicoll
218957f0e8
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
06a39f166e
Consistent handling of AssertProvider implementations
2 years ago
Juergen Hoeller
a001319f1f
Add additional shortcut for qualifier value matching target bean name
...
Closes gh-17677
See gh-28122
2 years ago
Juergen Hoeller
874e61a0c6
Test for async event publication before listener initialized
...
Closes gh-20904
See gh-23501
See gh-25799
2 years ago
Juergen Hoeller
4a02893c31
Avoid early singleton inference outside of original creation thread
...
See gh-23501
2 years ago
Juergen Hoeller
902e5707a8
Revise singleton registry for lenient locking (fallback instead of deadlock)
...
Closes gh-23501
2 years ago
Stéphane Nicoll
f529386ce2
Merge pull request #31781 from rstoyanchev
...
* pr/31781:
Write form data without charset parameter
Closes gh-31781
2 years ago
rstoyanchev
b8715811f8
Write form data without charset parameter
...
This commit updates the content-type for form data to not include the
charset, unless it is different from the default charset.
Some servers don't handle charset parameter and the spec is unclear.
See gh-31781
2 years ago
Stéphane Nicoll
08998376cc
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
46bd133892
Upgrade CI image to Java 22+36 RC
2 years ago
Stéphane Nicoll
6adda31328
Upgrade CI image to Java 22+36 RC
2 years ago
Sam Brannen
c6e6a3e44d
Link to section in reference manual
2 years ago
Sam Brannen
bc2895a30b
Support backticks for quoted identifiers in spring-r2dbc
...
NamedParameterUtils in spring-r2dbc now supports MySQL-style backticks
for quoted identifiers for consistency with spring-jdbc.
See gh-31944
Closes gh-32285
2 years ago
Sam Brannen
d86af57e0f
Polishing
2 years ago
Sam Brannen
d4cde29f75
Clean up TODOs in SpEL
2 years ago
Sam Brannen
5f1e25a61f
Polishing
2 years ago
Juergen Hoeller
0ddfe3977a
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
7bb9e85723
Avoid trivial static import
2 years ago
Juergen Hoeller
3aae7a66e6
Polishing
2 years ago
Juergen Hoeller
c6146ea2db
Introduce shortcut for declared dependency name matching target bean name
...
Closes gh-28122
2 years ago
Sam Brannen
eefdee7983
Fix syntax in Selection/Projection examples
2 years ago
Sam Brannen
ab48ac36e9
Deprecate local variable support in SpEL's internal ExpressionState
...
Since the Spring Expression Language does not actually support local
variables in expressions, this commit deprecates all public APIs
related to local variables in ExpressionState (namely, the two
enterScope(...) variants that accept local variable data,
setLocalVariable(), and lookupLocalVariable()).
In addition, we no longer invoke `state.enterScope("index", ...)` in
the Projection and Selection AST nodes since the $index local variable
was never accessible within expressions anyway.
See gh-23202
Closes gh-32004
2 years ago
Sam Brannen
c1f0faade7
Polish ExpressionState
2 years ago
rstoyanchev
cd2a3fdd8d
Remove deprecations in HandlerResult
...
See gh-30608
2 years ago
Sam Brannen
71dfebbfe5
Polishing
2 years ago
Sam Brannen
a85bf3185e
Remove APIs deprecated for removal in 6.2
...
This commit removes the following obsolete and deprecated APIs.
- org.springframework.util.Base64Utils
- org.springframework.cache.jcache.interceptor.JCacheOperationSourcePointcut
- org.springframework.http.client.AbstractClientHttpResponse
- org.springframework.http.client.ClientHttpResponse.getRawStatusCode()
- org.springframework.http.client.observation.ClientHttpObservationDocumentation.HighCardinalityKeyNames.CLIENT_NAME
- org.springframework.web.reactive.function.client.ClientHttpObservationDocumentation.HighCardinalityKeyNames.CLIENT_NAME
- org.springframework.web.filter.reactive.ServerWebExchangeContextFilter.get(Context)
- org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler.handleBindException(...)
- org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleBindException(...)
Closes gh-30608
2 years ago
Sam Brannen
6d5bf6d9b3
Ensure alias resolution in SimpleAliasRegistry depends on registration order
...
Closes gh-32024
2 years ago
Sam Brannen
6b482df6fa
Clean up warning in Gradle build
2 years ago
Sam Brannen
ea4e7df9ca
Consistently declare ignoreUnresolvablePlaceholders as last argument
2 years ago