Commit Graph

46997 Commits

Author SHA1 Message Date
Phillip Webb
f586d2d6bb Merge branch '3.2.x'
Closes gh-39155
2024-01-16 11:56:48 -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
8b47d8c657 Merge branch '3.2.x' 2024-01-16 11:20:09 -08:00
Phillip Webb
267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Phillip Webb
02b63a3b19 Merge branch '3.2.x'
Closes gh-39152
2024-01-16 11:18:55 -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
3c6dff7c36 Merge branch '3.2.x' 2024-01-16 10:49:30 -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
90ce0f01bd Merge branch '3.2.x'
Closes gh-39151
2024-01-16 10:49:18 -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
22b7525ccd Merge branch '3.2.x'
Closes gh-39150
2024-01-16 16:07:53 +00: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
Brian Clozel
50c89ff803 Upgrade to MySQL 8.3.0
Closes gh-39147
2024-01-16 16:55:17 +01:00
Tobias Lippert
6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Andy Wilkinson
b54567f5f3 Upgrade to Spring Authorization Server 1.3.0-M1
Closes gh-38987
2024-01-16 15:40:41 +00:00
Brian Clozel
4b01023967 Merge branch '3.2.x' 2024-01-16 16:33:51 +01:00
Brian Clozel
00f69c4ee8 Upgrade to MySQL 8.3.0
Closes gh-39081
2024-01-16 16:33:29 +01:00
Brian Clozel
7e39f7f505 Merge branch '3.2.x'
Closes gh-39146
2024-01-16 16:32:40 +01:00
Brian Clozel
de2aee9816 Upgrade to MariaDB 3.3.2
Closes gh-38901
2024-01-16 16:31:19 +01:00
Andy Wilkinson
18c083d619 Upgrade to Spring Session 3.3.0-M1
Closes gh-38991
2024-01-16 13:44:15 +00:00
Andy Wilkinson
c48ff13cee Upgrade to Spring Pulsar 1.0.2
Closes gh-38995
2024-01-16 13:03:25 +00:00
Andy Wilkinson
9b87cf56bd Merge branch '3.2.x' 2024-01-16 13:03:00 +00:00
Andy Wilkinson
a575807078 Upgrade to Spring Pulsar 1.0.2
Closes gh-38994
2024-01-16 13:02:46 +00:00
Andy Wilkinson
dacf20533e Merge branch '3.2.x'
Closes gh-39143
2024-01-16 12:23:57 +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
4fa47aa501 Merge branch '3.2.x'
Closes gh-39140
2024-01-15 19:45:38 +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
Brian Clozel
e58f65366c Auto-configure TypeDefinitionConfigurer beans
Prior to this commit, the GraphQL auto-configuration would consider many
bean types like `DataFetcherExceptionResolver` and
`SubscriptionExceptionResolver` to configure the `GraphQlSource`.
It would also configure a default `ConnectionTypeDefinitionConfigurer`.

This commit will detect all `TypeDefinitionConfigurer` beans defined in
the application and configure them in addition to the
`ConnectionTypeDefinitionConfigurer`.

Closes gh-39118
2024-01-15 18:22:37 +01:00
Andy Wilkinson
b79d1cef7d Merge branch '3.2.x' 2024-01-15 17:07:22 +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
12d390d564 Upgrade to Spring Security 6.3.0-M1
Closes gh-38990
2024-01-15 17:04:13 +00:00
Andy Wilkinson
be5628761c Merge branch '3.2.x' 2024-01-15 15:26:33 +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
b0f06338b9 Merge branch '3.2.x'
Closes gh-39134
2024-01-15 15:24:06 +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
bc37a94b76 Merge branch '3.2.x'
Closes gh-39132
2024-01-15 14:15:15 +01: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