Commit Graph

19691 Commits (61ad227178485e87b69f335c1fa384ce69a53cec)

Author SHA1 Message Date
Moritz Halbritter 5789bc9797 Merge pull request #33749 from qyqcswill
* pr/33749:
  Fix docs with repeated words

Closes gh-33749
2 years ago
qyqcswill 7afc42392a Fix docs with repeated words
See gh-33749
2 years ago
Andy Wilkinson dfc8642253 Merge branch '2.7.x'
Closes gh-33757
2 years ago
Andy Wilkinson 985094d33d Upgrade to Spring Asciidoctor Extensions 0.6.1
Closes gh-33744
2 years ago
Moritz Halbritter 52760f6b78 Merge branch '2.7.x'
Closes gh-33756
2 years ago
Yongjo Lee 0440e5d1ac Fix duplicate 'the' typo
See gh-33736
2 years ago
Moritz Halbritter ff3b0de02f Merge branch '2.7.x'
Closes gh-33755
2 years ago
Sébastien Deleuze 4466bffe52 Fix typo in class name MultipleConnectionPoolConfigurationsFailureAnalzyer
See gh-33751
2 years ago
Moritz Halbritter e45b47565c Use Threadlocal.remove instead of .set(null)
See https://github.com/spring-cloud/spring-cloud-sleuth/issues/27 for
reference.
2 years ago
Moritz Halbritter 887c00e9fc Polish OutputCapture 2 years ago
Moritz Halbritter 46f09be1c0 Merge branch '2.7.x'
Closes gh-33753
2 years ago
Moritz Halbritter 0c65c41adf Polish 2 years ago
Moritz Halbritter 7a148747a0 Fix NPE in RabbitProperties if user is given but password is not
Closes gh-33752
2 years ago
Moritz Halbritter fe1c1edcd4 Change transient to volatile in CompositeHandlerExceptionResolver 2 years ago
Moritz Halbritter 90a6d514a3 Fix assertions in ValidationAutoConfigurationTests 2 years ago
Moritz Halbritter c5b5449a07 Fix assertions in ThreadDumpEndpointTests 2 years ago
Moritz Halbritter 17d4fb1e60 Fix HTTP/2 documentation
Closes gh-33734
2 years ago
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2 years ago
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2 years ago
Phillip Webb 84b13f0748 Refine constructor detection logic when binding to existing values
Update `DefaultBindConstructorProvider` so that deduced constructors
are not used if there is an existing value.

Prior to this commit, constructor detection logic was not compatible
with earlier versions of Spring Boot. With Spring Boot 3.0.1, given
a class of the following form:

	@ConfigurationProperties(prefix = "example")
	public class ExampleProperties {

	    @NestedConfigurationProperty
	    private final NestedProperty nested = new NestedProperty(
	    		"Default", "default");

	    public NestedProperty getNested() {
	        return nested;
	    }

	}

If `NestedProperty` has a single constructor with arguments, constructor
binding would be used. In Spring Boot 2.x, setter injection would have
been used.

The updated code now only uses constructor injection if an explicit
`@ConstructorBinding` annotation is present, or if there is no existing
value.

Fixes gh-33409
See gh-33710
2 years ago
Phillip Webb a2ac38e203 Update copyright year of changed files 2 years ago
Phillip Webb 1621cfd578 Merge branch '2.7.x' 2 years ago
Phillip Webb 80cfcb71ec Update copyright year of changed files 2 years ago
Phillip Webb 232807d388 Increase block timeout 2 years ago
Phillip Webb 6a0a61f1ce Refine EndpointRequest matcher `toString` and apply to reactive variant
Refine the recently introduced `EndpointRequest` matcher `toString()`
to use lower-case item names. Also applied the same logic to the
reactive variant.

