Sébastien Deleuze
4e6532f639
Merge branch '6.1.x'
2024-04-05 15:00:48 +02:00
Sébastien Deleuze
7a666cfd86
Revert some null-safety changes
...
This commit reverts some null-safety changes which make sense
on main but are too impactful for 6.1.x for Kotlin developers
using -Xjsr305=strict.
See gh-32475
2024-04-05 14:59:39 +02:00
Sébastien Deleuze
0c42874629
Merge branch '6.1.x'
2024-04-05 14:33:20 +02:00
Sébastien Deleuze
4a7c24d90f
Refine null-safety
...
See gh-32475
2024-04-05 14:30:50 +02:00
Stéphane Nicoll
5253af1a04
Merge branch '6.1.x'
2024-04-04 14:43:38 +02:00
Stéphane Nicoll
d955549037
Clarify scope of exception
...
See gh-29491
2024-04-04 14:42:41 +02:00
Stéphane Nicoll
b68f76c86e
Polish
...
See gh-32502
2024-04-04 14:42:41 +02:00
Simon Baslé
521cda009b
Use non-blocking thread in WebFlux controller with RequestBody parameter
...
This commit ensures that `InvocableHandlerMethod` executes the method
on the desired thread if a non-blocking thread is specified, even in the
case where arguments resolution happens on a different thread. This is
notably the case if the method body is resolved as an input argument to
the controller method (`@RequestBody`).
Closes gh-32502
2024-04-04 14:20:16 +02:00
Stéphane Nicoll
e3281a527c
Merge branch '6.1.x'
2024-04-02 18:01:59 +02:00
Stéphane Nicoll
08c9b5c96c
Upgrade to Gradle 8.7
...
Closes gh-32566
2024-04-02 18:01:37 +02:00
Stéphane Nicoll
a96f22d5e2
Merge branch '6.1.x'
2024-04-02 15:48:04 +02:00
Stéphane Nicoll
a942a6e172
Document behavior of profiles enabled for AOT optimizations
...
Closes gh-32543
2024-04-02 15:47:43 +02:00
Stéphane Nicoll
7a74e45946
Make use of bean definition overriding more visible
...
This commit makes the use of bean definition overriding more visible and
prepare for a deprecation of the feature in the next major release.
As of this commit, use of bean definition overriding logs at INFO level.
The previous log level can be restored by setting the
allowBeanDefinitionOverriding flag explicitly on the BeanFactory (or
via the related ApplicationContext).
A number of tests that are using bean overriding on purpose have been
updated to set this flag, which will make them easier to find once we
actually deprecate the feature.
Closes gh-31288
2024-04-02 14:05:12 +02:00
Sébastien Deleuze
8af3eb1aea
Polishing
...
See gh-22171
2024-04-02 13:33:29 +02:00
Sébastien Deleuze
d26265420a
Avoid removal warnings in tests
...
See gh-27619
2024-04-02 13:19:34 +02:00
Sébastien Deleuze
bede619e7d
Refine `@EnableWebFlux` documentation
...
This commit refines the documentation related to `@EnableWebFlux` in
order to make it more relevant for modern Boot applications.
See gh-22171
2024-04-02 11:48:12 +02:00
Sébastien Deleuze
bf2a72b043
Upgrade webjars-locator-lite to 0.0.3
...
See gh-27619
2024-04-02 10:22:31 +02:00
Sébastien Deleuze
67edcde0a2
Introduce support for webjars-locator-lite
...
This commit introduces support for org.webjars:webjars-locator-lite
via a new LiteWebJarsResourceResolver in Spring MVC and WebFlux, and
deprecates WebJarsResourceResolver which is performing a classpath
scanning that slows down application startup.
Closes gh-27619
2024-04-02 10:16:51 +02:00
Stéphane Nicoll
81bc586e15
Merge branch '6.1.x'
2024-04-02 09:34:39 +02:00
Stéphane Nicoll
9b1d5ea6e0
Merge pull request #32557 from Banuelorigni
...
* pr/32557:
Polish reference guide
Closes gh-32557
2024-04-02 09:33:00 +02:00
kexin.an
640b97f33c
Polish reference guide
...
See gh-32557
2024-04-02 09:29:55 +02:00
Stéphane Nicoll
6f95af978e
Merge branch '6.1.x'
2024-04-01 12:14:56 +02:00
Stéphane Nicoll
1fb99e4192
Merge pull request #32560 from quaff
...
* pr/32560:
Polish javadoc of AnnotatedBeanDefinitionReader
Closes gh-32560
2024-04-01 12:14:51 +02:00
Yanming Zhou
23d89362b0
Polish javadoc of AnnotatedBeanDefinitionReader
...
See gh-32560
2024-04-01 12:12:02 +02:00
Sam Brannen
d360def92e
Polishing
2024-03-30 16:06:06 +01:00
Łukasz Jernaś
86b87d7d85
Prevent package summaries from being truncated due to incorrect sentence detection
...
Javadoc doesn't seem to like having `e.g.` as it thinks the sentence
ends there, which is usually incorrect and results in broken descriptions.
This commit rewords the doc strings slightly to avoid problematic parts.
Closes gh-32532
2024-03-30 15:44:41 +01:00
Sébastien Deleuze
186e70cd04
Use code includes and tabs in MVC Config documentation
...
Additional fixes.
See gh-22171
2024-03-29 18:24:50 +01:00
Sébastien Deleuze
91bb7d8daf
Use code includes and tabs in MVC Config documentation
...
This commit also refines the documentation related to
`@EnableWebMvc` in order to make it more relevant for modern Boot
applications.
See gh-22171
2024-03-29 17:58:01 +01:00
Sébastien Deleuze
db1010f9c9
Add CBOR support to AllEncompassingFormHttpMessageConverter
...
Closes gh-32428
2024-03-28 14:59:22 +01:00
Sébastien Deleuze
cf87441a26
Remove unnecessary method.isAccessible() invocation
...
Closes gh-32548
2024-03-28 11:50:29 +01:00
Sébastien Deleuze
dc982d0d51
Merge branch '6.1.x'
2024-03-28 11:14:42 +01:00
Sébastien Deleuze
048e4f0aa2
Invoke KCallablesJvm.setAccessible only when required
...
Closes-32536
2024-03-28 11:12:50 +01:00
T45K
b28153e1d7
Fix handling of value class with private constructor
...
See gh-32536
2024-03-28 11:11:58 +01:00
Sébastien Deleuze
996e66abdb
Perform NullAway build-time checks in spring-test
...
Closes gh-32475
2024-03-26 18:14:56 +01:00
Sébastien Deleuze
96d9081190
Merge branch '6.1.x'
2024-03-26 18:10:25 +01:00
Sébastien Deleuze
88b9c0567d
Refine null-safety in spring-test
...
See gh-32475
2024-03-26 18:09:55 +01:00
Stéphane Nicoll
bf5b22d64f
Merge branch '6.1.x'
2024-03-26 17:45:25 +01:00
Stéphane Nicoll
c7c9da56da
Consistent atMost period for Awaitility-based tests
...
Closes gh-32537
2024-03-26 17:45:14 +01:00
Sébastien Deleuze
8b51b36729
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in
all remaining modules except spring-test.
See gh-32475
2024-03-26 15:53:01 +01:00
Sébastien Deleuze
2fea3d7921
Merge branch '6.1.x'
2024-03-26 15:41:46 +01:00
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2024-03-26 15:39:18 +01:00
Sam Brannen
f47352ff04
Polish PropertyOrFieldReference
2024-03-26 13:21:46 +01:00
Stéphane Nicoll
c1ed504ac1
Avoid classpath scanning in test
...
This commit updates SpringConfiguratorTests to not rely on classpath
scanning as it could have side effect. In this particular case, the
configuration class that sources the scan is detected again, leading
to bean overriding.
Irrespective of that, adding more code in that package may have side
effect as they could be scanned as well.
Closes gh-32535
2024-03-26 10:41:00 +01:00
Sébastien Deleuze
5b660da52d
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:59:30 +01:00
Sébastien Deleuze
3b4f8dbb8e
Merge branch '6.1.x'
2024-03-26 09:47:09 +01:00
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:46:34 +01:00
Sam Brannen
4b0a048570
Polish SpEL internals and remove duplicate code
2024-03-25 17:47:14 +01:00
Sam Brannen
57632f9f08
Fix wording in SpEL's PropertyAccessor Javadoc
...
The documentation now properly refers to "property accessors" instead
of "resolvers".
2024-03-25 14:26:40 +01:00
Sébastien Deleuze
7c009ccc1f
Perform NullAway build-time checks in spring-messaging
...
See gh-32475
2024-03-25 12:30:03 +01:00
Sébastien Deleuze
f421f38e24
Merge branch '6.1.x'
2024-03-25 12:28:53 +01:00