1.28.0

casey/just1.28.0Jun 5, 2024by github-actions[bot]

AI Summary

Version 1.28.0 of just introduces significant improvements to submodule support, including new flags for listing and showing recipes in submodules, along with timestamp functionality and new environment functions. The release also changes where shebang recipes are written and modifies default behavior for submodule recipe display.

Key Highlights

  • New submodule support with --list-submodules, --show RECIPE::PATH, and --list PATH for listing recipes in submodules
  • Added --timestamps and --timestamp-format flags for printing recipe command timestamps
  • New module_file() and module_directory() functions for recipe path resolution
  • Shebang recipes now write to $XDG_RUNTIME_DIR instead of previous location
  • Added set dotenv-required to require an environment file and changed --list to not display submodule recipes by default

Breaking Changes

  • Shebang recipes are now written to $XDG_RUNTIME_DIR instead of the previous location
  • Submodule recipes are no longer displayed in --list by default (use --list-submodules to include them)

New Features

  • --list-submodules flag to list recipes in submodules
  • --show RECIPE::PATH to show recipes in submodules
  • --timestamp-format for custom timestamp formatting
  • --timestamps to print recipe command timestamps
  • module_file() and module_directory() functions
  • Allow listing submodule recipes with --list PATH
  • set dotenv-required setting to require an environment file
  • Space-separated recipe paths in --choose
  • Bash completion fixes for aliases

Full Release Notes

### Changed
- Write shebang recipes to $XDG_RUNTIME_DIR ([#2128](https://github.com/casey/just/pull/2128))
- Add `set dotenv-required` to require an environment file ([#2116](https://github.com/casey/just/pull/2116))
- Don't display submodule recipes in `--list` ([#2112](https://github.com/casey/just/pull/2112))

### Added
- Allow listing recipes in submodules with `--list-submodules` ([#2113](https://github.com/casey/just/pull/2113))
- Show recipes in submodules with `--show RECIPE::PATH` ([#2111](https://github.com/casey/just/pull/2111))
- Add `--timestamp-format` ([#2106](https://github.com/casey/just/pull/2106) by [neunenak](https://github.com/neunenak))
- Allow listing submodule recipes with `--list PATH` ([#2108](https://github.com/casey/just/pull/2108))
- Print recipe command timestamps with `--timestamps` ([#2084](https://github.com/casey/just/pull/2084) by [neunenak](https://github.com/neunenak))
- Add `module_file()` and `module_directory()` functions ([#2105](https://github.com/casey/just/pull/2105))

### Fixed
- Use space-separated recipe paths in `--choose` ([#2115](https://github.com/casey/just/pull/2115))
- Fix bash completion for aliases ([#2104](https://github.com/casey/just/pull/2104) by [laniakea64](https://github.com/laniakea64))

### Misc
- Don't check in manpage ([#2130](https://github.com/casey/just/pull/2130))
- Document default shell ([#2129](https://github.com/casey/just/pull/2129))
- Remove duplicate section in Chinese readme ([#2127](https://github.com/casey/just/pull/2127) by [potterxu](https://github.com/potterxu))
- Update Chinese readme ([#2124](https://github.com/casey/just/pull/2124) by [potterxu](https://github.com/potterxu))
- Fix typo in readme ([#2122](https://github.com/casey/just/pull/2122) by [potterxu](https://github.com/potterxu))
- Don't check in auto-generated completion scripts ([#2120](https://github.com/casey/just/pull/2120))
- Document when dependencies run in readme ([#2103](https://github.com/casey/just/pull/2103))
- Build aarch64-pc-windows-msvc release binaries ([#2100](https://github.com/casey/just/pull/2100) by [alshdavid](https://github.com/alshdavid))
- Clarify that `dotenv-path`-given env file is required ([#2099](https://github.com/casey/just/pull/2099))
- Print multi-line doc comments before recipe in `--list` ([#2090](https://github.com/casey/just/pull/2090))
- List unsorted imported recipes by import depth and offset ([#2092](https://github.com/casey/just/pull/2092))
- Update README.md ([#2091](https://github.com/casey/just/pull/2091) by [laniakea64](https://github.com/laniakea64))