Releases: meilisearch/meilisearch-java
v0.7.0 ☕️
This package version is compatible with MeiliSearch v0.25.0 (#296)
⚠️ Breaking changes
- This package is only compatible with MeiliSearch v0.25.0 and later, but not with v0.24.0 and older. Be sure you are using at least MeiliSearch v0.25.0 or newer before doing the upgrade.
Why isn't it compatible? - Remove
deleteIfExist
andgetOrCreate
(#307) (#308) @alallema - Redesign API update by task (#311) @alallema
- All the actions on indexes are now asynchronous check out the task API references and the asynchronous tasks guide
createIndex()
,updateIndex()
,deleteIndex()
are now asynchrone and return aYask
response instead of anIndex
.index.create
andindex.delete
from index return aTask
.waitForPendingUpdate()
is renamed intowaitForTask
and is accessible fromindex
and fromclient
.- the current
index.waitForTask()
method call/tasks/:uid
index.getUpdateStatus
is renamedindex.getTask
index.getAllUpdateStatus
is renamedindex.getTasks
- new method
client.waitForTask()
call/tasks/:uid
- new method
client.waitForTask()
- new method
client.getTasks
that calls/tasks
- new method
client.getTask
that calls/tasks/:uid
Notes: The only two methods that now return anIndex
areclient.index()
andclient.get_index()
- All the actions on indexes are now asynchronous check out the task API references and the asynchronous tasks guide
- Change
client.getKeys
does not return an object of keys, but an array of keys. Check out keys API references. - Changes related to the next MeiliSearch release (v0.25.0) (#296)
🚀 Enhancements
- Addition related to API keys (#317) @alallema
- Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:
client.getKey
get information about a specific API key.client.createKey
create a new API key.client.deleteKey
delete an API key.client.updateKey
update an API key.
- Check out the documentation guide.
- Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:
- Add the possibility to add documents in batches and update documents in batches (#305) @diegonavarroq
🐛 Bug Fixes
- Change type for variable of databaseSize (#299) @diegonavarroq
- make Class Error accesible (#303) @Artumira96
Thanks again to @Artumira96, @alallema, @diegonavarroq, @irenejoeunpark ! 🎉
v0.6.0 ☕️
This package version is compatible with MeiliSearch v0.24.0
⚠️ Breaking changes
- Rename
errorCode
,errorLink
,errorType
anderrorMessage
incode
,link
,type
andmessage
(#280) @alallema - Update the error change in UpdateStatus class but create
error
object containingcode
,link
andtype
(#282) @alallema
🚀 Enhancements
- Add offset and attributesToRetrieve parameter to get docum… (#247) @ezienecker
- Add delete index if exists method (#248) @ezienecker
- Add RUD operations for ranking rule settings (#254) @ezienecker
- Implement sub-settings methods (#264) @ezienecker
Thanks again to @Hard-Coder05, @alallema, @curquiza, @ezienecker, @irenejoeunpark, and @ujjavala! 🎉
v0.5.0 ☕️
This package version is compatible with MeiliSearch v0.23.0
Changes
addDocuments
andupdateDocuments
take primaryKey as optional param (#224) @vishnugt- Added
getRawIndex
andgetRawIndexList
methods (#239) @vishnugt
Breaking changes ⚠️
Thanks again to @alallema, @ansavanix, @curquiza, @inomag, @ishika22, @mohitsaxenaknoldus, and @vishnugt! 🎉
v0.4.1 ☕️
This package version is compatible with MeiliSearch v0.22.0 🎉
Changes
- Add
sort
feature compatibility (#204) @alallema. More about sorting.- Add sortable attributes methods:
get_sortable_attributes
,set_sortable_attributes
,reset_sortable_attributes
. - Add
sort
parameter during search.
- Add sortable attributes methods:
Thanks again to @alallema! 🎉
v0.4.0 ☕️
This version makes this package compatible with MeiliSearch v0.21.0
🎉 Check out the changelog of MeiliSearch v0.21.0
Changes
- Add Fields in Dump (#180) @alallema
- Add facets distribution fields in search request (#185) @alallema
Breaking changes ⚠️
- Rename of buildDate into commitDate (#177) @alallema
- Rename attributes_for_faceting into filterable_attributes (#178) @alallema
- Rename FieldsDsitribution into FieldDistribution (#179) @alallema
- Rename Filters into Filter (#181) @alallema
- Changes related to the next MeiliSearch release (v0.21.0) (#157)
v0.3.1 ☕️
v0.3.0 ☕️
Changes
- BasicHttpRequest Enconding with UTF-8 (#132) @chboing
- Implement APIs based on ServiceTemplate (#121 #122) @niemannd
- Add package version to Jupiter (#119) @fharper
Breaking changes ⚠️
Thanks again to @chboing, @curquiza, @djKooks, @eskombro, @fharper, @nicolasvienot, @niemannd, @React-learner and Christophe BECKERICH! 🎉
v0.2.0 ☕️
Changes
- Introduction of the
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 (#74) @eskombro - Add a
fetchPrimaryKey()
method toIndex
class. The attributeprimaryKey
is not updated when using theindex()
method: the method does not do any HTTP call. Refer to the limitation section in the main issue. (#74) @eskombro - Change of get method to post method in the sdk (#75) @mayralgr
- Added update method with the test (#81) @JohanDelValleV
- Implement dumps (#89) @luis-valdez
- Implement setting methods (#95) @luis-valdez
- implement ServiceTemplate (#92) @niemannd
Breaking 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 (#74) @eskombroclient.getOrCreateIndex()
now does at least one HTTP call (and two sometimes) (#74) @eskombro- Refactor update index method: returns now an
Index
instance (#83) @luis-valdez
Thanks again to @JacobSherrod, @JohanDelValleV, @curquiza, @djKooks, @eskombro, @luis-valdez, @mayralgr, @niemannd, and kination! 🎉
v0.1.1 ☕️
v0.1.0
First version of this SDK!! 🎉
Still a WIP, but available for production soon!
Thanks to @eskombro, @niemannd, @djKooks, @AmiralBl3ndic and @arjunrc143!!! A huge work has been done here! ❤️