All notable changes to this project will be documented in this file.
- @godismyjudge95 made their first contribution in #38
Full Changelog: https://github.com/statamic-rad-pack/meilisearch/compare/v3.2.1...v3.3.0
- Fixed inserting single documents by @naabster in #33
- @naabster made their first contribution in #33
Full Changelog: https://github.com/statamic-rad-pack/meilisearch/compare/v3.2.0...v3.2.1
- Use lazy indexing/updating for performance and reduced memory usage by @ryanmitchell in #31
Full Changelog: https://github.com/statamic-rad-pack/meilisearch/compare/v3.1.0...v3.2.0
- Site based indexes are now supported #28 #29 by @ryanmitchell
- Results will now be sorted using the search score from Meilisearch #26 by @robbanl
- You can now use
maxTotalHits
andhitsPerPage
options when configuring indexes #24 by @ryanmitchell
- Fixed typo in the package name #23 by @ryanmitchell
The meilisearch addon is now part of The Rad Pack. As part of this, please run the following commands when upgrading:
composer remove elvenstar/statamic-meilisearch
composer require statamic-rad-pack/meilisearch
- You can now extend the
Index
class #20 by @j6s
- Use getSearchReference method instead of reference #18 by @duncanmcclean
- The
Searchable
interface is now used in place of concrete implementations #19 by @j6s
- This addon only supports Statamic 4 now
- The package name has changed to
statamic-rad-pack/meilisearch
- Remove paragraph about versioning system from readme by @lakkes-ra in #15
- Add support for Statamic 3.3
Full Changelog: https://github.com/statamic-rad-pack/meilisearch/compare/2.0.0...2.0.1
- Allow new version of
meilisearch/meilisearch-php
by @Z3d0X in #10 - Update for MS v1.0, Statamic 4.0 and Laravel 10 by @lakkes-ra in #13
- Update Authorization Header in README by @lakkes-ra in #12
Full Changelog: https://github.com/statamic-rad-pack/meilisearch/compare/1.1.0...2.0.0
- 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/statamic-rad-pack/meilisearch/compare/1.0.6...1.1.0
- Fix missing type hint for
Statamic\Taxonomies\Term
Full Changelog: https://github.com/statamic-rad-pack/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/statamic-rad-pack/meilisearch/compare/1.0.4...1.0.5
- Pass
reference
and not whole object to delete method.
Full Changelog: https://github.com/statamic-rad-pack/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/statamic-rad-pack/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 #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 statamic-rad-pack/meilisearch
and add it again withcomposer require statamic-rad-pack/meilisearch
.
- We have removed PHP support for versions older than 8.0.
- We have removed Laravel support for versions older than 8.0.