-
Notifications
You must be signed in to change notification settings - Fork 334
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
Algolia Search PHP Client v4 is not Compatible #855
Comments
Thanks. Welcoming PR's to make sure we're compatible with v4 👍 |
If somebody require some references I did work on v3 -> v4 update in my own package. https://github.com/schranz-search/schranz-search/pull/414/files. Linking also the Upgrade Guide from Algolia: https://www.algolia.com/doc/libraries/php/v4/upgrade/ The hard part is mostly if you want to keep V3 support then I think its lot of more work, else you can only do it for next major. |
We can cut a new major release if need be. |
Thanks @alexander-schranz Your links helped a lot. I think the scout repo doesn't need many changes. I have made a few changes locally. Things worked fine for now. I'll be testing a little more tomorrow before submitting the PR I hope everything goes well. I'm very excited to submit my first PR on Laravel's repo. |
Is there any update on this? |
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
Yes this should/could have been a major release as it does break algolia/scout-extended dependencies |
Scout Version
10.11.1
Scout Driver
Algolia
Laravel Version
11
PHP Version
8.3.8
Database Driver & Version
No response
SDK Version
No response
Meilisearch CLI Version
No response
Description
As per Laravel's documentation, user needs to install Alogila client via following command:
This by default installs latest version v4 of the Algolia Search client, which was recently released.
Issue:
Despite the successful installation,
php artisan scout:import "App\Models\Variant"
command results an error.Steps To Reproduce
algolia/algoliasearch-client-php
in the project.php artisan scout:import "App\Models\<model name>"
The text was updated successfully, but these errors were encountered: