Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-beans-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@meilisearch/instant-meilisearch": minor
---

rolling back the v1.0 release
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"
}
}
}
2 changes: 1 addition & 1 deletion playgrounds/local-react/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/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": "*"
}
}
}