-
Notifications
You must be signed in to change notification settings - Fork 3
Remove unused stream factory #9
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
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.
Good. Just to make sure to add it in the Changelog.
This ensures we don't add another parameter which might be a BC break compared to v0.1.0 then.
4bc010e
to
b860278
Compare
There is no need to deprecate it. Just remove it and we release 0.2.0. But the change log should state that we removed it. |
/** | ||
* @param Artax\Client $client HTTP client implementation. | ||
* @param ResponseFactory $responseFactory Response factory to use or `null` to attempt auto-discovery. | ||
* @param StreamFactory $streamFactory This parameter will be ignored and removed in the next major version. |
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.
I think you can remove it directly withtout waiting for a next major and tag the next release a 0.2.0, it will be compliant with semver and as it's a fresh library it should be fine.
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.
Yes, but that way we can tag v0.1.1
and nobody even has to update their composer.json
.
We can do that as well, don't really care. |
@Nyholm I'd just tag v0.1.1 for now, but if you really want to tag v0.2.0, I can change the PR, too. |
Thank you for this PR. |
Feel free to tag 0.1.1. |
Tagged. |
What's in this PR?
Remove the unused stream factory.
Why?
Because it's unused.