Commit Graph

13948 Commits (4bfdbbb4a2dc36578f48ca6d98704e2ca2cbec7d)

Author SHA1 Message Date
Madhura Bhave 42e556dd73 Handle file with name matching an optional wildcard location
Previously, the presence of a file with the same name
as an optional wildcard location would cause a failure. With
this change the pattern is resolved only if the resource is a
directory.

Additionally, if an optional wildcard search location that was a file
would also fail with an exception. This commit fixes that so that those
locations are not resolved.

Fixes gh-27120
Fixes gh-27209
3 years ago
Phillip Webb cf5fc04ec5 Merge branch '2.5.x'
Closes gh-27205
3 years ago
Phillip Webb f32f4a2e3d Merge branch '2.4.x' into 2.5.x
Closes gh-27204
3 years ago
Phillip Webb 84110a22bc Don't change case of 'Sec-WebSocket-Key'
Polish commit 5ca687c9a6 had an accidental side-effect of changing
the 'Sec-WebSocket-Key' header value to lowercase. This breaks
connections since the value needs to be echoed unchanged in the
"Sec-WebSocket-Accept" header.

Fixes gh-27147
3 years ago
Andy Wilkinson b50cefbf8b Upgrade to Postgresql 42.2.23
Closes gh-27202
3 years ago
Andy Wilkinson bce7b9c711 Upgrade to jOOQ 3.14.12
Closes gh-27201
3 years ago
Andy Wilkinson 2c7105965d Upgrade to Johnzon 1.2.14
Closes gh-27200
3 years ago
Andy Wilkinson 81a68651dc Upgrade to Jetty 9.4.43.v20210629
Closes gh-27199
3 years ago
Andy Wilkinson d52117014f Upgrade to Jackson Bom 2.12.4
Closes gh-27198
3 years ago
Andy Wilkinson c96ee0d448 Upgrade to Infinispan 12.1.6.Final
Closes gh-27197
3 years ago
Andy Wilkinson 958c6649f4 Upgrade to DB2 JDBC 11.5.6.0
Closes gh-27196
3 years ago
Andy Wilkinson 4b965ac1ef Upgrade to Caffeine 2.9.2
Closes gh-27195
3 years ago
Andy Wilkinson bcbc742a0e Upgrade to AspectJ 1.9.7
Closes gh-27194
3 years ago
Andy Wilkinson 5ebe2f4539 Merge branch '2.5.x'
Closes gh-27192
3 years ago
dreis2211 00d3330c9a Avoid illegal reflective access on ZipEntry.xdostime
See gh-27100
3 years ago
Andy Wilkinson 87591d94ee Merge branch '2.5.x'
Closes gh-27188
3 years ago
Andy Wilkinson ff79787def Avoid using deprecated API to get Kotlin Plugin's version
Closes gh-27090
3 years ago
Andy Wilkinson bd1b73be94 Merge branch '2.5.x'
Closes gh-27186
3 years ago
Andy Wilkinson 283b4a6ed2 Improve error message for non-options-capable ConnectionFactory
Fixes gh-26977
3 years ago
Stephane Nicoll 7eb6cf71f6 Start building against Spring Integration 5.5.2 snapshots
See gh-27166
3 years ago
Stephane Nicoll e426ff6196 Start building against Spring Kafka 2.7.4 snapshots
See gh-27165
3 years ago
Stephane Nicoll 745b79714f Start building against Spring Data 2021.0.3 snapshots
See gh-27164
3 years ago
Stephane Nicoll 36f5d6762b Start building against Spring HATEOAS 1.3.3 snapshots
See gh-27184
3 years ago
Stephane Nicoll 3119179c62 Start building against Spring Framework 5.3.9 snapshots
See gh-27163
3 years ago
Stephane Nicoll 74a0354bf1 Start building against Reactor 2020.0.9 snapshots
See gh-27162
3 years ago
Stephane Nicoll 815ccd14b5 Start building against Spring Data 2020.0.11 snapshots
See gh-27161
3 years ago
Stephane Nicoll 434d4a6f76 Start building against Spring HATEOAS 1.2.8 snapshots
See gh-27183
3 years ago
Stephane Nicoll 861f87911c Start building against Spring Framework 5.3.9 snapshots
See gh-27160
3 years ago
Stephane Nicoll 74d5fdbcd0 Start building against Reactor 2020.0.9 snapshots
See gh-27159
3 years ago
Andy Wilkinson 7c744db0e9 Merge branch '2.5.x'
Closes gh-27180
3 years ago
Andy Wilkinson c21791e671 Test our Gradle plugin against Gradle 7.1.1
Closes gh-27142
3 years ago
Stephane Nicoll fa1eb544c1 Merge branch '2.5.x'
Closes gh-27155
3 years ago
Stephane Nicoll 888393d63b Merge branch '2.4.x' into 2.5.x
Closes gh-27154
3 years ago
Stephane Nicoll 5ec0c7ed12 Polish "Fix duration to microseconds conversion"
See gh-27149
3 years ago
marckchr a406a46fa1 Fix duration to microseconds conversion
See gh-27149
3 years ago
Madhura Bhave ce1dff86df Merge branch '2.5.x' into main
See gh-27140
3 years ago
Madhura Bhave c6acce569f Merge branch '2.4.x' into 2.5.x
See gh-27139
3 years ago
Madhura Bhave 877f618a69 Clarify that HATEOAS can be used with Webflux without starter
Closes gh-26897
3 years ago
Madhura Bhave 1dc8fa14c9 Merge branch '2.5.x' into main
Closes gh-27140
3 years ago
Madhura Bhave 503d50f39e Merge branch '2.4.x' into 2.5.x
Closes gh-27139
3 years ago
Madhura Bhave 6c4273b5c9 Document spring hateoas is spring mvc specific
Closes gh-26897
3 years ago
Madhura Bhave 1f3b32c3b9 Merge branch '2.5.x' into main
Closes gh-27138
3 years ago
Madhura Bhave 55593a7ac1 Merge branch '2.4.x' into 2.5.x
Closes gh-27137
3 years ago
Madhura Bhave eb4144eb97 Add clarification on when @DevaultValue is used during binding
Closes gh-26742
3 years ago
Madhura Bhave 32a1644cca Split spring boot features into multiple sections
See gh-27132
3 years ago
Stephane Nicoll 786d7cdb6e Merge branch '2.5.x'
Closes gh-27118
3 years ago
Stephane Nicoll ddf76c32c6 Update copyright year of updated file
See gh-27085
3 years ago
dreis2211 c852961011 Avoid reflection in tests
See gh-27085
3 years ago
Stephane Nicoll 573ca50333 Merge branch '2.5.x'
Closes gh-27117
3 years ago
Nurlan Tembayev e57970393c Remove unnecessary unit for spring.datasource.tomcat.max-active
See gh-27103
3 years ago
Stephane Nicoll 53fe7b71f6 Merge branch '2.5.x'
Closes gh-27116
3 years ago
biergit 79638a8f63 Fix anchor rewrites containing a question mark
See gh-27107
3 years ago
Stephane Nicoll 0f20c236da Merge branch '2.5.x'
Closes gh-27112
3 years ago
Cèsar Ordiñana 0c38449851 Fix typo in section title
See gh-27102
3 years ago
Brian Clozel f23fa2821c Merge branch '2.5.x'
Closes gh-27106
3 years ago
Brian Clozel 4db53601b5 Fix spring.netty.leak-detection metadata
Fixes gh-27104
3 years ago
Phillip Webb d00db60bab Merge branch '2.5.x' 3 years ago
Phillip Webb dfbd82b838 Fix Kotlin 1.5.20 classpath issues
See gh-27086
3 years ago
Phillip Webb 716e8ab717 Merge branch '2.5.x' 3 years ago
Phillip Webb d44207161f Suppress Kotlin 1.5.20 deprecation warning
See gh-27086
3 years ago
Andy Wilkinson 8b9991fcc7 Merge branch '2.5.x'
Closes gh-27076
3 years ago
Andy Wilkinson 5a9fa3c8f1 Only close context that is active
Previously, SpringApplicationShutdownHook would call close() on any
registered application context even if it wasn't active as it had
already been closed. This could lead to deadlock if the context was
closed and System.exit was called during application context refresh.

