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
PHP Version Support #1083
Comments
Most probably, it will be enough to update the version requirement to |
@reedy when you read |
Like I say, if it was semver syntax, I'd agree. But 8.0.0 >= 7.1.0... And many projects are using basically that syntax in their composer.json to include support for PHP 8.0 |
PHP Version RequirementVersion 7.x can be used starting from PHP version 7.1. In addition, it requires the native JSON PHP 8 is supported starting from
@reedy, @Radiergummi is this matrix version more clear? |
@ezimuel that looks clear as day, thank you! I originally implied that PHP 8 support should simply be granted for the 7.x branch (given that it technically only requires a patch and wouldn't have to be explicitly listed), but then again I'm not involved with the project yet. So 7.11 it is :) |
@Radiergummi Since each elasticsearch-php |
any ETA on 7.11 release? |
We are going to release 7.11 soon, it should happen this month. |
We still really hope so :) |
Sorry to be that person, but any luck? I'm waiting on support for PHP8 so other libraries that arbeitnow uses can update to it :) Thanks! |
@adithyasrinivasan, @volkv we are going to release 7.11 it very soon! Unfortunately, we had some delay. |
I just released |
Thanks @ezimuel - appreciate it, can't wait to upgrade! |
Thanks to all the contributors! |
We are still using v6.7.2 because of compatibility issue in our application, but this version is not compatible with PHP 8. Here is the pull request, I just created: |
I am in the same boat as @fghamsary, but then with 5.x. I works fine here and I created #1159 |
@fghamsary and @xvilo you can update to v6.8 that is compatible with PHP 8. |
Hello!
I'd like to request an update/clarification to https://github.com/elastic/elasticsearch-php#php-version-requirement about the PHP versions supported.
The table doesn't use semver (and it shouldn't necessarily), but
>= 7.0.0
and>= 7.1.0
would suggest to me that ES-PHP 6.0 and 7.0 technically support PHP 8.0, (which is obviously out now as a stable release!) but it doesn't, and can be confirmed by looking at https://github.com/elastic/elasticsearch-php/blob/6.x/composer.json#L16 which as^7.0
and https://github.com/elastic/elasticsearch-php/blob/7.x/composer.json#L16 which has^7.1
. And^7.0
basically means>=7.0.0 <8.0.0
etc.Anything we can do for clarification? As I'm sure there are going to be people coming along and thinking PHP 8 should work...
Thanks!
The text was updated successfully, but these errors were encountered: