The following dependency versions have been updated:
- The minimum PHP version is now v8.0
- The minimum Laravel version is now v9.0
PR: laravel#509
In Scout 10.x, the getScoutKeyName
method will return the unqualified key name and no longer qualifies the key name with the table name. If your application is overriding the getScoutKeyName
method you should ensure an unqualified key name is returned.
public function getScoutKeyName()
{
- return 'posts.id';
+ return 'id';
}
PR: laravel#657
Due to the getScoutKeyName
change discussed above, the getUnqualifiedScoutKeyName
method was removed as it is no longer necessary.
Scout 10.x requires Meilisearch PHP 1.0 as its minimum supported SDK version; therefore, you should upgrade your dependency via your application's composer.json
file:
"meilisearch/meilisearch-php": "^1.0",
In this SDK update, all namespace and class references to "MeiliSearch" have been updated to "Meilisearch". Please review your code for any reference to the old capitalization and update those references accordingly.
In addition, please consult the full Meilisearch PHP v1.0 changelog for further details.
Laravel 8.0 is now the minimum supported version of the framework.
PHP 7.3 is now the minimum supported version of the language.
Laravel 6.0 is now the minimum supported version of the framework.
PHP 7.2 is now the minimum supported version of the language.
Update your laravel/scout
dependency to ^7.0
in your composer.json
file.
If you are using Algolia as your search provider, update your algolia/algoliasearch-client-php
dependency to ^2.2
in your composer.json
file.
The AlgoliaSearch\AlgoliaException
exception class was renamed to Algolia\AlgoliaSearch\Exceptions\AlgoliaException
.
If you are passing a callback to the search
method, the callback will now receive an instance of Algolia/AlgoliaSearch/SearchIndex
as its first argument.
If you are using the Algolia API client directly, consider reviewing the full changelog provided by Algolia.