1.29.0

casey/just1.29.0Jun 14, 2024by github-actions[bot]

AI Summary

Version 1.29.0 of just adds several new features including a positional-arguments attribute, is_dependency() function, nu shell completions support, and the ability to unexport environment variables. This release also includes important bug fixes for dotenv-path loading and fzf chooser preview functionality.

Key Highlights

  • Added `is_dependency()` function to check if a recipe is a dependency
  • New `[positional-arguments]` attribute for recipe definitions
  • Added support for nu shell completions via `just --completions nushell`
  • Introduced `[ATTRIBUTE: VALUE]` shorthand syntax
  • Fixed dotenv-path loading to be relative to working directory

New Features

  • Added [positional-arguments] attribute for recipe definitions
  • Use `--justfile` in Fish shell completions
  • Added `is_dependency()` function to check recipe dependencies
  • Allow printing nu completion script with `just --completions nushell`
  • Add `[ATTRIBUTE: VALUE]` shorthand syntax
  • Allow unexporting environment variables

Full Release Notes

### 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))