Commit Graph

25145 Commits

Author SHA1 Message Date
Andy Wilkinson
02e39a0dec Start building against Micrometer Tracing 1.3.0 snapshots
See gh-40667
2024-05-09 14:28:45 +01:00
Andy Wilkinson
39752c5365 Start building against Micrometer 1.13.0 snapshots
See gh-40666
2024-05-09 14:28:40 +01:00
Andy Wilkinson
207ea098e9 Start building against Spring WS 4.0.11 snapshots
See gh-40664
2024-05-09 12:19:30 +01:00
Andy Wilkinson
d0550d8441 Start building against Spring Session 3.2.3 snapshots
See gh-40663
2024-05-09 12:19:29 +01:00
Andy Wilkinson
da1226822c Start building against Spring Pulsar 1.0.6 snapshots
See gh-40662
2024-05-09 12:19:29 +01:00
Andy Wilkinson
ef503323d8 Start building against Spring Kafka 3.1.5 snapshots
See gh-40661
2024-05-09 12:19:28 +01:00
Andy Wilkinson
30ef19c422 Start building against Spring Integration 6.2.5 snapshots
See gh-40660
2024-05-09 12:19:28 +01:00
Andy Wilkinson
0a212dac4c Upgrade to Neo4j Java Driver 5.20.0
Closes gh-40665
2024-05-09 12:19:27 +01:00
Andy Wilkinson
5f6fb96931 Start building against Spring Data Bom 2023.1.6 snapshots
See gh-40658
2024-05-09 12:16:07 +01:00
Andy Wilkinson
b6135c564c Start building against Spring Batch 5.1.2 snapshots
See gh-40657
2024-05-09 12:16:03 +01:00
Andy Wilkinson
077e29eb8c Start building against Reactor Bom 2023.0.6 snapshots
See gh-40656
2024-05-09 12:15:58 +01:00
Andy Wilkinson
36bf25da9c Start building against Micrometer 1.12.6 snapshots
See gh-40655
2024-05-09 12:15:52 +01:00
Andy Wilkinson
dcae376a3b Start building against Spring WS 4.0.11 snapshots
See gh-40653
2024-05-09 11:25:49 +01:00
Andy Wilkinson
b4dedd73c9 Start building against Spring Session 3.1.6 snapshots
See gh-40652
2024-05-09 11:25:49 +01:00
Andy Wilkinson
a9df5b3d05 Start building against Spring Kafka 3.0.17 snapshots
See gh-40651
2024-05-09 11:25:48 +01:00
Andy Wilkinson
23f136d606 Upgrade to Neo4j Java Driver 5.20.0
Closes gh-40654
2024-05-09 11:25:47 +01:00
Andy Wilkinson
d3116124b9 Start building against Spring Data Bom 2023.0.12 snapshots
See gh-40649
2024-05-09 11:21:44 +01:00
Andy Wilkinson
02e390f05d Start building against Spring Batch 5.0.6 snapshots
See gh-40648
2024-05-09 11:21:39 +01:00
Andy Wilkinson
a7ac7bda4b Start building against Reactor Bom 2022.0.19 snapshots
See gh-40647
2024-05-09 11:21:35 +01:00
Andy Wilkinson
7a6a58174e Start building against Micrometer 1.11.12 snapshots
See gh-40646
2024-05-09 11:21:30 +01:00
Phillip Webb
22386f4ddd Fix error in antora.yml 2024-05-08 19:03:44 -07:00
Phillip Webb
348ed47e67 Merge branch '3.2.x' 2024-05-08 18:28:24 -07:00
Phillip Webb
24bfe5087f Fix checkstyle violation
See gh-40549
2024-05-08 18:28:09 -07:00
Phillip Webb
5e4796f0fb Merge branch '3.2.x' 2024-05-08 18:05:31 -07:00
Phillip Webb
8457fc333f Adapt Windows path handling fix to deal with Jetty
Update `NestedLocation` to deal with the fact that Jetty attempts
to fix URLs.

