Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Meilisearch SDK #527

Merged
merged 2 commits into from
May 8, 2024
Merged

Update Meilisearch SDK #527

merged 2 commits into from
May 8, 2024

Conversation

aumetra
Copy link
Member

@aumetra aumetra commented May 8, 2024

New version of the Meilisearch SDK released, this time with support for custom HTTP clients.
In this PR we implement a custom HTTP client based on kitsune-http-client and hook it up to the client SDK.

That way we get rid of a bunch of dependencies that would otherwise be compiled into our binary, including OpenSSL.

This was also the main blocker why we didn't enable Meilisearch as a default feature. That means now we have it as a default feature, meaning all Kitsune instances should ship with Meilisearch support from now on.


Also, as a sidenote, the reason why utoipa-swagger-ui is pinned to 6.0.0 is because they introduced a build time dependency on reqwest and I really don't want to add that to the dependency tree.

I'm not entirely sure why they chose reqwest out of all HTTP clients, especially for a build step. ureq would have been totally sufficient (or minreq).

Well, maybe gonna check that out and potentially open a PR later.

@aumetra aumetra merged commit 8586d06 into main May 8, 2024
18 of 20 checks passed
@aumetra aumetra deleted the meilisearch-up branch May 8, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant