diff --git a/Cargo.lock b/Cargo.lock index 5640cf0d..81f72685 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -505,7 +505,7 @@ dependencies = [ [[package]] name = "yash-builtin" -version = "0.2.0" +version = "0.3.0" dependencies = [ "assert_matches", "either", @@ -524,7 +524,7 @@ dependencies = [ [[package]] name = "yash-cli" -version = "0.1.0-beta.1" +version = "0.1.0-beta.2" dependencies = [ "assert_matches", "futures-executor", @@ -599,7 +599,7 @@ version = "1.1.1" [[package]] name = "yash-semantics" -version = "0.2.0" +version = "0.3.0" dependencies = [ "assert_matches", "futures-executor", diff --git a/yash-builtin/CHANGELOG.md b/yash-builtin/CHANGELOG.md index cfe22beb..ee10a49f 100644 --- a/yash-builtin/CHANGELOG.md +++ b/yash-builtin/CHANGELOG.md @@ -5,12 +5,18 @@ All notable changes to `yash-builtin` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.3.0] - Unreleased +## [0.3.0] - 2024-07-13 + +### Added + +- Internal dependencies: + - yash-prompt 0.1.0 (optional) ### Changed - External dependency versions: - Rust 1.75.0 → 1.77.0 + - yash-semantics 0.2.0 → 0.3.0 - yash-syntax 0.9.0 → 0.10.0 ### Fixed diff --git a/yash-builtin/Cargo.toml b/yash-builtin/Cargo.toml index 63c074e6..b00bd6c2 100644 --- a/yash-builtin/Cargo.toml +++ b/yash-builtin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yash-builtin" -version = "0.2.0" +version = "0.3.0" authors = ["WATANABE Yuki "] edition = "2021" rust-version = "1.77.0" @@ -27,7 +27,7 @@ thiserror = "1.0.47" yash-env = { path = "../yash-env", version = "0.2.0" } yash-prompt = { path = "../yash-prompt", version = "0.1.0", optional = true } yash-quote = { path = "../yash-quote", version = "1.1.1" } -yash-semantics = { path = "../yash-semantics", version = "0.2.0", optional = true } +yash-semantics = { path = "../yash-semantics", version = "0.3.0", optional = true } yash-syntax = { path = "../yash-syntax", version = "0.10.0" } [dev-dependencies] @@ -35,4 +35,4 @@ assert_matches = "1.5.0" futures-executor = "0.3.28" futures-util = { version = "0.3.28", features = ["channel"] } yash-env-test-helper = { path = "../yash-env-test-helper", version = "0.1.0" } -yash-semantics = { path = "../yash-semantics", version = "0.2.0" } +yash-semantics = { path = "../yash-semantics", version = "0.3.0" } diff --git a/yash-builtin/src/lib.rs b/yash-builtin/src/lib.rs index c4be01b1..dc86d454 100644 --- a/yash-builtin/src/lib.rs +++ b/yash-builtin/src/lib.rs @@ -34,7 +34,7 @@ //! [stack](Env::stack) should contain a [built-in frame](Frame::Builtin) so //! that `Stack::current_builtin` provides the correct command word. //! -//! # Optional dependency +//! # Optional dependencies //! //! The `yash-builtin` crate has an optional dependency on the `yash-semantics` //! crate, which is enabled by default. If you disable the `yash-semantics` @@ -47,6 +47,11 @@ //! - `source` //! - `type` //! - `wait` +//! +//! The `yash-builtin` crate also has an optional dependency on the +//! `yash-prompt` crate, which is enabled by default. If you disable the +//! `yash-prompt` feature, the `read` built-in will not print the prompt. +//! Note that the `yash-prompt` feature requires the `yash-semantics` feature. pub mod alias; pub mod bg; diff --git a/yash-cli/CHANGELOG.md b/yash-cli/CHANGELOG.md index b9804e89..58b14df5 100644 --- a/yash-cli/CHANGELOG.md +++ b/yash-cli/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to `yash-cli` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0-beta.2] - Unreleased +## [0.1.0-beta.2] - 2024-07-13 ### Added @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - External dependency versions: - Rust 1.75.0 → 1.77.0 - Internal dependency versions: + - yash-builtin 0.2.0 → 0.3.0 + - yash-semantics 0.2.0 → 0.3.0 - yash-syntax 0.9.0 → 0.10.0 - The shell now shows the prompt before reading the input in the interactive mode. To achieve this, the `startup::prepare_input` function now applies the diff --git a/yash-cli/Cargo.toml b/yash-cli/Cargo.toml index c9a2464f..2c54f81f 100644 --- a/yash-cli/Cargo.toml +++ b/yash-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yash-cli" -version = "0.1.0-beta.1" +version = "0.1.0-beta.2" authors = ["WATANABE Yuki "] edition = "2021" rust-version = "1.77.0" @@ -21,10 +21,10 @@ path = "src/main.rs" futures-executor = "0.3.28" futures-util = { version = "0.3.28", features = ["channel"] } thiserror = "1.0.47" -yash-builtin = { path = "../yash-builtin", version = "0.2.0" } +yash-builtin = { path = "../yash-builtin", version = "0.3.0" } yash-env = { path = "../yash-env", version = "0.2.0" } yash-prompt = { path = "../yash-prompt", version = "0.1.0" } -yash-semantics = { path = "../yash-semantics", version = "0.2.0" } +yash-semantics = { path = "../yash-semantics", version = "0.3.0" } yash-syntax = { path = "../yash-syntax", version = "0.10.0" } [dev-dependencies] diff --git a/yash-prompt/CHANGELOG.md b/yash-prompt/CHANGELOG.md index fcde1e05..0ad20949 100644 --- a/yash-prompt/CHANGELOG.md +++ b/yash-prompt/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to `yash-prompt` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0] - Unreleased +## [0.1.0] - 2024-07-13 ### Added diff --git a/yash-prompt/Cargo.toml b/yash-prompt/Cargo.toml index 8aab06ae..8afd083f 100644 --- a/yash-prompt/Cargo.toml +++ b/yash-prompt/Cargo.toml @@ -17,7 +17,7 @@ categories = ["command-line-utilities"] async-trait = "0.1.73" futures-util = "0.3.28" yash-env = { path = "../yash-env", version = "0.2.0" } -yash-semantics = { path = "../yash-semantics", version = "0.2.0" } +yash-semantics = { path = "../yash-semantics", version = "0.3.0" } yash-syntax = { path = "../yash-syntax", version = "0.10.0" } [dev-dependencies] diff --git a/yash-semantics/CHANGELOG.md b/yash-semantics/CHANGELOG.md index 9c121590..864d92bf 100644 --- a/yash-semantics/CHANGELOG.md +++ b/yash-semantics/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to `yash-semantics` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.2.1] - Unreleased +## [0.3.0] - 2024-07-13 ### Added @@ -86,6 +86,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial implementation of the `yash-semantics` crate -[0.2.1]: https://github.com/magicant/yash-rs/releases/tag/yash-semantics-0.2.1 +[0.3.0]: https://github.com/magicant/yash-rs/releases/tag/yash-semantics-0.3.0 [0.2.0]: https://github.com/magicant/yash-rs/releases/tag/yash-semantics-0.2.0 [0.1.0]: https://github.com/magicant/yash-rs/releases/tag/yash-semantics-0.1.0 diff --git a/yash-semantics/Cargo.toml b/yash-semantics/Cargo.toml index 8248b12b..41dfcdc8 100644 --- a/yash-semantics/Cargo.toml +++ b/yash-semantics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yash-semantics" -version = "0.2.0" +version = "0.3.0" authors = ["WATANABE Yuki "] edition = "2021" rust-version = "1.77.0"