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
Juergen Hoeller
2e832c03ae
Merge branch '5.1.x'
2019-03-30 00:25:10 +01:00
Juergen Hoeller
c6619006eb
Polishing
2019-03-30 00:20:32 +01:00
Juergen Hoeller
3ba0a79a57
Upgrade to OpenPDF 1.2.12
2019-03-30 00:13:29 +01:00
Juergen Hoeller
462d047f72
Typo fixes and formatting
2019-03-29 23:44:00 +01:00
Stephane Nicoll
43004328c8
Merge pull request #22709 from armansimonyan13
...
* pr/22709:
Polish contribution
Polish
2019-03-29 22:42:05 +01:00
Stephane Nicoll
2156a1bbd5
Polish contribution
...
Closes gh-22709
2019-03-29 22:40:40 +01:00
arman simonyan
257772c61e
Polish
...
See gh-22709
2019-03-29 22:40:04 +01:00
Rossen Stoyanchev
8dc535c15c
Match declared parameters on produces condition
...
Closes gh-21670
2019-03-29 17:03:40 -04:00
Rossen Stoyanchev
c0be1c5100
Polish
2019-03-29 16:01:22 -04:00
Rossen Stoyanchev
6c33af0a1c
Merge branch '5.1.x'
2019-03-29 15:56:07 -04:00
Rossen Stoyanchev
85332c7a49
Polish
2019-03-29 15:53:45 -04:00
Rossen Stoyanchev
81f95efdbb
Call onDispose before first read
...
The cancellation callback in asynchronousReadFileChannel must be called
before the first read I/O or otherwise if cancellation signals happens
immediately the onDispose callback may be missed.
The DefaultBufferFactory workaround however remains in place until an
expected additional fix arrives with Reactor Core 3.2.9.
See gh-22107
2019-03-29 15:43:06 -04:00
Rossen Stoyanchev
9a1bba5b67
NettyDataBufferFactory.wrap(ByteBuf) calls touch()
...
Closes gh-21960
2019-03-29 15:25:28 -04:00
Juergen Hoeller
57de2e0900
Deprecate ClassUtils.isCglibProxy methods in favor of AOP-level checks
...
Closes gh-22706
2019-03-29 11:12:49 +01:00
Phillip Webb
f273fa990c
Use RepeatableContainers.none() in AnnotationUtils
...
Update `AnnotationUtils` so that `RepeatableContainers.none()` is used
when performing an exhaustive search for merged annotations. These
parameters were accidentally removed in commit 210b1789 and weren't
caught earlier because we were missing a test.
Closes gh-22702
2019-03-28 14:39:29 -07:00