See gh-33690
2 years ago
Moritz Halbritter 5a70422d1d Add reference to Spring Authorization Server project 2 years ago
Moritz Halbritter 56b51d01a7 Clarify that AOT uses code generation 2 years ago
Moritz Halbritter 3c45a805f5 Polish documentation 2 years ago
Moritz Halbritter 648db6d1ea Remove reference to spring-cli run command from documentation 2 years ago
Moritz Halbritter 9e414fa263 Update minimum required maven version to 3.5 in documentation 2 years ago
Moritz Halbritter c0728e1288 Polish documentation 2 years ago
Moritz Halbritter 5a97c1493e Update Java 11 to Java 17 in documentation 2 years ago
Moritz Halbritter 7922ac63bc Polish documentation 2 years ago
Moritz Halbritter 1e70822adb Fix javax with jakarta references in documentation 2 years ago
Moritz Halbritter 3b6b795c9f Merge branch '2.7.x'
Closes gh-33729
2 years ago
rishal c84399e705 Add toString method for EndpointRequestMatcher
See gh-33690
2 years ago
Sanan f291695bda Remove run example from documentation
See gh-33519
2 years ago
rfigueroa 2b3a24be18 Update dockerfile samples to use Java 17
See gh-33629
2 years ago
Moritz Halbritter 6a6ecad325 Merge branch '2.7.x'
Closes gh-33728
2 years ago
Joseph Lane 54754d2c7a Fix typo in External Configuration documentation
See gh-33630
2 years ago
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2 years ago
Anugrah Singhal 3191c678c3 Remove Jetty/Netty/ApacheHttpClient checks for WebClient
See gh-33640
2 years ago
Moritz Halbritter f11de0c4cf Merge branch '2.7.x'
Closes gh-33726
2 years ago
Bart aa8a531731 Fix a type in the ExitCodeGenerator documentation
See gh-33658
2 years ago
Moritz Halbritter b641073777 Merge branch '2.7.x'
Closes gh-33725
2 years ago
Christoph Dreis 1b4ef5db0f Update copyrights to 2023
See gh-33682
2 years ago
Kaveh Shamsi 2d95e4a31e Fix JavaDoc typo in LocalServerPort
See gh-33683
2 years ago
Phillip Webb 2e90b71c30 Do not attempt constructor binding for items with an existing value
Update `DefaultBindConstructorProvider` so that it no longer detects
constructors when the `Bindable` has an existing value. This update
allows us change `ConfigurationPropertiesBindingPostProcessor` and
related classes so that all instances created from `@Bean` methods
are treated as `JAVA_BEAN` bindings and will not be accidentally
re-created using constructor binding.

Fixes gh-33710
2 years ago
Andy Wilkinson 2d372edcfc Fix Homebrew formula's install --head support
This commit updates the Homebrew formula's install --head support to
use the main branch (rather than the default of master) and to build
the project using Gradle rather than trying to use Maven.

Closes gh-33704
2 years ago
Phillip Webb 5ec5007bf0 Merge branch '2.7.x'
Closes gh-33706
2 years ago
Phillip Webb 68af379714 Don't use repo.spring.io in released Homebrew or Scoop recipes
Update our Homebrew and Scoop recipes to use `repo1.maven.org` rather
than `repo.spring.io` for releases.

Fixes gh-33702
2 years ago
Phillip Webb f588793445 Update copyright year of changed files 2 years ago
Phillip Webb 0254619782 Merge branch '2.7.x' 2 years ago
Phillip Webb e4772cf3b7 Update copyright year of changed files 2 years ago
Phillip Webb 2e7ca6f82d Warning if <springProfile> is used in phase 2 model elements
Add `SpringProfileIfNestedWithinSecondPhaseElementSanityChecker` which
will provide a warning if `<springProfile>` is used within a phase 2
model element. This is similar to Logback's own `<if>` warnings.

The `LogbackLoggingSystem` has also been updated so that warning are
printed when present.

Fixes gh-33610
2 years ago
Phillip Webb 2ed512ddb5 Use model.deepMarkAsSkipped in SpringProfileModelHandler
Switch `model.markAsSkipped` to `model.deepMarkAsSkipped` in
`SpringProfileModelHandler`.

Although the current call doesn't appear to be causing issues,
it seems best to align our <springProfile> support with the way
that Logback implements its own `<if>` support.

