Sam Brannen
5f6d8df34b
Introduce isLambdaClass() as a public utility in ClassUtils
...
This commit extracts isLambda() from AopProxyUtils and makes it
publicly available as ClassUtils.isLambdaClass().
This is a prerequisite for gh-28209.
2022-04-09 09:57:43 +02:00
Juergen Hoeller
9ae35e78b1
Merge branch '5.3.x'
...
# Conflicts:
# spring-context-support/src/test/java/org/springframework/validation/beanvalidation2/ValidatorFactoryTests.java
# spring-context/src/test/java/org/springframework/validation/beanvalidation/ValidatorFactoryTests.java
# spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpRequest.java
2022-04-08 14:42:12 +02:00
Juergen Hoeller
35de7e19ee
Introduce initializer callback for Bean Validation Configuration
...
Closes gh-27956
2022-04-08 14:39:36 +02:00
Juergen Hoeller
10e979e58b
Polishing
2022-04-08 14:37:41 +02:00
Juergen Hoeller
98eeff6817
Upgrade to AspectJ 1.9.9.1 and JRuby 9.3.4
2022-04-08 13:26:22 +02:00
Juergen Hoeller
7e1782ea22
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-core/src/main/java/org/springframework/core/convert/Property.java
2022-04-08 13:10:34 +02:00
Juergen Hoeller
4143b445d6
Polishing
2022-04-08 13:04:14 +02:00
Juergen Hoeller
eefdd2c768
Avoid return value reference in potentially cached MethodParameter instance
...
Closes gh-28232
2022-04-08 13:03:13 +02:00
Juergen Hoeller
9f91168396
Restore ability to configure setClassLoader methods
...
Closes gh-28269
2022-04-08 13:02:53 +02:00
Juergen Hoeller
7aed6279a2
Consistent fallback in case of fast-class generation failure
...
Closes gh-28138
2022-04-08 13:02:36 +02:00
Juergen Hoeller
c3fe112fd7
Consistent use of getLocalAddr() without DNS lookups in request adapters
...
Closes gh-28280
2022-04-08 13:00:50 +02:00
Juergen Hoeller
90103b0ae9
Consistent support for direct column matches in DataClassRowMapper
...
Closes gh-28243
2022-04-08 13:00:31 +02:00
Juergen Hoeller
0cf15c0fdd
Upgrade to Tomcat 9.0.62, Jetty 9.4.46, Jetty Reactive HttpClient 1.1.11, Undertow 2.2.17, R2DBC Arabba-SR13, RSocket 1.1.2, OpenPDF 1.3.27, HtmlUnit 2.60, Checkstyle 10.1
2022-04-08 13:00:20 +02:00
Arjen Poutsma
9adfa5e8b0
Add HEAD support in MVC/WebFlux Resource handling
...
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291
2022-04-07 13:51:21 +02:00
Stephane Nicoll
df5e3f79e1
Merge branch '5.3.x'
2022-04-07 08:53:53 +02:00
Stephane Nicoll
4e9af3e277
Upgrade Java 18 in CI image
2022-04-07 08:52:43 +02:00
Stephane Nicoll
01fd489b47
Upgrade Ubuntu version in CI images
2022-04-07 08:51:48 +02:00
Arjen Poutsma
192f2becf6
Automatically clean up multipart temp files
...
This commit ensures that any resources created for multipart handling,
obtained via ServerWebExchange.getMultipartData(), are automatically
deleted after handling the completing the response.
Resource for parts obtained via BodyExtractors::toMultipartData and
BodyExtractors::toParts are not cleaned automatically, and
should be cleaned via Part::delete.
Closes gh-27633
2022-04-06 17:02:31 +02:00
Brian Clozel
f52920142b
Merge branch '5.3.x'
2022-04-04 19:01:28 +02:00
Brian Clozel
270b167e08
Upgrade registry-image-resource in CI pipeline to 1.5.0
...
See spring-projects/spring-boot#30408
2022-04-04 19:01:03 +02:00
Brian Clozel
705bf78104
Consistently handle match with '*' and trailing slash
...
Prior to this commit, the `AntPathMatcher` would inconsistently match
pattern with trailing slashes if they contain `"**"` within their
pattern.
For example `"/en/test/"` would match `"/**/test"`, but it would not
match `"/*/test"` (as it should).
This commit fixes this behavior for better consistency.
Fixes gh-27506
2022-04-04 18:51:03 +02:00
Brian Clozel
1776f08bfe
Merge branch '5.3.x'
2022-04-04 18:37:16 +02:00
GatinMI
b158110801
Fix debug log for no matching acceptableTypes
2022-04-04 18:29:01 +02:00
Sébastien Deleuze
e0090545f5
Upgrade Kotlin to 1.6.20
...
Closes gh-28036
2022-04-04 15:16:04 +02:00
Stephane Nicoll
0267da8d2e
Polish
2022-04-04 13:52:22 +02:00
Brian Clozel
f447f9cd39
Upgrade to JDK 18 GA in CI image
2022-04-04 10:40:10 +02:00
Brian Clozel
fd1346bf66
Merge branch '5.3.x'
2022-04-01 19:25:11 +02:00
Brian Clozel
17f7a24118
Add application/graphql+json mime and media types
...
Closes gh-28271
2022-04-01 19:24:55 +02:00
rstoyanchev
aea39fdad3
Merge branch '5.3.x' into main
2022-04-01 17:57:48 +01:00
rstoyanchev
d518a7d8c8
AbstractListenerReadPublisher continues after 0 bytes
...
If we read 0 bytes, e.g. chunked encoding markup read but not the
actual data within it, don't stop reading since the server may or
may not consider it necessary to call onDataAvailable again.
Instead, we keep on reading, and although isReady likely returns
false on the next iteration, it eliminates ambiguity and ensures
the server will call onDataAvailable when more data arrives.
Closes gh-28241
2022-04-01 17:38:03 +01:00
rstoyanchev
24cd3c1f4c
Revert "Disable flaky integration tests for now"
...
This reverts commit 1627f57f1f in
preparation for fixing the root cause
2022-04-01 16:07:05 +01:00
Spring Builds
2a8c369cff
Next development version (v5.3.19-SNAPSHOT)
2022-03-31 09:04:49 +00:00
Brian Clozel
afbff391d8
Merge branch '5.3.x'
2022-03-31 10:33:51 +02:00
Brian Clozel
002546b3e4
Refine PropertyDescriptor filtering
...
Restrict property paths under `Class` and properties of types
`ClassLoader` or `ProtectionDomain`.
2022-03-31 10:21:30 +02:00
Stephane Nicoll
9ea741364a
Merge branch '5.3.x'
2022-03-31 09:47:29 +02:00
Stephane Nicoll
1627f57f1f
Disable flaky integration tests for now
2022-03-31 09:46:36 +02:00
Sam Brannen
02d3e00d33
Merge branch '5.3.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/util/SerializationUtils.java
2022-03-29 15:28:19 +02:00
Sam Brannen
3811cd4c0a
Introduce warnings in documentation of SerializationUtils
...
Closes gh-28246
2022-03-29 15:22:30 +02:00
Sam Brannen
7a1421cb0f
Suppress deprecation warnings in tests
2022-03-29 15:04:58 +02:00
Sam Brannen
c8d0146bcc
Polish contribution
...
See gh-28075
2022-03-29 13:39:40 +02:00
Loïc Ledoyen
7f7fb58dd0
Deprecate SerializationUtils#deserialize
...
Since SerializationUtils#deserialize is based on Java's serialization
mechanism, it can be the source of Remote Code Execution (RCE)
vulnerabilities.
Closes gh-28075
2022-03-29 13:07:36 +02:00
Sébastien Deleuze
e681e713d4
Initialize NativeDetector at build time
...
Closes gh-28244
2022-03-29 08:50:41 +02:00
Sébastien Deleuze
77a8cbcbec
Remove outdated comment in NativeDetector
...
`-H:+InlineBeforeAnalysis` is enabled by default as of
GraalVM 21.3.
2022-03-29 08:32:02 +02:00
Sam Brannen
50973f73c7
Change link from 5.3.x to main
...
See gh-28228
2022-03-27 17:47:41 +02:00
Sam Brannen
e88a88cb7d
Merge branch '5.3.x'
2022-03-27 17:46:39 +02:00
Sam Brannen
d927e37364
Add "Testing ORM entity lifecycle callbacks" note to Testing chapter
...
Closes gh-28228
2022-03-27 17:46:06 +02:00
Sam Brannen
e90225336a
Use JPA from Jakarta
2022-03-27 17:01:26 +02:00
Sam Brannen
5eff9f8d7e
Merge branch '5.3.x'
2022-03-27 16:53:31 +02:00
Sam Brannen
1d302bf384
Introduce tests for gh-28228
2022-03-27 16:29:45 +02:00
Stephane Nicoll
defcaae6e4
Merge branch '5.3.x'
2022-03-27 10:05:47 +02:00