Commit Graph

40023 Commits

Author SHA1 Message Date
Andy Wilkinson
3acdf590b7 Upgrade to Dependency Management Plugin 1.1.0
Closes gh-32760
2022-10-18 10:06:06 +01:00
Andy Wilkinson
93436f29dd Correct assertion in test for member with private constructor
See gh-32639
2022-10-18 10:05:09 +01:00
Phillip Webb
a34b1d3c6e Don't detect private constructors on member classes for binding
Refine constructor binding detection logic so that `private`
constructors on member classes are no longer automatically picked for
constructor binding. This provides users a way of signalling that
they wish to use the constructor directly.

Closes gh-32639
2022-10-18 00:59:46 -07:00
Phillip Webb
754f39e6ef Polish 2022-10-18 00:59:45 -07:00
Phillip Webb
e3df6c5b6f Move @ConstructorBinding annotation and support add default support
Relocate `@ConstructorBinding` from the `boot.context.properties`
package to `boot.context.properties.bind` and update the
`DefaultBindConstructorProvider` to support it.

Closes gh-32660
2022-10-18 00:59:45 -07:00
Moritz Halbritter
db248b80bb Add info log message if AOT mode is enabled
Closes gh-32396
2022-10-18 09:40:05 +02:00
Moritz Halbritter
99765e785f Revert "Add info log message if AOT mode is enabled"
This reverts commit 6cb7fb5897.
2022-10-18 09:05:57 +02:00
Phillip Webb
c16c6bc3b5 Fix reachability argfile format
Update the argfile to a format that actually works when
passed to the `native-image` command.

See gh-32738
2022-10-17 18:59:50 -07:00
Phillip Webb
a8e701cee2 Provide maven configuration for add-reachability-metadata goal
Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.

Closes gh-32736
2022-10-17 14:31:38 -07:00
Phillip Webb
8358a0e3f3 Fix reachability-metadata.properties location
Update tools to use the correct `reachability-metadata.properties`
location which should include the version number.

See gh-32738
2022-10-17 14:31:38 -07:00
Phillip Webb
9aa2854e00 Remove the execution of NBT in the native maven profile
Update `spring-boot-starter-parent` to remove the `native-compile`
execution.

Closes gh-31770
2022-10-17 14:31:38 -07:00
Brian Clozel
5cee828546 Fix javadoc warnings in HTTP Observation support 2022-10-17 23:06:30 +02:00
Brian Clozel
cbca457eff Adapt to HTTP Observation changes in Framework
This commit adapts to the renames/package changes in the HTTP
Observation support in Spring Framework.

See spring-projects/spring-framework#29334
2022-10-17 22:46:06 +02:00
Andy Wilkinson
ed1695f109 Merge branch '2.7.x' 2022-10-17 20:46:30 +01:00
Andy Wilkinson
99f0a5e01d Upgrade to Spring Security 5.7.4
Closes gh-32597
2022-10-17 20:45:40 +01:00
Andy Wilkinson
c4746b2cef Merge branch '2.6.x' into 2.7.x 2022-10-17 20:44:21 +01:00
Andy Wilkinson
a92388cbee Upgrade to Spring Security 5.6.8
Closes gh-32590
2022-10-17 20:43:40 +01:00
Andy Wilkinson
3b156872a9 Merge branch '2.7.x' 2022-10-17 19:44:50 +01:00
Andy Wilkinson
bdb4f24300 Upgrade to Spring Kafka 2.8.10
Closes gh-32596
2022-10-17 19:44:24 +01:00
Andy Wilkinson
9a74cf6d8e Merge branch '2.6.x' into 2.7.x 2022-10-17 19:43:11 +01:00
Andy Wilkinson
a16e3e6688 Upgrade to Spring Kafka 2.8.10
Closes gh-32589
2022-10-17 19:42:27 +01:00
Andy Wilkinson
68ea7299f6 Upgrade to Spring Kafka 3.0.0-RC1
Closes gh-32603
2022-10-17 19:40:22 +01:00
Andy Wilkinson
5fbcdfc393 Upgrade to Spring AMQP 3.0.0-RC1
Closes gh-32602
2022-10-17 18:17:40 +01:00
Andy Wilkinson
3082b0c5bf Add a section on AOT to the Gradle plugin's docs
Closes gh-32750
2022-10-17 18:15:34 +01:00
Andy Wilkinson
e32c6cde72 Merge branch '2.7.x'
Closes gh-32759
2022-10-17 17:12:29 +01:00
Andy Wilkinson
3d5c864bc9 Merge branch '2.6.x' into 2.7.x
Closes gh-32758
2022-10-17 17:11:59 +01:00
Andy Wilkinson
dade5ec3aa Test against Gradle 6.9.3
Closes gh-32757
2022-10-17 17:11:37 +01:00
Moritz Halbritter
6cb7fb5897 Add info log message if AOT mode is enabled
Closes gh-32396
2022-10-17 15:29:38 +02:00
Andy Wilkinson
4700a00d94 Auto-configure CompositeSpanHandler with Brave
Closes gh-32753
2022-10-17 13:58:48 +01:00
Andy Wilkinson
ff16f6d6c6 Work around configuration cache problem in NBT Gradle Plugin
See gh-32752
See graalvm/native-build-tools#338
2022-10-17 13:58:07 +01:00
Andy Wilkinson
e3c8c6e6ca Upgrade to Native Build Tools Plugin 0.9.15
Closes gh-32752
2022-10-17 11:56:21 +01:00
Andy Wilkinson
db2641d20f Upgrade to Spring LDAP 3.0.0-RC1
Closes gh-32624
2022-10-17 10:55:11 +01:00
Andy Wilkinson
8fdd12ffeb Upgrade to Spring REST Docs 3.0.0-RC1
Closes gh-32623
2022-10-17 10:53:50 +01:00
Phillip Webb
76ef540716 Merge branch '2.7.x' 2022-10-15 14:19:18 -07:00
Phillip Webb
0f4a978731 Merge branch '2.6.x' into 2.7.x 2022-10-15 14:19:06 -07:00
Phillip Webb
6641a98913 Improve the phrasing around property source ordering 2022-10-15 14:18:49 -07:00
Phillip Webb
071649360b Generate 'META-INF/native-image/argfile' file for buildpack use
Update the Maven and Gradle plugin to generate an `argfile` file
file under `META-INF/native-image` that contains `--exclude-config`
arguments that should be passed when generating a native image.

