You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,12 +115,18 @@ _[Read more about this](https://github.com/meilisearch/integration-guides/blob/m
115
115
116
116
⚠️ Before doing anything, make sure you got through the guide about [Releasing an Integration](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md).
117
117
118
-
Make a PR modifying the file [`package.json`](/package.json) with the right version.
118
+
Make a PR modifying the following files with the right version:
119
119
120
+
[`package.json`](/package.json):
120
121
```javascript
121
122
"version":"X.X.X",
122
123
```
123
124
125
+
[`src/package-version`](/src/package-version.ts)
126
+
```javascript
127
+
exportconstPACKAGE_VERSION='X.X.X'
128
+
```
129
+
124
130
Once the changes are merged on `main`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-js/releases): on this page, click on `Edit` (related to the draft release) > update the description (be sure you apply [these recommandations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)) > when you are ready, click on `Publish release`.
125
131
126
132
GitHub Actions will be triggered and push the package to [npm](https://www.npmjs.com/package/meilisearch).
Copy file name to clipboardExpand all lines: README.md
+36-43Lines changed: 36 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,7 +192,7 @@ Output:
192
192
],
193
193
"offset": 0,
194
194
"limit": 20,
195
-
"nbHits": 1,
195
+
"estimatedTotalHits": 1,
196
196
"processingTimeMs": 1,
197
197
"query": "philoudelphia"
198
198
}
@@ -227,7 +227,7 @@ await index.search(
227
227
],
228
228
"offset": 0,
229
229
"limit": 20,
230
-
"nbHits": 1,
230
+
"estimatedTotalHits": 1,
231
231
"processingTimeMs": 0,
232
232
"query": "wonder"
233
233
}
@@ -270,7 +270,7 @@ await index.search(
270
270
],
271
271
"offset": 0,
272
272
"limit": 20,
273
-
"nbHits": 1,
273
+
"estimatedTotalHits": 1,
274
274
"processingTimeMs": 0,
275
275
"query": "wonder"
276
276
}
@@ -285,7 +285,7 @@ await index.search(
285
285
'',
286
286
{
287
287
filter: ['genres = fantasy'],
288
-
facetsDistribution: ['genres']
288
+
facets: ['genres']
289
289
}
290
290
)
291
291
```
@@ -306,10 +306,10 @@ await index.search(
306
306
],
307
307
"offset": 0,
308
308
"limit": 20,
309
-
"nbHits": 2,
309
+
"estimatedTotalHits": 2,
310
310
"processingTimeMs": 0,
311
311
"query": "",
312
-
"facetsDistribution": {
312
+
"facetDistribution": {
313
313
"genres": {
314
314
"Action": 2,
315
315
"Fantasy": 1,
@@ -342,7 +342,7 @@ controller.abort()
342
342
343
343
## 🤖 Compatibility with Meilisearch
344
344
345
-
This package only guarantees the compatibility with the [version v0.27.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0).
345
+
This package only guarantees the compatibility with the [version v0.28.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.28.0).
346
346
347
347
## 💡 Learn More
348
348
@@ -393,7 +393,7 @@ If you want to know more about the development workflow or want to contribute, p
0 commit comments