Closed qiujiayu closed 1 month ago
The changes involve updating the CHANGES.md
file to document support for Spring Boot 3 and modifying the ApolloAutoConfiguration
class in the Apollo client library by replacing the @Configuration
annotation with @AutoConfiguration
. This indicates a shift towards auto-configuration within the Spring framework while retaining existing conditional annotations that control instantiation based on specific properties and beans.
File | Change Summary |
---|---|
CHANGES.md |
Added entry for Spring Boot 3 support and linked to pull request #82. |
apollo-client/src/main/java/com/ctrip/framework/apollo/spring/boot/ApolloAutoConfiguration.java |
Changed annotation from @Configuration to @AutoConfiguration in ApolloAutoConfiguration class. |
Objective | Addressed | Explanation |
---|---|---|
Spring Boot 3.3.3 compatibility issue (#81) | β | |
Fix for "Cannot enhance @Configuration bean" (#81) | β |
π° In the code, a change so bright,
From@Configuration
, we take flight.
With@AutoConfiguration
, we now align,
Spring's embrace is truly divine!
Bugs be gone, let harmony reign,
In Apollo's world, we dance without pain! πΌ
CLA Assistant Lite bot All contributors have signed the CLA βοΈ β
I have read the CLA Document and I hereby sign the CLA
Thanks. Would you please also help to update the CHANGES.md?
done
As this is a warning message and occurs not only in spring boot 3 but also spring boot 2, I changed the description to Fix the Cannot enhance @Configuration bean definition issue
.
What's the purpose of this PR
XXXXX
Which issue(s) this PR fixes:
Fixes #81
Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Bug Fixes