Commit Graph

3538 Commits

Author SHA1 Message Date
Moritz Halbritter
30f29dead8 Revert "Temporarily remove auto-config for Reactor context propagation"
This reverts commit 88de3cc089.

See gh-34201
2023-10-04 09:12:27 +02:00
Phillip Webb
7ad4a9817d Rewrite nested jar support code and remove Java 8 support
Rewrite nested jar code to better align with the implementations
provided in Java 17. This update makes two fundamental changes to
the previous implementation:

- Resource cleanup is now handled using the `java.lang.ref.Cleaner`

- Jar URLs now use the form `jar:nested:/my.jar/!nested.jar!/entry`

Unlike the previous `jar🫙/my,jar!/nested.jar!/entry` URL format,
the new format is compatible with Java's default Jar URL handler.
Specifically, it now only uses a single `jar:` prefix and it no longer
includes multiple `!/` separators.

In addition to the changes above, many of the ancillary classes have
also been refactored and updated to create cleaner APIs.

Closes gh-37668
2023-10-03 17:27:57 -07:00
Phillip Webb
c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
2023-10-03 14:53:04 -07:00
Phillip Webb
3d6859e80f Use the term "uber jar" in reference documentation and javadoc
Update reference documentation and javadoc to use the term "uber jar"
rather than "fat jar".

Closes gh-37653
2023-10-02 23:01:34 -07:00
Phillip Webb
932355adbf Polish adoc formatting 2023-10-02 21:18:26 -07:00
Scott Frederick
ff99de49c4 Configure a RestClient.Builder with RestClientTest
This commit adds support for configuring a `RestClient.Builder` and
`MockRestServiceServer` support for the `RestClient` when using
`@RestClientTest` sliced tests.

Closes gh-37033
2023-09-29 15:07:38 -05:00
Andy Wilkinson
3e9a1cc1f8 Add Awaitility to spring-boot-starter-test
Closes gh-37195
2023-09-29 11:50:05 +01:00
Andy Wilkinson
bebca55a8f Add testAndDevelopmentOnly configuration
Closes gh-35436
2023-09-28 13:24:34 +01:00
Moritz Halbritter
40d4c177cd Merge branch '3.1.x'
Closes gh-37616
2023-09-28 08:54:22 +02:00
Moritz Halbritter
a1947d6deb Merge branch '3.0.x' into 3.1.x
Closes gh-37615
2023-09-28 08:53:12 +02:00
Moritz Halbritter
d266806368 Merge branch '2.7.x' into 3.0.x
Closes gh-37614
2023-09-28 08:51:12 +02:00
Moritz Halbritter
8a5979ee8c Clarify ActiveMQ usage in JMS docs
The Apache ActiveMQ project has adopted the label "Classic" for the 5.x
broker in order to more easily compare and contrast it with the broker
code-named Artemis.

See gh-37606
2023-09-28 08:46:47 +02:00
Phillip Webb
052757c2d8 Polish 2023-09-27 20:58:09 -07:00
Andy Wilkinson
ecc670772a Make user details service auto-configs back off more readily
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.

This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.

Closes gh-35338
2023-09-26 16:47:19 +01:00
Moritz Halbritter
1d60e42a73 Merge branch '3.1.x'
Closes gh-37572
2023-09-25 12:02:34 +02:00
Sushant Kumar Singh
088d9ccc32 Remove mockito-inline from documentation
See gh-37561
2023-09-25 11:58:53 +02:00
Moritz Halbritter
1f137af90f Merge branch '3.1.x'
Closes gh-37533
2023-09-22 09:26:27 +02:00
Moritz Halbritter
b5cc6f9f92 Merge branch '3.0.x' into 3.1.x
Closes gh-37532
2023-09-22 09:26:17 +02:00
Moritz Halbritter
17092e124d Merge branch '2.7.x' into 3.0.x
Closes gh-37531
2023-09-22 09:26:08 +02:00
Moritz Halbritter
6be8ce948a Document support for Java 21
Closes gh-37371
2023-09-22 09:22:14 +02:00
Moritz Halbritter
ae7a3410ad Merge branch '3.1.x'
Closes gh-37511
2023-09-21 16:40:51 +02:00
Moritz Halbritter
aabd6f58d5 Merge branch '3.0.x' into 3.1.x
Closes gh-37510
2023-09-21 16:40:41 +02:00
Moritz Halbritter
454342acfa Merge branch '2.7.x' into 3.0.x
Closes gh-37509
2023-09-21 16:40:29 +02:00
김희망
45e08f321c Use more idiomatic Kotlin in doc example
See gh-37491
2023-09-21 16:36:51 +02:00
Moritz Halbritter
77f0828f7f Merge branch '3.1.x'
Closes gh-37444
2023-09-18 10:22:13 +02:00
Moritz Halbritter
5d120faac2 Merge branch '3.0.x' into 3.1.x
Closes gh-37443
2023-09-18 10:22:01 +02:00
Moritz Halbritter
5a0bc0a112 Merge branch '2.7.x' into 3.0.x
Closes gh-37442
2023-09-18 10:21:44 +02:00
Moritz Halbritter
ff2fc95daf Document that PKCS8 PEM files should be used whenever possible
Closes gh-37170
2023-09-18 10:18:06 +02:00
Brian Clozel
0fc97e9315 Auto-configure ObservationRegistry on JmsTemplate
Spring Boot auto-configures both a `JmsTemplate` and a
`JmsMessagingTemplate`. As of Spring Framework 6.2, JMS has
observability support when publishing messages.

