Skip to content

Commit

Permalink
Release 1.29.0 (#2155)
Browse files Browse the repository at this point in the history
- Bump version: 1.28.0 → 1.29.0
- Update changelog
- Update changelog contributor credits
- Update dependencies
- Update version references in readme
- Fix zsh completion script
  • Loading branch information
casey authored Jun 14, 2024
1 parent 18ec979 commit e6c37aa
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 35 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Changelog
=========

[1.29.0](https://github.com/casey/just/releases/tag/1.29.0) - 2024-06-13
------------------------------------------------------------------------

### Added
- Add [positional-arguments] attribute ([#2151](https://github.com/casey/just/pull/2151))
- Use `--justfile` in Fish shell completions ([#2148](https://github.com/casey/just/pull/2148) by [rubot](https://github.com/rubot))
- Add `is_dependency()` function ([#2139](https://github.com/casey/just/pull/2139) by [neunenak](https://github.com/neunenak))
- Allow printing nu completion script with `just --completions nushell` ([#2140](https://github.com/casey/just/pull/2140))
- Add `[ATTRIBUTE: VALUE]` shorthand ([#2136](https://github.com/casey/just/pull/2136) by [neunenak](https://github.com/neunenak))
- Allow unexporting environment variables ([#2098](https://github.com/casey/just/pull/2098) by [neunenak](https://github.com/neunenak))

### Fixed
- Load environment file from dotenv-path relative to working directory ([#2152](https://github.com/casey/just/pull/2152))
- Fix `fzf` chooser preview with space-separated module paths ([#2141](https://github.com/casey/just/pull/2141))

### Misc
- Improve argument parsing and error handling for submodules ([#2154](https://github.com/casey/just/pull/2154))
- Document shell expanded string defaults ([#2153](https://github.com/casey/just/pull/2153))
- Test bare bash path in shebang on windows ([#2144](https://github.com/casey/just/pull/2144))
- Test shell not found error messages ([#2145](https://github.com/casey/just/pull/2145))
- Refactor evaluator ([#2138](https://github.com/casey/just/pull/2138) by [neunenak](https://github.com/neunenak))
- Fix man page generation in release workflow ([#2132](https://github.com/casey/just/pull/2132))

[1.28.0](https://github.com/casey/just/releases/tag/1.28.0) - 2024-06-05
------------------------------------------------------------------------

Expand Down
58 changes: 29 additions & 29 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "just"
version = "1.28.0"
version = "1.29.0"
authors = ["Casey Rodarmor <[email protected]>"]
autotests = false
categories = ["command-line-utilities", "development-tools"]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ $ just test foo "bar baz"
```

Positional arguments may also be turned on on a per-recipe basis with the
`[positional-arguments]` attribute<sup>master</sup>:
`[positional-arguments]` attribute<sup>1.29.0</sup>:

```just
[positional-arguments]
Expand Down Expand Up @@ -1701,7 +1701,7 @@ Recipes may be annotated with attributes that change their behavior.
| `[no-cd]`<sup>1.9.0</sup> | Don't change directory before executing recipe. |
| `[no-exit-message]`<sup>1.7.0</sup> | Don't print an error message if recipe fails. |
| `[no-quiet]`<sup>1.23.0</sup> | Override globally quiet recipes and always echo out the recipe. |
| `[positional-arguments]`<sup>master</sup> | Turn on [positional arguments](#positional-arguments) for this recipe. |
| `[positional-arguments]`<sup>1.29.0</sup> | Turn on [positional arguments](#positional-arguments) for this recipe. |
| `[private]`<sup>1.10.0</sup> | See [Private Recipes](#private-recipes). |
| `[unix]`<sup>1.8.0</sup> | Enable recipe on Unixes. (Includes MacOS). |
| `[windows]`<sup>1.8.0</sup> | Enable recipe on Windows. |
Expand Down Expand Up @@ -2075,7 +2075,7 @@ a $A $B=`echo $A`:
When [export](#export) is set, all `just` variables are exported as environment
variables.

#### Unexporting Environment Variables<sup>master</sup>
#### Unexporting Environment Variables<sup>1.29.0</sup>

Environment variables can be unexported with the `unexport keyword`:

Expand Down
2 changes: 1 addition & 1 deletion src/completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ complete -c just -a '(__fish_just_complete_recipes)'

const ZSH_COMPLETION_REPLACEMENTS: &[(&str, &str)] = &[
(
r#" _arguments "${_arguments_options[@]}" \"#,
r#" _arguments "${_arguments_options[@]}" : \"#,
r" local common=(",
),
(
Expand Down
6 changes: 5 additions & 1 deletion tests/completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ fn replacements() {
.args(["--completions", shell])
.output()
.unwrap();
assert!(output.status.success());
assert!(
output.status.success(),
"shell completion generation for {shell} failed: {}",
output.status
);
}
}

0 comments on commit e6c37aa

Please sign in to comment.