Releases: meilisearch/meilisearch-js
v0.32.0-v1.1.0-pre-release.0
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
v0.31.1 π»
v0.31.0 π»
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
Thanks again to @TeyKey1, @bidoubiwa, and @trim21! π
v0.30.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.
π Enhancements
- New
pagination
strategy with the search parameterspage
andhitsPerPage
#1372 - New filters on
getTasks
:uid
,beforeEnqueuedAt
,afterEnqueuedAt
, ... see #1376 - New
client.cancelTasks
method that lets you cancelenqueued
andprocessing
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: #1391status
->statuses
index_uid
->index_uids
type
->types
- Task detail
receivedDocumentIds
renamed toprovidedIds
#1386 - Remove
batchUid
fromTask
class #1388 - Error field in
Task
is now always present and has anull
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 π»
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
andhitsPerPage
#1372 - New filters on
getTasks
:uid
,beforeEnqueuedAt
,afterEnqueuedAt
, ... see #1376 - New
client.cancelTasks
method that lets you cancelenqueued
andprocessing
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: #1391status
->statuses
index_uid
->index_uids
type
->types
- Task detail
receivedDocumentIds
renamed tomatchedDocuments
#1386 - Remove
batchUid
fromTask
class #1388 - Error field in
Task
is now always present and has anull
value when there are no errors #1389 - Add and rename some error codes: #1393
v0.29.1 π»
v0.29.0 π»
β οΈ Breaking changes
- refactor: Construct date type for related keys (#1338) @TheLearneer
- Refactor Task and EnqueuedTask to classes (#1343) @blenderskool
π Enhancements
- Add faceting index settings methods (#1344) @Ugzuzg
- Add support to the pagination setting customization at the index level (#1339) @vishalsodani
- Make MatchingStrategies enum type available to import (#1358) @jimmyruann
Thanks again to @CursedRock17, @MoskalykA, @TheLearneer, @Ugzuzg, @bidoubiwa, @blenderskool, @brunoocasali, @jimmyruann, @sab1in, @vishalsodani, @viveknshah and sabin! π
v0.28.0 π»
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 toindexes.create
,indexes.get
,indexes.delete
,indexes.delete
, andindexes.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
.
- The
NOT
filter keyword does not have an implicitlyEXIST
operator anymore. Check out for more information: meilisearch/meilisearch#2486
Thanks again to @bidoubiwa and @guimachiavelli! π
v0.28.0-beta.0 π»
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 π»
π Enhancements
- Add
any
as anoptionalWords
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).
Thanks again to @bidoubiwa ! π