See gh-40549
2024-05-08 18:04:17 -07:00
Phillip Webb
9852a66a37 Polish Antora 2024-05-08 15:58:17 -07:00
Phillip Webb
ac9d2e7c11 Merge branch '3.2.x'
Closes gh-40643
2024-05-08 15:44:35 -07:00
Phillip Webb
7708ec7592 Fix Windows path handling for nested jars
Update `Path` creation for nested locations to allow both UNC and classic
file references to be used. This commit attempts to align our URL
handling with that of standard file URLs. The `NestedLocation` class
no longer attempts to remove leading all `\` characters and instead
only removes the first `\` when the second char is `:`. This duplicates
the logic found in Java's own internal `WindowsUriSupport` class which
is used when calling `Path.of(url)` with a `file:` URL.

Fixes gh-40549
2024-05-08 15:44:03 -07:00
Moritz Halbritter
fb64e95271 Merge branch '3.2.x'
Closes gh-40638
2024-05-08 14:06:43 +02:00
Moritz Halbritter
92f7414fad Favor Duration accepting timeout method over int method
Closes gh-40635
2024-05-08 14:01:09 +02:00
Piyal Ahmed
44804ae5aa Fix typo "Tutoral" in features doc
See gh-40631
2024-05-07 12:36:17 +02:00
Moritz Halbritter
f27aadbbd1 Polish "Fix code inclusion in Jersey documentation"
See gh-40629
2024-05-07 10:00:42 +02:00
Piyal Ahmed
3ce1bf6c8f Fix code inclusion in Jersey documentation
See gh-40629
2024-05-07 09:55:20 +02:00
Phillip Webb
e954afdc2e Tweak documentation redirect 2024-05-06 13:14:48 -07:00
Moritz Halbritter
9bb981be11 Merge branch '3.2.x'
Closes gh-40625
2024-05-06 10:25:08 +02:00
Moritz Halbritter
c47cdda824 Merge branch '3.1.x' into 3.2.x
Closes gh-40624
2024-05-06 09:51:39 +02:00
Moritz Halbritter
d18fb9ce65 Upgrade to bcprov-jdk18on 1.78.1
Closes gh-40621
2024-05-06 09:49:32 +02:00
Phillip Webb
3b66eb7bb7 Merge branch '3.2.x'
See gh-40616
2024-05-03 12:31:33 -07:00
Phillip Webb
8a72e55106 Fix UriPathEncoder bug to improve performance
Fix `isAllowed` check and write test to ensure that additional object
instances are not created unnecessarily.

See gh-40615
2024-05-03 12:29:41 -07:00
Scott Frederick
259d7fdd2f Merge pull request #40617 from snicoll
* pr/40617:
  Polish "Add How-To documentation for ManagedClassNameFilter"
  Add How-To documentation for ManagedClassNameFilter

Closes gh-40617
2024-05-03 11:07:06 -05:00
Scott Frederick
289f3f9e51 Polish "Add How-To documentation for ManagedClassNameFilter"
See gh-40617
2024-05-03 10:46:38 -05:00
Stéphane Nicoll
d945443f1f Add How-To documentation for ManagedClassNameFilter
This commit documents the support of ManagedClassNameFilter that was
added in gh-39813.

See gh-40617
2024-05-03 10:44:26 -05:00
Brian Clozel
5ac1801726 Upgrade to GraphQL Java 22.0
Closes gh-40618
2024-05-03 15:03:59 +02:00
Phillip Webb
208efae975 Merge branch '3.2.x'
Closes gh-40616
2024-05-02 15:53:38 -07:00
Phillip Webb
d0ce4daec1 Use URI encoded values when creating NestedPath URIs
Update `NestedPath.toUri()` so that the URI is constructed using encoded
strings.

Fixes gh-40615
2024-05-02 15:53:01 -07:00
Moritz Halbritter
d3e49747b0 Merge branch '3.2.x' 2024-05-02 14:48:37 +02:00
Moritz Halbritter
75dac1435f Merge branch '3.1.x' into 3.2.x 2024-05-02 14:48:04 +02:00
Moritz Halbritter
68a63a7797 Polish 2024-05-02 14:47:53 +02:00
Moritz Halbritter
f6b431eb4f Merge branch '3.2.x' 2024-05-02 14:07:55 +02:00
Moritz Halbritter
516d3b1294 Test ANSI disabled in logging tests instead of integration tests
See gh-40172
2024-05-02 13:59:48 +02:00
Moritz Halbritter
6697db257c Merge branch '3.2.x'
Closes gh-40614
2024-05-02 11:56:21 +02:00
Moritz Halbritter
2183b47e62 Merge branch '3.1.x' into 3.2.x
Closes gh-40612
2024-05-02 11:53:21 +02:00
Andy Wilkinson
c44e477a77 Merge branch '3.2.x'
Closes gh-40613
2024-05-02 10:49:55 +01:00
Andy Wilkinson
94c9a5c686 Polish 2024-05-02 10:49:31 +01:00
Moritz Halbritter
1534bc8ad2 Polish "Avoid using OkHttp3ClientHttpRequestFactory in test"
See gh-40611
2024-05-02 11:45:23 +02:00
Stéphane Nicoll
20042576e9 Avoid using OkHttp3ClientHttpRequestFactory in test
See gh-40611
2024-05-02 11:45:20 +02:00
Andy Wilkinson
c7ec6080ce Publish a runtime variant that supports Java 22
In order to support Java 22, we must use spring-core 6.1.x.
spring-core 6.1.x is a multi-release jar so, in order to support Java
22, a version of Gradle that supports multi-release jars must be
used.

This commit adds a new variant to spring-boot-gradle-plugin for
modern versions of Gradle. When Gradle's plugin API version is 8.7 or
later, we use spring-core 6.1.x. spring-core 6.0.x is used at all
other times.

Closes gh-40074
2024-05-02 10:45:18 +01:00
Moritz Halbritter
16291b0fcf Merge branch '3.2.x'
Closes gh-40609
2024-05-02 11:30:09 +02:00
Moritz Halbritter
713f4f2292 Polish "Fix broken AnsiOutput.detectIfAnsiCapable on JDK22"
See gh-40172
2024-05-02 11:27:55 +02:00
facewise
1f9b62b122 Fix broken AnsiOutput.detectIfAnsiCapable on JDK22
See gh-40172
2024-05-02 11:03:06 +02:00
Moritz Halbritter
59dd34f7fc Merge branch '3.2.x'
Closes gh-40608
2024-05-02 11:01:11 +02:00
Moritz Halbritter
46ab60cc43 Merge branch '3.1.x' into 3.2.x
Closes gh-40607
2024-05-02 10:59:43 +02:00
Dave Syer
421b8e23c4 Clarify devtools restart class loader documentation
See gh-40604
2024-05-02 10:58:30 +02:00
Moritz Halbritter
51b8b992aa Merge branch '3.2.x'
Closes gh-40606
2024-05-02 10:51:24 +02:00
Moritz Halbritter
888ae040e4 Merge branch '3.1.x' into 3.2.x
Closes gh-40605
2024-05-02 10:51:10 +02:00
Moritz Halbritter
64b302032c Polish "Change Spring Boot CLI init command docs default build system to gradle"
See gh-40603
2024-05-02 10:49:51 +02:00
coursar
1a786fc788 Change Spring Boot CLI init command docs default build system to gradle
See gh-40603
2024-05-02 10:44:33 +02:00
Johnny Lim
9eeddbe89e Add metadata for default value of management.zipkin.tracing.encoding
See gh-40588
2024-05-02 09:46:53 +02:00
Phillip Webb
ad7ab41742 Merge branch '3.2.x'
Closes gh-40601
2024-05-01 22:57:08 -07:00
Phillip Webb
93728cdfb1 Merge branch '3.1.x' into 3.2.x
Closes gh-40600
2024-05-01 22:55:30 -07:00
Johnny Lim
f0fcc92b49 Remove reassignments for builders in GraphQL auto-configurations
See gh-40590
2024-05-01 22:51:19 -07:00
Phillip Webb
63dedaafe0 Merge branch '3.2.x'
Closes gh-40599
2024-05-01 22:46:53 -07:00
yokotaso
5b4bd61720 Fix possible NullPointerException from getPermission()
Fix regression in `JarUrlConnection` where a NullPointerException could
be thrown internally causing performance issues.

When the SecurityManager is present, the following stack trace is
thrown:

java.lang.NullPointerException: Cannot invoke "java.net.URLConnection.getPermission()" because "this.jarFileConnection" is null
        at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.getPermission(JarUrlConnection.java:175)
        at java.base/jdk.internal.loader.URLClassPath.check(URLClassPath.java:553)
        at java.base/jdk.internal.loader.URLClassPath$Loader.findResource(URLClassPath.java:612)
        at java.base/jdk.internal.loader.URLClassPath.findResource(URLClassPath.java:296)
        at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:629)
        at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:627)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at java.base/java.net.URLClassLoader.findResource(URLClassLoader.java:626)
        at org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.findResource(JarUrlClassLoader.java:70)
        at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1403)
        at java.base/java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:290)
        at java.base/java.lang.Class.getResourceAsStream(Class.java:2850)

See gh-39856
2024-05-01 22:42:52 -07:00
Phillip Webb
ff5c2a2351 Improve javadoc cleanup to remove duplicate spaces
Improve `TypeUtils` so that repeated space chars are removed.

Fixes gh-40593
2024-05-01 22:37:10 -07:00
Moritz Halbritter
d0421fa2d6 Merge branch '3.2.x'
Closes gh-40584
2024-04-30 15:11:48 +02:00
Moritz Halbritter
a6dd8b71bd Add exception and failure analyzer for missing AOT initializer
The diagnostics text include the name of the AOT initializer class and
the main class name. It also tells the user how to switch of the AOT
mode.

Closes gh-38645
2024-04-30 15:11:32 +02:00
Scott Frederick
c6c02906ef Merge branch '3.2.x'
Closes gh-40577
2024-04-29 16:43:20 -05:00
Scott Frederick
21a0bc7fee Merge branch '3.1.x' into 3.2.x
Closes gh-40576
2024-04-29 16:42:53 -05:00
Johnny Lim
e2973a90a8 Use ConcurrentHashMap.newKeySet where feasible
See gh-40567
2024-04-29 15:41:37 -05:00
Moritz Halbritter
6c154789f5 Merge branch '3.2.x'
Closes gh-40565
2024-04-29 12:00:42 +02:00
Moritz Halbritter
7ac0d0cde6 Merge branch '3.1.x' into 3.2.x
Closes gh-40564
2024-04-29 11:56:32 +02:00
Moritz Halbritter
d716d99d1b Note that Docker Compose is excluded by default from packaged jars
Closes gh-40556
2024-04-29 11:54:17 +02:00
Moritz Halbritter
1f80f72a73 Merge branch '3.2.x'
Closes gh-40561
2024-04-29 10:14:17 +02:00
Moritz Halbritter
be5039041c Defer creation of maps in MapBinder
Closes gh-39375
2024-04-29 10:07:40 +02:00
Moritz Halbritter
12cfb1fd2f Merge branch '3.2.x'
Closes gh-40560
2024-04-29 10:04:32 +02:00
Moritz Halbritter
8a3b0cd221 Throw dedicated exception if bundle content is not watchable
This also adds a FailureAnalyzer which prints a helpful message how to
fix that problem.

Closes gh-38903
2024-04-29 09:46:19 +02:00
Scott Frederick
3c00bf367d Adapt to changes in Logback include processing
Fixes gh-40491
2024-04-26 13:33:51 -05:00
Andy Wilkinson
76380ddbeb Merge branch '3.2.x'
Closes gh-40535
2024-04-26 14:04:26 +01:00
Andy Wilkinson
960f020a18 Merge branch '3.1.x' into 3.2.x
Closes gh-40534
2024-04-26 14:02:52 +01:00
Andy Wilkinson
95eb9bd7dc Allow s-b-dependencies to be used when ojdbc-bom is banned
Closes gh-39945
2024-04-26 14:02:00 +01:00
Andy Wilkinson
8221de2b1e Merge branch '3.2.x'
Closes gh-40533
2024-04-26 14:00:52 +01:00
Andy Wilkinson
eb7e7b6425 Merge branch '3.1.x' into 3.2.x
Closes gh-40532
2024-04-26 13:51:33 +01:00
Andy Wilkinson
d2a5bb3b26 Add dependency management alignment infrastructure
Closes gh-40531
2024-04-26 13:51:16 +01:00
Moritz Halbritter
a12e3d4594 Merge branch '3.2.x'
Closes gh-40530
2024-04-26 11:13:03 +02:00
Moritz Halbritter
5707ca83e9 Merge branch '3.1.x' into 3.2.x
Closes gh-40529
2024-04-26 11:12:46 +02:00
chaewss
d51282aff5 Remove unnecessary null check for expectedDeprecationMessages
See gh-40524
2024-04-26 11:12:20 +02:00
Andy Wilkinson
592571c16e Merge branch '3.2.x'
Closes gh-40528
2024-04-26 09:34:00 +01:00
Andy Wilkinson
087e467387 Merge branch '3.1.x' into 3.2.x
Closes gh-40527
2024-04-26 09:33:12 +01:00
Andy Wilkinson
83f692237d Migrate to com.gradle.develocity plugin
Closes gh-40153
2024-04-26 09:30:48 +01:00
Moritz Halbritter
760bc9237d Merge branch '3.2.x' 2024-04-26 09:20:47 +02:00
Moritz Halbritter
f13e487724 Close streams in test before deleting file 2024-04-26 09:20:36 +02:00
Phillip Webb
abdff95ad0 Merge branch '3.2.x'
Closes gh-40526
2024-04-25 12:54:13 -07:00
Phillip Webb
9e40970280 Support gzip compressed image layers
Update buildpack support to allow gzip compressed image layers to be
used when returned by the Docker engine. This update is restores
buildpack support when using Docker Desktop with the "Use containerd
for pulling and storing images" option enabled.

This commit introduces a new `ExportedImageTar` class to deal with the
intricacies of determining the mimetype of a layer. The class deals with
the parsing of `index.json' and related manifest blobs in order to
obtain layer information. The legacy `manifest.json` format is also
supported should `index.json` be missing.

