Commit Graph
62651 Commits
Author SHA1 Message Date
Stéphane Nicoll 7aaed03f2a Upgrade to Liquibase 5.0.4
Closes gh-51684
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 16b4d01222 Upgrade to jOOQ 3.21.8
Closes gh-51683
2026-09-12 08:29:17 +02:00
Stéphane Nicoll f34ffe3826 Upgrade to Jetty 12.1.13
Closes gh-51682
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 110ab74050 Upgrade to Jaybird 6.0.6
Closes gh-51681
2026-09-12 08:29:17 +02:00
Stéphane Nicoll b44517cca3 Upgrade to Jakarta Json Bind 3.0.3
Closes gh-51680
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 2c36695500 Upgrade to Jackson Bom 3.1.6
Closes gh-51679
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 1aedd3d4e4 Upgrade to Jackson 2 Bom 2.21.6
Closes gh-51678
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 95b13ab8df Upgrade to Infinispan 16.2.3
Closes gh-51677
2026-09-12 08:29:17 +02:00
Stéphane Nicoll 5f67db5fae Upgrade to HtmlUnit 5.5.0
Closes gh-51676
2026-09-12 08:29:17 +02:00
Stéphane Nicoll c0a94a6aa8 Upgrade to Hibernate 7.4.7.Final
Closes gh-51675
2026-09-12 08:29:16 +02:00
Stéphane Nicoll 116ab6f17f Upgrade to H2 2.5.250
Closes gh-51674
2026-09-12 08:29:16 +02:00
Stéphane Nicoll f35a92ba01 Upgrade to Groovy 5.1.2
Closes gh-51673
2026-09-12 08:29:16 +02:00
Stéphane Nicoll 76f088b2ce Upgrade to FreeMarker 2.3.35
Closes gh-51672
2026-09-12 08:29:16 +02:00
Stéphane Nicoll b3cfa3572d Upgrade to Byte Buddy 1.18.13
Closes gh-51671
2026-09-12 08:29:16 +02:00
Stéphane Nicoll 5b179582cf Upgrade to Artemis 2.57.0
Closes gh-51670
2026-09-12 08:29:16 +02:00
Stéphane Nicoll 53d8e2a019 Upgrade to ActiveMQ 6.3.2
Closes gh-51669
2026-09-12 08:29:16 +02:00
Andy Wilkinson 26b0e813b0 Merge pull request #51661 from Wanbinyu
Closes gh-51661

* gh-51661:
  Polish "Resolve property placeholders in constructor binding default values"
  Resolve property placeholders in constructor binding default values
2026-09-11 17:31:00 +01:00
Andy Wilkinson b5dd5215f3 Polish "Resolve property placeholders in constructor binding default values"
See gh-51661

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-09-11 16:59:01 +01:00
Wan bin yu 57f1c947d1 Resolve property placeholders in constructor binding default values
Resolve each annotated default using the binder placeholder resolver
before conversion.

Signed-off-by: Wan bin yu <3431359639@qq.com>

See gh-51661
2026-09-11 16:56:09 +01:00
Andy Wilkinson 042c69a4f9 Merge branch '4.1.x'
Closes gh-51668
2026-09-11 14:19:14 +01:00
Andy Wilkinson 885720ae66 Merge branch '4.0.x' into 4.1.x
Closes gh-51667
2026-09-11 12:55:59 +01:00
Andy Wilkinson d08d6d053a Merge pull request #51666 from ohchanKyu
Closes gh-51666

* gh-51666:
  Polish "Use TLS port for Docker Compose RabbitMQ connection when SSL is configured"
  Use TLS port for Docker Compose RabbitMQ connection when SSL is configured
2026-09-11 12:47:17 +01:00
Andy Wilkinson 18295bf297 Polish "Use TLS port for Docker Compose RabbitMQ connection when SSL is configured"
See gh-51666

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-09-11 12:42:51 +01:00
ohchanKyu 458ed72f55 Use TLS port for Docker Compose RabbitMQ connection when SSL is configured
When a rabbitmq Docker Compose service has SSL bundle labels,
RabbitDockerComposeConnectionDetailsFactory created an SslBundle but
still resolved the address from container port 5672, the plain AMQP
listener. As the connection factory enables SSL when an SslBundle is
present, the TLS handshake was attempted against the non-TLS listener
and the connection failed.

The address is now resolved from container port 5671 when an SslBundle
is present, matching RabbitStreamDockerComposeConnectionDetailsFactory
and the Testcontainers-based RabbitContainerConnectionDetailsFactory.
The SSL integration test now opens a connection using the resolved
address and SslBundle so that it fails without this fix.

Signed-off-by: ohchanKyu <okc0202@naver.com>