This commit creates a bean post-processor that configures an
`ObservationRegistry` on the template, if the registry is present.

Closes gh-37388
2023-09-15 16:28:06 +02:00
Brian Clozel
d6daf87074 Update Antora reference documentation links
This commit updates the base URLs for reference documentations when the
relevant Spring project is now being published with Antora.

This commit updates the following projects:

* Spring Framework
* Spring Integration
* Spring for GraphQL
* Spring Security, including Authorization Server
* Spring Batch
* Spring Data JPA

Closes gh-37428
2023-09-15 15:55:52 +02:00
Johnny Lim
8f4ccb0535 Polish
See gh-37393
2023-09-15 11:44:06 +01:00
Andy Wilkinson
e3d884803e Add Docker Compose support for Neo4j
Closes gh-37379
2023-09-14 13:25:38 +01:00
Chris Bono
b81d78f324 Add SSL section to Pulsar docs
- Add link to Spring Pulsar TLS docs
- Update usage of 'Spring Pulsar' to 'Spring for Apache Pulsar'

See gh-37375
2023-09-14 11:31:57 +02:00
Moritz Halbritter
c387c87fda Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
2023-09-14 10:50:36 +02:00
Eddú Meléndez
6997277f75 Add service connection from OpenTelemetry Collector
See gh-35082
2023-09-14 09:44:20 +02:00
Johnny Lim
c2b78830ff Polish
See gh-37340
2023-09-13 10:26:54 +02:00
Brian Clozel
c8d036eaa8 Remove ServerHttpObservationFilter from WebFlux
This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.

The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.

Closes gh-37344
2023-09-12 10:59:25 +02:00
Brian Clozel
0d902c1323 Document Welcome Page support ordering
This commit documents the relative ordering of `HandlerMapping` support
in Spring MVC and WebFlux applications.
As of Spring Framework 6.1.0, the Welcome Page support acts as a
fallback in case no index route has been defined by the application as a
`RouterFunction` or within an annotated `@Controller`.

Closes gh-34846
2023-09-11 15:04:43 +02:00
Andy Wilkinson
ed5d16de84 Upgrade to Jetty 12
Closes gh-36073
2023-09-07 13:59:15 +01:00
Chris Bono
089fef0392 Add Pulsar ConnectionDetails support
Add `ConnectionDetails` support for Apache Pulsar and provide adapters
for Docker Compose and Testcontainers.

See gh-37197
2023-09-06 12:12:25 -07:00
Chris Bono
6e7b845bdf Add support for Apache Pulsar
Add support for Apache Pulsar using the Spring for Apache Pulsar
project.

See gh-34763

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2023-09-05 17:01:51 -07:00
Moritz Halbritter
cf2828fdb8 Add link to Spring Modulith to documentation
Closes gh-37106
2023-08-31 13:22:52 +02:00
Phillip Webb
3a99066eeb Merge branch '3.1.x' 2023-08-24 10:33:15 -07:00
Phillip Webb
81a03cf240 Merge branch '2.7.x' into 3.1.x 2023-08-24 10:32:37 -07:00
Phillip Webb
fbea788e0a Merge branch '2.7.x' into 3.0.x 2023-08-24 10:32:27 -07:00
Phillip Webb
727e22abac Restore Redis to NoSQL stores supported by Spring Data documentation
See gh-29694
2023-08-24 10:31:01 -07:00
Scott Frederick
c55e8b9b9a Merge branch '3.1.x'
Closes gh-37072
2023-08-22 12:11:08 -05:00
Scott Frederick
23de8a1177 Merge branch '3.0.x' into 3.1.x
Closes gh-37071
2023-08-22 12:10:46 -05:00
jongwooo
37855a597c Fix links to Oracle API javadoc in the documentation
See gh-37070
2023-08-22 11:59:21 -05:00
Scott Frederick
eb45aab712 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
2023-08-14 13:29:42 -05:00