Closes gh-33618
2 years ago
Phillip Webb 532fed3147 Increase couchbase connection timeout for tests 2 years ago
Phillip Webb 6367a8c62c Merge branch '2.7.x' 2 years ago
Phillip Webb 5ba52d0000 Polish formatting 2 years ago
Phillip Webb e57824fb58 Merge branch '2.7.x'
Closes gh-33617
2 years ago
Phillip Webb a2a59dd627 Polish 'Improve gradle plugin tags documentation'
See gh-33614
2 years ago
Shekhar Aggarwal a1df607dd8 Improve gradle plugin tags documentation
See gh-33614
2 years ago
Phillip Webb 5814543bb1 Merge branch '2.7.x'
Closes gh-33616
2 years ago
Phillip Webb c205ba0694 Polish 'Improve maven plugin tags documentation'
See gh-33609
2 years ago
Shekhar Aggarwal 79557012a7 Improve maven plugin tags documentation
See gh-33609
2 years ago
Phillip Webb 94819ee313 Merge branch '2.7.x'
Closes gh-33615
2 years ago
Phillip Webb 42aa661e69 Polish 'Fix typo in LocalDevToolsAutoConfiguration logging'
See gh-33569
2 years ago
Artur 549c9e5076 Fix typo in LocalDevToolsAutoConfiguration logging
See gh-33569
2 years ago
Phillip Webb c257f2b1d2 Merge branch '2.7.x' 2 years ago
Phillip Webb bc6fc33498 Polish 2 years ago
Scott Frederick fead976952 Adapt to changes in Couchbase client
See gh-33588
2 years ago
Phillip Webb 5f30a70581 Upgrade to Undertow 2.3.2.Final
Closes gh-33608
2 years ago
Phillip Webb 41f5cd3fde Upgrade to UnboundID LDAPSDK 6.0.7
Closes gh-33607
2 years ago
Phillip Webb ed9dd0783a Upgrade to Thymeleaf Extras SpringSecurity 3.1.1.RELEASE
Closes gh-33606
2 years ago
Phillip Webb bf855cf053 Upgrade to Spring Integration 6.0.1
Closes gh-33605
2 years ago
Phillip Webb 952c439c9e Upgrade to SLF4J 2.0.6
Closes gh-33604
2 years ago
Phillip Webb cc8236f1c4 Upgrade to Netty 4.1.86.Final
Closes gh-33603
2 years ago
Phillip Webb 2a77f5fa6e Upgrade to MSSQL JDBC 11.2.2.jre17
Closes gh-33601
2 years ago
Phillip Webb 7e57a100e8 Upgrade to MongoDB 4.8.1
Closes gh-33600
2 years ago
Phillip Webb 29c0eb13d7 Upgrade to Lettuce 6.2.2.RELEASE
Closes gh-33599
2 years ago
Phillip Webb b0b20e4e42 Upgrade to jOOQ 3.17.6
Closes gh-33597
2 years ago
Phillip Webb 19f19559aa Upgrade to Jetty 11.0.13
Closes gh-33596
2 years ago
Phillip Webb c98f34ffca Upgrade to Jaybird 4.0.8.java11
Closes gh-33595
2 years ago
Phillip Webb d732eef8b6 Upgrade to Infinispan 14.0.4.Final
Closes gh-33594
2 years ago
Phillip Webb 735f422505 Upgrade to HttpCore 4.4.16
Closes gh-33593
2 years ago
Phillip Webb a6f0fcd8f2 Upgrade to HttpClient 4.5.14
Closes gh-33592
2 years ago
Phillip Webb 2eb7f643a8 Upgrade to Hibernate 6.1.6.Final
Closes gh-33591
2 years ago
Phillip Webb a4bcf1bcf0 Upgrade to Elasticsearch Client 8.5.3
Closes gh-33590
2 years ago
Phillip Webb 914fbabcda Upgrade to Dropwizard Metrics 4.2.14
Closes gh-33589
2 years ago
Phillip Webb 43d389f7e5 Upgrade to Couchbase Client 3.4.1
Closes gh-33588
2 years ago
Phillip Webb 0b3a8c51d2 Upgrade to Byte Buddy 1.12.20
Closes gh-33587
2 years ago
Phillip Webb edd6a3b271 Upgrade to AspectJ 1.9.19
Closes gh-33586
2 years ago
Phillip Webb 1939d23de3 Upgrade to Undertow 2.2.22.Final
Closes gh-33585
2 years ago
Phillip Webb 8e42dfce55 Upgrade to UnboundID LDAPSDK 6.0.7
Closes gh-33584
2 years ago
Phillip Webb bec2badec1 Upgrade to Thymeleaf Extras SpringSecurity 3.0.5.RELEASE
Closes gh-33582
2 years ago
Phillip Webb 9dcc49538e Upgrade to Spring Integration 5.5.16
Closes gh-33581
2 years ago
Phillip Webb 5e2e18d577 Upgrade to Netty 4.1.86.Final
Closes gh-33580
2 years ago
Phillip Webb 8c43c213ed Upgrade to Neo4j Java Driver 4.4.11
Closes gh-33579
2 years ago
Phillip Webb 8472d7ecff Upgrade to MSSQL JDBC 10.2.2.jre8
Closes gh-33578
2 years ago
Phillip Webb 7238dddf09 Upgrade to Jetty 9.4.50.v20221201
Closes gh-33577
2 years ago
Phillip Webb 8a376cb27e Upgrade to Jaybird 4.0.8.java8
Closes gh-33576
2 years ago
Phillip Webb 9f72be57ee Upgrade to Infinispan 13.0.14.Final
Closes gh-33575
2 years ago
Phillip Webb ec2b697684 Upgrade to HttpCore 4.4.16
Closes gh-33574
2 years ago
Phillip Webb 507cfcb4cf Upgrade to HttpClient 4.5.14
Closes gh-33573
2 years ago
Phillip Webb 07ce0c8b90 Upgrade to Elasticsearch 7.17.8
Closes gh-33572
2 years ago
Phillip Webb fb619cf76f Upgrade to Dropwizard Metrics 4.2.14
Closes gh-33571
2 years ago
Phillip Webb 60b943eeec Upgrade to Byte Buddy 1.12.20
Closes gh-33570
2 years ago
Brian Clozel 41dce327a2 Fix Spring Integration failing test
Instead of asserting that an observation registry is null, we should
ensure that it's a NOOP instance.
2 years ago
Brian Clozel 8c6526bb19 Upgrade to Reactor 2020.0.26
Closes gh-33543
2 years ago
Brian Clozel 3aca776b5d Upgrade to Spring Security 5.7.6
Closes gh-33544
2 years ago
Brian Clozel 63de8bf3ea Upgrade to Spring Kafka 3.0.1
Closes gh-33480
2 years ago
Brian Clozel 49da9b7183 Upgrade to Spring for GraphQL 1.1.1
Closes gh-33477
2 years ago
Brian Clozel 28f9f20d39 Declare order for ServerHttpObservationFilter WebFilter
This commit declares an `@Order` for the `ServerHttpObservationFilter`
bean declaration in the Observation WebFlux auto-configuration.