The contents of the file is generated for each nested jar that has a
`reachability-metadata.properties` file containing 'override=true'.

The `reachability-metadata.properties` file is expected to be generated
by the Graal native build tools plugin.

Closes gh-32738
2022-10-14 15:23:06 -07:00
Phillip Webb
430c6b7e9f Downgrade to SLF4J 1.7 for spring-boot-gradle-plugin tests
The downgrade is required for tests to run in Eclipse.

Closes gh-32626
2022-10-14 11:58:16 -07:00
Phillip Webb
b12fda2a72 Merge pull request for #32578 from rgoers
* pr/32578:
  Document Log4j2 extensions
  * Merge pull request for #32735:
    Polish 'Resolve URLs using Log4J2 mechanisms'
    Resolve URLs using Log4j2 mechanisms
  * Merge pull request for #32734:
    Polish 'Support profile specific Log4j2 configuration'
    Support profile specific Log4j2 configuration
  * Merge pull request for #32733:
    Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
    Add Log4J2 PropertySource backed by the Spring Environment
  * Merge pull request for #32732:
    Polish 'Support Log4J2 string lookups from the Spring Environment'
    Support Log4J2 string lookups from the Spring Environment
  * Merge pull request for #32730:
    Polish 'Add Spring Environment to LoggerContext'
    Add Spring Environment to LoggerContext
  * Merge pull request for #32730:
    Polish 'Support 'log4j.configurationFile' system property'
    Support 'log4j.configurationFile' system property

Closes gh-32578
2022-10-14 10:19:15 -07:00
Phillip Webb
029aab6b58 Document Log4j2 extensions
See gh-32578
2022-10-14 10:14:43 -07:00
Phillip Webb
916dddfea6 Merge pull request for #32735 from rgoers
Closes gh-32735
2022-10-14 10:13:41 -07:00
Phillip Webb
cec090c32e Polish 'Resolve URLs using Log4J2 mechanisms'
See gh-32735
2022-10-14 10:13:33 -07:00
Ralph Goers
5286785127 Resolve URLs using Log4j2 mechanisms
Update `Log4J2LoggingSystem` to that non file URLs are resolved using
Log4j2's `UrlConnectionFactory` mechanism rather than directly.

See gh-32735
2022-10-14 10:13:30 -07:00
Phillip Webb
01003b99db Merge pull request for #32734 from rgoers
Closes gh-32734
2022-10-14 10:12:44 -07:00
Phillip Webb
5a7964af2b Polish 'Support profile specific Log4j2 configuration'
See gh-32734
2022-10-14 10:12:31 -07:00
Ralph Goers
27ed30fdbf Support profile specific Log4j2 configuration
Add a `SpringProfileArbiter` Log4j2 plugin which allows Log4j2
configuration to be included or skipped based on the active Spring
`Environment` profiles.

See gh-32734
2022-10-14 10:12:27 -07:00
Phillip Webb
890c36448b Merge pull request for #32733 from rgoers
Closes gh-32733
2022-10-14 10:11:35 -07:00
Phillip Webb
ed424d3adb Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
See gh-32733
2022-10-14 10:11:25 -07:00
Ralph Goers
4f8a9441c2 Add Log4J2 PropertySource backed by the Spring Environment
Register a new `PropertySource` when initializing Log4j2 so that
properties may be resolved against Spring's Environment.

See gh-32733
2022-10-14 10:11:21 -07:00
Phillip Webb
d21bd822c4 Merge pull request for #32732 from rgoers
Closes gh-32732
2022-10-14 10:10:35 -07:00