Commit Graph

18956 Commits (bed313746bb58aefab1a0c53d3e4f0a343441cef)

Author SHA1 Message Date
Andy Wilkinson bed313746b Correct property names to align with changes in 3.0
See gh-32837
2 years ago
Johnny Lim fc61690675 Add missing @Test to sanitizeLists()
See gh-32792
2 years ago
Andy Wilkinson a606b26920 Merge branch '2.7.x'
Closes gh-32837
2 years ago
Andy Wilkinson 032487117b Merge branch '2.6.x' into 2.7.x
Closes gh-32836
2 years ago
Andy Wilkinson fe51e03019 Support IPv6 addresses in spring.redis.sentinel.nodes
Fixes gh-32762
2 years ago
Moritz Halbritter e999513838 Add micrometer tracing documentation
Closes gh-30658
2 years ago
Sébastien Deleuze 4e131bd627 Provide a workaround to allow multiple @ImportRuntimeHints
Provide a workaround for spring-projects/spring-framework#29361 so
that multiple `@ImportRuntimeHints` can be used in a type hierarchy.

The commit should cover Actuator web endpoint use cases with the
exception of Cloud Foundry endpoints which are not possible due to
package access issues.

See gh-29361
2 years ago
Phillip Webb ea094ddba6 Fix package tangles caused by ConfigurationProperties hints
Relocate `ConfigurationPropertiesReflectionHintsProcessor` and refactor
it to be a general purpose `BindableRuntimeHintsRegistrar`.

Prior to this commit, `ConfigurationPropertiesReflectionHintsProcessor`
was used to declare binding hints for classes that were bound, but
might be `@ConfigurationProperties`. By moving and renaming the class,
it's now better aligned to the way it's used.

Support for `@NestedConfigurationProperties` has been implemented by
adding a `@Nestable` meta-annotation. This allow us to create the
appropriate hints, without the `Binder` needing to be directly aware of
the `@NestedConfigurationProperties` annotation.

Closes gh-32815
2 years ago
Phillip Webb eb1d72e7b7 Merge branch '2.7.x' 2 years ago
Phillip Webb d8c4aec946 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 1a14f39f83 Polish 2 years ago
Phillip Webb 7db93aeb90 Merge branch '2.7.x'
Closes gh-32827
2 years ago
Phillip Webb 1c7bff7cc1 Merge branch '2.6.x' into 2.7.x
Closes gh-32826
2 years ago
Phillip Webb 463a614d27 Fix package tangle between SpringApplication and Environment types
Update `SpringApplication` so that it no longer directly decides the
type of `Environment` that should be created.

Closes gh-32825
2 years ago
Scott Frederick 072ce5c151 Fix versions in documentation links
Fixes gh-32772
2 years ago
Scott Frederick b78b22b6f6 Allow Gradle task property to be set with String or enum value
See gh-32769
2 years ago
Phillip Webb c53c8c84b8 Fix annotation processor to deal with relocated @ConstructorBinding
Update `ConfigurationMetadataAnnotationProcessor` to use the correct
location for the `@ConstructorBinding` annotation and to deal with
finding it as a meta-annotation.

Closes gh-32660
2 years ago
Scott Frederick bdedae21c0 Polish native image documentation
See gh-32582
2 years ago
Stephane Nicoll 010891a3c6 Merge branch '2.7.x'
Closes gh-32821
2 years ago
Stephane Nicoll 7bd9754ce1 Merge branch '2.6.x' into 2.7.x
Closes gh-32820
2 years ago
James Seung Hyun Son 5e0a67ac66 Fix typos in logging.adoc
See gh-32812
2 years ago
Stephane Nicoll 74a8eb7160 Merge branch '2.7.x'
Closes gh-32819
2 years ago
Stephane Nicoll 13691f27bd Merge branch '2.6.x' into 2.7.x
Closes gh-32818
2 years ago
Stephane Nicoll 4d7cb7144e Upgrade copyright year of changed files
See gh-32644
2 years ago
Ada-Claire c5a1944267 Harmonize ConfigurationProperties code samples
Rename the SomeProperties class so that it is consistent with other
examples given within the Type-safe Configuration Properties. This
ensures that readers can intuitively draw the conclusion that the
MyProperties class is annotated with ConfigurationProperties.

