-
Notifications
You must be signed in to change notification settings - Fork 439
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
[Spanner] class ReadOnly throws error in PHP 8.1 since it became a reserved word #5129
Comments
We have a fix submitted to protobuf here: protocolbuffers/protobuf#9633 |
Thank you for the fix. I noticed protocolbuffers/protobuf#9633 was merged to master some time ago. Was this a breaking change? Do we have to wait until protobuf 4.0 for this to be released? |
Thanks @taka-oyama. Yes, unfortunately we are still waiting for Protobuf to cut a release containing those changes. We will update these packages as soon as it happens. Fortunately, it will not be a breaking change |
Hi, thank you for the quick reply. Hopefully the change will be applied here soon. |
Status update. 21.0 was officially released. 🚀 https://github.com/protocolbuffers/protobuf/releases/tag/v21.0 |
We are eagerly waiting for this fix to be included in the release. |
@taka-oyama unfortunately we discovered a bug in the fix we had and we had to revert the changes. We've submitted a secondary fix here. We will need to wait until the next release before this rolls out. And because the fix requires a new version of It will be at least two more weeks before this happens, but we are working to get this fix out as quickly as we can. |
Thank you for the quick response.
OK. Understood. |
Hi, sorry for the constant ping but I noticed the protocolbuffers/protobuf#10041 has been silent for over 2 weeks now. Will this be addressed any time soon? |
Merged and released! https://github.com/protocolbuffers/protobuf/releases/tag/v21.3 |
This has been fixed in #5377 |
Hi, thank you for the fix! |
Trying to use
google/cloud-spanner/src/V1/TransactionOptions/ReadOnly.php
results in error becausereadonly
became a reserved word in PHP 8.1.Would it be possible to rename this class?
Environment details
Steps to reproduce
Issue was first raised at colopl/laravel-spanner#38
And more detail was revealed in googleapis/gax-php#374
The text was updated successfully, but these errors were encountered: