Commit Graph

39287 Commits

Author SHA1 Message Date
Andy Wilkinson
cf8e84d406 Adapt to BindingReflectionHintsRegistrar moving into spring-core 2022-09-02 17:34:29 +01:00
Andy Wilkinson
d6e9a03136 Adapt to synthesized annotation changes in Framework 2022-09-02 17:01:51 +01:00
Andy Wilkinson
fc979397be Polish SpringBootAotPlugin 2022-09-02 16:37:15 +01:00
Andy Wilkinson
fd28f6d1d6 Add Gradle plugin support for processing test contexts ahead-of-time
Closes gh-32192
2022-09-02 15:54:46 +01:00
Andy Wilkinson
746ed84120 Polish ProcessTestAotMojo 2022-09-02 12:06:54 +01:00
Phillip Webb
44f1949c5e Polish hint API calls 2022-09-01 19:43:43 -07:00
Scott Frederick
01c68a3dc8 Merge branch '2.7.x'
Closes gh-32217
2022-09-01 15:36:12 -05:00
Scott Frederick
7763a5df7d Polish auto-configuration documentation
Remove references to outdated information, emphasize use of the
`@AutoConfiguration` annotation and attributes, and edit for clarity.

Closes gh-32174
2022-09-01 15:35:59 -05:00
Andy Wilkinson
7a6e6ee007 Upgrade Java 18 CI to 18.0.2.1+1
Closes gh-32206
2022-09-01 17:37:05 +01:00
Andy Wilkinson
4bc37d22d7 Merge branch '2.7.x' 2022-09-01 17:36:09 +01:00
Andy Wilkinson
ed77567fce Upgrade Java 18 CI to 18.0.2.1+1
Closes gh-32216
2022-09-01 17:35:33 +01:00
Andy Wilkinson
c98e4310d8 Merge branch '2.6.x' into 2.7.x 2022-09-01 17:34:15 +01:00
Andy Wilkinson
7b12926d8c Upgrade Java 18 CI to 18.0.2.1+1
Closes gh-32207
2022-09-01 17:33:38 +01:00
Sébastien Deleuze
138c55ee11 Refine ConfigurationPropertiesReflectionHintsProcessor
This commit refines ConfigurationPropertiesReflectionHintsProcessor
Java bean properties handling in order to register reflection hints
only for getters and setters, not for all methods.

It avoids including unconditionally method like SpringApplication#load
which in turn avoids shipping BeanDefinitionLoader and related transitively
used classes in the native image.

The gain is significant: it allows to remove up to 700 classes
(when no XML parser is used elsewhere) and to reduce the memory footprint
by 2M of RSS.

Closes gh-32186
2022-09-01 17:34:22 +02:00
Andy Wilkinson
49d3bf1d7f Remove AnsiColors following removal of image banner support
Closes gh-32209
2022-09-01 14:40:24 +01:00
Brian Clozel
4aa1efa2d8 Fix build with latest Spring for GraphQL changes 2022-09-01 11:26:04 +02:00
Andy Wilkinson
19a7fee1d7 Merge branch '2.7.x'
Closes gh-32202
2022-08-31 17:49:37 +01:00
Andy Wilkinson
d189853412 Merge branch '2.6.x' into 2.7.x
Closes gh-32201
2022-08-31 17:48:12 +01:00
Andy Wilkinson
01aeb550b6 Upgrade to Test Retry Gradle Plugin 1.4.1
Closes gh-32200
2022-08-31 14:58:03 +01:00
Andy Wilkinson
ee701e5c7d Merge branch '2.7.x'
Closes gh-32199
2022-08-31 14:42:05 +01:00
Andy Wilkinson
a253d8d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32198
2022-08-31 14:41:47 +01:00
Andy Wilkinson
7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2022-08-31 14:36:07 +01:00
Andy Wilkinson
43b88901b8 Merge pull request #32149 from hak7a3
* gh-32149:
  Remove ANTLR 2 dependency management

