Commit Graph

44188 Commits

Author SHA1 Message Date
Andy Wilkinson
8ae8fdca57 Merge branch '3.1.x' 2023-08-04 09:14:35 +01:00
Andy Wilkinson
4a47b366e9 Merge branch '3.0.x' into 3.1.x 2023-08-04 09:14:27 +01:00
Andy Wilkinson
6adecf4cb2 Fix handling of potential ugrade issues with no space in title 2023-08-04 09:14:17 +01:00
Andy Wilkinson
60e8522e27 Merge branch '3.1.x' 2023-08-04 08:41:41 +01:00
Andy Wilkinson
32eb969942 Merge branch '3.0.x' into 3.1.x 2023-08-04 08:41:23 +01:00
Andy Wilkinson
eac7ba6c84 Merge branch '2.7.x' into 3.0.x 2023-08-04 08:41:05 +01:00
Andy Wilkinson
80a6873a98 Upgrade to Testcontainers 1.18.3
Closes gh-36710
2023-08-04 08:22:57 +01:00
Andy Wilkinson
f0d2f6e991 Upgrade to Spock Framework 2.3-groovy-3.0
Closes gh-36709
2023-08-04 08:22:57 +01:00
Andy Wilkinson
4b552d5c44 Upgrade to MockK 1.13.5
Closes gh-36708
2023-08-04 08:22:56 +01:00
Andy Wilkinson
2c7fe47529 Upgrade to Maven Resolver 1.9.14
Closes gh-36707
2023-08-04 08:22:56 +01:00
Andy Wilkinson
7fcf4c7dcf Upgrade to Maven Invoker 3.2.0
Closes gh-36706
2023-08-04 08:22:56 +01:00
Andy Wilkinson
59bd6879a2 Upgrade to Maven 3.9.4
Closes gh-36705
2023-08-04 08:22:55 +01:00
Scott Frederick
ecdb9f6b07 Add support for CNB platform API 0.12
Closes gh-36712
2023-08-03 15:57:36 -05:00
Moritz Halbritter
726d2e6678 Remove unnecessary synchronization
- on AtomicBoolean in SpringApplicationBuilder
- on SimpleFormatter
- in a private method in FileSystemWatcher which is always called in a
  synchronized block
- Replaced synchronized guarded HashMap with ConcurrentHashMap
2023-08-03 17:33:52 +02:00
Moritz Halbritter
1a8b8ce26e Revert "Revise synchronized blocks"
This reverts commit 497bbf9c2d.
2023-08-03 17:26:31 +02:00
Moritz Halbritter
02a7c22f40 Revert "Use virtual threads in JmsHealthIndicator if enabled"
This reverts commit 6fc585c5d2.
2023-08-03 17:25:28 +02:00
Moritz Halbritter
a843aca821 Revert "Polish"
This reverts commit 25eb3c8c18.
2023-08-03 17:25:15 +02:00
Moritz Halbritter
d93d05ade2 Revert "Use virtual threads in BackgroundPreinitializer if enabled"
This reverts commit 4bbc336321.
2023-08-03 17:24:56 +02:00
Stephane Nicoll
f34dc05452 Rename run goal's directories property to additionalClasspathElements
This clarifies what used to be called "directories" as both a directory
and a jar file can be provided. A directory with `/*` would also load
all the jar files from that directory.

The "directories" property has been deprecated as a result.

Closes gh-35179
2023-08-03 16:22:07 +02:00
Andy Wilkinson
a709625c24 Upgrade to Commons FileUpload 1.5
Closes gh-36704
2023-08-03 14:55:27 +01:00
Andy Wilkinson
f24b56b541 Upgrade to API Guardian 1.1.2
Closes gh-36703
2023-08-03 14:55:22 +01:00
Andy Wilkinson
00e46192e4 Fix handling of potential ugrade issues with no space in title 2023-08-03 14:52:14 +01:00
Andy Wilkinson
c16fbf657f Merge pull request #36682 from beckermarc
* gh-36682:
  Add resource hints for MessageSource

Closes gh-36682
2023-08-03 12:56:24 +01:00
Marc Becker
36e31c0612 Add resource hints for MessageSource
This only registers the default locations, not the one users can provide
via 'spring.messages.basename'.

This is similar to the approach taken for schema.sql and data.sql
in class SqlInitializationScriptsRuntimeHints.

See gh-36682
2023-08-03 12:56:06 +01:00
Andy Wilkinson
8ce5fb5f06 Merge branch '3.1.x'
Closes gh-36701
2023-08-03 12:44:43 +01:00
Andy Wilkinson
664581eb90 Merge branch '3.0.x' into 3.1.x
Closes gh-36700
2023-08-03 12:44:26 +01:00
Andy Wilkinson
c6dc505932 Auto-configure JsonpMapper even with user-defined transport
Closes gh-36698
2023-08-03 12:44:13 +01:00
Stephane Nicoll
d960b5215a Merge pull request #36693 from izeye
* pr/36693:
  Add Javadoc since to a new constructor for PemSslStoreBundle