This commit updates SpringApplicationShutdownHook so that it only
calls close() on active contexts. This prevents deadlock as it avoids
trying to sychronize on the context's startupShutdownMonitor on
the shutdown hook thread while it's still held on the main thread
which called System.exit and is waiting for all of the shutdown hooks
to complete.

Fixes gh-27049
3 years ago
Andy Wilkinson d56ddb0f60 Merge branch '2.5.x'
See gh-27050
3 years ago
Andy Wilkinson 4572ae5430 Use reflection to extract Netty's default level
See gh-27046
3 years ago
Andy Wilkinson 9b91c18163 Merge branch '2.5.x'
See gh-27073
3 years ago
Andy Wilkinson e2d68aa8b2 Merge branch '2.4.x' into 2.5.x
See gh-27072
3 years ago
Andy Wilkinson a7872f47da Minimize Instantiator's public API
See gh-27043
3 years ago
Phillip Webb 6686a49b1f Merge branch '2.5.x'
Closes gh-27074
3 years ago
Phillip Webb b093db104c Pass ResourceLoader.getClassLoader() to Instantiator
Update calls to `Instantiator` to that they also include
`ResourceLoader.getClassLoader()`.

Closes gh-27071
3 years ago
Phillip Webb fe34bcdd52 Merge branch '2.5.x'
Closes gh-27073
3 years ago
Phillip Webb 641dfbdf98 Merge branch '2.4.x' into 2.5.x
Fixes gh-27072
3 years ago
Phillip Webb 5088927f80 Pass ClassLoader to Instantiator
Update `Instantiator` so that it can accept a `ClassLoader` when
creating instances and rework `EnvironmentPostProcessorsFactory` to
use the new methods.