Tests have been added to ensure that export archives from Docker Engine,
Docker Desktop (with and without containerd), and Podman can be used.

Fixes gh-40100

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
Co-authored-by: Scott Frederick <scott.frederick@broadcom.com>
2024-04-25 11:51:59 -07:00
Andy Wilkinson
515bccac6b Polish 2024-04-25 14:10:02 +01:00
Andy Wilkinson
aeb5b1ffe3 Merge branch '3.2.x'
Closes gh-40523
2024-04-25 13:45:12 +01:00
Andy Wilkinson
79c3f0335b Merge branch '3.1.x' into 3.2.x
Closes gh-40522
2024-04-25 13:43:03 +01:00
Andy Wilkinson
27418edeb0 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto
Closes gh-40503
2024-04-25 13:39:28 +01:00
Andy Wilkinson
f1d0bcda2f Revert "Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto"
This reverts commit 273f8e20c2.
2024-04-25 12:44:51 +01:00
Andy Wilkinson
273f8e20c2 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto 2024-04-25 12:24:47 +01:00
Moritz Halbritter
6bb8a11295 Merge branch '3.2.x'
Closes gh-40517
2024-04-25 11:07:36 +02:00
Moritz Halbritter
26f1bbb634 Merge branch '3.1.x' into 3.2.x
Closes gh-40516
2024-04-25 11:07:25 +02:00
Moritz Halbritter
2e906c4720 Catch exceptions thrown during String format when collecting diagnostics
Registers the LoggingLinesWriter only if debug logging is actually
enabled.

