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
Sébastien Deleuze
dea31dd55e
Refine null-safety in spring-messaging
...
See gh-32475
2024-03-25 12:24:53 +01:00
Sébastien Deleuze
88e26a9570
Merge branch '6.1.x'
2024-03-25 11:28:43 +01:00
Sébastien Deleuze
06b91c4ea5
Refine null-safety in spring-jms
...
See gh-32475
2024-03-25 11:28:00 +01:00
Sébastien Deleuze
2fc78dfb69
Perform NullAway build-time checks in spring-jms
...
See gh-32475
2024-03-25 11:27:04 +01:00
Sébastien Deleuze
e52ee01ec8
Perform NullAway build-time checks in spring-web
...
Also in spring-websocket.
See gh-32475
2024-03-25 11:11:09 +01:00
Sébastien Deleuze
2b1eb488fc
Merge branch '6.1.x'
2024-03-25 11:04:49 +01:00
Sébastien Deleuze
a63ebe7e9d
Refine null-safety in spring-web and spring-websocket
...
See gh-32475
2024-03-25 11:02:44 +01:00
Sam Brannen
5bec072dcb
Polish SpEL internals
2024-03-24 17:07:42 +01:00
Stéphane Nicoll
8736ca038a
Merge branch '6.1.x'
2024-03-24 09:23:10 +01:00
Stéphane Nicoll
c4b615052e
Merge pull request #32517 from izeye
...
* pr/32517:
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
Closes gh-32517
2024-03-24 09:23:05 +01:00
Johnny Lim
dca5f1dcd8
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
...
See gh-32517
2024-03-24 09:21:36 +01:00
Stéphane Nicoll
aa9f0b3cb2
Merge pull request #32524 from izeye
...
* pr/32524:
Fix Javadoc since to ChannelRegistration.executor()
Closes gh-32524
2024-03-24 08:29:45 +01:00