Commit Graph

41134 Commits

Author SHA1 Message Date
Moritz Halbritter c5b5449a07 Fix assertions in ThreadDumpEndpointTests 2023-01-11 10:48:57 +01:00
Moritz Halbritter 17d4fb1e60 Fix HTTP/2 documentation
Closes gh-33734
2023-01-10 16:01:13 +01:00
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2023-01-09 19:01:57 -08:00
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2023-01-09 18:09:20 -08:00
Phillip Webb 99a90906ab Merge branch '2.7.x' 2023-01-09 18:07:49 -08:00
Phillip Webb eab4873d7d Remove unused email CI parameters 2023-01-09 18:02:41 -08:00
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
2023-01-09 16:57:56 -08:00
Phillip Webb a2ac38e203 Update copyright year of changed files 2023-01-09 15:46:07 -08:00
Phillip Webb 1621cfd578 Merge branch '2.7.x' 2023-01-09 15:44:44 -08:00
Phillip Webb 80cfcb71ec Update copyright year of changed files 2023-01-09 15:18:10 -08:00
Phillip Webb 232807d388 Increase block timeout 2023-01-09 15:17:47 -08:00
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
2023-01-09 14:41:41 -08:00
Moritz Halbritter 5a70422d1d Add reference to Spring Authorization Server project 2023-01-09 15:26:40 +01:00
Moritz Halbritter 56b51d01a7 Clarify that AOT uses code generation 2023-01-09 15:26:20 +01:00
Moritz Halbritter 3c45a805f5 Polish documentation 2023-01-09 15:25:51 +01:00
Moritz Halbritter 648db6d1ea Remove reference to spring-cli run command from documentation 2023-01-09 15:25:27 +01:00
Moritz Halbritter 9e414fa263 Update minimum required maven version to 3.5 in documentation 2023-01-09 15:24:53 +01:00
Moritz Halbritter c0728e1288 Polish documentation 2023-01-09 15:24:26 +01:00
Moritz Halbritter 5a97c1493e Update Java 11 to Java 17 in documentation 2023-01-09 15:24:16 +01:00
Moritz Halbritter 7922ac63bc Polish documentation 2023-01-09 15:23:27 +01:00
Moritz Halbritter 1e70822adb Fix javax with jakarta references in documentation 2023-01-09 12:46:02 +01:00
Moritz Halbritter 3b6b795c9f Merge branch '2.7.x'
Closes gh-33729
2023-01-09 12:39:42 +01:00
Moritz Halbritter 29b7e518a5 Merge pull request #33690 from devrishal
* pr/33690:
  Add toString method for EndpointRequestMatcher

Closes gh-33690
2023-01-09 12:39:32 +01:00
rishal c84399e705 Add toString method for EndpointRequestMatcher
See gh-33690
2023-01-09 12:34:43 +01:00
Moritz Halbritter 46c799d857 Merge pull request #33519 from sannanansari
* pr/33519:
  Remove run example from documentation

Closes gh-33519
2023-01-09 12:21:13 +01:00
Sanan f291695bda Remove run example from documentation
See gh-33519
2023-01-09 12:20:46 +01:00
Moritz Halbritter 7cdf3f432f Merge pull request #33629 from rfigueroa
* pr/33629:
  Update dockerfile samples to use Java 17

Closes gh-33629
2023-01-09 12:18:09 +01:00
rfigueroa 2b3a24be18 Update dockerfile samples to use Java 17
See gh-33629
2023-01-09 12:17:44 +01:00
Moritz Halbritter 6a6ecad325 Merge branch '2.7.x'
Closes gh-33728
2023-01-09 12:13:36 +01:00
Moritz Halbritter a3cd2dc539 Merge pull request #33630 from josephlane
* pr/33630:
  Fix typo in External Configuration documentation

Closes gh-33630
2023-01-09 12:13:17 +01:00
Joseph Lane 54754d2c7a Fix typo in External Configuration documentation
See gh-33630
2023-01-09 12:12:50 +01:00
Moritz Halbritter c837429df3 Merge pull request #33653 from krzyk
* pr/33653:
  Simplify AssertJ assertions and also make them more readable

Closes gh-33653
2023-01-09 11:15:32 +01:00
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2023-01-09 11:10:20 +01:00
Moritz Halbritter c9a2b2ab66 Merge pull request #33640 from anugrahsinghal
* pr/33640:
  Remove Jetty/Netty/ApacheHttpClient checks for WebClient

Closes gh-33640
2023-01-09 10:47:14 +01:00
Anugrah Singhal 3191c678c3 Remove Jetty/Netty/ApacheHttpClient checks for WebClient
See gh-33640
2023-01-09 10:43:44 +01:00
Moritz Halbritter f11de0c4cf Merge branch '2.7.x'
Closes gh-33726
2023-01-09 10:39:14 +01:00
Moritz Halbritter 7d1ce38696 Merge pull request #33658 from BartR96
* pr/33658:
  Fix a type in the ExitCodeGenerator documentation

Closes gh-33658
2023-01-09 10:38:58 +01:00
Bart aa8a531731 Fix a type in the ExitCodeGenerator documentation
See gh-33658
2023-01-09 10:38:32 +01:00
Moritz Halbritter b641073777 Merge branch '2.7.x'
Closes gh-33725
2023-01-09 10:35:50 +01:00
Moritz Halbritter 0f3c18bdb8 Merge pull request #33682 from dreis2211
* gh/33682:
  Update copyrights to 2023

Closes gh-33682
2023-01-09 10:35:28 +01:00
Christoph Dreis 1b4ef5db0f Update copyrights to 2023
See gh-33682
2023-01-09 10:35:07 +01:00
Moritz Halbritter b1c65a0131 Merge branch '2.7.x'
Closes gh-33724
2023-01-09 10:30:52 +01:00
Moritz Halbritter 6b6961e252 Merge pull request #33683 from kvmw
* pr/33683:
  Fix JavaDoc typo in LocalServerPort

Closes gh-33683
2023-01-09 10:28:08 +01:00
Kaveh Shamsi 2d95e4a31e Fix JavaDoc typo in LocalServerPort
See gh-33683
2023-01-09 10:27:40 +01:00
Moritz Halbritter 6e07189a45 Merge branch '2.7.x'
Closes gh-33723
2023-01-09 10:19:04 +01:00
Moritz Halbritter 0c04d4804e Merge pull request #33708 from sannanansari
* pr/33708:
  Use Maven Central for SDKMAN download

Closes gh-33708
2023-01-09 10:18:23 +01:00
Sanan b0e0731463 Use Maven Central for SDKMAN download
See gh-33708
2023-01-09 10:17:48 +01:00
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
2023-01-06 17:23:03 -08:00
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
2023-01-06 18:15:31 +00:00
Andy Wilkinson 8fa318453f Merge branch '2.7.x'
Closes gh-33714
2023-01-06 14:59:28 +00:00