-
Notifications
You must be signed in to change notification settings - Fork 6
Clean up event loop from client #58
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
Clean up event loop from client #58
Conversation
WyriHaximus
commented
Nov 14, 2022
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Deprecations? | no |
License | MIT |
4c65753
to
985df11
Compare
thanks. i guess we don't care about the roave BC break complaint - the 4.x branch is allowed to have BC breaks. but can you explicitly mention this in the changelog? there seems to be a place where loop is still referenced in the Client.php, according to phpstan. can you check that please? and can you please again do the cs fix? i merged #56, so this can be rebased on 4.x to have the last state. |
Clean all failing checks up before opening it for review |
f88ec78
to
7d03940
Compare
Yes let me update this PR with an explanation in the changelog before you merged it
Done, done, and done. |
Nvm it's at the top of the page at https://docs.php-http.org/en/latest/clients/react-adapter.html |
7d03940
to
454f4d0
Compare
CHANGELOG.md
Outdated
@@ -25,8 +25,19 @@ async(static function () { | |||
})(); | |||
``` | |||
|
|||
Another major change in this release is that injecting the event loop has been removed, and now fully uses |
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.
Another major change in this release is that injecting the event loop has been removed, and now fully uses | |
Another major change in this release is that you no longer inject the event loop into the client. It now only uses |
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.
Updated 👍
Fully relying on Loop::get() from here on, as such bumped the react/http and react/event-loop to compatible versions.
454f4d0
to
cc97aab
Compare
shall i tag now, or do you plan other changes? |
Go for it, I'm currently updating the documentation, which seems to be "somewhat" out of date 😅 |
here we go: https://github.com/php-http/react-adapter/releases/tag/4.0.0 do you want commit rights on the react-adapter so you can create releases and merge changes? i am happy to keep doing reviews for general sanity and understandability, but have very little experience with reactphp and event loops. |
🎉
Sure 👍 |
great, thanks for this. i sent you the invite. |