Skip to content

Releases: meilisearch/meilisearch-java

v0.11.7 ☕️

02 Feb 14:38
9a64a3a

Choose a tag to compare

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

⚙️ Maintenance/misc

Thanks again to @brunoocasali, @curquiza, @jd2024, @jrhenderson1988, @junghoon-vans, and @mesutgk15! 🎉

v0.11.6 ☕️

17 Jan 11:37
3bea276

Choose a tag to compare

⚠️ Not published because of this: #704
Please come help the maintenance of this repo 🙏

🚀 Enhancements

⚙️ Maintenance/misc

Thanks again to @brunoocasali, @curquiza, @jd2024, @jrhenderson1988, @junghoon-vans, and @mesutgk15! 🎉

v0.11.5 ☕️

02 Nov 16:28
7d6c77e

Choose a tag to compare

🐛 Bug Fixes

⚙️ Maintenance/misc

Thanks again to @curquiza, @junghoon-vans, ! 🎉

v0.11.4 ☕️

25 Oct 09:53
043a7a6

Choose a tag to compare

🚀 Enhancements

  • added Attribute "attributesToSearchOn" for SearchRequests (#662) @KaaNee

🔒 Security

Misc

Thanks again to @KaaNee, @axelrindle 🎉

v0.11.3 ☕

28 Sep 14:32
8b35023

Choose a tag to compare

Release done on this branch: #661

🐛 Bug Fixes

Thanks again to @axelrindle ! 🎉

v0.11.2 ☕️

13 Sep 17:35
8ffd301

Choose a tag to compare

🚀 Enhancements

🐛 Bug Fixes

Thanks again to @Skillkiller, @alallema, @brunoocasali, @curquiza, @jrhenderson1988, and @tonyghouse! 🎉

v0.11.1 ☕️

09 May 17:04
447547e

Choose a tag to compare

🚀 Enhancements

  • Add support to the pagination setting customization at the index level (#568) @dennxa
    • getPaginationSettings
    • updatePaginationSettings
    • resetPaginationSettings
  • Create an enum to handle the Task Status (#566) @TheClerici
  • Add support to the sortable attributes settings (#570) @albajarazeth
    • getSortableAttributesSettings
    • updateSortableAttributesSettings
    • resetSortableAttributesSettings
  • Add support to the faceting setting customization at the index level (#577) @MaAnCoSa
    • getFacetingSettings
    • updateFacetingSettings
    • resetFacetingSettings
  • Add explicitly requirement of okhttp library (#594) @brunoocasali
  • Update Gradle tooling (#596) @brunoocasali

Thanks again to @MaAnCoSa, @PotatoDoge, @TheClerici, @alallema, @albajarazeth, @brunoocasali, @curquiza, @dennxa and @oraliahdz 🎉

v0.11.0 ☕️

27 Feb 17:57
85d33fd

Choose a tag to compare

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 SearchRequest class (#543) @alallema
    • The search method can now only be instantiated:
       SearchResult search(String q)
       Searchable search(SearchRequest searchRequest)
  • Parameters on getTasks name changes: #390
    • status -> statuses
    • indexUID -> indexUIDS
    • type -> types
  • New pagination strategy with the search parameters page and hitsPerPage #546
    • public Searchable search(SearchRequest searchRequest) method now return Searchable which can be extended to two different classes of results SearchResult and SearchResultPaginated
    • SearchResult is now an extended class of Searchable
    • Creation of the SearchResultPaginated class to handle pagination results from search
    • Creation of a common search result class Searchable

🚀 Enhancements

  • Implement getRawIndexes with query parameters (#558) @oraliahdz
  • New filters on setTasks: uid, beforeEnqueuedAt, afterEnqueuedAt, ... see #544
  • New client.cancelTasks method that lets you cancel enqueued and processing tasks #547
  • New client.deleteTasks method that lets you delete tasks #548
  • New client.swapIndexes method that lets you swap two indexes #554
  • New fields on TaskDetails and 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 ☕️

14 Feb 07:21
9e969d5

Choose a tag to compare

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 NOT filter keyword does not have an implicitly EXIST operator anymore. Check out for more information: meilisearch/meilisearch#2486
  • Correction of naming methods related to Ranking Rules (#539) @ghousek1

🚀 Enhancements

  • Ensure support to the new search query parameter MatchingStrategy (#434) @alallema
  • Ensure support to keys with wildcarded actions.
    • actions field during key creation now accepts wildcards on actions. For example, indexes.* provides rights to indexes.create, indexes.get,indexes.delete, indexes.delete, and indexes.update. (#434) @alallema

Thanks again to @alallema and @ghousek1! 🎉

v0.9.0 ☕️

17 Jan 14:42
ac9929d

Choose a tag to compare

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

  • SearchQuery changes (#505) @alallema
    • Renamed facetsDistribution field to facets
    • Renamed matches field to showMatchesPosition
  • SearchResult changes (#505) @alallema
    • Renamed nbHits field to estimatedTotalHits
    • Removed exhaustiveFacetsCount field
    • Removed exhaustiveNbHits field
  • Renamed Result class to plural Results (#508) @alallema
  • Remove method client.getDumpStatus (#515) @alallema
  • Method client.createDump now returns a TaskInfo object (#515) @alallema
  • client.getTasks() now returns a TasksResults (#517) @alallema
  • client.getIndexes() now returns a Results<Index> (#516) @alallema
  • client.getRawIndexes() method return a String (#516) @alallema
  • client.getKeys() now returns a Results<Key> (#517) @alallema
  • client.getDocuments() now the method returns a Results<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 :name and :uid attributes in Key class (#517) @alallema
  • client.generateTenantToken method now waits for an apiKeyUid (Uid of a signing API key) as parameter.

🚀 Enhancements

  • Developer experience enhancements (#502) @brunoocasali
  • Creation of KeyUpdate class (#517) @alallema
  • client.getTasks() now accepts an object with pagination TasksQuery (#510) @alallema
  • client.getIndexes() now accepts an object with pagination IndexesQuery (#516) @alallema
  • client.getKeys() now accepts an object with pagination KeysQuery (#517) @alallema
  • client.getDocuments(), client.getDocument() Add the possibility to reduce the body payload by now accepting a query parameter called fields (previously called attributesToRetrieve) (#518) @alallema

Thanks again to @alallema, @brunoocasali ! 🎉