Skip to content

Commit

Permalink
chore: release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Sep 27, 2022
1 parent f45a1e5 commit 7124ee7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Changelog

<!-- next-header -->

## [Unreleased] - ReleaseDate


## [0.4.0] - 2022-09-27

### Breaking Changes

**Multiple changes to the `CustomType` prompt:**
Expand Down Expand Up @@ -211,8 +213,9 @@ 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.4.0...HEAD

[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.3.0...HEAD
[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.3.0...v0.4.0
[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.2.1...v0.3.0
[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
Expand Down
4 changes: 2 additions & 2 deletions CRATE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,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.3.0"
inquire = "0.4.0"
```

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

```
inquire = { version = "0.3.0", features = ["date", "editor"] }
inquire = { version = "0.4.0", 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.3.0"
version = "0.4.0"
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 @@ -64,13 +64,13 @@ $ cargo run --example expense_tracker --features date
Put this line in your `Cargo.toml`, under `[dependencies]`.

```
inquire = "0.3.0"
inquire = "0.4.0"
```

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

```
inquire = { version = "0.3.0", features = ["date"] }
inquire = { version = "0.4.0", features = ["date"] }
```

# Cross-cutting concerns
Expand Down Expand Up @@ -121,13 +121,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.3.0", default-features = false, features = ["termion", "date"] }
inquire = { version = "0.4.0", default-features = false, features = ["termion", "date"] }
```

or this:

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

## Formatting
Expand Down

0 comments on commit 7124ee7

Please sign in to comment.