Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to the latest Spring Framework #5977

Open
12 tasks done
sumerjabri opened this issue Mar 6, 2023 · 16 comments
Open
12 tasks done

Upgrade to the latest Spring Framework #5977

sumerjabri opened this issue Mar 6, 2023 · 16 comments

Comments

@sumerjabri
Copy link
Member

sumerjabri commented Mar 6, 2023

Duplicates

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Spring Boot 2.7 is approaching EOL.

Describe the solution you'd like

Upgrade to the latest Spring Framework. Upgrade to Spring 6 and Spring Boot 3.

Upgrade Spring Framework and upgrade dependencies to keep with that. This includes

  • Spring Framework 6
  • Spring Boot 3
  • Java 21
  • Apache Tomcat 10
  • FreeMarker
  • HTTP Proxy
  • Tuckey
  • ESAPI
  • FileUpload
  • Groovy 4, see Upgrade to Groovy 4 #5876
  • Anything else that breaks with the javax to jakarta change
@sumerjabri sumerjabri added new feature triage Requires triage labels Mar 6, 2023
@sumerjabri sumerjabri added this to the CrafterCMS v4.1.0 milestone Mar 6, 2023
@sumerjabri sumerjabri self-assigned this Mar 6, 2023
@sumerjabri sumerjabri added this to Backlog in Crafter CMS v4 via automation Mar 6, 2023
@sumerjabri sumerjabri assigned phuongnq and unassigned sumerjabri Apr 14, 2023
@phuongnq phuongnq moved this from Backlog to In Progress in Crafter CMS v4 Apr 18, 2023
@phuongnq
Copy link
Member

Note: Spring Boot 3 has Groovy dependency 4.0.11. We may need to upgrade Groovy.
https://docs.spring.io/spring-boot/docs/current/reference/html/dependency-versions.html

@sumerjabri
Copy link
Member Author

@phuongnq yes, it's in the plan #5876

@jmendeza
Copy link
Member

These are some libraries I have found so far that are non-compatible with Jakarta 9+ (required by spring 6)
ESAPI
Tuckey (url rewrite)
Freemarker
smiley-http-proxy-servlet
Apache commons - fileupload

@sumerjabri
Copy link
Member Author

sumerjabri commented Apr 25, 2023

These are some libraries I have found so far that are non-compatible with Jakarta 9+

  • ESAPI
  • Tuckey (URL rewrite)
  • FreeMarker
  • smiley-http-proxy-servlet
  • Apache commons - fileupload

Due to the above, we must wait until our dependencies are updated to Jakarta 9.

I will close this ticket for now.

Crafter CMS v4 automation moved this from In Progress to Completed Apr 25, 2023
@sumerjabri sumerjabri reopened this Sep 13, 2023
@phuongnq
Copy link
Member

@sumerjabri I have checked the list.
For ESAPI, please note that there is no change regarding the version. We only added the flag <classifier>jakarta</classifier> to support it. Refer to https://github.com/ESAPI/esapi-java-legacy/wiki/Using-ESAPI-with-Jakarta-EE-Servlet-API-Specification-5.0-and-later#with-maven for the detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Status: Done
Development

No branches or pull requests

4 participants