1.56.0
Fixed 20
- Omit authorization header in install script if GITHUB_TOKEN is empty
- Evaluate assignments in dependency order
- Do not run shell() commands during dry run
- List aliases for recipes in other modules
- Don't unindent format strings twice
- Include doc comments and attributes in --show
- Don't resolve submodule variables to parent module variables
- Show dependency paths
- Reject shell-expanded string identifier in format string interpolation
- Resolve variables in [cache] expressions
- Preserve blank CRLF lines between recipes
- Report mixed leading whitespace in recipe bodies
- Preserve eager keyword in --dump and --fmt
- Export [env] variables to recipe bodies
- Don't add trailing space to empty doc comments
- Preserve CRLF when unindenting blank lines
- Include parameter multiple in dump
- Skip private variables when calculating --evaluate padding
- Don't show flag placeholders in --usage
- Fix is_dependency() in [confirm] expressions
Fixed
- Omit authorization header in install script if GITHUB_TOKEN is empty (#3595 by casey)
- Evaluate assignments in dependency order (#3591 by casey)
- Do not run
shell()commands during dry run (#3588 by casey) - List aliases for recipes in other modules (#3581 by casey)
- Don't unindent format strings twice (#3579 by casey)
- Include doc comments and attributes in
--show(#3578 by casey) - Don't resolve submodule variables to parent module variables (#3577 by casey)
- Show dependency paths (#3576 by casey)
- Reject shell-expanded string identifier in format string interpolation (#3575 by casey)
- Resolve variables in
[cache]expressions (#3573 by casey) - Preserve blank CRLF lines between recipes (#3568 by casey)
- Report mixed leading whitespace in recipe bodies (#3567 by casey)
- Preserve
eagerkeyword in--dumpand--fmt(#3565 by casey) - Export
[env]variables to recipe bodies (#3566 by casey) - Don't add trailing space to empty doc comments (#3564 by casey)
- Preserve CRLF when unindenting blank lines (#3563 by casey)
- Include parameter
multiplein dump (#3562 by casey) - Skip private variables when calculating
--evaluatepadding (#3561 by casey) - Don't show flag placeholders in
--usage(#3559 by casey) - Fix
is_dependency()in[confirm]expressions (#3558 by casey) - Skip private modules when choosing (#3557 by casey)
- Don't re-evaluate assignments in user-defined functions (#3555 by casey)
- Forbid format-string backticks (#3554 by casey)
- Don't use shebangs as doc comments (#3553 by casey)
- Don't deduplicate ASTs (#3552 by casey)
- Allow escaping CRLF in strings (#3550 by casey)
- Ignore sigils on continuation lines (#3549 by casey)
- Catch circular references though function calls (#3548 by casey)
- Resolve references in module
[doc]attributes (#3547 by casey) - Avoid exponential blowup when traversing dependencies (#3546 by casey)
- Handle invalid shebang lines (#3545 by casey)
- Fix variable shadowing (#3543 by casey)
- Handle timestamp formatting errors (#3542 by casey)
- Display correct mismatched delimiter in format string (#3540 by casey)
- Handle unterminated format string (#3539 by casey)
- Error on end-of-file after backslash (#3538 by casey)
Changed
- Make
path_exists('')return false (#3570 by casey) - Make
set ignore-commentsonly apply to shell recipes (#3544 by casey) - Remove
!includeerror (#3541 by casey) - Allow
[doc]to be const expression (#3516 by casey) - Allow conditional attributes on all items (#3515 by casey)
Added
- Resolve module aliases in
--show,--list, and--usage(#3580 by casey) - Add
num_jobs()function (#3537 by casey) - Add
--jobsoption to limit parallelism (#3531 by casey) - Add
indentationsetting (#3530 by casey) - Add
[arg(min)](#3524 by casey) - Add
[arg(max)](#3522 by casey)
Misc
- Construct
ExpressionContextwith.into()(#3590 by casey) - Add Spack package to readme (#3589 by casey)
- Look up variables by number (#3585 by casey)
- Consolidate variable resolution (#3584 by casey)
- Add
ListEntry(#3583 by casey) - Give format string token kinds unique display implementations (#3574 by casey)
- Update
[arg(min, max)]description in readme (#3572 by casey) - Move lexiclean into source tree (#3569 by casey)
- Remove debug assert in
Recipe::group_arguments()(#3560 by casey) - Deprecate
set windows-shell(#3536 by casey) - Move
[arg]attribute construction into helper method (#3525 by casey) - Consolidate attribute display (#3514 by casey)