Closes gh-32149
2022-08-31 14:10:08 +01:00
hak7a3
fb61f8af53 Remove ANTLR 2 dependency management
See gh-32149
2022-08-31 14:09:42 +01:00
Andy Wilkinson
08fde3a004 Revert "Remove dependency management for ANTLR 2"
This reverts commit a46d6b3a4c.
2022-08-31 14:06:41 +01:00
Andy Wilkinson
a46d6b3a4c Remove dependency management for ANTLR 2
Closes gh-32149
2022-08-31 13:56:55 +01:00
Andy Wilkinson
4c01810ca2 Merge branch '2.7.x'
Closes gh-32197
2022-08-31 11:37:20 +01:00
Andy Wilkinson
13edfba1f5 Fix Kotlin example for empty @DefaultValue constructor binding
Closes gh-32177
2022-08-31 11:35:58 +01:00
Phillip Webb
09bd531fe5 Add Maven plugin support for processing test contexts Ahead-of-time
Refactor and update the Spring Boot Maven Plugin so that it can
be used to perform AOT processing of test classes.

Closes gh-32191
2022-08-30 20:41:30 -07:00
Phillip Webb
e599a70425 Disable ResetMocksTestExecutionListener on native
Add a guard for `ResetMocksTestExecutionListener` so that it is
not applied when running in a native image.

See gh-32195
2022-08-30 20:40:34 -07:00
Phillip Webb
ed42823bd2 Harmonize AOT goal/task names
Closes gh-31918
2022-08-25 15:21:03 -07:00
Phillip Webb
c0b3d36205 Rename 'generateAotSources' task to processAot'
See gh-31918
2022-08-25 15:10:48 -07:00
Phillip Webb
2f6354f633 Rename 'aot-generate' goal to process-aot'
See gh-31918
2022-08-25 15:02:28 -07:00
Phillip Webb
973e23dc5e Adapt to upstream Spring Framework changes 2022-08-25 12:12:42 -07:00
Phillip Webb
41c1d9f5c9 Polish 2022-08-25 12:12:38 -07:00
Phillip Webb
c524f8c665 Merge branch '2.7.x' 2022-08-25 11:49:12 -07:00
Phillip Webb
13c0cf7e2a Refine Javadoc to use @AutoConfiguration
See gh-32166
2022-08-25 11:48:07 -07:00
Phillip Webb
b2be193908 Merge branch '2.7.x' 2022-08-24 18:13:18 -07:00
Phillip Webb
e31c295ee9 Merge branch '2.6.x' into 2.7.x 2022-08-24 18:13:03 -07:00
Phillip Webb
adc4e05eff Polish 2022-08-24 18:12:57 -07:00
Phillip Webb
c83a5d5887 Merge branch '2.7.x'
Closes gh-32172
2022-08-24 17:54:23 -07:00
Phillip Webb
4ade89771f Merge branch '2.6.x' into 2.7.x
Closes gh-32171
2022-08-24 17:51:46 -07:00
Phillip Webb
ccc80f39c7 Upgrade to Java 17.0.4.1+1
Closes gh-32163
2022-08-24 17:51:21 -07:00
Phillip Webb
a7e2c0c8af Polish 2022-08-24 17:50:36 -07:00
Phillip Webb
2ea9a4828b Merge branch '2.7.x'
Closes gh-32170
2022-08-24 17:49:46 -07:00
Phillip Webb
753abedb5d Merge branch '2.6.x' into 2.7.x
Closes gh-32169
2022-08-24 17:48:22 -07:00
Phillip Webb
dda44f1ca2 Upgrade to Java 11.0.16.1+1
Closes gh-32164
2022-08-24 17:47:28 -07:00
Phillip Webb
a993731ee8 Merge branch '2.7.x'
Closes gh-32168
2022-08-24 17:34:17 -07:00
Phillip Webb
10ded39217 Merge branch '2.6.x' into 2.7.x
Closes gh-32167
2022-08-24 17:33:50 -07:00
Phillip Webb
24c2daa99d Improve javadoc regarding use on @Bean methods
Closes gh-32166
2022-08-24 17:33:08 -07:00