PHP 7.2 Release #814
Comments
Also ping @dktapps, as someone who has been working on the sockets stuff recently. |
Good question. We should keep them, cause I think Sockets are a high anticipated feature. In case of the primary blocking issue, I could today and tomorrow compare all functions of our current socket implementation with the php socket behavior and adapt it. Of course if possible with your support and/or @dktapps. I would not add #744 yet, but #804 and also I would be very much in favor to add #778. Volatile objects are error prone in complex object structures. PR #778 fixes the well-known Exception "pthreads detected an attempt to connect to an object which has already been destroyed". |
I've been trying to get my guinea pigs to test #778 recently due to a wide range of bug reports I keep getting relating to multidimensional arrays segfault issues and such. I'll see what I can do. I can assist with socket-related stuff if needed. The primary showstopper related specifically to sockets at the moment is (in my opinion) issues with throwing exceptions in non-blocking mode (such as #809 ). I don't think there are any stability issues wrt Sockets right now apart from odd bugs - the rest is just missing features. |
There are also a bunch of cases of misbehaving Socket tests that may need investigation. |
@ which socket tests do you mean? Feel free to correct them ;-) |
@sirsnyder I keep seeing the |
@sirsnyder Thanks. Assuming nothing else comes up, I'll make a new release over this weekend :) |
@sirsnyder I wouldn't swear to this but it may be some issue with AppVeyor, because I've seen it randomly fail on x86 and x64 both. I can't reproduce it when running tests locally at all, on either arch. |
FWIW I'm not sure what versioning system pthreads follows, but I think sockets (as addition of features) warrant a minor version bump to 3.2.0. (also, 3.1.7 is ancient now, running for 2 years) |
@dktapps Yep, that's exactly my thinking too. It will be a 3.2.0 release. |
wrt. |
Something that concerns me (not completely related to this issue, but bear with me) is the global I'm not really sure what can be done about this in consistency's name (maybe With this in mind, it might also not be a bad idea to have some kind of |
Hi guys. Any movement on this? |
@dktapps I've been rather busy over the past couple of weeks, but now I have some more free time again. I'll be working on pthreads some more over the coming days. |
@tpunt that's good to hear! I've been re-reading sockets with intent to use them in my project in the future and I'm realizing that there's been a lot of nasty legacy things introduced into there from php-src - I think given that pthreads prefers an exception-based approach overall, more strictness should be applied wrt. invalid arguments (throwing exceptions), and additionally avoid If there's one thing I really don't like about ext/sockets, it's the way it loves to return |
I'm also noticing just now that |
@tpunt , @sirsnyder reading the threads from Feb it seems we will have a 3.2.0 version. How close are you guys to the release of 3.2.0 and subsequently pushing for snapshot PECL build of pthread for windows? |
@snowleopard24 It's difficult to say. I'm a bit pushed for time currently, so I haven't had the chance to review any PRs. I hope to find some more time soon for this, though. |
Time flies by ... and we need a release. Please let us merge #882 (and if possible #831) within the next days to be php 7.3 compliant and release pthreads 3.2. The @tpunt I guess it's easy but I have no idea what is necessary to push a release, especially in terms of pecl. If you tell me the steps, I will trigger releases in future regularly. After 3.2 I favor december or january for a 4.0 release containing at least the following points
BTW, I think the adjustments for php 7.4 are very extensive and need a lot of time. |
@sirsnyder This sounds good to me. Regarding the PECL release, I don't usually bother with this for my extensions, so I'm not sure how it is done exactly. I know who we can ping for Windows builds on PECL, though. So I'd say just focus on merging those couple of pull requests, and then make a release on this repo. I will try to review the PHP 7.3 updates sometime over the next week to ensure that everything is fine. I don't really have many comments on #831 - it is probably best for Joe to review this. |
Looking at PECL releases, the last release was v3.1.6 on 5/25/2018 7:31 AM. And, if I'm not wrong pthreads v3.1.6 was php 7.2 compliant. |
Ping @sirsnyder
I believe Joe is assuming we will make the next release (judging by his comment here).
Before we make the next release, what needs to be done on Sockets to stabilise it a bit more? Should we either revert the recent changes and place them into their own branch, or do they just require a bit more work? I think this is the primary blocking issue for a stable release.
Hopefully, if we can sort out the sockets stuff over the coming days, then we can make a new release over the weekend.
The text was updated successfully, but these errors were encountered: