Skip to content

Commit

Permalink
chore: release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Oct 2, 2021
1 parent a999dae commit 0d5cde1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<!-- next-header -->
## [Unreleased] - ReleaseDate

## [0.2.1] - 2021-10-01

### Features

- Add `initial_value` property to `Text` prompts, which sets an initial value for the prompt's text input. Huge thanks to [@irevoire](https://github.com/irevoire) for the suggestion **and** implementation. [#34](https://github.com/mikaelmello/inquire/pull/34).
Expand Down Expand Up @@ -129,7 +131,8 @@ The library is already featureful enough to warrant a higher version number, bum
- Add DateSelect prompt

<!-- next-url -->
[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.2.1...HEAD
[0.2.1]: https://github.com/mikaelmello/inquire/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/mikaelmello/inquire/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/mikaelmello/inquire/compare/v0.0.11...v0.1.0
[0.0.11]: https://github.com/mikaelmello/inquire/compare/v0.0.10...v0.0.11
Expand Down
4 changes: 2 additions & 2 deletions CRATE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ It provides several different prompts in order to interactively ask the user for
Put this line in your `Cargo.toml`, under `[dependencies]`.

```
inquire = "0.2.0"
inquire = "0.2.1"
```

\* This prompt type is gated under a feature flag, e.g.:

```
inquire = { version = "0.2.0", features = ["date", "editor"] }
inquire = { version = "0.2.1", features = ["date", "editor"] }
```

[`Text`]: https://docs.rs/inquire/*/inquire/prompts/text/struct.Text.html
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inquire"
version = "0.2.1-alpha.0"
version = "0.2.1"
description = "inquire is a library for building interactive prompts on terminals"
repository = "https://github.com/mikaelmello/inquire"
license = "MIT"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ $ cargo run --example expense_tracker --features date
Put this line in your `Cargo.toml`, under `[dependencies]`.

```
inquire = "0.2.0"
inquire = "0.2.1"
```

\* This prompt type is gated under a feature flag, e.g.:

```
inquire = { version = "0.2.0", features = ["date"] }
inquire = { version = "0.2.1", features = ["date"] }
```

# Cross-cutting concerns
Expand Down Expand Up @@ -116,13 +116,13 @@ Binary Rust applications that intend to manipulate terminals will probably pick
However, if your application already uses a dependency other than crossterm, such as console or termion, you can enable another terminal via feature flags. It is also important to disable inquire's default features as it comes with `crossterm` enabled by default. Such as this:

```toml
inquire = { version = "0.2.0", default-features = false, features = ["termion", "date"] }
inquire = { version = "0.2.1", default-features = false, features = ["termion", "date"] }
```

or this:

```toml
inquire = { version = "0.2.0", default-features = false, features = ["console", "date"] }
inquire = { version = "0.2.1", default-features = false, features = ["console", "date"] }
```

## Formatting
Expand Down

0 comments on commit 0d5cde1

Please sign in to comment.