Skip to content

Releases: meilisearch/meilisearch-js

v0.32.0-v1.1.0-pre-release.0

15 Mar 15:56
Compare
Choose a tag to compare
Pre-release

This version makes this package compatible with Meilisearch v1.1.0.rc.1 πŸŽ‰
Check out the changelog of Meilisearch v1.1.0.rc.1 for more information on the changes.

πŸš€ Enhancements

  • Support for facetStats returned in the search response #1459
  • New client.multiSearch route to perform multiple search requests. #1458

v0.31.1 🌻

06 Feb 11:58
d7572e6
Compare
Choose a tag to compare

πŸ› Bug Fixes

Thanks again to @bidoubiwa! πŸŽ‰

v0.31.0 🌻

06 Feb 10:43
8a3f422
Compare
Choose a tag to compare

This version makes this package compatible with Meilisearch v1.0.0 πŸŽ‰
Check out the changelog of Meilisearch v1.0.0 for more information on the changes.

⚠️ Breaking change

  • Some error codes were added and other were removed see: #1438

πŸš€ Enhancements

  • types: fix search default type of search and searchGet (#1416) @trim21

Thanks again to @TeyKey1, @bidoubiwa, and @trim21! πŸŽ‰

v0.30.0 🌻

28 Nov 15:05
449cd60
Compare
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.

πŸš€ Enhancements

  • New pagination strategy with the search parameterspage and hitsPerPage #1372
  • New filters on getTasks: uid, beforeEnqueuedAt, afterEnqueuedAt, ... see #1376
  • New client.cancelTasks method that lets you cancel enqueued and processing tasks #1379
  • New client.deleteTasks method that lets you deleted tasks #1382
  • New client.swapIndexes method that lets you swap two indexes #1384

⚠️ Breaking change

  • Parameters on getTasks name changes: #1391
    • status -> statuses
    • index_uid -> index_uids
    • type -> types
  • Task detail receivedDocumentIds renamed to providedIds #1386
  • Remove batchUid from Task class #1388
  • Error field in Task is now always present and has a null value when there are no errors #1389
  • Add and rename some error codes: #1393
  • (ts) Make all the fields of details field of TaskObject optional (#1398) @amit-ksh
  • (ts) Make all the fields of details field of TaskObject optional (#1398) @amit-ksh

Thanks again to @amit-ksh, @bidoubiwa, @meili-bors[bot] ! πŸŽ‰

v0.30.0-beta.0 🌻

14 Nov 16:17
Compare
Choose a tag to compare
Pre-release

This version makes this package compatible with Meilisearch v0.30.0rc1 πŸŽ‰
Check out the changelog of Meilisearch v0.29.1 for more information on the changes.

πŸš€ Enhancements

  • New pagination strategy with the search parameterspage and hitsPerPage #1372
  • New filters on getTasks: uid, beforeEnqueuedAt, afterEnqueuedAt, ... see #1376
  • New client.cancelTasks method that lets you cancel enqueued and processing tasks #1379
  • New client.deleteTasks method that lets you deleted tasks #1382
  • New client.swapIndexes method that lets you swap two indexes #1384

⚠️ Breaking change

  • Parameters on getTasks name changes: #1391
    • status -> statuses
    • index_uid -> index_uids
    • type -> types
  • Task detail receivedDocumentIds renamed to matchedDocuments #1386
  • Remove batchUid from Task class #1388
  • Error field in Task is now always present and has a null value when there are no errors #1389
  • Add and rename some error codes: #1393

v0.29.1 🌻

03 Nov 11:22
7747e1a
Compare
Choose a tag to compare

πŸ› Bug Fixes

Thanks again to @bidoubiwa! πŸŽ‰

v0.29.0 🌻

27 Oct 10:20
f29fa0f
Compare
Choose a tag to compare

⚠️ Breaking changes

  • refactor: Construct date type for related keys (#1338) @TheLearneer
  • Refactor Task and EnqueuedTask to classes (#1343) @blenderskool

πŸš€ Enhancements

Thanks again to @CursedRock17, @MoskalykA, @TheLearneer, @Ugzuzg, @bidoubiwa, @blenderskool, @brunoocasali, @jimmyruann, @sab1in, @vishalsodani, @viveknshah and sabin! πŸŽ‰

v0.28.0 🌻

03 Oct 14:43
5c4c3c0
Compare
Choose a tag to compare

This version makes this package compatible with Meilisearch v0.29.0 πŸŽ‰
Check out the changelog of Meilisearch v0.29.0 for more information on the changes.

πŸš€ Enhancements

  • Add the new search query parameter matchingStrategy #1324 @bidoubiwa
  • 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. #1325 @bidoubiwa

⚠️ 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.

Thanks again to @bidoubiwa and @guimachiavelli! πŸŽ‰

v0.28.0-beta.0 🌻

01 Sep 13:14
Compare
Choose a tag to compare
Pre-release

This version makes this package compatible with Meilisearch v0.29.1 πŸŽ‰
Check out the changelog of Meilisearch v0.29.1 for more information on the changes.

πŸš€ Enhancements

  • New search query parameter matchingStrategy #1324
  • The actions field when creating a key now accepts wildcards on specific actions. For example: indexes.* provides rights to create/get/delete/update indexes meilisearch/meilisearch#2560
  • Changes in filters and behavior of the NOT keyword meilisearch/meilisearch#2486

v0.27.0-optional-words-beta.1 🌻

02 Aug 15:24
Compare
Choose a tag to compare
Pre-release

πŸš€ Enhancements

  • Add any as an optionalWords value. c40122c

Usage

const response = await client.index('myIndex').search('hello world', { optionalWords: 'any' })

optionalWords can also be any. With this mode, all the query words are optional, no matter their order in the query (i.e. the q parameter).

More information here

Thanks again to @bidoubiwa ! πŸŽ‰