yash-builtin-0.3.0
magicant
released this
12 Jul 16:10
·
159 commits
to master
since this release
[0.3.0] - 2024-07-13
Added
- Internal dependencies:
- yash-prompt 0.1.0 (optional)
Changed
- External dependency versions:
- Rust 1.75.0 → 1.77.0
- yash-semantics 0.2.0 → 0.3.0
- yash-syntax 0.9.0 → 0.10.0
Fixed
- The read built-in now shows a prompt when reading a continued line.
- The source built-in now echoes the input when the verbose shell option is set.
- The break and continue built-ins now return
ExitStatus::ERROR
for syntax
errors andExitStatus::FAILURE
for semantic errors. Previously, they always
returnedExitStatus::ERROR
for both types of errors, while the documentation
stated that they returnedExitStatus::FAILURE
for semantic errors. - The set built-in no longer enables stopper handlers (see
yash_env::trap::TrapSet
) when invoked with the-m
option in a subshell of
an interactive shell. Previously, it enabled stopper handlers in such cases,
which was inconsistent with the job control behavior implemented in the
yash-semantics
crate.