Skip to content

Commit

Permalink
Add 0.14.0 release to instant CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali committed Dec 26, 2023
1 parent 2bd6163 commit 336eaad
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 23 deletions.
48 changes: 47 additions & 1 deletion packages/instant-meilisearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
# @meilisearch/instant-meilisearch

## 1.0.0
## 0.14.0

### 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.

## [DEPRECATED] 1.0.0

### Major Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/instant-meilisearch/__tests__/assets/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,4 @@
"red"
]
}
]
]
4 changes: 2 additions & 2 deletions packages/instant-meilisearch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meilisearch/instant-meilisearch",
"version": "1.0.0",
"version": "0.14.0",
"private": false,
"description": "The search client to use Meilisearch with InstantSearch.",
"homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/instant-meilisearch",
Expand Down Expand Up @@ -78,4 +78,4 @@
"tslib": "^2.6.1",
"typescript": "^4.9.5"
}
}
}
4 changes: 2 additions & 2 deletions playgrounds/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@angular/platform-browser": "~15.1.0",
"@angular/platform-browser-dynamic": "~15.1.0",
"@angular/router": "~15.1.0",
"@meilisearch/instant-meilisearch": "1.0.0",
"@meilisearch/instant-meilisearch": "0.14.0",
"algoliasearch": "^4.17.2",
"angular-instantsearch": "^4.4.1",
"instantsearch.js": "^4.56.2",
Expand All @@ -39,4 +39,4 @@
"browserslist": [
"defaults"
]
}
}
2 changes: 1 addition & 1 deletion playgrounds/autocomplete/assets/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,4 @@
"red"
]
}
]
]
4 changes: 2 additions & 2 deletions playgrounds/geo-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@meilisearch/instant-meilisearch": "1.0.0",
"@meilisearch/instant-meilisearch": "0.14.0",
"eslint-config-meilisearch": "*"
},
"browserslist": [
Expand All @@ -22,4 +22,4 @@
"dependencies": {
"scriptjs": "^2.5.9"
}
}
}
4 changes: 2 additions & 2 deletions playgrounds/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
],
"license": "MIT",
"dependencies": {
"@meilisearch/instant-meilisearch": "1.0.0"
"@meilisearch/instant-meilisearch": "0.14.0"
}
}
}
12 changes: 6 additions & 6 deletions playgrounds/local-react/assets/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"genres": [
"Adventure",
"Science Fiction"
"\"Science's\" Fiction"
],
"misc": [],
"color": [
Expand All @@ -42,7 +42,7 @@
],
"genres": [
"Romance",
"Science Fiction"
"\"Science's\" Fiction"
],
"misc": [],
"color": [
Expand All @@ -67,7 +67,7 @@
],
"genres": [
"Drama",
"Science Fiction"
"\"Science's\" Fiction"
],
"misc": [],
"color": [
Expand Down Expand Up @@ -220,7 +220,7 @@
],
"genres": [
"Action",
"Science Fiction"
"\"Science's\" Fiction"
],
"misc": [],
"color": [
Expand Down Expand Up @@ -367,11 +367,11 @@
"Single player"
],
"genres": [
"Science Fiction"
"\"Science's\" Fiction"
],
"misc": [],
"color": [
"red"
]
}
]
]
4 changes: 2 additions & 2 deletions playgrounds/local-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@meilisearch/instant-meilisearch": "1.0.0",
"@meilisearch/instant-meilisearch": "0.14.0",
"instantsearch.css": "^8.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand All @@ -39,4 +39,4 @@
"cypress": "^8.6.0",
"eslint-config-meilisearch": "*"
}
}
}
4 changes: 2 additions & 2 deletions playgrounds/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-instantsearch": "^7.1.0",
"@meilisearch/instant-meilisearch": "1.0.0"
"@meilisearch/instant-meilisearch": "0.14.0"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-syntax-jsx": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"eslint-config-meilisearch": "*"
}
}
}
4 changes: 2 additions & 2 deletions playgrounds/vue3-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test:types": "yarn tsc"
},
"dependencies": {
"@meilisearch/instant-meilisearch": "1.0.0",
"@meilisearch/instant-meilisearch": "0.14.0",
"vue": "^3.2.45",
"vue-instantsearch": "^4.10.8"
},
Expand All @@ -23,4 +23,4 @@
"vue-tsc": "^1.0.11",
"eslint-config-meilisearch": "*"
}
}
}

0 comments on commit 336eaad

Please sign in to comment.