This allows developers to consistently order other `WebFilter` instances
relatively to this one. Here, `@Order(Ordered.HIGHEST_PRECEDENCE + 1)`
has been chosen to align with the order of its MVC counterpart.

Fixes gh-33444
2 years ago
Brian Clozel fcf120783a Upgrade to Spring Security 6.0.1
Closes gh-33479
2 years ago
Brian Clozel 3310b59520 Polish 2 years ago
Brian Clozel 593b5311e9 Configure GraphQL web propagation for tracing
As of spring-projects/spring-graphql#547, Spring GraphQL introduced a
`PropagationWebGraphQlInterceptor` that propagates the incoming tracing
information in HTTP request headers into the GraphQL context.

This commit auto-configures the propagation interceptor if the
application exposes a GraphQL HTTP endpoint and if it is configured for
Tracing support.

Fixes gh-33542
2 years ago
Brian Clozel 5a973b9723 Upgrade to Spring Framework 6.0.3
Closes gh-33476
2 years ago
Brian Clozel 6b1aa48c35 Upgrade to Reactor 2022.0.1
Closes gh-33475
2 years ago
Moritz Halbritter b132b5c317 Polish JSON classes 2 years ago
Moritz Halbritter 08659baeba Polish away public modifier on tests 2 years ago
Moritz Halbritter 1754018a7b Polish DevToolsDataSourceAutoConfiguration 2 years ago
Moritz Halbritter f36e2ecb7b Use AutoClosables with try-with-resources
Closes gh-33538
2 years ago
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2 years ago
Moritz Halbritter 216d15997a Merge branch '2.7.x'
Closes gh-33512
2 years ago
Aakarshit Uppal 2bb8dadeb3 Fix typo in tomcat accesslog checkExists doc
See gh-33460
2 years ago
peter-janssen 9a74c862dd Fix documented Java compiler level
See gh-33505
2 years ago
Moritz Halbritter 47eb3b11b9 Upgrade Tomcat to 10.1.4
Closes gh-33167
Closes gh-33071
2 years ago
Johnny Lim d21572a189 Resolve TODOs for observability tests
See gh-33481
2 years ago
Brian Clozel ad63cb8e62 Upgrade to Thymeleaf 3.1.1.RELEASE
Closes gh-33486
2 years ago
Brian Clozel 1751df13f1 Start building against Spring Security 6.0.1 SNAPSHOTs
See gh-33479
2 years ago
Brian Clozel 5d9e9a443a Start building against Spring Kafka 3.0.1 SNAPSHOTs
See gh-33480
2 years ago
Brian Clozel 64c9ac3aa7 Start building against Spring Integration 6.0.1 SNAPSHOTs
See gh-33478
2 years ago
Brian Clozel 9e17af5d6a Start building against Spring Framework 6.0.3 SNAPSHOTs
See gh-33476
2 years ago
Brian Clozel 928df41f61 Start building against Reactor 2022.0.1 SNAPSHOTs
See gh-33475
2 years ago
Brian Clozel ce33ec19cd Start building against Spring GraphQL 1.1.1-SNAPSHOT
See gh-33477
2 years ago
Brian Clozel 50be8cbf91 Fix IllegalArgumentException in WebClient convention adapter
Prior to this commit, the `ClientObservationConventionAdapter` would
fail with an `IllegalArgumentException` when the observation is first
started: at this point, the carrier (the request builder here) is
present, but the full request not yet fully built.

