Skip to content

Commit ac6eb90

Browse files
authored
Merge branch 'main' into expose-meilisearch-package
2 parents 1cd081e + 4d9991e commit ac6eb90

File tree

16 files changed

+78
-32
lines changed

16 files changed

+78
-32
lines changed

.github/workflows/meilisearch-prototype-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
# Tests are only done on one playground to avoid long testing time
6060
start: yarn playground:autocomplete
6161
env: playground=local
62-
- uses: actions/upload-artifact@v3
62+
- uses: actions/upload-artifact@v4
6363
if: failure()
6464
with:
6565
name: cypress-screenshots
6666
path: cypress/screenshots
67-
- uses: actions/upload-artifact@v3
67+
- uses: actions/upload-artifact@v4
6868
if: failure()
6969
with:
7070
name: cypress-videos
@@ -99,12 +99,12 @@ jobs:
9999
# Tests are only done on one playground to avoid long testing time
100100
start: yarn playground:local-react
101101
env: playground=local
102-
- uses: actions/upload-artifact@v3
102+
- uses: actions/upload-artifact@v4
103103
if: failure()
104104
with:
105105
name: cypress-screenshots
106106
path: cypress/screenshots
107-
- uses: actions/upload-artifact@v3
107+
- uses: actions/upload-artifact@v4
108108
if: failure()
109109
with:
110110
name: cypress-videos

.github/workflows/pre-release-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
# Tests are only done on one playground to avoid long testing time
5858
start: yarn playground:autocomplete
5959
env: playground=local
60-
- uses: actions/upload-artifact@v3
60+
- uses: actions/upload-artifact@v4
6161
if: failure()
6262
with:
6363
name: cypress-screenshots
6464
path: cypress/screenshots
65-
- uses: actions/upload-artifact@v3
65+
- uses: actions/upload-artifact@v4
6666
if: failure()
6767
with:
6868
name: cypress-videos
@@ -98,12 +98,12 @@ jobs:
9898
# Tests are only done on one playground to avoid long testing time
9999
start: yarn playground:local-react
100100
env: playground=local
101-
- uses: actions/upload-artifact@v3
101+
- uses: actions/upload-artifact@v4
102102
if: failure()
103103
with:
104104
name: cypress-screenshots
105105
path: cypress/screenshots
106-
- uses: actions/upload-artifact@v3
106+
- uses: actions/upload-artifact@v4
107107
if: failure()
108108
with:
109109
name: cypress-videos

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
# Tests are only done on one playground to avoid long testing time
5151
start: yarn playground:autocomplete
5252
env: playground=local
53-
- uses: actions/upload-artifact@v3
53+
- uses: actions/upload-artifact@v4
5454
if: failure()
5555
with:
5656
name: cypress-screenshots
5757
path: cypress/screenshots
58-
- uses: actions/upload-artifact@v3
58+
- uses: actions/upload-artifact@v4
5959
if: failure()
6060
with:
6161
name: cypress-videos
@@ -100,12 +100,12 @@ jobs:
100100
# Tests are only done on one playground to avoid long testing time
101101
start: yarn playground:local-react
102102
env: playground=local
103-
- uses: actions/upload-artifact@v3
103+
- uses: actions/upload-artifact@v4
104104
if: failure()
105105
with:
106106
name: cypress-screenshots
107107
path: cypress/screenshots
108-
- uses: actions/upload-artifact@v3
108+
- uses: actions/upload-artifact@v4
109109
if: failure()
110110
with:
111111
name: cypress-videos

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2022 Meili SAS
3+
Copyright (c) 2020-2024 Meili SAS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/instant-meilisearch/CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,52 @@
11
# @meilisearch/instant-meilisearch
22

3-
## 1.0.0
3+
## 0.14.0
4+
5+
### Minor Changes
6+
7+
- 5b6be19 & ed8b6a3: 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+
49+
## [DEPRECATED] 1.0.0
450

551
### Major Changes
652

packages/instant-meilisearch/__tests__/assets/games.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,4 +374,4 @@
374374
"red"
375375
]
376376
}
377-
]
377+
]

packages/instant-meilisearch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@meilisearch/instant-meilisearch",
3-
"version": "1.0.0",
3+
"version": "0.14.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",
@@ -78,4 +78,4 @@
7878
"tslib": "^2.6.1",
7979
"typescript": "^4.9.5"
8080
}
81-
}
81+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const PACKAGE_VERSION = '1.0.0'
1+
export const PACKAGE_VERSION = '0.14.0'

playgrounds/angular/package.json

Lines changed: 2 additions & 2 deletions
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": "1.0.0",
22+
"@meilisearch/instant-meilisearch": "0.14.0",
2323
"algoliasearch": "^4.17.2",
2424
"angular-instantsearch": "^4.4.1",
2525
"instantsearch.js": "^4.56.2",
@@ -39,4 +39,4 @@
3939
"browserslist": [
4040
"defaults"
4141
]
42-
}
42+
}

playgrounds/autocomplete/assets/games.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,4 +374,4 @@
374374
"red"
375375
]
376376
}
377-
]
377+
]

0 commit comments

Comments
 (0)