Releases: casey/just
Releases · casey/just
Release list
1.55.1
1.55.0
Fixed
Changed
- Allow
[arg(pattern)]to be a list (#3484 by casey) - Allow
[arg(help)]to be expression (#3483 by casey) - Allow
[arg(pattern)]to be expression (#3482 by casey)
Added
- Add stream gates to
style()(#3503 by casey) - Accept
-Ffor--dotenv-filename(#3498 by casey) - Add
just_version()function (#3497 by casey) - Add
[arg(multiple)](#3493 by casey) - Allow combining short options (#3490 by casey)
- Allow variadic parameters to be options (#3488 by casey)
- Default
[arg(short)]to first character of parameter name (#3486 by casey) - Add support for RGB and fixed colors to
style()(#3479 by casey) - Improve
style()function (#3478 by casey) - Add
set minimum-version(#3477 by casey) - Add module aliases (#3472 by casey)
Misc
- Add example to cached recipes readme (#3506 by casey)
- Fix readme heading levels (#3505 by casey)
- Move Friendly Admonitions higher in Cached Recipes section (#3504 by casey)
- Rename test helper functions (#3502 by casey)
- Simplify tests (#3501 by casey)
- Use
assert_eval_eqin tests (#3499 by casey) - Expand readme intro list (#3496 by casey)
- Organize readme into sections (#3495 by casey)
- Rename option tests (#3494 by casey)
- Move option application to
switch.apply()(#3491 by casey) - Document that
[arg(help)]may be a list (#3485 by casey) - Move override processing out of
Analyzer(#3481 by casey) - Add
ConstEvalError(#3480 by casey) - Remove
ModuleAlias(#3475 by casey) - Chain tests (#3476 by casey)
- Remove temptree dependency (#3473 by casey)
- Simplify show tests (#3471 by casey)
- Remove unnecessary tab escapes (#3470 by casey)
- Indent
Test::write()strings (#3469 by casey) - Document cache key printing (#3468 by casey)
- Remove generic argument from
Count(#3467 by casey)
1.54.0
Fixed
- Forbid duplicate attribute keys (#3454 by casey)
- Clear signal handler when infallible line catches signal (#3444 by casey)
Changed
- Allow passing
--dotenv-commandmultiple times (#3445 by casey) - Allow
[arg]valueto be expression (#3429 by casey)
Added
- Add
[continue]attribute (#3442 by casey) - Add
--dotenv-commandandset dotenv-command(#3441 by casey)
Cached Recipes
- Add cache key to verbose output (#3465 by casey)
- Add
--no-cacheflag (#3463 by casey) - Remove empty cache entries with
just --clean(#3462 by casey) - Add
just --cleaninstructions to readme (#3461 by casey) - Allow filtering
--cleanby recipe and module path (#3460 by casey) - Add
--cleansubcommand for clearing recipe cache (#3459 by casey) - Include recipe name in cache entries (#3457 by casey)
- Add extra user-supplied cache key (#3456 by casey)
- Fix working directory cache key (#3455 by casey)
- Add output files to cached recipes (#3453 by casey)
- Add file inputs to cached recipes (#3452 by casey)
- Use body lines in cache key (#3451 by casey)
- Use recipe body in cache key instead of lines (#3447 by casey)
- Add additional cache keys (#3446 by casey)
- Add cached recipes (#3437 by casey)
Misc
- Rename
AttributeDiscriminanttoAttributeKind(#3464 by casey) - Improve invalid shell recipe attribute error message (#3458 by casey)
- Add
Environmentstruct (#3450 by casey) - Remove
Test::no_justfile()(#3449 by casey) - Use plural consistently in
UnstableFeatureenum (#3448 by casey) - Lowercase
ctrlconsistently (#3443 by casey) - Add activating environments section to readme (#3440 by casey)
- Bump minimum-supported Rust version to 1.89.0 (#3438 by casey)
- Make non-unicode error messages consistent (#3436 by casey)
- Lowercase function error messages (#3435 by casey)
- Reword readme (#3433 by casey)
- Remove emacs
Local Variables:block from justfile (#3432 by casey)
1.53.0
Added
Changed
- Allow omitting
assert()message (#3423 by casey) - Preserve bare
[arg]long key when formatting (#3397 by casey)
Lists
- Add list concatenation operator (#3427 by casey)
- Do not export empty lists (#3424 by casey)
- Add
split()function (#3420 by casey) - Make
which()requireset lists(#3418 by casey) - Make
env()functions work with lists (#3416 by casey) - Make
+and/work with lists (#3415 by casey) - Allow lists as regex operands of
=~and!~(#3414 by casey) - Allow multiple
--dotenv-filenameand--dotenv-pathoptions (#3413 by casey) - Load multiple
.envfiles (#3412 by casey) - Flatten interpreter settings (#3410 by casey)
- Make
[env]work with lists (#3409 by casey) - Join lists in
assert()and[confirm]messages (#3408 by casey) - Join lists in interpolations (#3407 by casey)
- Using lists in string contexts is an error (#3406 by casey)
assert(condition)evaluates tocondition(#3405 by casey)- Make
assert()evaluate to"true"whenset listsis enabled (#3404 by casey) - Make
=~and!~work with lists (#3403 by casey) ifwithoutelseevalutes to[]when false (#3401 by casey)- Check structural equality in
!=and==(#3402 by casey) - Add
flag[arg]attribute (#3398 by casey) - Make
show()requireset lists(#3392 by casey) - Add
bool()function (#3391 by casey) - Add negation operator
!(#3389 by casey) - Allow conditions to be used in arbitrary expressions (#3387 by casey)
- Add
show()function (#3383 by casey) - Print lists in
--evaluate(#3382 by casey) - Reform booleans (#3381 by casey)
- Add list literals (#3380 by casey)
- Allow mapping dependencies over lists (#3379 by casey)
- Forwards lists to dependencies (#3378 by casey)
- Map
append()andprepend()over lists (#3375 by casey) - Map
absolute_path()over lists (#3374 by casey) - Add
set lists(#3372 by casey) - Preserve variadic arguments as lists of strings (#3362 by casey)
Misc
- Improve broken WSL bash workaround (#3426 by casey)
- Fix
[arg]attribute examples in readme (#3422 by casey) - Organize lists readme section (#3421 by casey)
- Remove extra detail from most list in string context errors (#3417 by casey)
- Add tokens to
[env]and[working-directory]string context errors (#3411 by casey) - Reduce parser test churn (#3400 by casey)
- Add example using
[parallel]with mapped dependencies (#3399 by casey) - Use
StringResultandValueResultinstead ofFunctionResult(#3396 by casey) - Allow stable calls to user-defined functions that shadow unstable functions (#3395 by casey)
- Replace rule 110 with rule 124 (#3394 by casey)
- Consolidate list feature errors (#3393 by casey)
- Simplify
Lexer::lex_choices()(#3390 by casey) - Consolidate list feature tracking (#3388 by casey)
- Refactor function context retrieval (#3386 by casey)
- Remove
summarymodule (#3385 by casey) - Use
show()and--evaluatein tests (#3384 by casey) - Include number in counts (#3376 by casey)
- Improve list tests (#3373 by casey)
- Add
rule110recipe todemogroup (#3368 by casey) - Move doc comments above long recipe signatures in
--list(#3367 by casey) - Propagate
is_dependencyto defined function evaluators (#3365 by casey) - Use
valueconsistently in functions (#3364 by casey)
1.52.0
Added
- Add
[shell]attribute to overridedefault-scriptsetting (#3359 by casey) - Add
default-scriptsetting (#3354 by casey) - Add
--default-listflag (#3350 by casey) - Add
default-listsetting (#3337 by casey)
Changed
- Disable aliases that depend on absent modules (#3358 by casey)
- Print formatted justfile to stdout when source is stdin (#3356 by casey)
- Allow search directory with more subcommands (#3353 by casey)
- Disable recipes that depend on absent modules (#3352 by casey)
Misc
- Improve absent optional module error messages (#3357 by casey)
- Alphabetize Attribute derive macro order (#3355 by casey)
- Include UTF-8 byte-order mark in PowerShell scripts (#3347 by casey)
- Remove options from
--listoutput (#3346 by casey) - Switch from ansi_term to nu_ansi_term (#3344 by casey)
- Remove redundant argument parser attributes (#3340 by casey)
1.51.0
Added
Changed
- Allow
[env]attribute to take expressions (#3329 by casey) - Allow using expressions with
[working-directory](#3326 by casey) - Read justfile from standard input with
--justfile -(#3325 by casey) - Make
parent_directory()of bare filename return.(#3313 by casey) - Make
[env]override module-level exports (#3312 by casey)
Fixed
- Fail on deep recursion instead of overflowing stack (#3319 by casey)
- Invoke chooser selections separately (#3311 by casey)
- Don't evaluate unused assertions (#3310 by casey)
- Respect lazy setting in submodules (#3308 by casey)
- Fix overrides not being visible in user-defined functions (#3307 by casey)
- Don't panic on invalid datetime format string (#3304 by casey)
Misc
- Use
cargo-limitcommands in justfile (#3331 by casey) - Simplify code more (#3330 by casey)
- Update install-dev-deps recipe with compatible mdbook (#3328 by casey)
- Simplify code (#3327 by casey)
- Link to duplicate recipe issue in readme (#3321 by casey)
- Remove periods from error messages (#3316 by casey)
- Avoid multi-sentence error messagess (#3315 by casey)
- Make error messages lowercase (#3314 by casey)
- Actually bump version to 1.50.0 (#3303 by casey)
1.50.0
Added
- Filter
--chooseby--group(#3298 by casey) - Add
[android]recipe attribute (#2884 by duncanawoods) - Add
module_path()function (#3270 by casey)
Fixed
- Preserve trailing comments when formatting (#3282 by casey)
- Preserve comments before
[doc]attribute (#3275 by casey) - Allow comments after unexports (#3264 by casey)
Changed
- Stabilize
--fmtsubcommand (#3301 by casey) - Ignore trailing
::on last argument (#3300 by casey) - Complete files and directories when completing arguments (#3299 by casey)
- Include
module_pathfield in JSON (#3288 by casey) - Partially collapse blank lines between items (#3274 by casey)
- Omit defaults when formatting settings (#3268 by casey)
Misc
- Fix
read()description (#3295 by casey) - Note that pull requests are not currently being accepted (#3289 by casey)
- Improve completer config parsing (#3287 by casey)
- Test that aliases complete with environment variable (#3286 by casey)
- Replace unnecessary raw strings (#3281 by casey)
- Fix test string indentation (#3280 by casey)
- Document
assert()in readme (#3279 by casey) - Replace dashes with underscores when using
--evaluate-format shell(#3278 by casey) - Fix readme typos (#3277 by casey)
- Test multi-line recipe comments (#3276 by casey)
- Document
set no-exit-messageand[exit-message](#3269 by casey) - Refactor end-of-file handling in lexer (#3267 by casey)
- Fix end-of-file parsing (#3266 by casey)
- Update softprops/action-gh-release to 2.6.1 (#3253 by casey)
- Include bash completion script in crate (#3252 by casey)
1.49.0
Added
- Add
--timeto print recipe execution time (#3099 by GeorgeLS) - Add user-defined functions (#3247 by casey)
- Add just skill for agents (#3241 by casey)
- Allow expressions in confirm attribute (#3238 by begoon)
- Add
--complete-aliases(#3235 by casey) - Add
--justfile-nameto configure justfile filename (#3234 by casey) - Add
runtime_directory()function (#3226 by barskern) - Add
--evaluate-format(#3221 by casey) - Allow passing variable and module paths to
--evaluate(#3219 by casey) - Add
--indentation(#3215 by casey) - Add
module_file()andmodule_directory()to readme (#2965 by cspotcode) - Add Nix flake (#2972 by neunenak)
Fixed
- Allow reading
.envfrom special files (#3250 by casey) - Load environment files in submodules (#3243 by casey)
- Avoid process substitution in bash completion script (#3217 by casey)
- Dont pass shell name to powershell (#3209 by casey)
Misc
- Add just implementation of rule110 (#3249 by casey)
- Add instructions for skill to readme (#3245 by casey)
- Remove comma in readme (#3244 by casey)
- Move bash completion registration script into etc/ (#3242 by casey)
- Avoid to_string_lossy in directory function tests (#3232 by casey)
- Add installation overview (#3231 by casey)
- Warn if invocation directory or justfile path is not Unicode (#3230 by casey)
- Don't use make syntax highlighting in vim (#2906 by alerque)
- Fix Name Display impl to pad correctly (#3222 by casey)
- Rename
evaluate_targettoevaluation_target(#3220 by casey) - Include recipe path in verbose output (#3213 by behnam-oneschema)
- Move recipe methods onto resolved recipe (#3214 by casey)
- Document that
semver_matches()returns strings (#3212 by casey) - Build riscv64 release binaries (#3210 by gounthar)
- Include shell name in I/O error messages (#3208 by casey)
- Don't print signal error message if recipe has
[no-exit-message](#3200 by imp-joshi)
1.48.1
- Fix bash completion of command lines containing
:(#3205 by casey) - Call zsh completion function when first auto-loaded (#3199 by casey)
- Fix
--setmissing value error message interpolation (#3198 by cuiweixie) - Add
#compdefto zsh completion script (#3197 by casey) - Add instructions for alias completions in bash (#3190 by casey)
- Remove redundant clap derive attributes (#3183 by casey)
- Move files into etc/ (#3182 by casey)
- Update stable features in readme (#3181 by casey)
1.48.0
Added
- Build docker images (#3174 by casey)
- Dynamically complete recipes for
--usage(#3172 by casey) - Dynamically complete groups (#3171 by casey)
- Dynamically complete recipes and variables (#3169 by casey)
- Complete appropriate filetypes (#3168 by casey)
- Allow overriding variables in submodules (#3151 by casey)
- Add
--jsonas synonym for--dump --dump-format json(#3143 by casey)
Changed
- Stabilize lazy evaluation (#3180 by casey)
- Switch to dynamic completion engine (#3167 by casey)
- Respect PATH and PATHEXT when running commands on Windows (#3160 by casey)
- Make
which()andrequire()respect PATHEXT on Windows (#3144 by casey)
Misc
- Add completion script installation instructions (#3178 by casey)
- Fix readme typo (#3176 by Rohan5commit)
- Remove Vagrantfile (#3173 by casey)
- Fix signal handling typo (#3170 by Rohan5commit)
- Add cargo-binstall installation instructions (#3165 by casey)
- Fix typos (#3162 by casey)
- Readme typo: forground (#3161 by Rohan5commit)
- Use clap derive to parse arguments (#3158 by casey)
- Fix readme typo (#3156 by teee32)
- Document that path_exists() returns strings (#2946 by cspotcode)
- Remove version references from readme headings (#3153 by casey)
- Fix readme typo (#3152 by Rohan5commit)
- Fix variadic parameter typo in readme (#3150 by casey)
- Fix readme typo (#3148 by Rohan5commit)
- Avoid conditional compilation (#3145 by casey)
- Update VS Code extension in Chinese readme (#2984 by A-moment096)
- Change replace wording in readme (#3137 by Rohan5commit)
- Document recipe metadata (#3142 by casey)