Commit Graph

50791 Commits

Author SHA1 Message Date
Stéphane Nicoll
84998f91a9 Merge pull request #44310 from nosan
* pr/44310:
  Polish contribution
  Catch WebServer stop or destroy exception when context refresh fails

Closes gh-44310
2025-02-18 11:02:58 +01:00
Stéphane Nicoll
062b73f4a4 Polish contribution
See gh-44310
2025-02-18 10:59:52 +01:00
Dmytro Nosan
84bde2a836 Catch WebServer stop or destroy exception when context refresh fails
This commit adds the stop or destroy failure as a suppressed
exception if either ServletWebServerApplicationContext or
ReactiveWebServerApplicationContext refresh fails.

See gh-44310

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 10:55:04 +01:00
Stéphane Nicoll
e51efef30b Merge pull request #44306 from nosan
* pr/44306:
  Fix build

Closes gh-44306
2025-02-17 13:10:06 +01:00
Dmytro Nosan
35a77e2cf1 Fix build
See gh-44306

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 13:09:52 +01:00
Andy Wilkinson
045fbee395 Document need for $ separator when auto-config is nested
Closes gh-44298
2025-02-17 11:00:29 +00:00
Stéphane Nicoll
6760c3981c Merge pull request #44267 from ngocnhan-tran1996
* pr/44267:
  Clarifyt when UserDetailsService auto-configuration will back off

Closes gh-44267
2025-02-17 11:30:49 +01:00
Tran Ngoc Nhan
f3ce5bca0c Clarifyt when UserDetailsService auto-configuration will back off
See gh-44267

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-17 11:29:37 +01:00
Stéphane Nicoll
c20599a6c8 Merge pull request #44266 from ngocnhan-tran1996
* pr/44266:
  Implement RuntimeHintsRegistrar

Closes gh-44266
2025-02-17 11:17:48 +01:00
Tran Ngoc Nhan
e982136f5e Implement RuntimeHintsRegistrar
See gh-44266
2025-02-17 11:09:29 +01:00
Stéphane Nicoll
d9c54312d8 Merge pull request #44259 from nosan
* pr/44259:
  Polish "Do not auto-configure ViewResolver if spring-webmvc is absent"
  Do not auto-configure ViewResolver if spring-webmvc is absent

Closes gh-44259
2025-02-17 11:06:49 +01:00
Stéphane Nicoll
6aa0055e5e Polish "Do not auto-configure ViewResolver if spring-webmvc is absent"
See gh-44259
2025-02-17 11:01:23 +01:00
Dmytro Nosan
ac73766f9b Do not auto-configure ViewResolver if spring-webmvc is absent
See gh-44259

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 11:01:07 +01:00
Stéphane Nicoll
6f05926643 Merge pull request #44134 from nosan
* pr/44134:
  Destroy WebServer if ReactiveWebServerApplicationContext refresh fails

Closes gh-44134
2025-02-17 10:53:39 +01:00
Dmytro Nosan
c28c16eb9c Destroy WebServer if ReactiveWebServerApplicationContext refresh fails
Prior to this commit, if ReactiveWebServerApplicationContext failed to
refresh, only WebServer.stop() was called.

This commit additionally invokes WebServer.destroy(), aligning
the behavior with ServletWebServerApplicationContext when a refresh
failure occurs.

See gh-44134

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 10:45:34 +01:00
Stéphane Nicoll
0a673881a4 Upgrade to Spring Data Bom 2024.0.9
Closes gh-44106
2025-02-14 17:11:04 +01:00
Stéphane Nicoll
f91d2df403 Start building against Spring AMQP 3.1.9 snapshots
See gh-44277
2025-02-14 16:57:04 +01:00
Andy Wilkinson
589a84d72a Upgrade Java version in .sdkmanrc to 17.0.14
Closes gh-44272
2025-02-14 08:34:46 +00:00
Stéphane Nicoll
f7cbddabc5 Upgrade to Spring LDAP 3.2.11
Closes gh-44111
2025-02-14 07:54:46 +01:00
Stéphane Nicoll
188c9a794a Upgrade to Spring Framework 6.1.17
Closes gh-44107
2025-02-13 16:58:59 +01:00
Stéphane Nicoll
69f01052dd Upgrade to Json-smart 2.5.2
Closes gh-44263
2025-02-13 16:58:59 +01:00
Andy Wilkinson
2e00552130 Move MockPkcs11Security to spring-boot-testsupport
Closes gh-44260
2025-02-13 14:48:16 +00:00
Andy Wilkinson
874ee9936a Improve handling of default values when printing the banner
Previously, default values for the following properties did not work:

- application.title
- application.formatted-version
- application.version
- spring-boot.formatted-version
- spring-boot.version

Instead of the default value, an empty string was used instead. For
example, ${application.title:Title} would be replaced with "" rather
than "Title" when the application title was unavailable.

