-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] Add compatibility with Couchbase 3.0 #39132
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
Comments
Hi @jderusse, |
I look at the PECL extension, there is no class alias. |
We don't want to be defining class aliases. We should use the right class names for 2.x vs 3.x (the classes themselves might have other changes than the class names). |
Hi @jderusse Happy new year! This change is a new feature that should come out of the 5.x branch, right? Thank you. |
Thanks @jderusse, This new version of the sdk Couchbase is very different with previous version, list of differences:
Therefore it would make sense to make a new adapter called CouchbaseCollectionAdapter to be able to operate with the 3.x version of the SDK, since now we would operate with the Collection class and not with the Bucket class and it has muchs changes exceptions and other classs. Thank you very much! |
Thank you for this suggestion. |
Let‘s keep this issue open since there‘s a WIP PR already. |
Sorry for the delay, but I'm done. thk! |
…ith sdk 3.0.0 (ajcerezo) This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Cache] Add CouchbaseCollectionAdapter compatibility with sdk 3.0.0 | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #39132 | License | MIT | Doc PR | symfony/symfony-docs#15764 Adding Couchbase SDK 3 support Commits ------- 78820ea [Cache] Add CouchbaseCollectionAdapter compatibility with sdk 3.0.0
The version 3.0 of the couchbase extension breaks compatibility (as expected for a major bump) excluding on objects we are using in the Cache Component.
version 2.6 => https://docs.couchbase.com/php-sdk/2.6/managing-connections.html
version 3.0 => https://docs.couchbase.com/php-sdk/current/howtos/managing-connections.html
The symfony/cache's adapter is not compatible with version 3.0
/cc @ajcerezo
The text was updated successfully, but these errors were encountered: