meilisearch breaking changes
Updated December 4, 2026
On this page
Latest version 0.63.0, released November 9, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
meilisearch 0.63.0 breaking changes
- Removed
SearchRuleAction
SearchRuleAction was removed in meilisearch 0.63.0 npmjs.com - Removed
SearchRulePinAction
SearchRulePinAction was removed in meilisearch 0.63.0 npmjs.com - Removed
SearchRuleSelector
SearchRuleSelector was removed in meilisearch 0.63.0 npmjs.com - Behavior changed
The release lists this as a breaking change to Dynamic Search Rules for Meilisearch v1.54. Code that relies on the previous Dynamic Search Rules behavior may need to be updated. github.com - Signature changed
ErrorStatusCode
Was const ErrorStatusCode: {INDEX_CREATION_FAILED: string; MISSING_INDEX_UID: string; INDEX_ALREADY_EXISTS: string; INDEX_NOT_FOUND: string; INVALID_INDEX_UID: string; INDEX_NOT_ACCESSIBLE: string; INVALID_INDEX_OFFSET: string... npmjs.com - Signature changed
FacetOrder
Was type FacetOrder = "alpha" | "count"; now type FacetOrder = "alpha" | "count" | "sampledCount". npmjs.com - Signature changed
Index.getStats
Was getStats(): Promise<IndexStats>; now getStats<const Q extends StatsQuery | undefined = undefined>(params?: Q): Promise<IndexStats<Q>>. npmjs.com - Signature changed
IndexStats
Was type IndexStats = {numberOfDocuments: number; indexSize: number; usedIndexSize: number; isIndexing: boolean; fieldDistribution: FieldDistribution; numberOfEmbeddedDocuments: number; numberOfEmbeddings: number; rawDocumentDbSize... npmjs.com - Signature changed
IndexStats.avgDocumentSize
Was avgDocumentSize: number; now avgDocumentSize: StatsFieldSize<Q>. npmjs.com - Signature changed
IndexStats.indexSize
Was indexSize: number; now indexSize: StatsFieldSize<Q>. npmjs.com - Signature changed
IndexStats.rawDocumentDbSize
Was rawDocumentDbSize: number; now rawDocumentDbSize: StatsFieldSize<Q>. npmjs.com - Signature changed
IndexStats.usedIndexSize
Was usedIndexSize: number; now usedIndexSize: StatsFieldSize<Q>. npmjs.com - Signature changed
Meilisearch.getStats
Was getStats(): Promise<Stats>; now getStats<const Q extends StatsQuery | undefined = undefined>(params?: Q): Promise<Stats<Q>>. npmjs.com - Signature changed
SearchParams
Was type SearchParams = Query & Pagination & Highlight & Crop & {filter?: Filter; sort?: string[]; facets?: string[]; attributesToRetrieve?: string[]; showMatchesPosition?: boolean; matchingStrategy?: MatchingStrategies; hitsPerPage?... npmjs.com - Signature changed
SearchResponse
Was type SearchResponse<T = RecordAny, S extends SearchParams | undefined = undefined> = {hits: Hits<T>; processingTimeMs: number; query: string; facetDistribution?: FacetDistribution; facetStats?: FacetStats; facetsByIndex?... npmjs.com - Signature changed
SearchRule
Was type SearchRule = {uid: string; description?: string | null; lastUpdatedAt?: string | null; precedence?: number | null; active?: boolean; conditions?: SearchRuleConditions; actions: SearchRuleAction[];}; now type SearchRule = {uid... npmjs.com - Signature changed
SearchRule.actions
Was actions: SearchRuleAction[]; now actions: SearchRuleActions. npmjs.com - Signature changed
SearchRuleFilterCondition
Was type SearchRuleFilterCondition = {values: Record<string, string>;}; now type SearchRuleFilterCondition = {values: Record<string, JsonValue>;}. npmjs.com - Signature changed
SearchRuleFilterCondition.values
Was values: Record<string, string>; now values: Record<string, JsonValue>. npmjs.com - Signature changed
SearchRuleUpdatePayload
Was type SearchRuleUpdatePayload = {description?: string | null; precedence?: number | null; active?: boolean | null; conditions?: SearchRuleConditions | null; actions?: SearchRuleAction[] | null;}; now type SearchRuleUpdatePayload =... npmjs.com - Signature changed
SearchRuleUpdatePayload.actions
Was actions?: SearchRuleAction[] | null; now actions?: SearchRuleActions | null. npmjs.com - Signature changed
Stats
Was type Stats = {databaseSize: number; usedDatabaseSize: number; lastUpdate: string; indexes: {[index: string]: IndexStats;};}; now type Stats<Q extends StatsQuery | undefined = undefined> = {databaseSize: StatsFieldSize<Q>... npmjs.com - Signature changed
Stats.databaseSize
Was databaseSize: number; now databaseSize: StatsFieldSize<Q>. npmjs.com - Signature changed
Stats.indexes
Was indexes: {[index: string]: IndexStats;}; now indexes: {[index: string]: IndexStats<Q>;}. npmjs.com - Signature changed
Stats.usedDatabaseSize
Was usedDatabaseSize: number; now usedDatabaseSize: StatsFieldSize<Q>. npmjs.com
meilisearch 0.62.0 breaking changes
- Behavior changed
The cause attached to request timeout errors now omits the Authorization header. Code that reads that header from the error cause must stop relying on it. github.com - Signature changed
IndexStats
Was type IndexStats = {numberOfDocuments: number; isIndexing: boolean; fieldDistribution: FieldDistribution; numberOfEmbeddedDocuments: number; numberOfEmbeddings: number; rawDocumentDbSize: number; avgDocumentSize: number;}; now type... npmjs.com - Signature changed
Meilisearch.getChatWorkspaces
Was getChatWorkspaces(): Promise<ResourceResults<{uid: string;}[]>>; now getChatWorkspaces(parameters?: ChatWorkspacesQuery): Promise<ChatWorkspacesResults>. npmjs.com - Signature changed
SearchRule
Was type SearchRule = {uid: string; description?: string | null; precedence?: number | null; active?: boolean; conditions?: SearchRuleConditions; actions: SearchRuleAction[];}; now type SearchRule = {uid: string; description?: string |... npmjs.com - Signature changed
SearchRuleConditions
Was type SearchRuleConditions = {query?: SearchRuleQueryCondition | null; time?: SearchRuleTimeCondition | null;}; now type SearchRuleConditions = {query?: SearchRuleQueryCondition | null; time?: SearchRuleTimeCondition | null; filter?... npmjs.com
meilisearch 0.60.0 breaking changes
- Removed
SearchRule.priority
SearchRule.priority was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleCondition
SearchRuleCondition was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleListFilterPayload.attributePatterns
SearchRuleListFilterPayload.attributePatterns was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleQueryCondition.contains
SearchRuleQueryCondition.contains was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleQueryCondition.scope
SearchRuleQueryCondition.scope was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleTimeCondition.scope
SearchRuleTimeCondition.scope was removed in meilisearch 0.60.0 npmjs.com - Removed
SearchRuleUpdatePayload.priority
SearchRuleUpdatePayload.priority was removed in meilisearch 0.60.0 npmjs.com - Signature changed
Meilisearch.deleteDynamicSearchRule
Was deleteDynamicSearchRule(uid: string): Promise<void>; now deleteDynamicSearchRule(uid: string): EnqueuedTaskPromise. npmjs.com - Signature changed
Meilisearch.updateDynamicSearchRule
Was updateDynamicSearchRule(uid: string, rule: SearchRuleUpdatePayload): Promise<SearchRule>; now updateDynamicSearchRule(uid: string, rule: SearchRuleUpdatePayload): EnqueuedTaskPromise. npmjs.com - Signature changed
SearchRule
Was type SearchRule = {uid: string; description?: string | null; priority?: number | null; active?: boolean; conditions?: SearchRuleCondition[]; actions: SearchRuleAction[];}; now type SearchRule = {uid: string; description?: string |... npmjs.com
And 13 more in this version. Sign up to see every change
meilisearch 0.59.0 breaking changes
- Signature changed
RuntimeTogglableFeatures
Was type RuntimeTogglableFeatures = {chatCompletions?: boolean | null; compositeEmbedders?: boolean | null; containsFilter?: boolean | null; dynamicSearchRules?: boolean | null; editDocumentsByFunction?: boolean | null... npmjs.com - Signature changed
SearchParams
Was type SearchParams = Query & Pagination & Highlight & Crop & {filter?: Filter; sort?: string[]; facets?: string[]; attributesToRetrieve?: string[]; showMatchesPosition?: boolean; matchingStrategy?: MatchingStrategies; hitsPerPage?... npmjs.com - Signature changed
Settings
Was type Settings = {filterableAttributes?: FilterableAttributes; distinctAttribute?: DistinctAttribute; sortableAttributes?: SortableAttributes; searchableAttributes?: SearchableAttributes; displayedAttributes?: DisplayedAttributes... npmjs.com
meilisearch 0.58.0 breaking changes
- Signature changed
RuntimeTogglableFeatures
Was type RuntimeTogglableFeatures = {chatCompletions?: boolean | null; compositeEmbedders?: boolean | null; containsFilter?: boolean | null; editDocumentsByFunction?: boolean | null; getTaskDocumentsRoute?: boolean | null; logsRoute?... npmjs.com
meilisearch 0.57.0 breaking changes
- Removed
CommonJS and UMD bundles are no longer published. Bundle the package yourself for any target environment that needs them. github.com - Removed
default
default was removed in meilisearch 0.57.0 npmjs.com - Removed
MeiliSearch
Replace the default export and the MeiliSearch named export with Meilisearch (lowercase 's'). Import it as { Meilisearch } from "meilisearch". npmjs.com - Removed
MeiliSearchApiError
MeiliSearchApiError was removed in meilisearch 0.57.0 npmjs.com - Removed
MeiliSearchRequestError
MeiliSearchRequestError was removed in meilisearch 0.57.0 npmjs.com - Removed
MeiliSearchRequestTimeOutError
MeiliSearchRequestTimeOutError was removed in meilisearch 0.57.0 npmjs.com - Removed
MeiliSearchTaskTimeOutError
MeiliSearchTaskTimeOutError was removed in meilisearch 0.57.0 npmjs.com - Renamed
MeiliSearchError
Replace all symbols containing MeiliSearch with Meilisearch (lowercase 's'), for example MeilisearchError instead of MeiliSearchError. npmjs.com - Renamed
MeiliSearchErrorResponse
Use MeilisearchErrorResponse instead. npmjs.com - Signature changed
Meilisearch
Was class MeiliSearch; now class Meilisearch. npmjs.com
And 3 more in this version. Sign up to see every change
Older versions
25 older versions, each with its first changes. Sign up to see every change
Show 25 older versions
meilisearch 0.56.0 breaking changes
- Behavior changed
The release marks its move to Meilisearch v1.37 network API compatibility as a breaking change, but the notes do not list the affected methods. Check your network API calls after upgrading. github.com - Signature changed
Batch
Was type Batch = {uid: number; progress: BatchProgress | null; details: TaskDetails; stats: BatchStats; duration: string | null; startedAt: string; finishedAt: string | null;}; now type Batch = {uid: number; progress: BatchProgress | null... npmjs.com
And 13 more in this version.
meilisearch 0.55.0 breaking changes
- Removed
MeiliSearch.updateNetwork
MeiliSearch.updateNetwork was removed in meilisearch 0.55.0 npmjs.com - Removed
Network.sharding
Network.sharding was removed in meilisearch 0.55.0 npmjs.com
And 8 more in this version.
meilisearch 0.54.0 breaking changes
- Removed
FetchError
FetchError was removed in meilisearch 0.54.0 npmjs.com - Signature changed
MeiliSearch.updateNetwork
Was updateNetwork(network: Partial<Network>): Promise<Network>; now updateNetwork(options: UpdatableNetwork): Promise<Network>. npmjs.com
And 6 more in this version.
meilisearch 0.53.0 breaking changes
- Signature changed
IndexSwap
Was type IndexSwap = {indexes: [string, string];}; now type IndexSwap = {indexes: [string, string]; rename: boolean;}. npmjs.com - Signature changed
RestEmbedder
Was type RestEmbedder = {source: "rest"; url: string; apiKey?: string; dimensions?: number; documentTemplate?: string; distribution?: Distribution; request: RecordAny; response: RecordAny; headers?: Record<string, string>... npmjs.com
And 2 more in this version.
meilisearch 0.52.0 breaking changes
- Signature changed
RuntimeTogglableFeatures
Was type RuntimeTogglableFeatures = {metrics?: boolean | null; logsRoute?: boolean | null; editDocumentsByFunction?: boolean | null; containsFilter?: boolean | null; network?: boolean | null; getTaskDocumentsRoute?: boolean | null... npmjs.com
meilisearch 0.51.0 breaking changes
- Behavior changed
The package no longer supports Node.js 18. Users on Node 18 must upgrade their Node.js runtime before using this version. github.com - Signature changed
BatchesResults
Was type BatchesResults = CursorResults<Batch>; now type BatchesResults = Results<Batch>. npmjs.com
And 53 more in this version.
meilisearch 0.50.0 breaking changes
- Removed
Batch
The Batch class is gone, though the type name is still exported. github.com - Removed
BatchClient
Access the batch client through the batches property of the client or index instead. github.com
And 178 more in this version.
meilisearch 0.48.0 breaking changes
- Removed
The package no longer lists Node 14 and 16 as supported; users on those versions should upgrade their Node.js runtime. github.com - Removed
default.batches
batches was removed in meilisearch 0.48.0 npmjs.com
And 40 more in this version.
meilisearch 0.47.0 breaking changes
- Signature changed
MatchesPosition
Was type MatchesPosition<T> = Partial<Record<keyof T, Array<{start: number; length: number;}>>>; now type MatchesPosition<T> = Partial<Record<keyof T, Array<{start: number; length: number; indices?: number[];}>>>. npmjs.com - Signature changed
Settings
Was type Settings = {filterableAttributes?: FilterableAttributes; distinctAttribute?: DistinctAttribute; sortableAttributes?: SortableAttributes; searchableAttributes?: SearchableAttributes; displayedAttributes?: DisplayedAttributes... npmjs.com
And 2 more in this version.
meilisearch 0.46.0 breaking changes
- Removed
MeiliSearch.generateTenantToken
generateTenantToken is no longer a client method; import generateTenantToken from meilisearch/token and pass the search rules and apiKey as arguments. npmjs.com - Removed
MeiliSearch.tokens
MeiliSearch.tokens was removed in meilisearch 0.46.0 npmjs.com
And 6 more in this version.
meilisearch 0.45.0 breaking changes
- Behavior changed
The library now uses the new Hybrid search and embedder settings format from Meilisearch v1.11. This affects the experimental feature only, so code using hybrid search or embedder settings may need updating. github.com - Signature changed
HuggingFaceEmbedder
Was type HuggingFaceEmbedder = {source: "huggingFace"; model?: string; revision?: string; documentTemplate?: string; distribution?: Distribution;}; now type HuggingFaceEmbedder = {source: "huggingFace"; model?: string; revision?: string... npmjs.com
And 8 more in this version.
meilisearch 0.44.0 breaking changes
- Configuration changed
Code importing anything other than the paths listed in the exports field may stop working; import only the listed paths. github.com
meilisearch 0.43.0 breaking changes
- Removed
The package no longer depends on cross-fetch. Code that relied on cross-fetch being installed through meilisearch must add it as its own dependency. github.com
meilisearch 0.42.0 breaking changes
- Removed
httpErrorHandler
httpErrorHandler was removed in meilisearch 0.42.0 npmjs.com - Removed
httpResponseErrorHandler
httpResponseErrorHandler was removed in meilisearch 0.42.0 npmjs.com
And 21 more in this version.
meilisearch 0.41.0 breaking changes
- Signature changed
DocumentsQuery
Was type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>; filter?: Filter; limit?: number; offset?: number;}; now type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>; filter?... npmjs.com - Signature changed
ErrorStatusCode
Was const ErrorStatusCode: {INDEX_CREATION_FAILED: string; MISSING_INDEX_UID: string; INDEX_ALREADY_EXISTS: string; INDEX_NOT_FOUND: string; INVALID_INDEX_UID: string; INDEX_NOT_ACCESSIBLE: string; INVALID_INDEX_OFFSET: string... npmjs.com
And 3 more in this version.
meilisearch 0.40.0 breaking changes
- Signature changed
MeiliSearch.generateTenantToken
generateTenantToken must now be called with await, because it returns a promise; code that uses its result without await will get a promise instead of the token. npmjs.com
meilisearch 0.39.0 breaking changes
- Removed
MultiSearchResult.vector
MultiSearchResult.vector was removed in meilisearch 0.39.0 npmjs.com - Configuration changed
If you build your front-end app with Vite, add crypto to build.rollupOptions.external in your Vite configuration to avoid externalization errors. github.com
And 10 more in this version.
meilisearch 0.38.0 breaking changes
- Signature changed
DocumentsQuery
Was type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>; filter?: Filter;}; now type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>; filter?: Filter; limit?: number; offset?... npmjs.com - Signature changed
OpenAiEmbedder
Was type OpenAiEmbedder = {source: 'openAi'; model?: string; apiKey?: string; documentTemplate?: string;}; now type OpenAiEmbedder = {source: 'openAi'; model?: string; apiKey?: string; documentTemplate?: string; dimensions?: number;}. npmjs.com
meilisearch 0.37.0 breaking changes
- Signature changed
MeiliSearchCommunicationError
Was class MeiliSearchCommunicationError extends Error; now class MeiliSearchCommunicationError extends MeiliSearchError. npmjs.com - Signature changed
MeiliSearchTimeOutError
Was class MeiliSearchTimeOutError extends Error; now class MeiliSearchTimeOutError extends MeiliSearchError. npmjs.com
And 3 more in this version.
meilisearch 0.35.1 breaking changes
- Removed
ErrorStatusCode.API_KEY_NOT_FOUND
ErrorStatusCode.API_KEY_NOT_FOUND was removed in meilisearch 0.35.1 npmjs.com - Removed
ErrorStatusCode.BAD_REQUEST
ErrorStatusCode.BAD_REQUEST was removed in meilisearch 0.35.1 npmjs.com
And 132 more in this version.
meilisearch 0.35.0 breaking changes
- Behavior changed
filter
A bug fix in the Meilisearch server v1.4.0 changes how the filter search parameter handles backslashes. Users who use backslashes in filters must update their filter usage as described in the Meilisearch v1.4.0 release notes. github.com - Signature changed
Settings
Was type Settings = {filterableAttributes?: FilterableAttributes; distinctAttribute?: DistinctAttribute; sortableAttributes?: SortableAttributes; searchableAttributes?: SearchableAttributes; displayedAttributes?: DisplayedAttributes... npmjs.com
meilisearch 0.34.2 breaking changes
- Renamed
RakingScoreDetails
The exported type RakingScoreDetails was renamed to RankingScoreDetails. Code that imports or references the old name must switch to the new one. npmjs.com - Signature changed
Hit
Was type Hit<T = Record<string, any>> = T & {_formatted?: Partial<T>; _matchesPosition?: MatchesPosition<T>; _rankingScore?: number; _rankingScoreDetails?: RakingScoreDetails;}; now type Hit<T = Record<string, any>> = T & {_formatted?... npmjs.com
meilisearch 0.34.0 breaking changes
- Removed
Key.updateAt
Key.updateAt was removed in meilisearch 0.34.0 npmjs.com - Behavior changed
The package is now built for ES6 instead of ES3. Code relying on ES3-only output must be updated. github.com
And 7 more in this version.
meilisearch 0.33.0 breaking changes
- Signature changed
DocumentsQuery
Was type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>;}; now type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {fields?: Fields<T>; filter?: Filter;}. npmjs.com - Signature changed
Index.deleteDocuments
deleteDocuments now accepts an object with a filter field. Passing an array of document IDs still works but is deprecated and should be changed to the object form. npmjs.com
meilisearch 0.33.0-prototype-search-for-facet-values.1 breaking changes
- Renamed
index.searchForFacetvalue
The method added in the prerelease is now named searchForFacetvalues. Code calling searchForFacetvalue must switch to the new name. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.