Closes gh-40500
2024-04-25 11:06:31 +02:00
Moritz Halbritter
744bea5587 Merge branch '3.2.x'
Closes gh-40515
2024-04-25 09:45:37 +02:00
Moritz Halbritter
503d8c1273 Merge branch '3.1.x' into 3.2.x
Closes gh-40514
2024-04-25 09:44:51 +02:00
Moritz Halbritter
8be85611e0 Clarify the directory that's used by default to find Docker Compose file
Closes gh-40512
2024-04-25 09:44:35 +02:00
Scott Frederick
add22c399a Merge branch '3.2.x'
Closes gh-40509
2024-04-24 15:10:08 -05:00
Scott Frederick
3e2d151c0e Merge branch '3.1.x' into 3.2.x
Closes gh-40508
2024-04-24 15:08:50 -05:00
Scott Frederick
f210d83062 Don't reuse Testcontainers containers if reuse is globally disabled
Fixes gh-39609
2024-04-24 14:37:59 -05:00
Moritz Halbritter
2c346bcdcb Merge branch '3.2.x'
Closes gh-40501
2024-04-24 16:06:07 +02:00
Moritz Halbritter
00a25f5d89 Don't apply CookieSameSiteSupplier to session cookies when using Jetty
Closes gh-39766
2024-04-24 15:59:10 +02:00
Moritz Halbritter
126927f462 Merge branch '3.2.x'
Closes gh-40499
2024-04-24 14:04:17 +02:00
Moritz Halbritter
b416db4dee Merge branch '3.1.x' into 3.2.x
Closes gh-40498
2024-04-24 14:04:08 +02:00
Moritz Halbritter
2cb19f368e Polish "Remove unnecessary nesting of calls to String.format"
See gh-40494
2024-04-24 13:57:07 +02:00
Hyeon Sung
0cf15fcad0 Remove unnecessary nesting of calls to String.format
See gh-40494
2024-04-24 13:55:04 +02:00
Freeman Liu
6aefe505e5 Add grpc starter and httpexchange starter to community starters
See gh-39437
2024-04-23 09:10:57 +01:00
Moritz Halbritter
e496a6f6ad Merge branch '3.2.x'
Closes gh-40486
2024-04-23 09:35:26 +02:00
Moritz Halbritter
35c9233007 Merge branch '3.1.x' into 3.2.x
Closes gh-40485
2024-04-23 09:24:32 +02:00
Moritz Halbritter
b50b0e89c9 Remove detection of missing parameter information
There are some cases where false positives of the detection prevent
compiling an application to native which otherwise would run perfectly
fine in a native image.

