Rossen Stoyanchev
57d9b92b94
Upgrade Reactor to Dysprosium RC1
...
Closes: gh-23579
2019-09-04 08:55:45 +01:00
Juergen Hoeller
f26866e4d4
Introduce getType variant with allowFactoryBeanInit flag
...
Closes gh-23374
2019-09-04 00:06:23 +02:00
Juergen Hoeller
eb6577755d
Stackless variant of NoTransactionException for reactive flows
...
Closes gh-23360
2019-09-04 00:02:24 +02:00
Sebastien Deleuze
d587a660fc
Fix a warning in Kotlin tests
2019-09-03 23:48:39 +02:00
Sebastien Deleuze
9b33b0ad58
Rename CoroutinesUtils#invokeHandlerMethod to invokeSuspendingFunction
2019-09-03 23:41:53 +02:00
Sebastien Deleuze
2b4eb610a7
Add support for Coroutines transactions
...
This commit adds Coroutines extensions for
TransactionalOperator.transactional that accept suspending lambda or
Kotlin Flow parameters.
@Transactional on suspending functions is not supported yet, gh-23575
has been created for that purpose.
Closes gh-22915
2019-09-03 23:41:42 +02:00
Sam Brannen
aeb857c3ba
Polish ClassUtilsTests
...
See gh-23572
2019-09-03 17:58:54 +02:00
Sam Brannen
4575f82c72
Simplify Gradle test task configuration
2019-09-03 17:08:45 +02:00
Sam Brannen
3c4cd99237
Reintroduce Hamcrest as a global test runtime dependency
...
Prior to this commit, tests in spring-web and spring-webflux were no
longer executed due to the removal of the Hamcrest dependency in
commit bb03cdf5d0 .
2019-09-03 17:00:26 +02:00
Sam Brannen
1c5b949df0
Fix ViewResolutionResultHandlerTests
...
See gh-23572
2019-09-03 16:56:50 +02:00
Sam Brannen
513ce7824f
Disable StreamingSimpleClientHttpRequestFactoryTests.interceptor() test
2019-09-03 16:43:48 +02:00
Brian Clozel
1b6814402c
Publish Gradle metadata
...
This commit enables the publishing of Gradle metadata with Spring
Framework artifacts. This feature will be enabled by default with Gradle
6.0, so Spring Framework will consistently push this information in the
5.2.x generation.
Fixes gh-23503
2019-09-03 16:17:06 +02:00
Sebastien Deleuze
f8516c69bf
Add Kotlin code snippets to data access refdoc
...
See gh-21778
2019-09-03 16:03:41 +02:00
Sam Brannen
652db21d3e
Ensure Hamcrest imports are properly banned
2019-09-03 16:01:30 +02:00
Arjen Poutsma
4c863f3f83
Revise documentation on using WebClient::exchange
...
This commit revised the paragraph regarding the need to consume or
release the ClientResponse body when using WebClient::exchange.
Closes gh-23498
2019-09-03 15:44:02 +02:00
Arjen Poutsma
37398c669c
Add toBodilessEntity to ClientResponse and WebClient.ResponseSpec
...
See gh-23498
2019-09-03 15:44:02 +02:00
Arjen Poutsma
f5640cbfe0
Add ClientResponse::releaseBody
...
See gh-23498
2019-09-03 15:44:02 +02:00
Sam Brannen
bc869657c8
Partially revert 670cbb9aed
...
... but continue to execute `Abstract*Tests` classes.
2019-09-03 15:17:34 +02:00
Sam Brannen
23d5c6e3dc
Do not scan for test classes in default test task
2019-09-03 14:36:32 +02:00
Sam Brannen
c78960a1ba
Merge branch '5.1.x'
2019-09-03 14:21:39 +02:00
Sam Brannen
f37ec90f2f
Consider Void.class a primitive wrapper in ClassUtils
...
Prior to this commit, ClassUtils.isPrimitiveOrWrapper() and
ClassUtils.isPrimitiveWrapper() did not return true for Void.class.
However, ClassUtils.isPrimitiveOrWrapper() did return true for
void.class. This lacking symmetry is inconsistent and can lead to bugs
in reflective code.
See: https://github.com/spring-projects/spring-data-r2dbc/issues/159
This commit addresses this by adding an entry for Void.class -> void.class
in the internal primitiveWrapperTypeMap in ClassUtils.
Closes gh-23572
2019-09-03 14:02:24 +02:00
Rossen Stoyanchev
32a585d100
Merge pull request #23485
2019-09-03 12:31:36 +01:00
Rossen Stoyanchev
d927d31e13
Remove reflection from ContentDispositionTests
...
Also minor refactoring in decoding in order to tolerate the absence of
a charset and treat as US_ASCII.
See gh-23485
2019-09-03 12:31:13 +01:00
Rossen Stoyanchev
c97580035e
Polish ContentDispositionTests
...
Closes gh-23485
2019-09-03 12:31:13 +01:00
Jonathan Bluett-Duncan
f084b63286
Fix "array index out of bounds" problem reported by LGTM.com
2019-09-03 12:31:13 +01:00
Sam Brannen
670cbb9aed
Simplify Gradle test task configuration
...
As an added bonus, AbstractViewTests is now executed in the build.
2019-09-03 12:40:59 +02:00
Sam Brannen
280a1b8880
Make AbstractWebRequestMatcherTests abstract
2019-09-03 12:13:56 +02:00
Sam Brannen
2c44eabe41
Remove unnecessary dependency declarations in spring-test
2019-09-03 12:13:56 +02:00
Sam Brannen
bb03cdf5d0
Remove global test dependency on Hamcrest
...
Hamcrest is now only used within spring-test for MockMvc support.
2019-09-03 12:13:56 +02:00
Sam Brannen
bf758eab33
Fix assertion in HandlerMethodMappingTests.unregisterMapping()
2019-09-03 12:13:56 +02:00
Sam Brannen
e79bda164e
Polish build.gradle
2019-09-03 12:13:10 +02:00
Sam Brannen
5fd81d2a26
Avoid deprecation warning in AbstractMockWebServerTests
...
MockResponse.setHeaders(Headers) is now deprecated.
2019-09-03 12:13:09 +02:00
Brian Clozel
926c385800
Upgrade to AssertJ 3.13.2
2019-09-02 20:09:14 +02:00
Brian Clozel
47f39965bf
Upgrade to Tomcat 9.0.24
2019-09-02 20:09:14 +02:00
Brian Clozel
78c5c7aa9c
Upgrade to Log4J 2.12.1
2019-09-02 20:09:14 +02:00
Brian Clozel
859450cf68
Upgrade to Joda time 2.10.3
2019-09-02 20:09:14 +02:00
Brian Clozel
a986be3e32
Upgrade to ehcache 2.10.6
2019-09-02 20:09:14 +02:00
Brian Clozel
1b6440c2c1
Upgrade to Caffeine 2.8.0
2019-09-02 20:09:14 +02:00
Brian Clozel
e60d48daae
Upgrade to hessian 4.0.62
2019-09-02 20:09:14 +02:00
Brian Clozel
829e9f5d92
Upgrade to okhttp3 4.1.0
2019-09-02 20:09:14 +02:00
Brian Clozel
3ec2a222ad
Upgrade to Aalto 1.2.1
2019-09-02 20:09:13 +02:00
Brian Clozel
b5f933a21b
Upgrade to Undertow 2.0.26.Final
2019-09-02 20:09:13 +02:00
Brian Clozel
b9089d2a90
Upgrade to RxJava2 2.2.12
2019-09-02 20:09:13 +02:00
Brian Clozel
d56ffd1a61
Upgrade to Netty 4.1.39.Final
2019-09-02 20:09:13 +02:00
Brian Clozel
be93d37330
Fix missing findbugs dependency for Dokka task
2019-09-02 20:09:13 +02:00
Brian Clozel
d4089747b8
Use dependency management in Framework build
...
Prior to this commit, the Spring Framework build would partially use the
dependency management plugin to import and enforce BOMs.
This commit applies the dependency management plugin to all Java
projects and regroups all version management declaration in the root
`build.gradle` file (versions and exclusions).
Some versions are overridden in specific modules for
backwards-compatibility reasons or extended support.
This commit also adds the Gradle versions plugin that checks for
dependency upgrades in artifact repositories and produces a report; you
can use the following:
./gradlew dependencyUpdates
2019-09-02 18:01:09 +02:00
Sebastien Deleuze
c13941821a
Treat Kotlin warnings as errors
...
Closes gh-23566
2019-09-02 16:49:31 +02:00
Sebastien Deleuze
a2e740c896
Polishing
2019-09-02 16:37:42 +02:00
Sebastien Deleuze
ca02cc1194
Migrate to AssertJ in Kotlin tests
...
Closes gh-23475
2019-09-02 15:59:26 +02:00
Arjen Poutsma
3fcf4233a2
Merge branch '5.1.x'
2019-09-02 15:19:30 +02:00