This repository was archived by the owner on Feb 23, 2023. It is now read-only.
0.11.0-RC1
Pre-release
Pre-release
·
364 commits
to main
since this release
This release, among a lot of bug fixes and improvements, bring back testing with the new AOT engine and leverages Spring Boot 2.6.0
, see the reference documentation for more details.
⭐ New Features
- Infer reflection configuration for TestContextBootstrapper implementations #1270
- Dynamically replace DITEL with AotDependencyInjectionTestExecutionListener #1264
- Provide more context when InitDestroyMethodsDiscoverer fails to discover a defined method #1263
- Extract SpringTestHints from the existing SpringBootTestHints #1249
- Optimize reflection hints and inference #1246
- Add infrastructure to contribute native reflection configuration for generated code #1239
- Limit use of MergedContextConfiguration at runtime #1232
- Enhance constructor resolution with use of SpEL #1229
- Introduce native hints for AssertJ #1223
- Revise scope of SpringBootTestHints #1221
- Support AOT-based autowiring for test class instances #1169
- Add support for FactoryBean that specify the target type using FactoryBean.OBJECT_TYPE_ATTRIBUTE #1155
- AOT engine does not process Actuator child context #1146
- Refine default
access
attribute defined on@TypeHint
#1123 - Improve transactional proxy detection to generate needed proxy hints #933
- Add AOT processing for ApplicationContexts used in tests #911
⭐ Compatibility
- Fix session-redis-webflux unit tests on native #1283
- Fix caches actuator endpoint #1200
- Migrate remaining ComponentProcessor to BeanFactoryNativeConfigurationProcessor #1130
🐞 Bug Fixes
- Running native tests using "mvn -Pnative test" fails with "No processor found" #1282
- Native reflection configuration for fields are not detected when the bean type is a cglib proxy #1273
- Gradle plugin adds generated sources JAR to end of the test classpath #1272
- BeanInstanceExecutableSupplier does not detect factory method when target type is set to the type it produces #1269
- NativeConfigurationRegistry registers reflection configuration against the cglib proxy rather than user class #1267
- AotDependencyInjectionTestExecutionListener fails to run with vanilla Boot tests #1258
- LinkedHashSet.() method not found #1257
- Calls to beanFactory.getType() can return null and are not properly guarded #1255
- Skip Maven AOT test generation when there is no test #1253
- PrimaryDefaultValidatorPostProcessor triggered at different time with AOT leads to incomplete Validator bean definition #1243
- Filter ContextCustomizerFactory implementations that are only necessary at build time #1242
- NullPointerException at ConfigurationPropertiesNativeConfigurationProcessor #1240
- Reflection hints are missing for loading test contexts #1235
- Refine support for custom application class #1226
- List of inner bean definition as property values are not supported #1219
- NPE harvesting property with no write method #1218
- TestExecutionListeners are not loaded in native image #1217
- Invoke BeanDefinitionRegistryPostProcessors at build time #1213
📔 Documentation
- Bring back native testing documentation #1288
- Document expectations of the AOT engine #1278
- Document --exclude-config native-image option #1230
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!