Skip to content

Commit

Permalink
chore: prepare release (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno authored Feb 3, 2025
1 parent eff99bd commit a6d1250
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 16 deletions.
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All notable changes to this project will be documented in this file.

## [0.2.15] - 2025-02-03

### 🚀 Features

- *(continue)* Implement continue n for n >= 2 ([#326](https://github.com/reubeno/brush/pull/326))
- *(options)* Implement dotglob semantics ([#332](https://github.com/reubeno/brush/pull/332))
- *(options)* Implement "set -t" ([#333](https://github.com/reubeno/brush/pull/333))
- *(options)* Implement "set -a" ([#336](https://github.com/reubeno/brush/pull/336))
- *(env)* Introduce dynamic variables ([#360](https://github.com/reubeno/brush/pull/360))

### 🐛 Bug Fixes

- *(builtins)* Skip unenumerable vars in set builtin ([#322](https://github.com/reubeno/brush/pull/322))
- *(expansion)* Handle negative substring offset ([#372](https://github.com/reubeno/brush/pull/372))
- *(completion)* Better handle native errors in completion funcs ([#373](https://github.com/reubeno/brush/pull/373))
- *(builtins)* Correct parsing of bind positional arg ([#381](https://github.com/reubeno/brush/pull/381))
- *(patterns)* Fix incorrect parse of char ranges ([#323](https://github.com/reubeno/brush/pull/323))
- *(exit)* Correct exit semantics in various compund statements ([#347](https://github.com/reubeno/brush/pull/347))
- *(for)* Correct semantics for "for" without "in" ([#348](https://github.com/reubeno/brush/pull/348))
- Correct semantics of = in non-extended test commands ([#349](https://github.com/reubeno/brush/pull/349))
- *(return)* Error if return used outside sourced script or function ([#350](https://github.com/reubeno/brush/pull/350))
- *(arithmetic)* Recursively evaluate var references ([#351](https://github.com/reubeno/brush/pull/351))
- *(arithmetic)* Fixes for nested parenthesis parsing in arithmetic ([#353](https://github.com/reubeno/brush/pull/353))
- *(builtins)* Fix set builtin handling of - and -- ([#354](https://github.com/reubeno/brush/pull/354))
- *(builtins)* Do not interpret --help in command builtin command args ([#355](https://github.com/reubeno/brush/pull/355))
- *(builtins)* Correct more 'set' argument parsing ([#356](https://github.com/reubeno/brush/pull/356))
- *(variables)* More correct handling of integer variables ([#357](https://github.com/reubeno/brush/pull/357))
- *(redirection)* Make sure redirection fd + operator are contiguous ([#359](https://github.com/reubeno/brush/pull/359))
- Better error when cwd is gone ([#370](https://github.com/reubeno/brush/pull/370))
- *(builtins)* Fix read builtin ignoring tab chars ([#371](https://github.com/reubeno/brush/pull/371))
- Propagate execution parameters more thoroughly ([#374](https://github.com/reubeno/brush/pull/374))
- *(redirection)* Allow continuing past redir errors ([#375](https://github.com/reubeno/brush/pull/375))

### ⚡ Performance

- Remove unneeded string cloning for arithmetic eval ([#324](https://github.com/reubeno/brush/pull/324))
- Simplify export enumeration ([#363](https://github.com/reubeno/brush/pull/363))
- Skip word parsing if no expansion required ([#365](https://github.com/reubeno/brush/pull/365))
- Minor optimizations for shell create + command run ([#362](https://github.com/reubeno/brush/pull/362))

### 🧪 Testing

- *(perf)* Update tokenizer/parser benchmarks ([#321](https://github.com/reubeno/brush/pull/321))
- Resolve false errors about side effects in bash-completion tests ([#379](https://github.com/reubeno/brush/pull/379))

### ⚙️ Miscellaneous Tasks

- Remove some unneeded `pub(crate)` visibility annotations ([#346](https://github.com/reubeno/brush/pull/346))
- Remove unneeded result wrappings ([#367](https://github.com/reubeno/brush/pull/367))
- Remove a few object clones ([#368](https://github.com/reubeno/brush/pull/368))
- Update readme ([#331](https://github.com/reubeno/brush/pull/331))
- Add pattern and expansion tests to track newly filed issues ([#330](https://github.com/reubeno/brush/pull/330))
- Minor cleanups and test additions ([#364](https://github.com/reubeno/brush/pull/364))
- Fix rng warnings ([#378](https://github.com/reubeno/brush/pull/378))

### Build

- *(deps)* Bump indexmap from 2.7.0 to 2.7.1 in the cargo group ([#334](https://github.com/reubeno/brush/pull/334))
- *(deps)* Bump the cargo group across 1 directory with 4 updates ([#320](https://github.com/reubeno/brush/pull/320))
- *(deps)* Bump the cargo group with 3 updates ([#376](https://github.com/reubeno/brush/pull/376))

<!-- generated by git-cliff -->
## [0.2.14] - 2025-01-10

### 🚀 Features
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions brush-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-core"
description = "Reusable core of a POSIX/bash shell (used by brush-shell)"
version = "0.2.14"
version = "0.2.15"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
Expand All @@ -19,7 +19,7 @@ workspace = true
[dependencies]
async-recursion = "1.1.1"
async-trait = "0.1.86"
brush-parser = { version = "^0.2.12", path = "../brush-parser" }
brush-parser = { version = "^0.2.13", path = "../brush-parser" }
cached = "0.54.0"
cfg-if = "1.0.0"
chrono = "0.4.39"
Expand Down
6 changes: 3 additions & 3 deletions brush-interactive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-interactive"
description = "Interactive layer of brush-shell"
version = "0.2.14"
version = "0.2.15"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand All @@ -25,8 +25,8 @@ workspace = true

[dependencies]
async-trait = "0.1.86"
brush-parser = { version = "^0.2.12", path = "../brush-parser" }
brush-core = { version = "^0.2.14", path = "../brush-core" }
brush-parser = { version = "^0.2.13", path = "../brush-parser" }
brush-core = { version = "^0.2.15", path = "../brush-core" }
crossterm = { version = "0.28.1", features = ["serde"], optional = true }
indexmap = "2.7.1"
nu-ansi-term = { version = "0.50.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion brush-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-parser"
description = "POSIX/bash shell tokenizer and parsers (used by brush-shell)"
version = "0.2.12"
version = "0.2.13"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
10 changes: 5 additions & 5 deletions brush-shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-shell"
description = "Rust-implemented shell focused on POSIX and bash compatibility"
version = "0.2.14"
version = "0.2.15"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down Expand Up @@ -40,8 +40,8 @@ workspace = true

[dependencies]
async-trait = "0.1.86"
brush-parser = { version = "^0.2.12", path = "../brush-parser" }
brush-core = { version = "^0.2.14", path = "../brush-core" }
brush-parser = { version = "^0.2.13", path = "../brush-parser" }
brush-core = { version = "^0.2.15", path = "../brush-core" }
cfg-if = "1.0.0"
clap = { version = "4.5.21", features = ["derive", "env", "wrap_help"] }
const_format = "0.2.34"
Expand All @@ -52,13 +52,13 @@ tracing-subscriber = "0.3.19"
human-panic = "2.0.2"

[target.'cfg(not(any(windows, unix)))'.dependencies]
brush-interactive = { version = "^0.2.14", path = "../brush-interactive", features = [
brush-interactive = { version = "^0.2.15", path = "../brush-interactive", features = [
"minimal",
] }
tokio = { version = "1.43.0", features = ["rt", "sync"] }

[target.'cfg(any(windows, unix))'.dependencies]
brush-interactive = { version = "^0.2.14", path = "../brush-interactive", features = [
brush-interactive = { version = "^0.2.15", path = "../brush-interactive", features = [
"basic",
"reedline",
] }
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version.workspace = true

[dependencies]
anyhow = "1.0.95"
brush-shell = { version = "^0.2.14", path = "../brush-shell" }
brush-shell = { version = "^0.2.15", path = "../brush-shell" }
clap = { version = "4.5.21", features = ["derive"] }
clap_mangen = "0.2.26"
clap-markdown = "0.1.4"

0 comments on commit a6d1250

Please sign in to comment.