-
Notifications
You must be signed in to change notification settings - Fork 157
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
Support SpringBoot 3 with jakarta
api
#869
Comments
second that request! |
Without support for Spring Boot3 this will be very quickly abandonware. |
PRs are welcomed
InNeedOfStreetCred ***@***.***> schrieb am Do., 22. Dez.
2022, 12:13:
… Without support for Spring Boot3 this will be very quickly abandonware.
—
Reply to this email directly, view it on GitHub
<#869 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5DJFJ3IAJKFD4FNILEWFTWOQZV5ANCNFSM6AAAAAAS27G6HY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I would like to stick with this library as well. I don't find the other alternatives mentioned on https://jsonapi.org/implementations/#client-libraries-java better. It's sad to see this one perish. But I understand if you don't have time @remmeier . Life is changing all the time right. |
I am new to CRNK and haven't delved into spring boot 3 yet, but planning to in the coming months. How much guidance would you be able to provide for something like this. The servlet aspect looks straightforward. I imagine one only needs to duplicate the crnk-setup-servlet module and change the package names and fix small issues. I am not sure how much of the crnk-setup-spring-boot2 module would be reusable but that code base is more sizable. The bigger issue is probably the java 17 baseline. It seems to me crnk would have to create a new major version and maintain both streams the way spring did. This could escalate the development to other modules of CRNK, depending on how much breaks compiling in 17. [Edit] I guess a start would be to just compile the spring-boot3 module in 17. Rough thoughts. @remmeier Do you have any thoughts on this and how a PR could work? How much guidance are you able to provide? |
a new major version seems good to me. upgrade everything to the latest versions and new packages. in the past we have been more careful at maintaining backwards compatibility. but with javaee/jakarta/... many things change. everything else would be too much effort. a simple upgrade would be quick to do |
Happy to help as well with the migration. |
For our project we want to have the SpringBoot v3 dependency, so I created a fork and want to have a go at it. |
Is there a branch for the Java17 / Spring Framework 6.x / Spring Boot 3.x work . |
Nice that you want to help. As priorities at my assignment have changed, I haven't done anything to this fork. |
So which branch should I look at ? |
sorry for the late reply, I had a short holiday. |
Currently I am trying to migrate spring boot 3. My crnk API application is returning 404 message after upgrading spring boot 3. Do anyone have idea about this issue? or will Crnk support spring boot 3 ? |
@remmeier / @dennisvonk so any plans / list of tasks as would like to help if I can.
reference links
|
Hi whgibbo,
that looks like a good plan. Step 2 might not be needed, but other steps I
totally agree with.
As you can see, not a lot has changed, which has to do with the amount of
work on my day-job. Hopefully you and others can pickup these tasks.
Dennis Vonk
Op za 12 aug 2023 om 22:25 schreef whgibbo ***@***.***>:
… @remmeier <https://github.com/remmeier> / @dennisvonk
<https://github.com/dennisvonk> so any plans / list of tasks as would
like to help if I can.
I can think of the following:
1. Java 8 -> Java 17 (due to spring boot / framework min supported)
2. Change Gradle version from 6 - > 8.2.1 ?
3. Update spring packages to version 3.x
4. update the servlet code from javax -> jakarta
5. review 3rd party libraries and update as required.
reference links
-
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide
- https://www.baeldung.com/spring-boot-3-migration
—
Reply to this email directly, view it on GitHub
<#869 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHZXH5VWITEQHFCKAYNDDHLXU7RE3ANCNFSM6AAAAAAS27G6HY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Any updates on adding Spring Boot 3 support for |
FYI, we're working on a branch/PR to support |
@jsteelepfpt just need somebody to review it now.. I'll take a look if you like.. anybody else? |
@whgibbo (cc @jsteelepfpt) it's still very much in progress. Fair warning, this my first time using Gradle, and first time looking at the crnk codebase. So I apologize for how messy it is, but I'm hoping to drive a path forward and those with more experience can hop in and help out. Specifically, I might have overdone the |
I've hit a bit of a roadblock with the upgrade work. I'm also with splitting my time with other responsibilities, so if anyone can take a look and try to move it forward, any help is appreciated! |
Hello, |
Hi, any progress? |
Hi everyone - I have not had time to get back to this since we started. Also, our team moved away from trying to support Crnk so unfortunately I don't foresee myself getting back to this any time soon. |
Currently
crnk-setup-servlet
are heavily based onjavax.servlet
api so it's not compatible withjakarta
api at all. All the servlet filters are failed in Spring Boot 3.So any plan so migrate to the new jakarta API? I tried a little bit, but it seems to reweite all the
crnk-setup-servlet
andcrnk-setup-spring-boot2
modules, which is too redundant for users.So hope the maintainer can add the support on the code side.
The text was updated successfully, but these errors were encountered: