New Features
- Add support for conditional expressions and commands.
test -v var
[ -t 1 ]
[[ 10 -gt 20 ]]
- Support static file embedding
@embed main.js
embed cat main.js | node
embed ls .
- Support
defer
keyword for deferring the execution of a command or group of commands
defer echo foo
defer {
echo bar
}
defer (
echo baz
)
- Support
shift
builtin command for shifting positional arguments - Support
UTF-8
encoding
echo "雷卷是一个好程序员!"
- Bunster is now available on nixpkgs. Special thanks to @yunz-dev ❤️
Bug fixes
- fix command substitution causes the entire program to exit when the status is non zero.
- fix a panic when too many commands are present in loops header
Full Changelog
- Bug fix in docs by @yassinebenaid in #192
- Update Docs by @yassinebenaid in #194
- Add pipelines documentation by @yassinebenaid in #196
- add lists documentation by @yassinebenaid in #197
- bug fix in docs by @yassinebenaid in #198
- Add async commands documentation by @yassinebenaid in #200
- Support the
[...]
,[[...]]
andtest
builtin commands by @yassinebenaid in #193 - test compound: add support for the '-v' operator by @yassinebenaid in #201
- Conditionals: make sure symlinks are followed by @yassinebenaid in #203
- added variables documentation by @yassinebenaid in #205
- conditionals: do not alter the status code before test is done by @yassinebenaid in #206
- Fix: command substitution failures stopes entire program from execution when used in variable assignments by @yassinebenaid in #207
- Asynchronous commands to read input from
/dev/null
by @yassinebenaid in #208 - Fix race-condition in tests by @yassinebenaid in #209
- conditionals: support the negation
!
, logical operators-a
,-o
,&&
and||
. and grouped expressions by @yassinebenaid in #210 - conditionals: added missing tests by @yassinebenaid in #211
- Docs: added nixpkgs install by @yunz-dev in #213
- Support embedding 🎉 by @yassinebenaid in #212
- embedding: prevent use of invalid patterns in path by @yassinebenaid in #214
- Support
shift
builtin command by @yassinebenaid in #215 - Fix error when passing non local paths to
@embed
and update docs by @yassinebenaid in #216 - Support
defer
keyword to defer execution of a command or group of commands by @yassinebenaid in #217 - Add
UTF-8
support (i18n
) by @yassinebenaid in #218 - Docs: add
groups and subshells
section by @yassinebenaid in #219 - fix panic when using more than a command in
while
anduntil
loops head by @yassinebenaid in #220 - Docs: add defer section by @yassinebenaid in #221
- release v0.10.0 by @yassinebenaid in #222
Full Changelog: v0.9.0...v0.10.0