This commit ensures that the convention adapter uses the request and, if
not available, the request builder to adapt to the
`WebClientExchangeTagsProvider`.

Fixes gh-33483
2 years ago
Scott Frederick 87fd27c329 Merge branch '2.7.x' 2 years ago
Scott Frederick 3f33fa3f45 Polish documentation 2 years ago
Daniel Oh f1edd17a42 Fix a typo in docs
See gh-33453
2 years ago
Johnny Lim 78b43279a7 Polish
See gh-33455
2 years ago
Moritz Halbritter a4779b7859 Merge branch '2.7.x'
Closes gh-33433
2 years ago
Moritz Halbritter 16569099ba Polish "Fix bug in webserver start when loading PKCS#11 KeyStore"
See gh-32179
2 years ago
cdanger 716a839d54 Fix bug in webserver start when loading PKCS#11 KeyStore
See gh-32179
2 years ago
Moritz Halbritter 6edb6fa091 Polish "Add test for beforeEach of OutputExtension"
See gh-33419
2 years ago
nowjin 5f532a40f9 Add test for beforeEach of OutputExtension
See gh-33419
2 years ago
Moritz Halbritter c1bd9310ea Polish "Add test for beforeEach of OutputExtension"
See gh-33419
2 years ago
nowjin 94193c9df2 Add test for beforeEach of OutputExtension
See gh-33419
2 years ago
Johnny Lim 90589fd6d4 Polish
See gh-33384
2 years ago
Craig Andrews 703935612f Update instead of replace environment in bootBuildImage documentation
Closes gh-32886
See gh-33424
2 years ago
lishangbu f5d0171fcc Avoid NPE when @SpringBootConfiguration not found in test
See gh-33371
2 years ago