Commit Graph

25633 Commits

Author SHA1 Message Date
Stéphane Nicoll e89fd97a75 Upgrade to Spring Kafka 3.3.0-M1
Closes gh-41310
2024-07-16 08:11:40 +02:00
Stéphane Nicoll 91425144a4 Upgrade to Spring AMQP 3.2.0-M1
Closes gh-41306
2024-07-16 08:11:21 +02:00
lijuny b6901044c7 Polish
See gh-41510
2024-07-16 07:49:43 +02:00
Phillip Webb d2cd5c9b98 Fix Arrays import
See gh-41489
2024-07-16 02:23:24 +01:00
Andy Wilkinson fba6f29bc8 Merge branch '3.3.x'
Closes gh-41505
2024-07-15 15:35:47 +01:00
Andy Wilkinson 999d99e655 Merge branch '3.2.x' into 3.3.x
Closes gh-41504
2024-07-15 15:35:31 +01:00
Andy Wilkinson d63e3c3b53 Rethrow failure on main thread
Previously, if a failure occurred when evaluating conditions on a
separate thread, an NPE would occur on the main thread as the
expected array of outcomes was null.

This commit avoids the NPE and the lack of error reporting by
rethrowing on the main thread any failure that occurs on the
separate thread that's spawned to parallelize the evaluation.

Closes gh-41492
2024-07-15 15:09:57 +01:00
Andy Wilkinson fc804648bc Upgrade to Versions Maven Plugin 2.17.1
Closes gh-41503
2024-07-15 15:09:04 +01:00
Andy Wilkinson ce73d3fa70 Upgrade to Spring HATEOAS 2.3.1
Closes gh-41501
2024-07-15 15:08:53 +01:00
Andy Wilkinson da92340a9d Upgrade to Spring Data Bom 2024.0.2
Closes gh-41307
2024-07-15 15:08:48 +01:00
Andy Wilkinson 33c9398714 Upgrade to Maven Surefire Plugin 3.3.1
Closes gh-41500
2024-07-15 15:08:47 +01:00
Andy Wilkinson 96f5d7a7b2 Upgrade to Maven Failsafe Plugin 3.3.1
Closes gh-41499
2024-07-15 15:08:41 +01:00
Andy Wilkinson 9470fdf853 Upgrade to Spring HATEOAS 2.3.1
Closes gh-41497
2024-07-15 15:05:26 +01:00
Andy Wilkinson 84654d4717 Upgrade to Spring Data Bom 2024.0.2
Closes gh-41300
2024-07-15 15:05:21 +01:00
Andy Wilkinson 68ad8ff0a6 Upgrade to SQLite JDBC 3.43.2.2
Closes gh-41495
2024-07-15 15:02:07 +01:00
Andy Wilkinson 46aeb71114 Upgrade to Spring HATEOAS 2.2.3
Closes gh-41493
2024-07-15 15:02:02 +01:00
Andy Wilkinson b49085bf8c Upgrade to Spring Data Bom 2023.1.8
Closes gh-41294
2024-07-15 15:02:01 +01:00
Andy Wilkinson 00c2fbc42b Polish 2024-07-15 14:34:36 +01:00
Andy Wilkinson 1ec2a38ea0 Fix structured logging tests on Windows
See gh-5479
2024-07-15 14:32:12 +01:00
Moritz Halbritter bf2950c045 Add support for structured logging
Update Logback and Log4j2 integrations to support structured logging.
Support for the ECS and Logstash JSON formats is provided out-of-the-box
and the `StructuredLogFormatter` interface may be used to if further
custom formats need to be supported.

Closes gh-5479

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-07-15 11:45:41 +01:00
Phillip Webb 89f3052f6e Migrate `PulsarPropertiesMapper` to use `JsonWriter`
Closes gh-41490
2024-07-15 11:45:41 +01:00
Phillip Webb 20c2af13e3 Add `JsonWriter` utility interface
Add `JsonWriter` utility interface that can be used to write JSON
without the need for a third-party library.

Closes gh-41489

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2024-07-15 11:45:41 +01:00
Moritz Halbritter bb8241fa8c Polish 2024-07-15 11:45:40 +01:00
Stéphane Nicoll 4415b4ab1c Polish "Allow NestedConfigurationProperty on getters"
See gh-38844
2024-07-15 10:02:58 +02:00
Jared Bates 6c8987e0d8 Allow NestedConfigurationProperty on getters
This commit adds support adding `@NestedConfigurationProperty` on a
getter.

See gh-38844
2024-07-15 09:24:27 +02:00
Stéphane Nicoll 110855a127 Merge branch '3.3.x'
Closes gh-41486
2024-07-14 11:40:20 +02:00
Stéphane Nicoll d7f780a589 Merge branch '3.2.x' into 3.3.x
Closes gh-41485
2024-07-14 11:40:06 +02:00
Stéphane Nicoll db9b62e628 Upgrade to Spring Retry 2.0.7
Closes gh-41484
2024-07-14 11:35:26 +02:00
Stéphane Nicoll 2975a8ce3f Fix javadoc warning
The `@deprecated` tag cannot be used on module-info. This commit adapts
the deprecation notice accordingly.

