From 4dcaabf758849832cb122caa88fa293c9a1be3b0 Mon Sep 17 00:00:00 2001 From: cvermand <33010418+bidoubiwa@users.noreply.github.com> Date: Sat, 2 Oct 2021 12:39:31 +0200 Subject: [PATCH 1/2] Update version for the next release (v0.22.0) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4664581a7..6ee1e8499 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meilisearch", - "version": "0.21.0", + "version": "0.22.0", "description": "The MeiliSearch JS client for Node.js and the browser.", "keywords": [ "meilisearch", From febe99662cc7a29fd4f0855fe376ac3779f928b6 Mon Sep 17 00:00:00 2001 From: Elisha Hollander Date: Sat, 2 Oct 2021 20:28:29 +0300 Subject: [PATCH 2/2] fix grammar issues --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 42020e2fc..b0ccc3093 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,11 @@ NB: you can also download MeiliSearch from **Homebrew** or **APT**. ### Import -Depending on the environment on which you are using MeiliSearch, imports may differ. +Depending on the environment in which you are using MeiliSearch, imports may differ. #### Import Syntax -Usage in a ES module environment: +Usage in an ES module environment: ```javascript import { MeiliSearch } from 'meilisearch' @@ -311,7 +311,7 @@ This repository also contains [more examples](./examples). ## ⚙️ Development Workflow and Contributing -Any new contribution is more than welcome in this project! +Any new contribution is more than welcome to this project! If you want to know more about the development workflow or want to contribute, please visit our [contributing guidelines](/CONTRIBUTING.md) for detailed instructions! @@ -323,7 +323,7 @@ If you want to know more about the development workflow or want to contribute, p `client.index('xxx').search(query: string, options: SearchParams = {}, config?: Partial): Promise>` -- Make a search request using GET method (slower than the search method): +- Make a search request using the GET method (slower than the search method): `client.index('xxx').searchGet(query: string, options: SearchParams = {}, config?: Partial): Promise>` @@ -333,7 +333,7 @@ If you want to know more about the development workflow or want to contribute, p `client.listIndexes(): Promise` -- Create new index: +- Create a new index: `client.createIndex(uid: string, options?: IndexOptions): Promise>` @@ -345,7 +345,7 @@ If you want to know more about the development workflow or want to contribute, p `client.getIndex(uid: string): Promise>` -- Get or create index if it does not exist +- Get or create an index if it does not exist `client.getOrCreateIndex(uid: string, options?: IndexOptions): Promise>`