Sam Brannen
012b8f18c6
Add Simon to mailmap
2023-01-11 15:26:31 +01:00
Brian Clozel
5ea310452c
Add Simon to the Changelog generator configuration
...
This prevents Simon from being listed as an external contributor.
2023-01-11 14:12:03 +01:00
Sam Brannen
a4956dfe26
Update copyright headers
2023-01-11 13:52:20 +01:00
Sam Brannen
0415975dd1
Polish contribution and related code
2023-01-11 13:52:20 +01:00
Krzysztof Krason
afb8a0d1b1
Use new Java features (switch expressions, text blocks, new JDK methods)
...
Closes gh-29747
2023-01-11 13:51:28 +01:00
Spring Builds
48abd493fe
Next development version (v6.0.5-SNAPSHOT)
2023-01-11 12:25:34 +00:00
Brian Clozel
3d571e8ab5
Upgrade to Micrometer 1.10.3
...
Closes gh-29802
2023-01-11 11:55:43 +01:00
Juergen Hoeller
c7cfdfc26c
Downgrade to Mockito 4.9 for spring-beans tests
...
Includes upgrade to HtmlUnit 2.69
2023-01-11 00:26:30 +01:00
Juergen Hoeller
4d27aee7cf
Upgrade to Checkstyle 10.6
2023-01-11 00:03:23 +01:00
Juergen Hoeller
63f0beb209
Upgrade to Reactor 2022.0.2
...
Includes Mockito 4.11 and AssertJ 3.24.1
Closes gh-29797
2023-01-11 00:01:34 +01:00
Sam Brannen
8dbdfb0449
Polishing
2023-01-10 16:08:02 +01:00
Sam Brannen
d5fb5d029b
Polish contribution
2023-01-10 16:07:48 +01:00
Vasiliy Kudriavtsev
3738a45658
Avoid wasted memory on empty maps and sets
...
This commit avoids wasted memory on empty hash maps in
MergedAnnotationReadingVisitor and empty sets in InjectionMetadata.
Closes gh-29742
2023-01-10 15:52:17 +01:00
Sam Brannen
fd3e99c7ee
Upgrade to JUnit 5.9.2
2023-01-10 15:23:20 +01:00
Sébastien Deleuze
4396801933
Add reflection hints for Kotlin reflection on functions
...
Kotlin reflection API invocation on a specific function
may require iterating on all Java methods to find the right
Kotlin function. As a consequence, this commit adds introspection
hints on the class declared methods for all Kotlin beans since
the impact on the footprint is low.
Closes gh-29663
2023-01-10 14:49:26 +01:00
Brian Clozel
a516ed8739
Upgrade Gradle Enterprise & Conventions plugins
2023-01-10 09:10:59 +01:00
Juergen Hoeller
88cac6a4a3
Reduce creation of composite interfaces to actual method references in current pointcut
...
Closes gh-29519
2023-01-09 20:34:20 +01:00
Sam Brannen
11df955d88
Update copyright headers
2023-01-09 18:33:06 +01:00
Sam Brannen
77832a6da9
Apply "instanceof pattern matching" in HttpHeaders
2023-01-09 18:27:13 +01:00
Sam Brannen
ce1f6cf0bf
Polishing
2023-01-09 18:27:13 +01:00
rstoyanchev
c702cd418e
Polishing
...
See gh-29721
2023-01-06 16:50:19 +00:00
Simon Baslé
4bcc24372a
Add ExecutingResponseCreator
...
This commit adds a new `ResponseCreator` implementation that uses a
`ClientHttpRequestFactory` to perform an actual request.
Closes gh-29721
2022-12-20 16:36:06 +01:00
rstoyanchev
ae7cff35dc
Polishing
2022-12-20 09:39:15 +00:00
IDJack
8282be682c
Fix typo in core-aot.adoc
...
Closes gh-29788
2023-01-09 13:19:16 +01:00
Sébastien Deleuze
b81a291c85
Add reflection hints for @RequestPart
...
Closes gh-29749
2023-01-06 17:26:33 +01:00
Sébastien Deleuze
3348e74ab8
Add native support for @Convert on JPA entities
...
This commit infers the reflection hints required for converters
when they are specified with the @Convert annotation at class or
field level.
It also refines the hints generated for @Converter in order
to just generate the construct hint, not the public method one
which should be not needed.
Closes gh-29771
2023-01-06 12:56:26 +01:00
Simon Baslé
e2832ea596
Polish #29727 : Mention Kotlin andExpectAll in reference manual ( #29766 )
...
This just adds a Kotlin snippet alongside the Java snippet in the
reference manual.
Relates to gh-29727
Closes gh-27317
2023-01-04 19:11:54 +01:00
Simon Baslé
74f58198fd
Add Kotlin DSL support for MockMVC andExpectAll ( #29727 )
...
As the DSL internally calls `ResultActions.andExpect`, this is done with
a trick where a synthetic `ResultActions` is provided at top level which
stores each `ResultMatcher` in a mutable list.
Once the DSL usage is done, the top level DSL `andExpectAll` turns that
list into a `vararg` passed down to the actual `actions.andExpectAll`.
Closes gh-27317
2023-01-03 18:26:26 +01:00
Juergen Hoeller
42b16591ec
SpringPersistenceUnitInfo leniently ignores transformer if no LoadTimeWeaver is present
...
Closes gh-29736
2023-01-03 11:55:33 +01:00
Johnny Lim
62cf2f0a4f
Fix wrong asserted code in SQLExceptionSubclassTranslatorTests ( #29748 )
...
There was a typo in the test, covering the wrong SQLState code.
Polishes a644245
.
Relates to gh-29699.
2023-01-03 10:57:02 +01:00
Juergen Hoeller
32e1a6452a
Upgrade to Undertow 2.3.2, Apache HttpClient 5.2.1, Selenium HtmlUnit Driver 2.67
2022-12-23 16:11:16 +01:00
Juergen Hoeller
55295faff0
Upgrade to Tomcat 10.1.4, Jetty 11.0.13, Netty 4.1.86, Protobuf 3.21.12, SLF4J 2.0.6
2022-12-23 15:14:52 +01:00
Juergen Hoeller
254c3725e2
Polishing
2022-12-23 15:14:11 +01:00
Juergen Hoeller
d5ff232246
Defensive check for null returned from createConnection()
...
Closes gh-29706
2022-12-23 15:13:41 +01:00
Juergen Hoeller
a644245e0e
Check well-known database error codes in case of generic SQL state 23000
...
Closes gh-29699
2022-12-23 15:13:29 +01:00
Sam Brannen
697292ba0c
Apply update_copyright_headers.sh
2022-12-20 15:21:54 +01:00
Brian Clozel
5366ac84e6
Fix path within mapping when pattern contains ".*"
...
Prior to this commit, extracting the path within handler mapping would
result in "" if the matching path element would be a Regex and contain
".*". This could cause issues with resource handling if the handler
mapping pattern was similar to `"/folder/file.*.extension"`.
This commit introduces a new `isLiteral()` method in the `PathElement`
abstract class that expresses whether the path element can be compared
as a String for path matching or if it requires a more elaborate
matching process.
Using this method for extracting the path within handler mapping avoids
relying on wildcard count or other properties.
Fixes gh-29712
2022-12-19 10:15:39 +01:00
Sam Brannen
b71db12c43
Apply "instanceof pattern matching" in spring-aop
2022-12-18 14:14:40 +01:00
Sam Brannen
ab571e3562
Revert incorrect change to ParamAware Javadoc
2022-12-18 14:14:40 +01:00
Sam Brannen
5e42a6eb0a
Update Trigger & TriggerContext reference documentation
...
Closes gh-29702
2022-12-18 13:21:27 +01:00
Sam Brannen
0bfddbc9cb
Polishing
2022-12-18 13:20:46 +01:00
diguage
511dab1ade
Apply "instanceof pattern matching" ( #29710 )
2022-12-18 12:46:15 +01:00
Sam Brannen
d4623a393b
Update copyright headers
2022-12-18 12:16:19 +01:00
Sam Brannen
c2c3be4ee3
Polishing
2022-12-18 12:05:24 +01:00
Sam Brannen
270f8526d1
Fix typos in anchors
2022-12-18 12:05:24 +01:00
Sam Brannen
4171e35546
Fix formatting in examples
2022-12-18 12:05:18 +01:00
Sam Brannen
bea505d32e
Fix typos in reference manual
2022-12-18 12:05:18 +01:00
Sam Brannen
5c28b56823
Remove duplicated words in Javadoc
2022-12-18 12:05:18 +01:00
Sam Brannen
d2b54e2611
Remove duplicate words in reference manual
...
Found using regular expression: \b(\w+)\s+\1\b
2022-12-18 10:46:30 +01:00
Sam Brannen
f8a58f2bc4
Update Jakarta Mail info in ref docs
...
Closes gh-29707
2022-12-17 14:24:38 +01:00