-
Notifications
You must be signed in to change notification settings - Fork 64
[OMCSession*] renames #384
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
base: master
Are you sure you want to change the base?
Conversation
0ad6c85 to
fa448ea
Compare
|
We added OMCProcess* classes in 4.0.0 and then renaming it to OMCSession* classes in a sub-release doesn't sound like a good idea. I thought the refactoring was mostly targeted for 5.0.0 |
|
@adeas31 you have a good point here; however, I think that this change should be added to 4.1.0 as an update of the changes done in 4.0.0. Reasoning: I never planned to make it more complicated for the users (2 types of classese to handle). However, at the time for 4.0.0 I had no idea how the two tasks: (1) setup connection to OMC and (2) provide the interface via sendExpression() could be implemented in one class. Here, we have a solution via the Again, I would like to see this as an update to the changes in 4.0.0 with the main changes (removing of compatibility layers) to be done in 5.0.0. This also takes into account, that I expect that the amount of updates will go down in the next weeks / months and thus it could be a longer time till a version 5. OMPython now has a quite good code base! |
|
If we stick to semver, minor releases should not change the interfaces, that's reserved for major releases (5.0.0 in this case). |
I agree.
I understand but we did what we thought was best, unfortunately that ended up as extra work for users.
We can release 4.1.0 with minimum changes/fixes. As soon as 4.1.0 is release we can start with renaming/restructuring of interfaces which can go in release 5.0.0. And this means that the removal of compatibility layers can go in 6.0.0. |
|
@casella I understand your reasoning and will check if I find a solution which keeps the (public) interface stable However, some changes after 4.0.0 changes the public interface in relevant ways:
Especially the last one is a major change of the interface; here, I did not account for the users of OMPython which rely on a stable interface but pushed for updated code. If taking semver seriosly, this alone would require a version 5.0.0 :-( |
based on top of PR #381