Skip to content

Commit

Permalink
Merge #297
Browse files Browse the repository at this point in the history
297: Changes related to the next Meilisearch release (v0.28.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#205

This PR:
- gathers the changes related to the next Meilisearch release (v0.28.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.28.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.28.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/master/guides/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Charlotte Vermandel <[email protected]>
Co-authored-by: cvermand <[email protected]>
  • Loading branch information
4 people authored Aug 31, 2022
2 parents 216638f + d59b8e6 commit 7c7f081
Show file tree
Hide file tree
Showing 19 changed files with 2,547 additions and 855 deletions.
213 changes: 132 additions & 81 deletions .code-samples.meilisearch.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meilisearch-sdk"
version = "0.17.0"
version = "0.18.0"
authors = ["Mubelotix <[email protected]>"]
edition = "2018"
description = "Rust wrapper for the Meilisearch API. Meilisearch is a powerful, fast, open-source, easy to use and deploy search engine."
Expand All @@ -24,6 +24,7 @@ yaup = "0.2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
futures = "0.3"
isahc = { version = "1.0", features = ["http2", "text-decoding"], default_features = false }
uuid = { version = "1.1.2", features = ["v4"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.47"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To use `meilisearch-sdk`, add this to your `Cargo.toml`:

```toml
[dependencies]
meilisearch-sdk = "0.17.0"
meilisearch-sdk = "0.18.0"
```

The following optional dependencies may also be useful:
Expand Down Expand Up @@ -224,7 +224,7 @@ Json output:
],
"offset": 0,
"limit": 20,
"nbHits": 1,
"estimatedTotalHits": 1,
"processingTimeMs": 0,
"query": "wonder"
}
Expand All @@ -242,7 +242,7 @@ WARNING: `meilisearch-sdk` will panic if no Window is available (ex: Web extensi

## 🤖 Compatibility with Meilisearch

This package only guarantees the compatibility with the [version v0.27.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0).
This package only guarantees the compatibility with the [version v0.28.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.28.0).

## ⚙️ Development Workflow and Contributing

Expand Down
4 changes: 2 additions & 2 deletions README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To use `meilisearch-sdk`, add this to your `Cargo.toml`:

```toml
[dependencies]
meilisearch-sdk = "0.17.0"
meilisearch-sdk = "0.18.0"
```

The following optional dependencies may also be useful:
Expand Down Expand Up @@ -97,7 +97,7 @@ WARNING: `meilisearch-sdk` will panic if no Window is available (ex: Web extensi

## 🤖 Compatibility with Meilisearch

This package only guarantees the compatibility with the [version v0.27.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0).
This package only guarantees the compatibility with the [version v0.28.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.28.0).

## ⚙️ Development Workflow and Contributing

Expand Down
4 changes: 2 additions & 2 deletions meilisearch-test-macro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn test_get_tasks() -> Result<(), Error> {

let tasks = index.get_tasks().await?;
// The only task is the creation of the index
assert_eq!(status.len(), 1);
assert_eq!(status.results.len(), 1);

index.delete()
.await?
Expand All @@ -52,7 +52,7 @@ With this macro, all these problems are solved. See a rewrite of this test:
async fn test_get_tasks(index: Index, client: Client) -> Result<(), Error> {
let tasks = index.get_tasks().await?;
// The only task is the creation of the index
assert_eq!(status.len(), 1);
assert_eq!(status.results.len(), 1);
}
```

Expand Down
Loading

0 comments on commit 7c7f081

Please sign in to comment.