Closes gh-40051
2024-04-23 09:10:46 +02:00
Phillip Webb
ec10673b48 Merge branch '3.2.x'
Closes gh-40483
2024-04-22 17:57:05 -07:00
Phillip Webb
5c9d5e262f Merge branch '3.1.x' into 3.2.x
Closes gh-40482
2024-04-22 17:56:52 -07:00
Phillip Webb
3e5d6c9cce Register ServiceLevelObjectiveBoundary reflection hinds
Register hints for `ServiceLevelObjectiveBoundary` so that the `valueOf`
method can be used when binding in a native image.

Fixes gh-40480
2024-04-22 17:56:11 -07:00
Scott Frederick
44941fea48 Merge branch '3.2.x'
Closes gh-40481
2024-04-22 16:55:57 -05:00
Scott Frederick
08bc0460ed Document usage of Docker Compose support in tests
Closes gh-40171
2024-04-22 16:47:29 -05:00
Scott Frederick
fd010988ef Merge branch '3.2.x'
Closes gh-40479
2024-04-22 14:38:37 -05:00
Scott Frederick
3a9ee9f1a7 Merge branch '3.1.x' into 3.2.x
Closes gh-40478
2024-04-22 14:38:28 -05:00
Scott Frederick
362c0c1b4e Verify alignment of MongoDB UUID representation defaults
Closes gh-33532
2024-04-22 14:38:18 -05:00
Scott Frederick
2019533b65 Merge branch '3.2.x'
Closes gh-40476
2024-04-22 13:28:09 -05:00
Scott Frederick
fc03fded39 Merge branch '3.1.x' into 3.2.x
Closes gh-40475
2024-04-22 13:27:57 -05:00
Scott Frederick
cdf207cf74 Stop expecting deprecations in NativeImagePluginActionIntegrationTests
Closes gh-35709
2024-04-22 13:14:37 -05:00
Phillip Webb
bce468fb19 Polish 'Generate configuration metadata for records'
Restructure `PropertyDescriptor` type hierarchy and polish code.

See gh-29403
2024-04-22 10:28:00 -07:00
Pavel Anisimov
af976caec9 Generate configuration metadata for records
Update `spring-boot-configuration-processor` to support generating
configuration metadata from record parameter javadoc.

See gh-29403
2024-04-22 10:27:47 -07:00
Andy Wilkinson
cde9166d50 Merge branch '3.2.x'
Closes gh-40474
2024-04-22 17:50:24 +01:00
Andy Wilkinson
82b218937c Polish "Consider HandlerMethodValidationException in DefaultErrorAttributes"
See gh-39865
2024-04-22 16:17:08 +01:00
Yanming Zhou
20e9ff9f3d Consider HandlerMethodValidationException in DefaultErrorAttributes
See gh-39865
2024-04-22 15:38:47 +01:00
Moritz Halbritter
9184448054 Merge branch '3.2.x'
Closes gh-40471
2024-04-22 14:34:48 +02:00
Moritz Halbritter
4b61ae415b Merge branch '3.1.x' into 3.2.x
Closes gh-40470
2024-04-22 14:34:36 +02:00
Moritz Halbritter
5510c6f61b Clarify that all named properties must match for @ConditionalOnProperty to match
Closes gh-40110
2024-04-22 14:27:54 +02:00
nahid.mahbub
ac0d17671a Fix links to Batch's javadoc
See gh-40141
2024-04-22 12:48:04 +01:00
Andy Wilkinson
3a6f83e2d6 Fix links to Batch's javadoc
Closes gh-40468
2024-04-22 12:39:56 +01:00
Johnny Lim
3c76f81fe3 Polish
See gh-40449
2024-04-22 12:27:49 +01:00
Moritz Halbritter
de560a933c Extract all files under META-INF
Closes gh-40456
2024-04-22 13:20:57 +02:00
Andy Wilkinson
4118de7f59 Merge branch '3.2.x'
Closes gh-40467
2024-04-22 12:11:04 +01:00
Andy Wilkinson
07bb1878cf Merge branch '3.1.x' into 3.2.x
Closes gh-40466
2024-04-22 12:10:52 +01:00
Andy Wilkinson
34f53d48b9 Polish "Fix handling of Redis nodes with IPv6 addresses"
See gh-39819
2024-04-22 11:51:31 +01:00
Tobias Laatsch
9b326d59fe Fix handling of Redis nodes with IPv6 addresses
See gh-39819
2024-04-22 11:33:09 +01:00
Andy Wilkinson
eb23d3cf59 Merge branch '3.2.x'
Closes gh-40465
2024-04-22 11:18:35 +01:00
Andy Wilkinson
deffda47f6 Merge branch '3.1.x' into 3.2.x
Closes gh-40464
2024-04-22 11:18:22 +01:00
Andy Wilkinson
ca4d64ed16 Use absolute path when showing classpath where main class was not found
Closes gh-40463
2024-04-22 11:16:37 +01:00
Andy Wilkinson
3725d70b1d Merge branch '3.2.x'
Closes gh-40451
2024-04-19 17:31:09 +01:00
Andy Wilkinson
2e114b6971 Merge branch '3.1.x' into 3.2.x
Closes gh-40450
2024-04-19 17:31:00 +01:00
Andy Wilkinson
172b3d5336 Improve diagnostics when native image fails before logging is set up
Closes gh-40429
2024-04-19 17:30:22 +01:00
Andy Wilkinson
f25dc86a3a Merge branch '3.2.x'
Closes gh-40441
2024-04-19 10:58:06 +01:00
Andy Wilkinson
c55f136c2a Merge branch '3.1.x' into 3.2.x
Closes gh-40440
2024-04-19 10:57:47 +01:00
Andy Wilkinson
5e9161f785 Make DevToolsDataSourceAutoConfiguration back off without DataSource class
Manually tested as an automated test is prohibitively difficult as it
requires hiding one of the JDK's own classes.