See gh-51666
2026-09-11 12:35:40 +01:00
Andy Wilkinson 1dab448cc9 Merge pull request #51656 from o-shevchenko
Closes gh-51656

* gh-51656:
  Add baggage tag fields to spans with OpenTelemetry
2026-09-11 11:21:32 +01:00
Oleksandr Shevchenko ce75f008b0 Add baggage tag fields to spans with OpenTelemetry
With OpenTelemetry, fields listed in management.tracing.baggage.tag-fields
only became span tags when the application itself touched the baggage
through the Tracer API. Baggage that arrived with a request was
propagated correctly, but spans were not tagged with it (see
micrometer-metrics/tracing#933).

This commit registers Micrometer Tracing's BaggageTaggingSpanProcessor
whenever baggage is enabled and at least one tag field is configured, so
that spans are tagged with the baggage that is present in their parent
context. A custom BaggageTaggingSpanProcessor bean backs off the
auto-configured one. The tag-fields property is now also mentioned in
the baggage section of the tracing documentation.

See gh-51656

Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com>
2026-09-11 11:18:02 +01:00
Andy Wilkinson 924d10733e Merge branch '4.1.x'
Closes gh-51664
2026-09-11 08:18:54 +01:00
Andy Wilkinson 9c7577588d Merge branch '4.0.x' into 4.1.x
Closes gh-51663
2026-09-11 08:18:31 +01:00
Andy Wilkinson 5541ab2424 Merge pull request #51660 from ngocnhan-tran1996
Closes gh-51660

* gh-51660:
  Update Jackson 3 Javadoc links
2026-09-11 08:18:21 +01:00
Tran Ngoc Nhan ba9c9483e1 Update Jackson 3 Javadoc links
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

See gh-51660
2026-09-11 08:17:33 +01:00
Stéphane Nicoll 8b8294a1a1 Merge branch '4.1.x'
Closes gh-51659
2026-09-10 16:39:59 +02:00
Stéphane Nicoll e55f120d8a Merge branch '4.0.x' into 4.1.x
Closes gh-51658
2026-09-10 16:39:50 +02:00
Stéphane Nicoll a7d90d3532 Merge pull request #51655 from JunggiKim
Closes gh-51655

* perf/changelog-compute-differences:
  Avoid rebuilding metadata maps when computing the changelog
2026-09-10 16:39:43 +02:00
Andy Wilkinson 52301d3f9f Merge branch '4.1.x'
Closes gh-51657
2026-09-10 15:35:52 +01:00
Andy Wilkinson 2fbc10fbaf Merge pull request #51597 from o-shevchenko
Closes gh-51597

* gh-51597:
  Document baggage propagation over gRPC
2026-09-10 15:35:27 +01:00
Junggi Kim 9a09c2842b Avoid rebuilding metadata maps when computing the changelog
Changelog.computeDifferences() called
ConfigurationMetadataRepository.getAllProperties() from inside its main
loop. The default repository implementation builds a new map each time
that method is called, so the new version's properties were rebuilt once
per property of the old version. The ids that had already been seen were
also tracked in an ArrayList, turning each membership check into a linear
scan.

Read the properties of each repository once and use the old properties
map itself to detect the properties that have been added.

Computing the changelog between Spring Boot 3.4.0 and 3.5.0 (2,498 and
2,555 properties) drops from 203ms to 0.5ms and the generator's peak
memory from 302MB to 91MB. The generated asciidoc is byte for byte
identical.

See gh-51655

Signed-off-by: Junggi Kim <kimjg2477@gmail.com>
2026-09-10 16:35:18 +02:00
Stéphane Nicoll 9600287f8d Merge pull request #51654 from JunggiKim
Closes gh-51654

* perf/layers-index-child-lookup:
  Use a map to look up layer index child nodes
2026-09-10 16:34:14 +02:00
Oleksandr Shevchenko 020584c36a Document baggage propagation over gRPC
Baggage is already propagated over gRPC by the auto-configured
Micrometer observation interceptors: on the server side the
ObservationGrpcServerInterceptor hands the incoming metadata to the
tracing observation handlers, which extract the W3C baggage header as
well as the individual metadata keys listed in
management.tracing.baggage.remote-fields, and on the client side the
ObservationGrpcClientInterceptor writes them to the metadata of
outgoing calls. This was not documented, and it is easy to miss that
it requires micrometer-core on the classpath.

This commit adds an Observability section to the gRPC server
documentation, extends the gRPC client Observability section, and
mentions gRPC in the baggage section of the tracing documentation.

See gh-51597

Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com>
2026-09-10 15:33:57 +01:00
Junggi Kim 823744c0b2 Use a map to look up layer index child nodes
LayersIndex.Node kept its children in a list and scanned that list
linearly to find the child for each path segment. Building the index is
therefore O(entries x siblings), a cost that is dominated by the largest
flat directory in the jar: BOOT-INF/lib/ for the dependencies, and any
bundled resource directory such as a front-end build output.

Keep the children in a LinkedHashMap keyed by the segment name so that
lookups are constant time. Insertion order is preserved, so the order in
which buildIndex() walks the tree is unchanged.

For a jar with 32,529 entries, 426 dependencies and a 12,000 file static
resource directory, this reduces the number of string comparisons from
73.7M to 222K and the time spent building the index from 197ms to 12ms.
For a jar with no large flat directory (20,529 entries, 426
dependencies) the gain is much smaller: 1.58M comparisons to 162K, and
12.5ms to 9.6ms. The generated layers.idx is byte for byte identical in
both cases.

See gh-51654

Signed-off-by: Junggi Kim <kimjg2477@gmail.com>
2026-09-10 16:30:35 +02:00
Stéphane Nicoll c966eca3e7 Merge pull request #51653 from JunggiKim
Closes gh-51653

* speed-up-layer-lookup-when-extracting:
  Avoid scanning the whole layer index for every entry
2026-09-10 16:28:19 +02:00
Junggi KimandClaude Opus 5 a0f0cf00b3 Avoid scanning the whole layer index for every entry
IndexedLayers.getLayer() walked every entry of layers.idx for each jar
entry being extracted, making extraction O(entries x index size). The
dependency entries are listed first while the application classes are
covered by a single directory entry near the end, so the most numerous
entries consistently scanned the longest.

Index the candidates once when the index file is read, keeping the
directory candidates in a separate map that preserves index order. A
file name is then resolved with a single map lookup and only the
handful of directory candidates has to be scanned.

For a jar with 24,823 entries and 700 dependencies this reduces the
number of string comparisons from 17,179,582 to 72,946 (106.9ms to
2.5ms). With 4,173 entries it goes from 1,019,857 to 11,896 (5.4ms to
0.1ms) and with 903 entries from 70,612 to 2,426 (0.8ms to 0.1ms).

Lookups resolve to the same layer as before. LayersIndex only writes a
name once its whole subtree belongs to a single layer, so no indexed
name is a prefix of another and at most one candidate can match, which
makes the order the two kinds of candidate are consulted in immaterial.

See gh-51653

Signed-off-by: Junggi Kim <kimjg2477@gmail.com>

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-10 16:23:11 +02:00
Andy Wilkinson 59379ae449 Merge branch '4.1.x'
Closes gh-51652
2026-09-09 15:32:53 +01:00
Andy Wilkinson 5b3631bfe9 Merge branch '4.0.x' into 4.1.x
Closes gh-51651
2026-09-09 15:31:57 +01:00
Andy Wilkinson 69ad59c413 Merge pull request #51551 from COBI-98
Closes gh-51551

* gh-51551:
  Polish "Add SBOM manifest attributes to repackaged Maven wars"
  Add SBOM manifest attributes to repackaged Maven wars
2026-09-09 15:31:48 +01:00
Andy Wilkinson 007ca201e1 Polish "Add SBOM manifest attributes to repackaged Maven wars"
See gh-51551

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-09-09 14:44:51 +01:00
COBI-98 bfd05e38b5 Add SBOM manifest attributes to repackaged Maven wars
Packager#isCycloneDxBom only recognized CycloneDX SBOMs beneath
META-INF/sbom/. In a war, the CycloneDX Maven plugin's output is
packaged beneath WEB-INF/classes/META-INF/sbom/, so repackaging did
not add the SBOM manifest attributes.

Also check beneath Layout#getClassesLocation(), which findMainMethod
already uses to locate application classes. Continue to support the
root location used by jars.

Signed-off-by: COBI-98 <tkdgus968@naver.com>

See gh-51551
2026-09-09 14:44:33 +01:00
Andy Wilkinson 95994a5386 Merge pull request #50256 from htjworld
Closes gh-50256

* gh-50256:
  Include security error body in WebFlux Cloud Foundry endpoint responses
2026-09-09 13:52:50 +01:00
htjworld 0959b436de Include security error body in WebFlux Cloud Foundry endpoint responses
See gh-50256

Signed-off-by: htjworld <itjhan01@gmail.com>
2026-09-09 13:52:28 +01:00
Andy Wilkinson 4307353d6a Merge branch '4.1.x'
Closes gh-51648
2026-09-09 11:00:51 +01:00
Andy Wilkinson 6c0d47e3da Merge branch '4.0.x' into 4.1.x
Closes gh-51647
2026-09-09 11:00:01 +01:00