Skip to content

Commit d6ebf09

Browse files
authored
Update version for the new release (v0.4.0) (#62)
1 parent 3053fe8 commit d6ebf09

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.code-samples.meilisearch.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ search_guide_2: |-
410410
getting_started_create_index_md: |-
411411
```toml
412412
[dependencies]
413-
meilisearch-sdk = "0.3"
413+
meilisearch-sdk = "0.4"
414414
tokio = { version = "0.2", features = ["macros"] } # required if you are not targeting wasm
415415
serde = { version="1.0", features = ["derive"] } # required if you are going to use documents
416416
serde_json = "1.0" # required in some parts of this guide

CONTRIBUTING.md

+12
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ and the [`src/lib.rs`](/src/lib.rs):
116116

117117
with the right version.
118118

119+
You should run the following command after the changes applied to `lib.rs`:
120+
121+
```bash
122+
$ sh scripts/update-readme.sh
123+
```
124+
125+
Also, you might need to change the [code-samples file](/.code-samples.meilisearch.yaml) if the minor has been upgraded:
126+
127+
```yml
128+
meilisearch-sdk = "X.X"
129+
```
130+
119131
Once the changes are merged on `master`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-rust/releases).
120132

121133
A GitHub Action will be triggered and push the package to [crates.io](https://crates.io/crates/meilisearch-sdk).

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "meilisearch-sdk"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Mubelotix <[email protected]>"]
55
edition = "2018"
66
description = "Rust wrapper for the MeiliSearch API. MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine."

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To use `meilisearch-sdk`, add this to your `Cargo.toml`:
4949

5050
```toml
5151
[dependencies]
52-
meilisearch-sdk = "0.3.0"
52+
meilisearch-sdk = "0.4.0"
5353
```
5454

5555
The following optional dependencies may also be useful:

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! ```toml
66
//! [dependencies]
7-
//! meilisearch-sdk = "0.3.0"
7+
//! meilisearch-sdk = "0.4.0"
88
//! ```
99
//!
1010
//! The following optional dependencies may also be useful:

0 commit comments

Comments
 (0)