Releases: statamic-rad-pack/meilisearch
Releases · statamic-rad-pack/meilisearch
1.1.0
Changed
- Allow use of latest meilisearch/meilisearch-php
v0.24.*
Meilisearch 0.28 has a lot of breaking changes in its api. You may need to require an older Meilisearch Client if you use an older Version of Meilisearch.
Full Changelog: 1.0.6...1.1.0
1.0.6
1.0.5
Changed
Nothing! Just a new version to release changes for real (I forgot to push before I created the previous release 🤦♂️)
Full Changelog: 1.0.4...1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
In consultation with @tao, I have revised the adapter, and we present the first "stable" version.
Added
reference
is automatically added to the index. (Statamic needs this to resolve the search results).- The code will now be automatically formatted (php-cs-fixer).
- We added a basic test setup to ensure at least the packages can be installed together.
Changed
- We no longer follow the MeiliSearch release cycle (the search client is used so superficially that we do not expect any breaking changes here).
- The ID of the search documents will now be transformed according to the MeiliSearch rules #5 .
- The property
collection
is no longer indexed by default. If you still need it, add this transformer to your search configuration:
'tags' => [
'driver' => 'meilisearch',
'searchables' => ['taxonomy:tags'],
'fields' => ['title', 'slug', 'collection'],
'transformers' => [
'collection' => fn($collection) => $collection?->handle(),
],
],
- The Package Service Provider has been renamed to
StatamicMeiliSearchServiceProvider
. If you have problems updating, you may have to remove the package withcomposer remove elvenstar/statamic-meilisearch
and add it again withcomposer require elvenstar/statamic-meilisearch
.
Removed
- We have removed PHP support for versions older than 8.0.
- We have removed Laravel support for versions older than 8.0.