You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This dependency update includes a major version upgrade of Spring Boot from 3.5.x to 4.0.0, which introduces significant breaking changes and requires a new platform baseline. The upgrades for the embedded Tomcat libraries are minor patch versions with no breaking changes.
The upgrade to Spring Boot 4.0.0 is a major evolution of the framework and requires careful migration. It is built on Spring Framework 7 and Jakarta EE 11.
Key Breaking Changes:
Java Version Requirement: Spring Boot 4.0 requires Java 17 or later. First-class support for Java 25 is also mentioned.
Jakarta EE 11: This release is based on Jakarta EE 11, which requires a Servlet 6.1 compatible container like Tomcat 11.
Dependency Upgrades: Major dependencies have been upgraded, which will require code and configuration changes:
Jackson 3.x: Support for Jackson 2.x has been removed. This involves a new package namespace (tools.jackson) and API changes (e.g., using the JsonMapper builder).
JUnit 6: The testing framework has moved to JUnit 6, and support for JUnit 4 is deprecated.
Configuration Properties: Numerous configuration properties have been renamed or removed. It is recommended to use the spring-boot-properties-migrator module to help identify necessary changes.
API Removals: All APIs deprecated in the Spring Boot 3.x line have been removed.
Modularization: Spring Boot's codebase is now more modular. You may need to add new starters for specific features, such as spring-boot-starter-webclient if you use WebClient.
Recommendation:
This is a high-effort migration that cannot be merged without significant planning and refactoring. Before upgrading, you should first upgrade to the latest Spring Boot 3.5.x release and resolve all deprecation warnings. Create a dedicated branch for the migration and expect to address compilation errors, update configurations, and run comprehensive tests.
These are minor patch updates within the same major version. The changelogs indicate they consist of bug fixes, security patches, and minor improvements with no breaking API changes.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 2 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
examples/iOS-Hybrid-App-Java-Server/pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-ORGAPACHETOMCATEMBED-17732890
11.0.18->11.0.23org.apache.tomcat.embed:tomcat-embed-websocket:
11.0.12->11.0.23org.springframework.boot:spring-boot-starter-tomcat:
3.5.5->4.0.0Major version upgradeNo Known ExploitSNYK-JAVA-ORGAPACHETOMCATEMBED-17733746
11.0.18->11.0.23org.apache.tomcat.embed:tomcat-embed-websocket:
11.0.12->11.0.23org.springframework.boot:spring-boot-starter-tomcat:
3.5.5->4.0.0Major version upgradeNo Known ExploitBreaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Improper Authentication