Closes gh-40434
2024-04-19 10:54:23 +01:00
Phillip Webb
6963bd884b Merge branch '3.2.x' 2024-04-18 12:53:26 -07:00
Phillip Webb
38af8cd362 Merge branch '3.1.x' into 3.2.x 2024-04-18 12:52:54 -07:00
Phillip Webb
20db2b54c7 Update copyright year of changed files 2024-04-18 12:52:29 -07:00
Yanming Zhou
6226faa9cd Polishing RabbitAutoConfigurationTests to use kebab-case keys
See gh-40422
2024-04-18 12:51:35 -07:00
Phillip Webb
dc76240612 Polish 2024-04-18 12:50:50 -07:00
Phillip Webb
d243d7eb50 Polish 'Add spring.rabbitmq.template.allowed-list-patterns property'
See gh-40421
2024-04-18 12:48:39 -07:00
Yanming Zhou
c329c5fe5b Add spring.rabbitmq.template.allowed-list-patterns property
Update `RabbitProperties` and `RabbitTemplateConfigurer` to support a
`spring.rabbitmq.template.allowed-list-patterns` property.

The can be used to prevent errors of the form:

	java.lang.SecurityException: Attempt to deserialize unauthorized
	class com.example.domain.Message; add allowed class name patterns
	to the message converter or, if you trust the message orginiator,
	set environment variable 'SPRING_AMQP_DESERIALIZATION_TRUST_ALL'
	or system property 'spring.amqp.deserialization.trust.all' to true

See gh-40421
2024-04-18 12:46:38 -07:00
Vedran Pavic
db1ace2765 Add reference to OpenTelemetry Spring Boot starter
See gh-40339
2024-04-18 12:19:51 -07:00
Thebora Kompanioni
75343a85bf Add reference to Nostr Spring Boot Starter
See gh-40080
2024-04-18 12:19:18 -07:00
Phillip Webb
73b1836a00 Polish 'Fix forward-headers-strategy documentation regarding cloud defaults'
See gh-40054
2024-04-18 12:17:29 -07:00
Vilius Šumskas
a832e4bb38 Fix forward-headers-strategy documentation regarding cloud defaults
Update the reference documentation since all cloud platform use
forward-headers-strategy=NATIVE.

See gh-40054
2024-04-18 12:16:12 -07:00
Yanming Zhou
a52ab774de Configure JpaBaseConfiguration with custom ManagedClassNameFilter
Update `JpaBaseConfiguration` to configure a `ManagedClassNameFilter`
if one is available.

See gh-39813
2024-04-18 12:08:06 -07:00
Andy Wilkinson
8c2b988010 Switch to same-minor-version upgrade policy
Closes gh-40432
2024-04-18 20:04:55 +01:00
Moritz Halbritter
8df899b510 Merge branch '3.1.x' into 3.2.x
Closes gh-40427
2024-04-18 11:59:50 +02:00
Moritz Halbritter
3479304e13 Disable creation time verification on Linux
Closes gh-40423
2024-04-18 11:58:46 +02:00
Chris Bono
08ad7aa444 Add Spring Pulsar transaction support
Adds auto-config for Spring for Apache Pulsar transactions.

Introduces a new `spring.pulsar.transaction.enabled` property
which can be used to enable transactions. This feature is
opt-in and remains disabled by default.

See gh-40189

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-04-17 19:30:58 -07:00
Andy Wilkinson
997f2bbbf3 Upgrade to SQLite JDBC 3.45.3.0
Closes gh-40406
2024-04-17 19:21:53 +01:00
Andy Wilkinson
57ee867945 Upgrade to Spring Integration 6.3.0-RC1
Closes gh-40226
2024-04-17 19:21:48 +01:00
Andy Wilkinson
defb3a1abd Upgrade to SLF4J 2.0.13
Closes gh-40405
2024-04-17 19:21:47 +01:00
Andy Wilkinson
c8f816c577 Upgrade to Pulsar Reactive 0.5.4
Closes gh-40404
2024-04-17 19:21:42 +01:00
Andy Wilkinson
8ab0375bdd Upgrade to Netty 4.1.109.Final
Closes gh-40403
2024-04-17 19:21:38 +01:00
Andy Wilkinson
ecb4903f58 Upgrade to Maven Jar Plugin 3.4.0
Closes gh-40402
2024-04-17 19:21:32 +01:00
Andy Wilkinson
80afc56123 Upgrade to Logback 1.5.6
Closes gh-40401
2024-04-17 19:21:27 +01:00
Andy Wilkinson
2061d885bb Upgrade to Hazelcast 5.4.0
Closes gh-40400
2024-04-17 19:21:21 +01:00
Andy Wilkinson
b3205bda56 Upgrade to ActiveMQ 6.1.2
Closes gh-40399
2024-04-17 19:21:15 +01:00
Andy Wilkinson
4bf8020292 Upgrade to Spring Integration 6.2.4
Closes gh-40214
2024-04-17 18:24:00 +01:00
Andy Wilkinson
f70cfb0b03 Upgrade to SLF4J 2.0.13
Closes gh-40397
2024-04-17 18:23:59 +01:00
Andy Wilkinson
49f7f79424 Upgrade to Pulsar Reactive 0.5.4
Closes gh-40396
2024-04-17 18:23:55 +01:00
Andy Wilkinson
369cadd70d Upgrade to Netty 4.1.109.Final
Closes gh-40395
2024-04-17 18:23:50 +01:00
Andy Wilkinson
22ee684473 Upgrade to ActiveMQ 5.18.4
Closes gh-40394
2024-04-17 18:23:45 +01:00
Andy Wilkinson
e03d691db1 Upgrade to SLF4J 2.0.13
Closes gh-40391
2024-04-17 15:50:05 +01:00
Andy Wilkinson
c969cbbdba Upgrade to R2DBC Postgresql 1.0.5.RELEASE
Closes gh-40390
2024-04-17 15:50:01 +01:00
Andy Wilkinson
031bebb144 Upgrade to Netty 4.1.109.Final
Closes gh-40389
2024-04-17 15:49:56 +01:00
Andy Wilkinson
eb0506eaed Upgrade to ActiveMQ 5.18.4
Closes gh-40388
2024-04-17 15:49:50 +01:00
Moritz Halbritter
f896ce711f Merge branch '3.2.x'
Closes gh-40387
2024-04-17 16:41:50 +02:00
Moritz Halbritter
3db23624e0 Merge branch '3.1.x' into 3.2.x
Closes gh-40386
2024-04-17 16:40:50 +02:00
Spencer Gibb
6f3c30bf74 Fix javadoc for correct operation annotation
ReadOperation was the text for WriteOperation and DeleteOperation.

