-
Notifications
You must be signed in to change notification settings - Fork 46
Ready for stable release #62
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
Comments
Was also thinking the same, as we have now a stable api for discovery it is good for a stable release, maybe we can rename Puli strategy to PuliBetaStrategy in the meantime ? (So we can create a PuliStrategy when it is stable) |
+1 for PuliBetaStrategy to make clear this is beta. once its stable, i
would hope that one strategy might work for all puli 1 versions, maybe
even puli 2...
|
I would add one more thing here: NotFoundException. The API became quite stable in 0.8 and many libraries (like mailgun) started to use it. I would really hate if they haven't updated because of the BC break between 0.8 and 0.9 (NotFoundException relocated). So I would add that exception back, extend the new exception and throw it temporarily (also deprecate it). |
@sagikazarmark as long as we remove it for 1.0 i am +1 on that. |
I think we should remove it in 2.0 to make transition from 0.8 to 1.0 easier. Otherwise it's a BC break for consumer libraries. |
i would say caring a bit about BC for the 0.* versions to make upgrades |
I don't insist, but my concern is that libraries would stick to 0.8 to preserve THEIR BC. And it would be a problem, because they would stuck on older Bundle versions, older adapters, etc. |
okay, you convinced me ;-)
|
If I am right, we did all the changes we wanted. So I think we could bring this to stable this week? Anything to add here? |
Yes, I would like to figure out this first: php-http/HttplugBundle#85 I hope I do not need any change in this repo, But lets wait an extra few days. I'll try to give some time to HttplugBundle the next coming days |
I believe we are ready for tagging a stable 1.0. |
I will do a final review and tag during the weekend. |
i merged #76 so we should now be ready. |
Cool, I will tag the stable soon. |
I started this issue from the discussion here: php-http/HttplugBundle#81
Our BC promise in this library is the following functions:
This API has nothing to do with the discovery methods (strategies) itself. The strategy classes should not be a part of our API promise. Which is a great thing.
If we change the namespace of our clients we just add another "NewNamespacesStrategy" together with our existing
CommonClassesStrategy
. Same with if Puli changes their API when they release 1.0. We just add a "Puli1Strategy".So if we leave the strategies outside our BC promise, are we ready for a stable release? At least, can we mature in to this API and tag 1.0 after the summer?
The text was updated successfully, but these errors were encountered: