v0.13.0 ☕️
meili-bot
released this
15 Jul 13:42
·
98 commits
to refs/heads/main
since this release
⚠️ Breaking changes
- Fixing empty TaskError response (#757) @larskristianhaga
2 breaking changes 👇
1️⃣ TaskError class is moved to the model package, meaning the import will need to be changed.
Old import:
import com.meilisearch.sdk.TaskError;
New import:
import com.meilisearch.sdk.model.TaskError;
2️⃣ Renaming all fields inside the TaskError class, to match what the API actually returns, so the fields will be populated.
Old code:
TaskError taskError = taskResult.getError();
taskError.getTaskErrorCode();
taskError.getTaskErrorType();
taskError.getTaskErrorLink();
New code
TaskError taskError = taskResult.getError();
taskError.getCode();
taskError.getType();
taskError.getLink();
🚀 Enhancements
- Adding a new field called message to the TaskError class.
- Add frequency matching strategy (#748) @the-sinner
- Add ranking score threshold (#749) @the-sinner
⚙️ Maintenance/misc
- Changes related to the next Meilisearch release (v1.9.0) (#747)
Thanks again to @curquiza, @larskristianhaga, and @the-sinner! 🎉