Sam Brannen
31316a11fd
Polishing
2020-09-11 16:37:11 +02:00
Brian Clozel
b2a0978c12
Prepare for Sinks API updates in Reactor
...
See reactor/reactor-core#2374
All usages of this API are in tests, which are not checking overflow or
concurrent emissions - so a simple replacement with `try***` equivalents
is fine.
2020-09-11 16:34:31 +02:00
Sam Brannen
af3dc5d440
Upgrade to Gradle 6.6.1
...
See gh-25578
2020-09-11 16:18:47 +02:00
Brian Clozel
8473f71a42
Update JDK 15 version in CI image
...
This also switches to the adoptopenjdk-produced binaries for better
consistency with other JDK versions in our CI.
2020-09-11 13:45:46 +02:00
Brian Clozel
b61d0584a9
Update after RSocket SNAPSHOT changes
2020-09-11 13:45:22 +02:00
Arjen Poutsma
3bd96a665f
Merge branch '5.2.x' into master
2020-09-10 11:34:44 +02:00
Arjen Poutsma
07d2c08f48
Do not tokenize Forward header value
...
This commit remove the tokenization previously used in
UriComponentsBuilder#adaptFromForwardedHeaders, in order to support
Forwarded headers that have multiple, comma-separated 'for' elements.
Closes gh-25737
2020-09-09 16:31:24 +02:00
Juergen Hoeller
fe6962051e
Upgrade to XStream 1.4.13
2020-09-08 17:17:20 +02:00
Juergen Hoeller
a958633b7a
Merge branch '5.2.x'
2020-09-08 17:09:58 +02:00
Juergen Hoeller
ed3b7cd10f
Upgrade to HSQLDB 2.5.1 and Woodstox 6.2.1
2020-09-08 17:09:13 +02:00
Juergen Hoeller
4d1d60ac42
Check log level before delegating Supplier-based message to target Log
...
Closes gh-25741
2020-09-08 16:50:40 +02:00
Brian Clozel
f7a014d7dc
Improve MIME type subtype suffix handling
...
Prior to this commit, the subtype suffix of a MIME type (see RFC 6839)
was not properly taken into account when checking compatibility between
MIME types.
For example, `"application/*"` was not considered as compatible with
`"application/vnd.io.spring+json"`.
This commit adds a new `MimeType#getSubtypeSuffix()` method to easily
extract the subtype suffix information. This method is then reused in
the `isCompatibleWith` implementation to better handle these cases.
Fixes gh-25350
2020-09-08 14:46:48 +02:00
Brian Clozel
93f201a414
Deprecate AppCacheManifestTransformer
...
This commit deprecates the `AppCacheManifestTransformer` implementations
since the appcache feature is being removed from the browsers.
Closes gh-25733
2020-09-08 14:46:48 +02:00
Brian Clozel
078543ce67
Deprecate Joda time support
...
This commit deprecates the Joda time support and schedules it for
removal in 6.0.
Closes gh-25736
2020-09-08 14:46:48 +02:00
Juergen Hoeller
7dbb40ffa0
Merge branch '5.2.x'
2020-09-08 12:24:18 +02:00
Juergen Hoeller
c6cc6705ef
FileUrlResource.isWritable() exclusively relies on getFile() implementation
...
Closes gh-25584
2020-09-08 12:23:27 +02:00
Juergen Hoeller
ae1d15c8f4
Declare protected getCharset method as non-static
...
See gh-25509
2020-09-08 12:22:25 +02:00
Arjen Poutsma
91b609817e
Do not use BitSet in BitsCronField
...
This commit changes BitsCronField to use a long instead of a BitSet,
since the later can use significant memory.
Closes gh-25687
2020-09-08 10:11:32 +02:00
Rossen Stoyanchev
dd011c991c
Merge branch '5.2.x' into master
2020-09-07 21:41:30 +01:00
Rossen Stoyanchev
d616c6632d
Remove session on 4xx response from WebSocket handshake
...
Closes gh-25608
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
94c91c9e9c
Explain how to provide serialization view programmatically
...
Closes gh-25596
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
b6ff12d2f5
Expose protected method in AbstractJackson2HttpMessageConverter
...
Closes gh-25509
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
b1d84067cd
UriComponentsBuilder Javadoc update
...
Closes gh-25604
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
c19fc9d53f
Switch to Reactor Dysprosium snapshots
...
See gh-25730
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
899761f0a8
Avoid unnecessary parsing of path params
...
See gh-25690
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
f88759c3c9
Shared read-only instances of UrlPathHelper
...
UrlPathHelper is often created and used without customizations or with
the same customizations. This commit introduces re-usable, instances.
Effectively a backport of commit 23233c.
See gh-25690
2020-09-07 21:27:52 +01:00
Brian Clozel
59ecedea46
Remove artifactory oss snapshot repository
...
The RSocket SNAPSHOTs are now mirrored on the Spring SNAPSHOT
repository.
2020-09-07 20:05:19 +02:00
Juergen Hoeller
0d699840ad
Upgrade to Mockito 3.5.10 and R2DBC Arabba-SR6
2020-09-07 19:36:00 +02:00
Juergen Hoeller
3cc0db5fc3
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
2020-09-07 19:27:25 +02:00
Juergen Hoeller
4f0f29880f
Upgrade to AssertJ 3.17.2 and Undertow 2.0.31
2020-09-07 19:25:46 +02:00
Juergen Hoeller
4b211fb18c
Javadoc refinements
2020-09-07 19:20:26 +02:00
Juergen Hoeller
a93af329fc
Fix javadoc typos (from ASM master)
...
See gh-24872
2020-09-07 17:55:41 +02:00
Juergen Hoeller
75f394ca85
Merge branch '5.2.x'
2020-09-07 17:54:51 +02:00
Juergen Hoeller
e797398b10
CallParameterMetaData detects function return parameter specifically
...
Closes gh-25588
2020-09-07 17:51:23 +02:00
Juergen Hoeller
613b05d814
Properties loading with ignoreResourceNotFound covers SocketException as well
...
Closes gh-25717
2020-09-07 17:51:14 +02:00
Rossen Stoyanchev
30d556b9ef
Support for LoadbalanceRSocketClient
...
Closes gh-25333
2020-09-07 16:31:12 +01:00
Rossen Stoyanchev
71ecca7443
DefaultRSocketRequesterBuilder internal refactoring
2020-09-07 13:48:27 +01:00
Rossen Stoyanchev
8c2852607d
Switch to Reactor and RSocket snapshots
2020-09-07 13:30:28 +01:00
Brian Clozel
c5694506ae
Early configuration of ApplicationStartup on BeanFactory
...
Prior to this commit, the `GenericApplicationContext` configured the
`AppliationStartup` on the `BeanFactory` only right before refreshing it.
Delaying this has no purpose and we should instead configure it as soon
as possible by overriding the setter method.
Closes gh-25718
2020-09-07 10:48:59 +02:00
Juergen Hoeller
3fd89c3ac1
Fix merge result
...
See gh-25706
2020-09-05 13:12:19 +02:00
Juergen Hoeller
9d7849c539
Merge branch '5.2.x'
...
# Conflicts:
# spring-expression/src/main/java/org/springframework/expression/spel/ast/MethodReference.java
2020-09-05 13:02:01 +02:00
Juergen Hoeller
939c76c4a5
Revise documentation notes on getParameterType performance issues
...
See gh-25679
2020-09-05 13:00:06 +02:00
Juergen Hoeller
40bf83c9e5
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
2020-09-05 12:59:34 +02:00
Juergen Hoeller
c368ce8223
Fix SpEL generated code for default method invocation
...
Closes gh-25706
2020-09-05 12:59:12 +02:00
Andy Clement
a404bf5a94
Fix SpEL generated code for default method invocation
...
Closes gh-25706
2020-09-04 22:23:13 -07:00
Juergen Hoeller
4044f4c30f
Polishing
2020-09-03 23:56:36 +02:00
Yanming Zhou
a2bb59f1b8
Replace StringBuffer with StringBuilder where possible
2020-09-03 22:40:51 +02:00
Juergen Hoeller
33195da64f
Fix assertion for the revised SQLExceptionTranslator contract in 5.3
...
See gh-25681
2020-09-03 19:34:54 +02:00
Juergen Hoeller
3aae0fc91b
Merge branch '5.2.x'
2020-09-03 19:21:44 +02:00
Juergen Hoeller
670b9fd60b
Retry SQLErrorCodesFactory retrieval if DatabaseMetaData access failed
...
Includes deprecation of JdbcUtils.extractDatabaseMetaData(DataSource, String) in favor of the now generified version of extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback).
Closes gh-25681
Closes gh-25686
2020-09-03 19:16:14 +02:00