Prior to this commit we would use the `ClassLoader` to get the class
names from `SpringFactories` but not when actually creating the
instances.

Fixes gh-27043
3 years ago
Stephane Nicoll 7d8e7468bf Merge branch '2.5.x'
See gh-27065
3 years ago
Stephane Nicoll d079db1dce Polish
See gh-26978
3 years ago
Stephane Nicoll 57f5030397 Upgrade to Netty tcNative 2.0.40.Final
Closes gh-27070
3 years ago
Stephane Nicoll 43f6393e9a Upgrade to Hazelcast 4.1.4
Closes gh-27069
3 years ago
Stephane Nicoll 6889d2adda Upgrade to Nimbus JOSE JWT 8.22
Closes gh-27068
3 years ago
Stephane Nicoll d4039648c7 Upgrade to OAuth2 OIDC SDK 8.36.2
Closes gh-27067
3 years ago
Stephane Nicoll 1f53e93b8d Upgrade to Netty tcNative 2.0.40.Final
Closes gh-27066
3 years ago
Stephane Nicoll d4fa46f1b9 Polish startup endpoint description in reference doc
Closes gh-26978
3 years ago
Stephane Nicoll 32d6b52980 Upgrade to Spring Integration 5.5.1
Closes gh-26974
3 years ago
Stephane Nicoll dd63f98fcf Upgrade to Spring Kafka 2.7.3
Closes gh-26973
3 years ago
Stephane Nicoll b5cdc84273 Upgrade to Spring AMQP 2.3.9
Closes gh-26972
3 years ago
Stephane Nicoll 006995fef7 Upgrade to Spring Integration 5.4.8
Closes gh-26967
3 years ago
Stephane Nicoll 6804ae849d Upgrade to Spring AMQP 2.3.9
Closes gh-26966
3 years ago
Phillip Webb cb3a41c4db Merge branch '2.5.x'
Closes gh-27064
3 years ago
dreis2211 7a25e4edb8 Avoid illegal reflective access in CLI tests
See gh-26930
3 years ago
Phillip Webb 6b241d04c0 Merge branch '2.5.x'
Closes gh-27063
3 years ago
Phillip Webb 093e7f7e3b Merge branch '2.4.x' into 2.5.x
Closes gh-27062
3 years ago
Phillip Webb 1a7569056b Fix 'spring.datasource.name' property description
Closes gh-27026
3 years ago
Phillip Webb 6102f10639 Merge branch '2.5.x' 3 years ago
Phillip Webb 2c518f1dff Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb a76e5c043e Update copyright year of changed files 3 years ago
Phillip Webb b141fcf51d Merge branch '2.5.x'
Closes gh-27061
3 years ago
Phillip Webb 84fab65b9a Merge branch '2.4.x' into 2.5.x
Closes gh-27060
3 years ago
Phillip Webb ea62967ef4 Improve "reason" message in BindFailureAnalyzer
Update `BindFailureAnalyzer` so that the "Reason" message includes
the root cause exception type and message.

Closes gh-27028
3 years ago
Phillip Webb 0e28e24123 Rethrow ConverterNotFoundException when possible
Update `BindConverter` to throw the first `ConversionFailedException`
rather than always throwing `ConverterNotFoundException`.

See gh-27028
3 years ago
Phillip Webb fe95c2a80c Merge branch '2.5.x'
Closes gh-27059
3 years ago
Phillip Webb a77e116c03 Merge branch '2.4.x' into 2.5.x
Closes gh-27058
3 years ago
Phillip Webb 93d316ddd1 Add additional ConfigDataProperties tests
Add more `isActive` tests to cover negative cases.

See gh-27017
3 years ago