See gh-40385
2024-04-17 16:39:30 +02:00
Moritz Halbritter
ca6a321b87 Pull the whole "Testing" documentation section up to the top level
Closes gh-38361
2024-04-17 14:37:18 +02:00
Moritz Halbritter
00a10fdc52 Move Docker Compose and Testcontainers to separate section
See gh-38361
2024-04-17 14:05:52 +02:00
Phillip Webb
dfee56ad9d Merge branch '3.2.x'
Closes gh-40381
2024-04-16 22:17:28 -07:00
Phillip Webb
78e12251e9 Optimize VirtualZipDataBlock
Add some optimizations to `VirtualZipDataBlock` that help when
sequentially reading the block from a JarInputStream.

Closes gh-40125
2024-04-16 22:16:00 -07:00
Phillip Webb
13f41da54f Merge branch '3.2.x'
Closes gh-40379
2024-04-16 15:32:03 -07:00
Phillip Webb
9b0593efe3 Fallback to RandomAccessFile on ClosedByInterruptException
Refine the fix for gh-38611 so that `ClosedByInterruptException` no
longer retries in a loop.

Our previous fix was flawed due to the fact that another interrupt
could occur after we clear the first and whilst we are reading data.
If this happens 10 times in a row, we raise an exception and end up
causing NoClassDefFoundError errors.

Our new approach retains the use of `FileChannel` and a direct buffer
up to the point that a `ClosedByInterruptException` is raised or the
thread is detected as interrupted.  At that point, we temporarily
switch to using a `RandomAccessFile` to access the data. This will
block the thread until the data has been read.

Fixes gh-40096
2024-04-16 14:47:07 -07:00
Phillip Webb
4203e1f2fa Rename FileChannelDataBlock to FileDataBlock
Rename the internal `FileChannelDataBlock` to `FileDataBlock` since we
want to fallback to a `RandomAccessFile` when a thread is interrupted.

See gh-40096
2024-04-16 14:46:56 -07:00
Andy Wilkinson
bac736d9d8 Upgrade to Spring Session 3.3.0-RC1
Closes gh-40231
2024-04-16 19:51:11 +01:00
Andy Wilkinson
7030a24436 Upgrade to Spring Security 6.3.0-RC1
Closes gh-40230
2024-04-16 19:51:10 +01:00
Andy Wilkinson
268999474b Upgrade to Spring Pulsar 1.1.0-RC1
Closes gh-40229
2024-04-16 19:51:09 +01:00
Andy Wilkinson
0225f1f142 Upgrade to Spring Kafka 3.2.0-RC1
Closes gh-40227
2024-04-16 19:51:09 +01:00
Andy Wilkinson
9afb9e2f87 Upgrade to Spring GraphQL 1.3.0-RC1
Closes gh-39895
2024-04-16 19:51:08 +01:00
Andy Wilkinson
55772a7ec6 Upgrade to Spring Authorization Server 1.3.0-RC1
Closes gh-40223
2024-04-16 19:51:08 +01:00
Andy Wilkinson
56a09fb048 Upgrade to Spring AMQP 3.1.4
Closes gh-40222
2024-04-16 19:51:07 +01:00
Andy Wilkinson
7b2add0120 Upgrade to Hibernate 6.5.0.CR2
Closes gh-40378
2024-04-16 19:51:07 +01:00
Andy Wilkinson
778c528281 Upgrade to Spring Security 6.2.4
Closes gh-40217
2024-04-16 19:47:35 +01:00
Andy Wilkinson
bd825141b7 Upgrade to Spring Pulsar 1.0.5
Closes gh-40216
2024-04-16 19:47:34 +01:00
Andy Wilkinson
e731986d22 Upgrade to Spring LDAP 3.2.3
Closes gh-40215
2024-04-16 19:47:33 +01:00
Andy Wilkinson
2028d431cd Upgrade to Spring Kafka 3.1.4
Closes gh-40377
2024-04-16 19:47:32 +01:00
Andy Wilkinson
37e13bc7eb Upgrade to Spring HATEOAS 2.2.2
Closes gh-40376
2024-04-16 19:47:27 +01:00
Andy Wilkinson
00304fe5a7 Upgrade to Spring Data Bom 2023.1.5
Closes gh-40212
2024-04-16 19:47:21 +01:00
Andy Wilkinson
6dfcf44ffc Upgrade to Spring Authorization Server 1.2.4
Closes gh-40211
2024-04-16 19:47:20 +01:00
Andy Wilkinson
e91621cddf Upgrade to Spring AMQP 3.1.4
Closes gh-40210
2024-04-16 19:47:19 +01:00
Andy Wilkinson
594fa88ee0 Upgrade to Spring Security 6.1.9
Closes gh-40204
2024-04-16 19:44:42 +01:00
Andy Wilkinson
d5af9a41b9 Upgrade to Spring LDAP 3.1.5
Closes gh-40203
2024-04-16 19:44:42 +01:00
Andy Wilkinson
db7059c1f7 Upgrade to Spring Kafka 3.0.16
Closes gh-40375
2024-04-16 19:44:41 +01:00
Andy Wilkinson
bc79274f9e Upgrade to Spring Integration 6.1.8
Closes gh-40202
2024-04-16 19:44:36 +01:00
Andy Wilkinson
59325d1626 Upgrade to Spring HATEOAS 2.1.5
Closes gh-40374
2024-04-16 19:44:35 +01:00
Andy Wilkinson
5da05e2037 Upgrade to Spring Data Bom 2023.0.11
Closes gh-40200
2024-04-16 19:44:29 +01:00
Andy Wilkinson
2a1268c597 Upgrade to Spring Authorization Server 1.1.7
Closes gh-40199
2024-04-16 19:44:28 +01:00
Andy Wilkinson
acfc5fe830 Upgrade to Spring AMQP 3.0.13
Closes gh-40373
2024-04-16 19:44:27 +01:00
Moritz Halbritter
1cc453fd38 Merge branch '3.2.x'
Closes gh-40365
2024-04-16 13:40:11 +02:00
Moritz Halbritter
5058719242 Merge branch '3.1.x' into 3.2.x
Closes gh-40364
2024-04-16 13:40:03 +02:00
Johnny Lim
201885a242 Fix target in BindValidationFailureAnalyzer
See gh-40035
2024-04-16 11:55:09 +02:00
Adrian Cole
cac8b2352a Upgrade to Zipkin Reporter 3.4.0
Signed-off-by: Adrian Cole <adrian@tetrate.io>

