-
Notifications
You must be signed in to change notification settings - Fork 5
Rename mcproto.packets.abc
to mcproto.packets.packet
#41
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rename mcproto.packets.abc
to mcproto.packets.packet
#41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, but this is a breaking change, not an internal one, mcproto.packets.abc
was absolutely a part of the public API, and people using this library are almost certainly importing something from there.
It might then also be worth it to consider whether we should add deprecations here, if not, a major version bump will be necessary for the next release containing this commit, which I'm not sure I like, as simple bugfix releases might need to be made before 1.0.0 is ready, and this would block all such releases due to an introduction of a breaking change.
Without deprecations, this PR is blocked until 1.0.0 is closer to being ready. Alternatively, this could get merged into a new temporary development branch for the 1.0.0 release, keeping the main branch without any such breaking changes, making it easy to release bugfixes if necessary, and keep the development of new things inside of this development branch.
Blocked until 1.0.0 release comes closer, due to an introduction of a breaking change. |
So, what's the reason for this rename? Perhaps you assumed |
Ah, right, yeah I completely forgot about that discussion as it was a while, and without any issue alongside the PR, nor a description about it I really didn't think to go to DMs for the answer. Alright, that makes sense then.
That's absolutely fine, we're all volunteers here, I also took a pretty long break from the project, but I do have some more time for it now. Since #116 will be restructuring the entire project and will end up being a completely breaking change, I don't actually think that this breaking change needs to wait. Semantic versioning does allow breaking changes in minor version releases when <1.0.0. So, unless there's something else this needs doing, it can actually probbaly be merged already, and will be in the next (0.4.0) release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I will ask you to do a rebase (or at least a regular merge, though a rebase would be cleaner) with the main
branch first though, as there were a lot of changes since. There shouldn't be any breaking changes atm, so it should be as simple as git rebase main
hopefully.
Looks like I messed up somewhere... |
6f9e8e1
to
932c1b4
Compare
No worries, I've performed the rebase for you and force-pushed. However it does seem like there were some changes in You'll now want to do a force pull ( |
No description provided.