-
Notifications
You must be signed in to change notification settings - Fork 461
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
Start a second branch to work on a version 6 of this library? #926
Comments
👍 for a fast upgrade to Spring 3. Whatever way is the fastest way for you maintainers. As Jürgen Höller mentioned in his keynote, Spring (Boot) switches to a much faster release cycle. Which in my opinion will also affect the Java ecosystem since Spring is such a huge player. |
Hi @jmini, I agree with your proposal. I assigned this to myself. I will create all necessary branches (at least the one for version 6.x). |
Let me know when the branch is created so that I can start doing the necessary changes. |
Are there any updates on this issue? I can't find a version 6.x branch yet. Is this PR #943 actually something that will get merged? |
The branch I have started to do the changes. |
Since name of the branches are now defined, I have updated the Git flow diagram (editable with diagrams.net): Read more about the approach |
When we implement the separation in multiple modules (see #1067) we can have a jersey 2 implementation next to a jersey 3 implementation. At this point we will merge |
Hi. I'm trying to set the merge_commit_template using ProjectApi. I've noticed that it was introduced in 6.X Is 6.0.0-rc.4 uploaded to maven central repo? Best regards |
There are a number of changes that landed on |
We currently have 2 branches:
|
See #926 # Conflicts: # gradle.properties
Release I have merged the branch |
That's great news, thanks! Looking forward to the GA 6.0 release (been on RCs for quite a while now). |
@marcelstoer testing Maybe one last goal for |
For |
Context:
While there are a lot plans for the future (#817, #924, #925 and other issues with the Next label), it seems that we need also to think short term here.
The most wanted feature is to have a version of this library that is compatible with Spring Framework 6.0 (Spring Boot 3) which requires a Jersey client version update and the package change
javax.ws.rs.*
->jakarta.ws.rs.*
which is presented in PR #841Branching model:
It seems reasonable to me to start a second main branch
jakarta
or6.x.x
ormaster/6.x.x
next to themaster
branch (our current default branch dedicated to5.1.0
) to put the changes requested by the Spring community to have a version using jakarta.As commented by @marcelstoer here #841 (comment) we could have the 2 versions in parallel for a while.
For the branching model, I personally prefer a pattern with forward merge instead of doing cherry-picks.
We have 2 main branches:
5.x.x
(the current version, java 8 &javax.ws.rs.*
-- could stay the default branch for now)6.x.x
where we would do have the breaking changes (jakarta.ws.rs.*
namespace change in particular)We always merge in the
5.x.x
->6.x.x
direction, not in the other way around.We are sure that all the changes in
5.x.x
are properly merged into6.x.x
.💡 I wrote a more detailed description about this branching model that we are using in all our projects in my company.
Scope:
If we want to have something quick, I think it makes sense to keep the
6.x.x
as close as possible to5.1.x
for now.So for me this would mean:
And do a
6.0.0-rc.1
or a6.0.0-beta.1
(not sure what is the preferred versioning scheme) really soon, so that we can get feedback from the community that uses Spring.Other bigger refactoring tasks would be moved to a later version:
This would make version 6 a breaking version for technical reason.
And make an other next major version (which would be version 7), where we could include more functional breaking changes, more cleanups, ... (and so on). We would have more time to figure out what needs to be done with this next major version.
Risk:
The risk of not doing a version compatible with the Spring Boot 3 is to fragment the project (some people will start their one version of this library).
To me this is more important than not being able to do all the breaking changes in one version.
I would also not keep this dual versioning for a too long period of time, because it is time-consuming and requires additional efforts, but in this way I think this is a good way to move forward quickly.
Feedback
This is open for feedback now, maybe we can give us until end of March 2023 to have a decision.
The text was updated successfully, but these errors were encountered: