Commit Graph

46956 Commits

Author SHA1 Message Date
Andy Wilkinson
2ba2ecedec Merge branch '3.1.x' into 3.2.x
Closes gh-39171
2024-01-17 13:51:23 +00:00
Andy Wilkinson
c416712427 Merge pull request #39163 from Wzy19930507
* gh-39163:
  Update link to docs for Log4j 2's JDK logging adapter

Closes gh-39163
2024-01-17 13:51:03 +00:00
Wzy19930507
37a0e24f24 Update link to docs for Log4j 2's JDK logging adapter
See gh-39163
2024-01-17 13:50:29 +00:00
Brian Clozel
6845f42f70 Document virtual threads limitations
This commit adds a new section in the Spring Boot reference
documentation to mention potential throughput limitations with Java
virtual threads support.

This section links to the official Java documentation which expands much
more on this matter.

Closes gh-38883
2024-01-17 14:12:34 +01:00
Andy Wilkinson
aec4550b02 Merge branch '3.1.x' into 3.2.x
Closes gh-39167
2024-01-17 13:00:22 +00:00
Andy Wilkinson
4949ffdebe Merge pull request #39137 from amparab
* gh-39137:
  Polish "Improve toString of SslBundle implementations"
  Improve toString of SslBundle implementations

Closes gh-39137
2024-01-17 12:57:18 +00:00
Andy Wilkinson
a7d52226d5 Polish "Improve toString of SslBundle implementations"
See gh-39137
2024-01-17 11:50:34 +00:00
amparab
b49ccbb0c2 Improve toString of SslBundle implementations
See gh-39137
2024-01-17 11:37:18 +00:00
Andy Wilkinson
045bc74aa0 Merge branch '3.1.x' into 3.2.x
Closes gh-39165
2024-01-17 10:42:57 +00:00
Andy Wilkinson
f66fd0e9e2 Remove OCI entry as it is no longer maintained
Closes gh-39164
2024-01-17 10:42:27 +00:00
Scott Frederick
90564d722d Merge branch '3.1.x' into 3.2.x
Fixes gh-39158
2024-01-16 17:06:17 -06:00
Scott Frederick
47b1c41dac Allow server.ssl properties to mix PEM and JKS certificate types
Prior to the introduction of SSL bundles, the `server.ssl` properties
allowed PEM and JKS certificate files types to be mixed when
configuring keystores and truststores. This was lost when adapting to
SSL bundles using `WebServerSslBundle`. This commit restores the
previous behavior for back compatibility.

Fixes gh-39105
2024-01-16 16:26:28 -06:00
Phillip Webb
57f2960c07 Merge pull request #38942 from
* pr/38942:
  Polish 'Improve reference documentation'
  Improve reference documentation

Closes gh-38942
2024-01-16 12:45:54 -08:00
Phillip Webb
ac00a0c28b Polish 'Improve reference documentation'
See gh-38942
2024-01-16 12:45:03 -08:00
Won Joon Thomas Choi
6ed8dc2970 Improve reference documentation
Address a series of minor typos and phrasing inconsistencies
identified in few sections of documentation to enhance overall
clarity and readability.

See gh-38942
2024-01-16 12:43:38 -08:00
Phillip Webb
837047ab79 Merge branch '3.1.x' into 3.2.x
Closes gh-39154
2024-01-16 11:56:37 -08:00
Phillip Webb
b796447fc3 Merge pull request #39107 from
* pr/39107:
  Polish 'Remove unreachable throw code'
  Remove unreachable throw code

Closes gh-39107
2024-01-16 11:54:57 -08:00
Phillip Webb
e23e431f10 Polish 'Remove unreachable throw code'
See gh-39107
2024-01-16 11:36:18 -08:00
BenchmarkingBuffalo
a4ae6600ef Remove unreachable throw code
Improve `SpringApplication` by removing the unreachable throw statement
in favor of returning an exception from `handleRunFailure`. This commit
also removes the if statements in favor of dedicated catch blocks.

See gh-39107
2024-01-16 11:35:49 -08:00
Phillip Webb
267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Phillip Webb
a08e4d47af Merge pull request #39125 from
* pr/39125:
  Polish 'Use the term "tags" in documentation consistently'
  Use the term "tags" in documentation consistently

Closes gh-39125
2024-01-16 11:16:34 -08:00
Phillip Webb
5a38662f5f Polish 'Use the term "tags" in documentation consistently'
See gh-39125
2024-01-16 11:16:02 -08:00
Wzy19930507
3274205709 Use the term "tags" in documentation consistently
See gh-39125
2024-01-16 11:15:42 -08:00
Phillip Webb
88a8550609 Make OTEL tstcontainers integration test more resilient
Tweak awaitility assertions to fix timing error that often occurs on
local builds.
2024-01-16 10:49:25 -08:00
Phillip Webb
89874d351a Ensure containers are started before binding datasource properties
Update `TestcontainersLifecycleBeanPostProcessor` so that containers
are now initialized either on the first `postProcessAfterInitialization`
call with a frozen configuration or just before a test container
property is supplied.

Prior to this commit, it was assumed that the first post-process call
after the configuration was frozen was suitably early to initialize
the containers. This turns out to not be no always the case.

Specifically, in the `finishBeanFactoryInitialization` method of
`AbstractApplicationContext` we see that `LoadTimeWeaverAware` beans
are obtained before the configuration is frozen. One such bean is
`DefaultPersistenceUnitManager` which is likely to need datasource
properties that will require a started container.

To fix the problem, the `TestcontainersPropertySource` now publishes
a `BeforeTestcontainersPropertySuppliedEvent` to the ApplicationContext
just before any value is supplied. By listening for this event, we can
ensure that containers are initialized and started before any dynamic
property is read.

Fixes gh-38913
2024-01-16 10:36:54 -08:00
Andy Wilkinson
f59fa2e3f7 Merge branch '3.1.x' into 3.2.x
Closes gh-39149
2024-01-16 16:07:37 +00:00
Andy Wilkinson
dee709e5ba Merge pull request #39114 from tobias-lippert
* gh-39114:
  Polish "Update links to Micrometer reference docs"
  Update links to Micrometer reference docs

Closes gh-39114
2024-01-16 16:05:46 +00:00
Andy Wilkinson
ea727f056a Polish "Update links to Micrometer reference docs"
See gh-39114
2024-01-16 16:05:09 +00:00
Tobias Lippert
6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Brian Clozel
00f69c4ee8 Upgrade to MySQL 8.3.0
Closes gh-39081
2024-01-16 16:33:29 +01:00
Brian Clozel
de2aee9816 Upgrade to MariaDB 3.3.2
Closes gh-38901
2024-01-16 16:31:19 +01:00
Andy Wilkinson
a575807078 Upgrade to Spring Pulsar 1.0.2
Closes gh-38994
2024-01-16 13:02:46 +00:00
Andy Wilkinson
75fa963f72 Merge branch '3.1.x' into 3.2.x
Closes gh-39142
2024-01-16 12:23:43 +00:00
Andy Wilkinson
38f078fc9d Upgrade Gradle Enterprise Plugins
Closes gh-39141
2024-01-16 12:23:08 +00:00
Andy Wilkinson
17819c02b7 Merge branch '3.1.x' into 3.2.x
Closes gh-39139
2024-01-15 19:45:20 +00:00
Andy Wilkinson
c8a7a04da4 Retry JDK downloads
Closes gh-39138
2024-01-15 19:45:06 +00:00
Andy Wilkinson
7b6b3a581e Merge branch '3.1.x' into 3.2.x 2024-01-15 17:07:14 +00:00
Andy Wilkinson
9874363fbe Don't offer aligned version when it's already the current version
See gh-34114
2024-01-15 17:06:53 +00:00
Andy Wilkinson
0f23feffaf Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39136
2024-01-15 15:26:16 +00:00
Andy Wilkinson
cf5effddbe Merge branch '3.1.x' into 3.2.x 2024-01-15 15:25:05 +00:00
Andy Wilkinson
d06c1db259 Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39135
2024-01-15 15:24:55 +00:00
Andy Wilkinson
c0fedc8f74 Merge branch '3.1.x' into 3.2.x
Closes gh-39133
2024-01-15 15:21:31 +00:00
Andy Wilkinson
c8e9a2a32c Add support to Bomr for aligning dependency versions
Closes gh-34114
2024-01-15 15:20:29 +00:00
Brian Clozel
46b7bd2f23 Add configuration property to enable micrometer annotations
Prior to this commit, the Micrometer annotations support (`@Timed`,
`@Counted`...) was guarded by the presence of both Micrometer and
AspectJ on the classpath.

This signal is too weak, considering the startup performance impact and
the fact that the AspectJ dependency can be brought transitively in many
cases.

This commit adds a new `micrometer.observations.annotations.enabled`
property that is set to `false` by default to only process the
annotations support when this property is enabled.

Fixes gh-39128
2024-01-15 13:51:15 +01:00
Andy Wilkinson
8bdaae37b0 Upgrade to Spring WS 4.0.10
Closes gh-39130
2024-01-15 10:14:54 +00:00
Andy Wilkinson
84bb060312 Upgrade to Spring Data Bom 2023.1.2
Closes gh-38981
2024-01-15 10:14:50 +00:00
Andy Wilkinson
f585381bc2 Merge branch '3.1.x' into 3.2.x 2024-01-15 10:11:45 +00:00
Andy Wilkinson
5f4d347ea6 Upgrade to Spring WS 4.0.10
Closes gh-39129
2024-01-15 10:11:25 +00:00
Andy Wilkinson
abba215498 Upgrade to Spring Data Bom 2023.0.8
Closes gh-38977
2024-01-15 10:11:20 +00:00
Andy Wilkinson
145fe15daf Merge branch '3.1.x' into 3.2.x
Closes gh-39122
2024-01-12 17:08:23 +00:00