Skip to content

Commit 2bd6163

Browse files
Merge #1264
1264: Version Packages r=brunoocasali a=github-actions[bot] This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## `@meilisearch/[email protected]` ### Major Changes - 5b6be19: Added ability to override a selection of Meilisearch search parameters. ⚠️ The returned value of the core `instantMeiliSearch` function has changed! This change was necessary for the aforementioned ability to be implemented and applied in a clean manner. The necessary migration should be of minimal impact. ### Migration Change the following ```js // 1. const client = instantMeiliSearch(/*...*/); // 2. const searchClient = instantMeiliSearch(/*...*/); // 3. instantsearch({ indexName: "movies", searchClient: instantMeiliSearch(/*...*/), }); ``` to the following ```js // 1. const { searchClient: client } = instantMeiliSearch(/*...*/); // 2. const { searchClient } = instantMeiliSearch(/*...*/); // 3. instantsearch({ indexName: "movies", searchClient: instantMeiliSearch(/*...*/).searchClient, }); ``` ### Patch Changes - 06377ef: Fixes issue where backslashes ("\\") and quotes (`"`) are not escaped in filters. ## `@meilisearch/[email protected]` ### Patch Changes - 5b6be19: Added ability to override a selection of Meilisearch search parameters. ⚠️ The returned value of the core `instantMeiliSearch` function has changed! This change was necessary for the aforementioned ability to be implemented and applied in a clean manner. The necessary migration should be of minimal impact. ### Migration Change the following ```js // 1. const client = instantMeiliSearch(/*...*/); // 2. const searchClient = instantMeiliSearch(/*...*/); // 3. instantsearch({ indexName: "movies", searchClient: instantMeiliSearch(/*...*/), }); ``` to the following ```js // 1. const { searchClient: client } = instantMeiliSearch(/*...*/); // 2. const { searchClient } = instantMeiliSearch(/*...*/); // 3. instantsearch({ indexName: "movies", searchClient: instantMeiliSearch(/*...*/).searchClient, }); ``` - Updated dependencies [5b6be19] - Updated dependencies [06377ef] - `@meilisearch/[email protected]` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 parents f95e70a + ef237a1 commit 2bd6163

File tree

14 files changed

+102
-57
lines changed

14 files changed

+102
-57
lines changed

.changeset/metal-emus-pump.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.changeset/three-pandas-chew.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/autocomplete-client/CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# @meilisearch/autocomplete-client
22

3+
## 0.2.2
4+
5+
### Patch Changes
6+
7+
- 5b6be19: Added ability to override a selection of Meilisearch search parameters.
8+
9+
⚠️ The returned value of the core `instantMeiliSearch` function has changed!
10+
11+
This change was necessary for the aforementioned ability to be implemented and
12+
applied in a clean manner.
13+
The necessary migration should be of minimal impact.
14+
15+
### Migration
16+
17+
Change the following
18+
19+
```js
20+
// 1.
21+
const client = instantMeiliSearch(/*...*/);
22+
// 2.
23+
const searchClient = instantMeiliSearch(/*...*/);
24+
// 3.
25+
instantsearch({
26+
indexName: "movies",
27+
searchClient: instantMeiliSearch(/*...*/),
28+
});
29+
```
30+
31+
to the following
32+
33+
```js
34+
// 1.
35+
const { searchClient: client } = instantMeiliSearch(/*...*/);
36+
// 2.
37+
const { searchClient } = instantMeiliSearch(/*...*/);
38+
// 3.
39+
instantsearch({
40+
indexName: "movies",
41+
searchClient: instantMeiliSearch(/*...*/).searchClient,
42+
});
43+
```
44+
45+
- Updated dependencies [5b6be19]
46+
- Updated dependencies [06377ef]
47+
- @meilisearch/instant-meilisearch@1.0.0
48+
349
## 0.2.1
450

551
### Patch Changes

packages/autocomplete-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@meilisearch/autocomplete-client",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": false,
55
"description": "The search client to use Meilisearch with autocomplete.js.",
66
"homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/autocomplete-client",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const PACKAGE_VERSION = '0.2.1'
1+
export const PACKAGE_VERSION = '0.2.2'

packages/instant-meilisearch/CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# @meilisearch/instant-meilisearch
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 5b6be19: Added ability to override a selection of Meilisearch search parameters.
8+
9+
⚠️ The returned value of the core `instantMeiliSearch` function has changed!
10+
11+
This change was necessary for the aforementioned ability to be implemented and
12+
applied in a clean manner.
13+
The necessary migration should be of minimal impact.
14+
15+
### Migration
16+
17+
Change the following
18+
19+
```js
20+
// 1.
21+
const client = instantMeiliSearch(/*...*/);
22+
// 2.
23+
const searchClient = instantMeiliSearch(/*...*/);
24+
// 3.
25+
instantsearch({
26+
indexName: "movies",
27+
searchClient: instantMeiliSearch(/*...*/),
28+
});
29+
```
30+
31+
to the following
32+
33+
```js
34+
// 1.
35+
const { searchClient: client } = instantMeiliSearch(/*...*/);
36+
// 2.
37+
const { searchClient } = instantMeiliSearch(/*...*/);
38+
// 3.
39+
instantsearch({
40+
indexName: "movies",
41+
searchClient: instantMeiliSearch(/*...*/).searchClient,
42+
});
43+
```
44+
45+
### Patch Changes
46+
47+
- 06377ef: Fixes issue where backslashes ("\") and quotes (`"`) are not escaped in filters.
48+
349
## 0.13.6
450

551
### Patch Changes

packages/instant-meilisearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@meilisearch/instant-meilisearch",
3-
"version": "0.13.6",
3+
"version": "1.0.0",
44
"private": false,
55
"description": "The search client to use Meilisearch with InstantSearch.",
66
"homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/instant-meilisearch",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const PACKAGE_VERSION = '0.13.6'
1+
export const PACKAGE_VERSION = '1.0.0'

playgrounds/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@angular/platform-browser": "~15.1.0",
2020
"@angular/platform-browser-dynamic": "~15.1.0",
2121
"@angular/router": "~15.1.0",
22-
"@meilisearch/instant-meilisearch": "0.13.6",
22+
"@meilisearch/instant-meilisearch": "1.0.0",
2323
"algoliasearch": "^4.17.2",
2424
"angular-instantsearch": "^4.4.1",
2525
"instantsearch.js": "^4.56.2",

playgrounds/geo-javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"devDependencies": {
1414
"@babel/core": "^7.20.12",
15-
"@meilisearch/instant-meilisearch": "0.13.6",
15+
"@meilisearch/instant-meilisearch": "1.0.0",
1616
"eslint-config-meilisearch": "*"
1717
},
1818
"browserslist": [

0 commit comments

Comments
 (0)