Sebastien Deleuze
a63d23492a
Optimize Jackson2Tokenizer
...
See gh-22727
2019-04-03 18:02:27 +02:00
Sam Brannen
807828b2b7
Polish Javadoc for MergedAnnotation support
...
See gh-21697
2019-04-03 16:55:34 +02:00
Sam Brannen
a4279c5d00
Rename MergedAnnotations.SearchStrategy.SUPER_CLASS to SUPERCLASS
...
For consistency within the framework, this commit renames the SUPER_CLASS enum constant
to SUPERCLASS.
See gh-21697
2019-04-03 16:44:36 +02:00
Juergen Hoeller
d39e3cc0ba
Merge branch '5.1.x'
2019-04-03 14:43:22 +02:00
Juergen Hoeller
9ea02c6dfa
Revised javadoc
2019-04-03 14:34:11 +02:00
Juergen Hoeller
abbe61b9f8
Consistent internal use of getMergedLocalBeanDefinition
2019-04-03 14:33:57 +02:00
Juergen Hoeller
e0fe32af05
Detect factory method annotations in getBeanNamesForAnnotation and co
...
As of 5.2, ListableBeanFactory.findAnnotationOnBean and its retrieval companions getBeanNamesForAnnotation and getBeansWithAnnotation detect annotations on @Bean methods as well.
Closes gh-22541
2019-04-03 13:07:47 +02:00
Juergen Hoeller
dee88d931a
Common constant for DefaultBeanNameGenerator as well
...
Closes gh-22591
2019-04-03 12:58:13 +02:00
Brian Clozel
47c8d1de7b
Avoid calling other bean methods in web config
...
This commit changes the main configuration classes for Spring MVC and
Spring WebFlux to not call other bean methods when setting up the web
infrastructure. This allows configuration classes extending
`DelegatingWebFluxConfiguration` and `DelegatingWebMvcConfiguration`
to opt-in the lite-mode, as introduced in gh-22461.
2019-04-03 10:16:41 +02:00
Brian Clozel
83ce8ad79a
Fix checkstyle
2019-04-03 10:16:11 +02:00
Juergen Hoeller
e2e91e2196
Switch LogAccessor argument order to have message supplier last
...
Closes gh-22726
2019-04-02 21:01:56 +02:00
Sam Brannen
5922642333
Document exception handling and async support for test events
...
This commit updates the class-level Javadoc for
EventPublishingTestExecutionListener in order to provide explicit
documentation for exception handling and async support.
See gh-18490
2019-04-02 20:31:58 +02:00
Juergen Hoeller
2e63c66b0d
Merge branch '5.1.x'
2019-04-02 20:13:29 +02:00
Juergen Hoeller
0babc1fb64
Polishing
2019-04-02 20:04:07 +02:00
Juergen Hoeller
95a84bbad1
Clarify case-insensitive nature of HttpHeaders
...
Closes gh-22723
2019-04-02 20:04:00 +02:00
Juergen Hoeller
3ac88bed23
Introduce LogAccessor and LogMessage as convenient logging utilities
...
Closes gh-22726
2019-04-02 19:13:05 +02:00
Rossen Stoyanchev
208a1ae0ea
Sync ChannelSendOperator copy in spring-messaging
...
See gh-22720
2019-04-02 11:06:11 -04:00
Rossen Stoyanchev
89a29598d5
Merge branch '5.1.x'
2019-04-02 11:05:30 -04:00
Rossen Stoyanchev
4c08863776
Add test case for writeFunction error signal
...
See gh-22720
2019-04-02 11:00:58 -04:00
Juergen Hoeller
c366e205e5
Common constants for default AnnotationBeanNameGenerator instances
...
Closes gh-22591
2019-04-02 16:52:36 +02:00
Sebastien Deleuze
b2dbefcfc5
Prevent spring-core-coroutines deployment
...
See gh-19975
2019-04-02 16:05:18 +02:00
Sebastien Deleuze
d2fa5536db
Use more efficient Reactor operators
...
Use handle/flatMapIterable instead of flatMap/flatMapMany
when possible.
Closes gh-22727
2019-04-02 15:49:59 +02:00
Violeta Georgieva
9bd0ec33f8
Release cached item in ChannelSendOperator when server error
...
Related to gh-22720
2019-04-02 16:42:52 +03:00
Juergen Hoeller
b1231de062
Fix formatting
...
See gh-21855
2019-04-02 15:17:34 +02:00
Matthias Kurz
6899624155
Correctly parse property name in path "map[key[foo]]"
2019-04-02 15:09:13 +02:00
liguoxiong
7b11c3b599
Transform the beanName in method isPrimary
...
Transform the beanName in method DefaultListableBeanFactory.isPrimary.
Add the corresponding test cases.
Fixes #22675 .
2019-04-02 15:06:12 +02:00
Juergen Hoeller
a11a592734
AbstractSqlParameterSource enumerates parameter values in toString()
...
Closes gh-2080
2019-04-02 14:56:38 +02:00
Juergen Hoeller
4a5b9d39d4
Consistent java.time setters on HttpHeaders and CorsConfiguration
...
Closes gh-22546
2019-04-02 14:56:20 +02:00
Juergen Hoeller
d6c1a65737
JtaTransactionManagerFactoryBean fully initializes its JTM instance
...
Closes gh-22605
2019-04-02 14:55:56 +02:00
Juergen Hoeller
271445b89e
Public createMarshaller/Unmarshaller methods on Jaxb2Marshaller
...
Closes gh-22708
2019-04-02 14:55:39 +02:00
Juergen Hoeller
c1a74de48d
Boolean getLazyInit accessor indicating no explicit flag set
...
Closes gh-22694
2019-04-02 14:55:27 +02:00
Juergen Hoeller
03bda29032
Revert "AnnotationConfigRegistry exposes registerBean with supplier/qualifiers"
...
This reverts commit 18f2e6a1
2019-04-02 14:55:13 +02:00
Rossen Stoyanchev
a94868158e
Sync ChannelSendOperator copy in spring-messaging
...
See gh-22720
2019-04-01 17:22:54 -04:00
Rossen Stoyanchev
20742c74dc
Merge branch '5.1.x'
2019-04-01 17:16:17 -04:00
Rossen Stoyanchev
9c48d63082
Release cached item in ChannelSendOperator
...
1. If the write Subscriber cancels with the item cached, release it.
2. If the write Publisher emits an error while the item is cached, when
the write Subscriber subscribes, release the cached item and emit the
error signal.
Closes gh-22720
2019-04-01 17:15:16 -04:00
Sebastien Deleuze
eb75367934
Remove deprecated AbstractHandlerMapping#getCorsConfigurations
...
Closes gh-22719
2019-04-01 17:43:20 +02:00
Sebastien Deleuze
d27b5d0ab6
Improve CORS handling
...
This commit improves CORS support by:
- Using CORS processing only for CORS-enabled endpoints
- Skipping CORS processing for same-origin requests
- Adding Vary headers for non-CORS requests
It introduces an AbstractHandlerMapping#hasCorsConfigurationSource
method in order to be able to check CORS endpoints efficiently.
Closes gh-22273
Closes gh-22496
2019-04-01 17:42:51 +02:00
Stephane Nicoll
8714710170
Merge branch '5.1.x'
2019-04-01 14:02:23 +02:00
Stephane Nicoll
de2a01eee4
Polish
...
Closes gh-22717
2019-04-01 14:01:41 +02:00
Stephane Nicoll
4b5c370701
Merge branch '5.1.x'
2019-04-01 13:55:44 +02:00
Stephane Nicoll
7882a33e07
Merge pull request #22718 from jKiler
...
* pr/22718:
Polish contribution
Polish
2019-04-01 13:55:30 +02:00
Stephane Nicoll
db64286589
Polish contribution
...
Closes gh-22718
2019-04-01 13:55:00 +02:00
Jerzy
ee1322ccbb
Polish
...
See gh-22718
2019-04-01 13:54:45 +02:00
Sam Brannen
085cb1dd92
Clean up warnings
2019-03-31 14:36:35 +02:00
Sam Brannen
e8cfc4df45
Disable verbose JiBX logging in Gradle build
2019-03-31 13:26:38 +02:00
Stephane Nicoll
7625fc0262
Merge branch '5.1.x'
2019-03-31 10:59:30 +02:00
Sebastien Deleuze
beb491b840
Use Dispatchers.Unconfined for Coroutines
...
As of Coroutines 1.2.0-alpha, Dispatchers.Unconfined
is a stable API so we can leverage it in order to get
better performances in our Reactive to Coroutines
bridge.
See gh-19975
2019-03-31 10:56:05 +02:00
Sebastien Deleuze
3387d3ec89
Upgrade to Coroutines 1.2.0-alpha
...
This commit also switches on kotlin-compiler-embeddable to
improve isolation of its dependencies
See gh-19975
2019-03-31 10:55:13 +02:00
Spring Buildmaster
d6088fa64e
Next Development Version
2019-03-31 08:42:44 +00:00
Juergen Hoeller
76e5a2a53b
Remove superfluous empty lines
2019-03-30 00:26:58 +01:00