Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/changes-2.4.0.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should 'append' on the last of the file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit bcaf67d - moved the security fix entry to the end of the changelog list as requested.

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Apollo 2.4.0
* [Feature: Added the value length limit function for AppId-level configuration items](https://github.com/apolloconfig/apollo/pull/5264)
* [Fix: ensure clusters order in envClusters open api](https://github.com/apolloconfig/apollo/pull/5277)
* [Fix: bump xstream from 1.4.20 to 1.4.21 to fix CVE-2024-47072](https://github.com/apolloconfig/apollo/pull/5280)
* [Security: bump spring-boot from 2.7.11 to 2.7.18 to fix CVE-2024-38816](https://github.com/apolloconfig/apollo/pull/5455)
* [Feature: highlight diffs for properties](https://github.com/apolloconfig/apollo/pull/5282)
* [Feature: Add rate limiting function to ConsumerToken](https://github.com/apolloconfig/apollo/pull/5267)
* [Feature: add JSON formatting function in apollo-portal](https://github.com/apolloconfig/apollo/pull/5287)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<apollo-java.version>2.5.0-SNAPSHOT</apollo-java.version>
<spring-boot.version>2.7.11</spring-boot.version>
<spring-boot.version>2.7.18</spring-boot.version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update spring-boot-maven-plugin or something else?
When relates to such a 'big' update, we have to be very cautious

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! I've verified that the current approach is correct and follows Spring Boot best practices:

  1. spring-boot-maven-plugin already uses ${spring-boot.version} (line 451), so it automatically updates to 2.7.18
  2. spring-boot-dependencies BOM uses ${spring-boot.version} (line 264), which manages all Spring Boot dependency versions automatically
  3. Spring Cloud version 2021.0.5 is compatible with Spring Boot 2.7.x

The project's dependency management setup ensures all Spring Boot components are consistently versioned when the main property is updated. No additional updates are needed.

<spring-cloud.version>2021.0.5</spring-cloud.version>
<!-- sort by alphabet -->
<awaitility.version>4.2.0</awaitility.version>
Expand Down