See gh-32644
2 years ago
Andy Wilkinson 482eb49391 Support <import> in logback.xml during AOT processing
See gh-32756
2 years ago
Brian Clozel 685fa900f8 Auto-configure Observation instrumentation for WebFlux
Prior to this commit, Spring Boot would offer a specific Metrics
instrumentation for WebFlux applications through a `WebFilter` and
custom Tag providers.

As of Spring Framework 6.0, the Observation instrumentation is done
directly in WebFlux, also with a `WebFilter`. While this allows both
metrics and traces, some features cannot be supported in the same way
with this new infrastructure.
The former `WebFilter` has been removed and the Tagging infrastructure
deprecated in favor of custom Observation conventions. This commit
provides an adapter layer so that developers can refactor their custom
tagging solution to the convention way, during the deprecation phase,
without losing any feature.

Closes gh-32539
2 years ago
Stephane Nicoll cda63b541f Upgrade to Spring Framework 6.0.0-RC2
Closes gh-32696
2 years ago
Andy Wilkinson 26e747d2db Fix package tangle in spring-boot-gradle-plugin
Closes gh-32814
2 years ago
Stephane Nicoll 04d6840ff3 Polish "Upgrade to Spring Security 6.0.0-RC1"
See gh-32604
2 years ago
Stephane Nicoll d8ec24b542 Upgrade to Spring Batch 5.0.0-RC1
Closes gh-32618
2 years ago
Stephane Nicoll d39144232f Upgrade to Spring Session 3.0.0-RC1
Closes gh-32606
2 years ago
Moritz Halbritter 1635f61368 Update GraalVM requirement to 22.3
See gh-32813
2 years ago
Phillip Webb 73a34b6c0a Fix checkstyle issues
See gh-32582
2 years ago
Sébastien Deleuze 3002779195 Remove LogbackConfigurationAotContribution from native image
Remove `LogbackConfigurationAotContribution` from the reachable
code path from a native image POV.

See gh-32793
2 years ago
Phillip Webb fb736e8427 Add native image reference documentation
Update reference documentation with a new "native image" section.

This commit includes some work derived from the "Spring Native"
project documentation written by Andy Clement, Sébastien Deleuze,
Filip Hanik, Dave Syer, Esteban Ginez, Jay Bryant, Brian Clozel,
Stéphane Nicoll, and Josh Long.

Closes gh-32582

Co-authored-by: Moritz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb 0219b222c2 Merge branch '2.7.x' 2 years ago
Phillip Webb d3750c4991 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb c416c17fe8 Polish documentation title case 2 years ago
Scott Frederick 8acf9afccb Use String instead of enum for Gradle task Property
See gh-32769
2 years ago
Brian Clozel 9948fc3e39 Use GraphQL Observation instrumentation
This commit migrates the existing metrics support (added in #29140) to
the new `Observation` instrumentation contributed in
spring-projects/spring-graphql#501.

We cannot have a smoother migration path here as the instrumentation
does not use the same context information for metadata extraction.

Closes gh-32794
2 years ago
Stephane Nicoll 1822ce1ef3 Upgrade to Mockito 4.8.1
Closes gh-32799
2 years ago
Stephane Nicoll 5cc9527fde Upgrade to Infinispan 14.0.1.Final
Closes gh-32798
2 years ago
Stephane Nicoll 8a9b679c4c Upgrade to Groovy 4.0.6
Closes gh-32797
2 years ago
Stephane Nicoll 973121db5d Upgrade to Flyway 9.5.0
Closes gh-32796
2 years ago
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2 years ago
Phillip Webb 2e74878ba4 Downgrade to OpenSAML 4.0.1
See gh-32604
2 years ago
Madhura Bhave cedd553b83 Remove error page security filter
Spring Security now re-applies the authorization rules
to the error page by default. Additionally, it configures
RequestAttributeSecurityContextRepository as the default for
stateless applications allowing those applications to have access
to the original authentication during an error dispatch.

Closes gh-31703
2 years ago
Andy Wilkinson 8621be6bba Make consistent use of Property for Gradle task configuration
Closes gh-32769
2 years ago
Brian Clozel e5c12c2b56 Move HTTP client observation auto-configuration
This commit moves the observation auto-configuration from the metrics
package to the observation package for consistency.

See gh-32484
See gh-32518
2 years ago