Closes gh-36693
2023-08-03 12:47:30 +02:00
Johnny Lim
677db72210 Add Javadoc since to a new constructor for PemSslStoreBundle
See gh-36693
2023-08-03 12:47:08 +02:00
Moritz Halbritter
4bbc336321 Use virtual threads in BackgroundPreinitializer if enabled
Closes gh-36695
2023-08-03 11:16:16 +02:00
Moritz Halbritter
25eb3c8c18 Polish 2023-08-03 11:16:16 +02:00
Andy Wilkinson
48813a0e5b Merge branch '3.1.x'
Closes gh-36697
2023-08-03 10:11:43 +01:00
Andy Wilkinson
12a2c615a9 Merge branch '3.0.x' into 3.1.x
Closes gh-36696
2023-08-03 10:10:22 +01:00
Andy Wilkinson
803c155e69 Order default customizers so that they can be overridden
Closes gh-36674
2023-08-03 10:09:27 +01:00
Moritz Halbritter
6fc585c5d2 Use virtual threads in JmsHealthIndicator if enabled
Closes gh-36694
2023-08-03 10:32:42 +02:00
Moritz Halbritter
9f5749832b Polish JettyWebServer 2023-08-03 09:23:48 +02:00
Moritz Halbritter
3515196c2b Add missing synchronization and remove unnecessary volatile 2023-08-03 09:23:48 +02:00
Moritz Halbritter
497bbf9c2d Revise synchronized blocks
- Replace synchronized with Lock when guarding long-running operations
- Remove unnecessary synchronization in FileSystemWatcher
- Replace HashMap with ConcurrentHashMap in Restarter
- Remove unnecessary locking on AtomicBoolean in
  SpringApplicationBuilder
- Remove unnecessary locking in SimpleFormatter

Closes gh-36670
2023-08-03 09:23:46 +02:00
Scott Frederick
6506208d29 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
2023-08-02 19:06:16 -05:00
Scott Frederick
63a8edfa15 Merge branch '3.1.x'
Closes gh-36691
2023-08-02 17:51:52 -05:00
Scott Frederick
ecd2b0178f Merge branch '3.0.x' into 3.1.x
Closes gh-36690
2023-08-02 17:50:56 -05:00
Scott Frederick
e25c267585 Update Paketo builder references in documentation
Closes gh-36688
2023-08-02 17:49:32 -05:00
Andy Wilkinson
b02c1877fc Fix configIsReadWithProvidedContext on Windows
See gh-36445
2023-08-02 14:59:47 +01:00
Andy Wilkinson
11753c5a72 Merge pull request #36650 from michael-simons
* gh-36650:
  Polish "Add support for using an AuthTokenManager with Neo4j"
  Add support for using an AuthTokenManager with Neo4j

Closes gh-36650
2023-08-02 14:30:16 +01:00
Andy Wilkinson
77e382ec64 Polish "Add support for using an AuthTokenManager with Neo4j"
See gh-36650
2023-08-02 14:30:03 +01:00
Michael Simons
1f0a3901b2 Add support for using an AuthTokenManager with Neo4j
Neo4j Java driver introduced support for an `AuthTokenManager` that can
be used to define expiring tokens for authentication with a database.

This commit adds an `ObjectProvider<AuthTokenManager> authTokenManagers`
parameter to the corresponding auto configuration class. If the provider
resolves to a unique object, that `AuthTokenManager` will have precedence
over any static token.

See gh-36650
2023-08-02 14:30:03 +01:00
Stephane Nicoll
4f877db91a Merge pull request #36288 from mzeijen
* pr/36288:
  Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
  Order auto-configured ProblemDetailsExceptionHandler beans

Closes gh-36288
2023-08-02 15:28:43 +02:00
Stephane Nicoll
a223834d57 Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
See gh-36288
2023-08-02 15:28:01 +02:00
Maurice Zeijen
9955ee7e8a Order auto-configured ProblemDetailsExceptionHandler beans
Add `@Order(0)` to the WebMVC and Webflux
`ProblemDetailsExceptionHandler` beans. This makes it easier to create
custom `@ControllerAdvice` beans that must be ordered before or after
the `ProblemDetailsExceptionHandler`.

See gh-36288
2023-08-02 15:27:44 +02:00
Moritz Halbritter
e677eb7759 Polish Polish R2dbcObservationAutoConfiguration 2023-08-02 12:14:03 +02:00