-
Notifications
You must be signed in to change notification settings - Fork 72
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
Named first runtime argument in resolve #19
Conversation
This means a 3.1.0 before the 4.0.0, right? |
I don't mind bumping major version and release it together with other things that are in develop now. To release 3.1 first will be too much updates in short time. But do you think it will be ok just to remove old methods without deprecating them first? Currently in develop |
827bd4e
to
1a3e2f6
Compare
I think removing without deprecating might be maybe harsh but not that problematic either, as long as we provide a clear note in the CHANGELOG. We can't deprecate in 4.0.x and remove in 4.1.x because that would break semantic versioning: when you remove a method and thus break the backward compatibility you have to bump the major version. So the solutions to chose from are:
I think the first one would be the best, because typically when you do semver you use |
Ok, I see. But then if we deprecate it in 3.1 then we need to provide an alternative in the same version, don't we? For named arguments we have it, but for registering singleton we need to extract it from circular dependencies implementation. If it's ok I can do that. |
Totally. I didn't realize that the alternative for |
Ok, let's do that. I think it will be easier to start |
Yeah we messed up a bit with the release branches this time, it wasn't proper gitflow as we didn't have the roadmap yet, and should have created that 3.1.0 earlier or waited before merging the Circular Deps PR. Woops. I think we should still create the branch from |
Ok, will do that tomorrow. |
Well I just took a look at the git graph and realize that… I already did exactly that 4 days ago 😄 Branch |
So can we close that? |
Maybe it also worths adding |
Mmh given that the Scope is a fixed enum, I'm not sure the confusion can be done like there was the confusion between tag and runtime argument before? |
Yep, let's leave it like it is. |
Cool! Will close this issue once I took time to merge #21 :) |
1a3e2f6
to
c620656
Compare
We now don't need this as it is now in develop after merge of release/3.1.0 - 9778236 |
Resolves #18