This commit improves the ResourceBanner so that a placeholder's
default value is used. An empty string will still be used when no
default value is provided. For example, ${application.title} will
be replaced with "". As before, custom properties that are not
well-known will not be replaced at all. For example
${custom.property} will remain as-is in the printed banner when
the custom.property has not been set.

Fixes gh-44137
2025-02-13 10:13:12 +00:00
Stéphane Nicoll
f9540c0588 Merge pull request #44240 from jearton
* pr/44240:
  Update copyright year of changed file
  Polish variable name in ServletWebServerApplicationContext.selfInitialize()

Closes gh-44240
2025-02-12 20:25:13 +01:00
Stéphane Nicoll
a57fd8002f Update copyright year of changed file
See gh-44240
2025-02-12 20:22:48 +01:00
zhoudong
6177010b11 Polish variable name in ServletWebServerApplicationContext.selfInitialize()
See gh-44240

Signed-off-by: zhoudong <jearton1024@gmail.com>
2025-02-12 20:22:14 +01:00
Stéphane Nicoll
ce04ad3112 Start building against Spring Framework 6.1.17 snapshots
See gh-44107
2025-02-12 04:59:45 +01:00
Stéphane Nicoll
6e33bd9fbb Prevent upgrade to Tomcat 10.1.35
Closes gh-44219
2025-02-11 15:11:15 +01:00
Stéphane Nicoll
c5779b2f8b Upgrade to Reactor Bom 2023.0.15
Closes gh-44104
2025-02-11 13:51:35 +01:00
Stéphane Nicoll
2ee5e23a47 Upgrade to Netty 4.1.118.Final
Closes gh-44218
2025-02-11 13:51:35 +01:00
Stéphane Nicoll
18c64524a8 Upgrade to Micrometer Tracing 1.3.9
Closes gh-44103
2025-02-11 13:51:31 +01:00
Stéphane Nicoll
6fe757f72e Upgrade to Micrometer 1.13.11
Closes gh-44102
2025-02-11 13:51:30 +01:00
Andy Wilkinson
3e5929a446 Remove duplicate dispatcher servlet auto-config tests
Closes gh-44207
2025-02-11 12:19:45 +00:00
Andy Wilkinson
5c8d9d910a Update LoaderIntegrationTests as Java 23 is no longer in early access
Closes gh-44208
2025-02-11 11:09:36 +00:00
Andy Wilkinson
ea76e46faa Apply charset to Mustache's content type
Fixes gh-44053
2025-02-10 11:07:49 +00:00
Andy Wilkinson
89f5bf9c64 Merge pull request #44168 from ngocnhan-tran1996
* gh-44168:
  Link to JarLauncher's javadoc

Closes gh-44168
2025-02-08 10:08:25 +00:00
Tran Ngoc Nhan
b5fa849563 Link to JarLauncher's javadoc
See gh-44168

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-08 10:08:05 +00:00
Moritz Halbritter
461e30f668 Add JsonView to PluginClasspathGradleBuild 2025-02-06 14:26:51 +01:00
Moritz Halbritter
baf596d10e Document double observations when using @Timed etc.
Closes gh-44037
2025-02-06 12:21:31 +01:00
Stéphane Nicoll
a4efcfe195 Revert "Start building against Spring Framework 6.1.17 snapshots"
This reverts commit 7317ec19cb.

See gh-44107
2025-02-05 17:22:09 +01:00
Stéphane Nicoll
dbc61d39f0 Upgrade to RSocket 1.1.5
Closes gh-44041
2025-02-05 14:57:50 +01:00
Stéphane Nicoll
b46698774d Upgrade to Native Build Tools Plugin 0.10.5
Closes gh-44141
2025-02-05 14:57:50 +01:00
Stéphane Nicoll
fcd33e8b30 Upgrade to Infinispan 15.0.13.Final
Closes gh-44140
2025-02-05 12:28:16 +01:00
Stéphane Nicoll
3e4a799bb9 Upgrade to Groovy 4.0.25
Closes gh-44139
2025-02-05 12:28:12 +01:00
Stéphane Nicoll
c80c08d7bd Upgrade to Commons Pool2 2.12.1
Closes gh-44138
2025-02-05 12:28:08 +01:00
Andy Wilkinson
0b8f2a567a Improve version upgrade suggestions when version is aligned
Closes gh-44132
2025-02-05 10:07:31 +00:00
Stéphane Nicoll
785dc18cd5 Start building against Spring Session 3.3.6 snapshots
See gh-44114
2025-02-05 10:05:06 +01:00
Stéphane Nicoll
da8b5897c2 Start building against Spring Security 6.3.7 snapshots
See gh-44113
2025-02-05 10:05:06 +01:00
Stéphane Nicoll
fedb086edd Start building against Spring Pulsar 1.1.9 snapshots
See gh-44112
2025-02-05 10:05:06 +01:00
Stéphane Nicoll
ff56e7c2f6 Start building against Spring LDAP 3.2.11 snapshots
See gh-44111
2025-02-05 10:05:06 +01:00