See gh-40343
2024-04-16 09:25:17 +01:00
Brian Clozel
647a5ec6be Deprecate framework-specific @*Endpoint annotations
Prior to this commit, applications could declare Actuator Endpoints
using web framework-specific annotations, such as `@ServletEndpoint`,
@ControllerEndpoint and @RestControllerEndpoint.

Such annotations are closely tied to the programming model of specific
web technologies, such as Servlet or Spring MVC. Unlike other
`@Endpoint` support, they are not portable and will not work
transparently over blocking/reactive and transports.

Because of the strong adherence of this support with the underlying
infrastructure, it makes it impossible to evolve the implementation of
Actuator support without breaking this use case. The reference
documentation has been advocating for using `@Endpoint` and
`@*Operation` for custom endpoints for a long time now.

This commit deprecates this specific support in favor of the recommended
approach.

Closes gh-31768
2024-04-15 18:58:52 +02:00
Brian Clozel
24f80154d4 Do not overwrite attributes in ClientObservationConventionAdapter
Prior to this commit, the `ClientObservationConventionAdapter` would
overwrite a request builder attribute. This would happen when the
request is not fully built when the observation starts. At that point,
the tags are built for long task timers, but not for the actual metric.
This effectively overrides the correct value of the URI template in the
builder.

This commit removes this builder update which was invalid in the first
place.

Fixes gh-40330
2024-04-12 16:31:02 +02:00
Andy Wilkinson
578d9ec453 Upgrade to Spring LDAP 3.2.3
Closes gh-40228
2024-04-12 14:06:03 +01:00
Andy Wilkinson
ab783d495f Upgrade to Spring HATEOAS 2.3.0-RC1
Closes gh-40336
2024-04-12 14:06:02 +01:00
Andy Wilkinson
45d80aa5b4 Upgrade to Spring Data Bom 2024.0.0-RC1
Closes gh-40224
2024-04-12 14:05:57 +01:00
Andy Wilkinson
d515479706 Upgrade to Reactor Bom 2023.0.5
Closes gh-40221
2024-04-12 14:05:56 +01:00
Andy Wilkinson
2b31db85ea Upgrade to R2DBC Postgresql 1.0.5.RELEASE
Closes gh-40335
2024-04-12 14:05:55 +01:00
Andy Wilkinson
ed7c2da857 Upgrade to Infinispan 15.0.1.Final
Closes gh-40334
2024-04-12 14:05:51 +01:00
Andy Wilkinson
b223bdf2d5 Upgrade to Elasticsearch Client 8.13.2
Closes gh-40333
2024-04-12 14:05:46 +01:00
Andy Wilkinson
c50c973080 Upgrade to Brave 6.0.3
Closes gh-40332
2024-04-12 14:05:42 +01:00
Andy Wilkinson
3544e96c18 Upgrade to Awaitility 4.2.1
Closes gh-40331
2024-04-12 14:05:37 +01:00
Andy Wilkinson
4fd0375eb1 Adapt tests to addition of new JWT validator in Spring Security
See gh-40230
2024-04-12 12:14:05 +01:00
Andy Wilkinson
12e004f131 Revert "Exclude unwanted javax.inject dependency from Data Couchbase"
This reverts commit 06f5ab162f. The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.

See gh-40200
2024-04-12 11:19:16 +01:00
Andy Wilkinson
a3d62e0b2f Merge branch '3.2.x'
Closes gh-40327
2024-04-12 10:31:39 +01:00