-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
How to choose the right branch #11208
Comments
So, when we do merge-ups, we need to merge:
💎 |
This was referenced Mar 20, 2024
This was referenced Apr 26, 2024
This was referenced Aug 17, 2024
This was referenced Nov 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Picking a branch
Now that 3.0.0 is finally released, the situation might be confusing for you as a contributor if you need to pick a branch.
Here is a flow chart you may follow, and there is equivalent text below if you prefer.
Below, we use the following aliases for the branches:
2.20.x
is "legacy patch"2.21.x
is "legacy minor"3.3.x
is "patch"3.4.x
is "minor"4.0.x
is "major"Fixes
Security fixes, and bugfixes should go to the lowest branch that they can affect (usually 2.18.x, 3.0.x for bugs that only affect ORM 3)
Deprecations
New deprecations can be added on 3.1.x. There should be a resolution of each deprecation in 4.0.x.
Improvement to the existing forward-compatbility layer such as deprecations that should have been added in 2.x can be added to 2.19.x.
New features and refactorings
Those should usually go to 3.1.x with the exception of features that simplify the upgrade path. These may go to 2.19.
Breaking changes
Breaking changes must go to 4.0.x. Each breaking change PR must come with a deprecation layer counterpart PR to 3.1.x
Mapping
Merges up
Once your changes land on a branch, they need to be merged up to other branches unless you are contributing to the major branch. That's done by maintainers, following this flowchart:
The text was updated successfully, but these errors were encountered: