This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
[Snyk] Upgrade meilisearch from 0.14.0 to 0.18.1 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade meilisearch from 0.14.0 to 0.18.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: meilisearch
Changes
FacetsDistribution
_matchesInfo
Hits
Thanks again to @ bidoubiwa, @ curquiza, and @ react-learner! 🎉
Changes
Breaking changes⚠️
We have changed how you import MeiliSearch-js in your project. Before this release, the import of MeiliSearch was only possible in default mode:
import MeiliSearch from 'meilisearch'
New usage
ES:
Node
Typescript usage
Thanks again to @ bidoubiwa, @ curquiza! 🎉
Changes
This release is compatible with the new release of MeiliSearch with no breaking changes.
Thanks again to @ Nick-Mazuk, @ bidoubiwa! 🎉
Changes
index()
method that replacesgetIndex()
.getIndex()
is still available but does HTTP call, so this should be only used to fetch information from the MeiliSearch instance. See our Getting Started to use this package the right way (#715) @ bidoubiwaIndex
class:primaryKey
. You can now useclient.getIndex('books').primarykey
to access the primary key of your index (#715) @ bidoubiwaclient.updateIndex()
lets you update an index without having to use theIndex
class (#715) @ bidoubiwaclient.deleteIndex()
lets you delete an index without having to use theIndex
class (#715) @ bidoubiwaindex.fetchInfo()
returns the same instance with updated information found in MeiliSearch (#715) @ bidoubiwaStatic Index.create()
creates an index in MeiliSearch (#715) @ bidoubiwaBreaking changes⚠️
getIndex()
is still present but does an HTTP call. This method should be only used to fetch information from the MeiliSearch instance, not to manipulate anIndex
object in your code base. Useindex()
instead. See our Getting Started to be sure using this SDK the most optimized way (#715) @ bidoubiwaindex.updateIndex()
is now calledindex.update()
and now returns anIndex
object instead of the JSON response of MeiliSearch (#715) @ bidoubiwaindex.deleteIndex()
is now calledindex.delete()
(#715) @ bidoubiwaindex.show()
is now calledindex.getRawInfo()
(#715) @ bidoubiwaclient.getOrCreateIndex()
now does at least one HTTP call (and two sometimes) (#715) @ bidoubiwaThanks again to @ bidoubiwa, @ curquiza, and @ eskombro ! 🎉
Changes
Thanks again to @ bb, and @ bidoubiwa! 🎉
Changes
This package is ready to be used with a MeiliSearch v0.16.0 instance.
Breaking changes⚠️
Read more
Changes
Fixes problem where additional sub-routes in host address was ignored,
for example: Given this address as a host "http://localhost:7700/api", the
/api
will not be ignored anymore.Thanks again to Janne Keiski and @ bidoubiwa ! 🎉
Read more
Read more
Commit messages
Package name: meilisearch
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs