Skip to content

Commit e6c37aa

Browse files
authored
Release 1.29.0 (#2155)
- 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
1 parent 18ec979 commit e6c37aa

File tree

6 files changed

+62
-35
lines changed

6 files changed

+62
-35
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changelog
22
=========
33

4+
[1.29.0](https://github.com/casey/just/releases/tag/1.29.0) - 2024-06-13
5+
------------------------------------------------------------------------
6+
7+
### Added
8+
- Add [positional-arguments] attribute ([#2151](https://github.com/casey/just/pull/2151))
9+
- Use `--justfile` in Fish shell completions ([#2148](https://github.com/casey/just/pull/2148) by [rubot](https://github.com/rubot))
10+
- Add `is_dependency()` function ([#2139](https://github.com/casey/just/pull/2139) by [neunenak](https://github.com/neunenak))
11+
- Allow printing nu completion script with `just --completions nushell` ([#2140](https://github.com/casey/just/pull/2140))
12+
- Add `[ATTRIBUTE: VALUE]` shorthand ([#2136](https://github.com/casey/just/pull/2136) by [neunenak](https://github.com/neunenak))
13+
- Allow unexporting environment variables ([#2098](https://github.com/casey/just/pull/2098) by [neunenak](https://github.com/neunenak))
14+
15+
### Fixed
16+
- Load environment file from dotenv-path relative to working directory ([#2152](https://github.com/casey/just/pull/2152))
17+
- Fix `fzf` chooser preview with space-separated module paths ([#2141](https://github.com/casey/just/pull/2141))
18+
19+
### Misc
20+
- Improve argument parsing and error handling for submodules ([#2154](https://github.com/casey/just/pull/2154))
21+
- Document shell expanded string defaults ([#2153](https://github.com/casey/just/pull/2153))
22+
- Test bare bash path in shebang on windows ([#2144](https://github.com/casey/just/pull/2144))
23+
- Test shell not found error messages ([#2145](https://github.com/casey/just/pull/2145))
24+
- Refactor evaluator ([#2138](https://github.com/casey/just/pull/2138) by [neunenak](https://github.com/neunenak))
25+
- Fix man page generation in release workflow ([#2132](https://github.com/casey/just/pull/2132))
26+
427
[1.28.0](https://github.com/casey/just/releases/tag/1.28.0) - 2024-06-05
528
------------------------------------------------------------------------
629

Cargo.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "just"
3-
version = "1.28.0"
3+
version = "1.29.0"
44
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
55
autotests = false
66
categories = ["command-line-utilities", "development-tools"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ $ just test foo "bar baz"
997997
```
998998

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

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

2078-
#### Unexporting Environment Variables<sup>master</sup>
2078+
#### Unexporting Environment Variables<sup>1.29.0</sup>
20792079

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

src/completions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ complete -c just -a '(__fish_just_complete_recipes)'
137137

138138
const ZSH_COMPLETION_REPLACEMENTS: &[(&str, &str)] = &[
139139
(
140-
r#" _arguments "${_arguments_options[@]}" \"#,
140+
r#" _arguments "${_arguments_options[@]}" : \"#,
141141
r" local common=(",
142142
),
143143
(

tests/completions.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ fn replacements() {
3333
.args(["--completions", shell])
3434
.output()
3535
.unwrap();
36-
assert!(output.status.success());
36+
assert!(
37+
output.status.success(),
38+
"shell completion generation for {shell} failed: {}",
39+
output.status
40+
);
3741
}
3842
}

0 commit comments

Comments
 (0)