Releases: meilisearch/meilisearch-java
v0.11.7 ☕️
This release contains all the changes from the previous one, 0.11.6 which was not published to Nexus due to a bug which was fixed on #708.
Here is the previous changelog:
🚀 Enhancements
- Make MeilisearchException a RuntimeException (#683) @junghoon-vans
- Add createSnapshot() method (#688) @mesutgk15
- Support user-dictionary loading #660 (#689) @mesutgk15
- Improve GSON JSON handler, moving Key specific logic (#690) @jrhenderson1988
- Add multi search client method (#652) @jd2024
- Add all-args-constructor for easy initial config Pagination (#696) @jonaskahn
⚙️ Maintenance/misc
- Ignore tests when running gradle build on releasing (#708) @brunoocasali
- Fix invalid reference url in Searchable (#684) @junghoon-vans
Thanks again to @brunoocasali, @curquiza, @jd2024, @jrhenderson1988, @junghoon-vans, and @mesutgk15! 🎉
v0.11.6 ☕️
Please come help the maintenance of this repo 🙏
🚀 Enhancements
- Make MeilisearchException a RuntimeException (#683) @junghoon-vans
- Add createSnapshot() method (#688) @mesutgk15
- Support user-dictionary loading #660 (#689) @mesutgk15
- Improve GSON JSON handler, moving Key specific logic (#690) @jrhenderson1988
- Add multi search client method (#652) @jd2024
⚙️ Maintenance/misc
- Fix invalid reference url in Searchable (#684) @junghoon-vans
Thanks again to @brunoocasali, @curquiza, @jd2024, @jrhenderson1988, @junghoon-vans, and @mesutgk15! 🎉
v0.11.5 ☕️
🐛 Bug Fixes
- Add re-interrupt to waitForTask method (#670) @junghoon-vans
⚙️ Maintenance/misc
- Change reference url in javadoc to see tag (#676) @junghoon-vans
Thanks again to @curquiza, @junghoon-vans, ! 🎉
v0.11.4 ☕️
🚀 Enhancements
🔒 Security
- Update build.gradle (#674) @brunoocasali
Misc
- Replace deprecated publish plugin (#661) @axelrindle @alallema
Thanks again to @KaaNee, @axelrindle 🎉
v0.11.3 ☕
Release done on this branch: #661
🐛 Bug Fixes
- Mark internal fields as transient (#656) @axelrindle
Thanks again to @axelrindle ! 🎉
v0.11.2 ☕️
🚀 Enhancements
- Total Tasks in task route #636 (#637) @tonyghouse
- Update tests to use Hamcrest matchers instead of JUnit assertions (#638) @jrhenderson1988
- Move TenantTokenOptions to correct location, matching its package declaration (#647) @jrhenderson1988
🐛 Bug Fixes
- Fix #604 (#618) @brunoocasali
- Fix possible unintended definition of BasicResponse.create (#643) @jrhenderson1988
Thanks again to @Skillkiller, @alallema, @brunoocasali, @curquiza, @jrhenderson1988, and @tonyghouse! 🎉
v0.11.1 ☕️
🚀 Enhancements
- Add support to the pagination setting customization at the index level (#568) @dennxa
getPaginationSettingsupdatePaginationSettingsresetPaginationSettings
- Create an enum to handle the Task Status (#566) @TheClerici
- Add support to the sortable attributes settings (#570) @albajarazeth
getSortableAttributesSettingsupdateSortableAttributesSettingsresetSortableAttributesSettings
- Add support to the faceting setting customization at the index level (#577) @MaAnCoSa
getFacetingSettingsupdateFacetingSettingsresetFacetingSettings
- Add explicitly requirement of
okhttplibrary (#594) @brunoocasali - Update Gradle tooling (#596) @brunoocasali
Thanks again to @MaAnCoSa, @PotatoDoge, @TheClerici, @alallema, @albajarazeth, @brunoocasali, @curquiza, @dennxa and @oraliahdz 🎉
v0.11.0 ☕️
This version makes this package compatible with Meilisearch v0.30.0 🎉
Check out the changelog of Meilisearch v0.30.0 for more information on the changes(#382).
⚠️ Breaking changes
- Add a builder for
SearchRequestclass (#543) @alallema- The search method can now only be instantiated:
SearchResult search(String q) Searchable search(SearchRequest searchRequest)
- Parameters on
getTasksname changes: #390status->statusesindexUID->indexUIDStype->types
- New
paginationstrategy with the search parameterspageandhitsPerPage#546public Searchable search(SearchRequest searchRequest)method now returnSearchablewhich can be extended to two different classes of resultsSearchResultandSearchResultPaginatedSearchResultis now an extended class ofSearchable- Creation of the
SearchResultPaginatedclass to handle pagination results from search - Creation of a common search result class
Searchable
🚀 Enhancements
- Implement
getRawIndexeswith query parameters (#558) @oraliahdz - New filters on
setTasks:uid,beforeEnqueuedAt,afterEnqueuedAt, ... see #544 - New
client.cancelTasksmethod that lets you cancelenqueuedandprocessingtasks #547 - New
client.deleteTasksmethod that lets you delete tasks #548 - New
client.swapIndexesmethod that lets you swap two indexes #554 - New fields on
TaskDetailsand modification of ``TaskInfo` #545
🐛 Bug Fixes
- Fix: #550 Add a constructor to initialize HttpClient using Gson by default (#551) @gpor0
- Fix matching strategy enum usage and add test (#561) @alallema
Thanks again to @alallema, @gpor0, and @oraliahdz! 🎉
v0.10.0 ☕️
Check out the changelog of Meilisearch v0.29.0 for more information on the changes.
⚠️ Breaking changes
This breaking change may not affect you, but in any case, you should check your search queries if you want to keep the same behavior from v0.28.
- The
NOTfilter keyword does not have an implicitlyEXISToperator anymore. Check out for more information: meilisearch/meilisearch#2486 - Correction of naming methods related to Ranking Rules (#539) @ghousek1
🚀 Enhancements
v0.9.0 ☕️
This version makes this package compatible with Meilisearch v0.28.0 🎉
Check out the changelog of Meilisearch v0.28.0 for more information on the changes.
💥 Breaking Changes
SearchQuerychanges (#505) @alallema- Renamed
facetsDistributionfield tofacets - Renamed
matchesfield toshowMatchesPosition
- Renamed
SearchResultchanges (#505) @alallema- Renamed
nbHitsfield toestimatedTotalHits - Removed
exhaustiveFacetsCountfield - Removed
exhaustiveNbHitsfield
- Renamed
- Renamed
Resultclass to pluralResults(#508) @alallema - Remove method
client.getDumpStatus(#515) @alallema - Method
client.createDumpnow returns aTaskInfoobject (#515) @alallema client.getTasks()now returns aTasksResults(#517) @alallemaclient.getIndexes()now returns aResults<Index>(#516) @alallemaclient.getRawIndexes()method return a String (#516) @alallemaclient.getKeys()now returns aResults<Key>(#517) @alallemaclient.getDocuments()now the method returns aResults<T>(#518) @alallema- Create two separate methods for
getDocument:- ` Results getDocument(String identifier, Class targetClass)
String getRawDocument(String identifier)
- Create two separate methods for
getDocument:<T> Results<T> getDocuments(Class<T> targetClass)String getRawDocuments()
- Remove
client.getRawIndex()method (#516) @alallema - Add new
:nameand:uidattributes inKeyclass (#517) @alallema client.generateTenantTokenmethod now waits for anapiKeyUid(Uid of a signing API key) as parameter.
🚀 Enhancements
- Developer experience enhancements (#502) @brunoocasali
- Creation of
KeyUpdateclass (#517) @alallema client.getTasks()now accepts an object with paginationTasksQuery(#510) @alallemaclient.getIndexes()now accepts an object with paginationIndexesQuery(#516) @alallemaclient.getKeys()now accepts an object with paginationKeysQuery(#517) @alallema
client.getDocuments(),client.getDocument()Add the possibility to reduce the body payload by now accepting a query parameter calledfields(previously calledattributesToRetrieve) (#518) @alallema
- Add User-Agent header to have analytics in every http request (#503) @brunoocasali
Analytics is enabled by default in the server, but you can disable them by following this guide
Also, of course, every analytics data we collect are ANONYMOUS read the guide for more information.
Thanks again to @alallema, @brunoocasali ! 🎉