All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 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: https://github.com/elvenstar/statamic-meilisearch/compare/1.0.6...1.1.0
- Fix missing type hint for
Statamic\Taxonomies\Term
Full Changelog: https://github.com/elvenstar/statamic-meilisearch/compare/1.0.5...1.0.6
Nothing! Just a new version to release changes for real (I forgot to push before I created the previous release 🤦♂️)
Full Changelog: https://github.com/elvenstar/statamic-meilisearch/compare/1.0.4...1.0.5
- Pass
reference
and not whole object to delete method.
Full Changelog: https://github.com/elvenstar/statamic-meilisearch/compare/1.0.3...1.0.4
Add compare url to new changelog updates
Use correct target branch for tag.
Full Changelog: https://github.com/elvenstar/statamic-meilisearch/compare/1.0.0...1.0.2
- Some follow up changes after using changelog updater
In consultation with @tao, I have revised the adapter, and we present the first "stable" version.
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.
- 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 statamic-rad-pack#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
.
- We have removed PHP support for versions older than 8.0.
- We have removed Laravel support for versions older than 8.0.