Closes gh-41481
2024-07-14 11:33:46 +02:00
Brian Clozel c693b2bd8c Add support for webjars-locator-lite
This is a follow-up to spring-projects/spring-framework#27619
This commit adds support for "org.webjars:webjars-locator-lite" for
enabling the statis resources chain.

As of this commit, support for "org.webjars:webjars-locator-core" is
deprecated for obvious performance reasons.

Closes gh-40146
2024-07-12 19:17:17 +02:00
Andy Wilkinson f8d06d568b Merge branch '3.3.x'
Closes gh-41475
2024-07-12 16:03:33 +01:00
Andy Wilkinson b175d1b6f9 Merge branch '3.2.x' into 3.3.x
Closes gh-41474
2024-07-12 16:03:23 +01:00
Andy Wilkinson b76b7b7bd9 Upgrade to AspectJ 1.9.22.1
Closes gh-41470
2024-07-12 16:02:54 +01:00
Andy Wilkinson 1cb8be007e Merge pull request #41464 from sdeleuze
* gh-41464:
  Refine CDS how-to guide

Closes gh-41464
2024-07-12 14:04:56 +01:00
Sébastien Deleuze 75e642e396 Refine CDS how-to guide
As explained in gh-41348, the BP_SPRING_AOT_ENABLED flag should
not be promoted as it can't work by design with our current
support when combined with CDS for various use cases and provides
little added value as the same behavior can be achieved by adding
-Dspring.aot.enabled=true to JAVA_TOOL_OPTIONS and
CDS_TRAINING_JAVA_TOOL_OPTIONS.

See gh-41464
2024-07-12 14:04:15 +01:00
Andy Wilkinson cddf92e047 Polish "Deprecate @MockBean and @SpyBean"
See gh-39864
2024-07-12 13:49:11 +01:00
Jakob Wanger 24763940a0 Deprecate @MockBean and @SpyBean
- Deprecate Deprecate @MockBean and @SpyBean in favor of Spring
  Framework 6.2's @MockitoBean and @MockitoSpy
- Migrate usages of @MockBean and @SpyBean to @MockitoBean and
  @MockitoSpy

Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>

See gh-39864
2024-07-12 12:18:01 +01:00
Andy Wilkinson acdaa6dc35 Tolerate multiple identical configurations in Logback AOT contribution
Fixes gh-36997
2024-07-12 11:51:38 +01:00
Andy Wilkinson 8676cc6256 Deprecate Gson lenient property and introduce strictness replacement
Closes gh-41430
2024-07-12 10:55:51 +01:00
Andy Wilkinson c563c501e9 Merge branch '3.3.x'
Closes gh-41456
2024-07-12 07:32:56 +01:00
Andy Wilkinson 8617c981cf Merge branch '3.2.x' into 3.3.x
Closes gh-41455
2024-07-12 07:31:58 +01:00
Andy Wilkinson f702230c12 Test Gradle plugin against Gradle 8.9
Closes gh-41454
2024-07-12 07:31:24 +01:00
Scott Frederick 7b8364d248 Fix LifecycleTests on Windows
See gh-gh-41352
2024-07-11 17:07:23 -05:00
Scott Frederick 224b06982e Add support for untrusted CNB builders
A `trustBuilder` configuration option has been added to the Maven and
Gradle CNB integration image building goal and task. A known set of
builders published by Paketo, Heroku, and Google are trusted by default,
all other builders are untrusted by default.

Closes gh-41352
2024-07-11 13:51:54 -05:00
Phillip Webb c3ad8b0521 Add `APPLICATION_NAME` and `APPLICATION_GROUP` logging properties
Add `APPLICATION_NAME` and `APPLICATION_GROUP` properties that contain
verbatim values rather than formatted strings. Formatting of the values
is now handled by new `EnclosedInSquareBracketsConverter` classes for
both Logback and Log4J2.

The existing `LOGGED_APPLICATION_NAME` variable is now considered
deprecated. The `LOGGED_APPLICATION_GROUP` variable and related
logback converter have been removed since they never made it to a GA
release.

Closes gh-41444
2024-07-11 10:25:01 -07:00
Phillip Webb db5830a2e0 Polish logging related code 2024-07-11 10:25:01 -07:00
Andy Wilkinson 653443adc1 Revert "Merge pull request #41213 from timpeeters"
This reverts commit b4017f0ef4, reversing
changes made to 156237227c.

See gh-41213
2024-07-11 18:01:12 +01:00
Andy Wilkinson 6f17ff5cb2 Merge branch '3.3.x'
Closes gh-41449
2024-07-11 13:17:12 +01:00
Andy Wilkinson ecbbe6a9cb Merge branch '3.2.x' into 3.3.x
Closes gh-41448
2024-07-11 13:16:59 +01:00
Andy Wilkinson 8bc45a20d7 Polish "Fix typos in BootstrapContext javadoc"
See gh-41443
2024-07-11 13:16:38 +01:00