Skip to content

Releases: yassinebenaid/bunster

v0.13.0

30 Apr 19:59
a17acfd
Compare
Choose a tag to compare

What's Changed

  • Allow using break and continue within nested scopes.
  • Add builtin flags parser. learn more
  • Support return keyword.
  • Support unset builtin command.
  • Support indexed arrays.

full changelog

New Contributors

Full Changelog: v0.12.1...v0.13.0

v0.12.1

11 Apr 09:00
357749e
Compare
Choose a tag to compare

This release does not change the content. the action job of release v0.12.0 has failed. and docker images has not been published. that is what this release solves.

Full Changelog: v0.12.0...v0.12.1

v0.12.0

11 Apr 08:53
b4112a8
Compare
Choose a tag to compare

What's Changed

  • Add a package manager 🎉. now you can share and consume modules as libraries. learn more
    bunster get github.com/yassinebenaid/hello-bunster@684da09acea05d9351c4c61d4296bc696f729533
  • Add support for the case..in statement. learn more
    case foo in 
       fo*) echo foobar;;
       *) echo baz;;
    esac
  • Support parameter expansion (eg. ${var:-word}...)
  • New builtin commands: cd, pwd, which, exit
  • Fix bug that causes single quotes to break the parser.
  • Fix redirections on functions does not get inherited

Full Changelog

Full Changelog: v0.11.0...v0.12.0

v0.11.0

22 Mar 17:07
bae57bb
Compare
Choose a tag to compare

What's Changed

  • support modules, you can distribute your code across files. lear more
  • support arithmetic expressions $(()), (()) and let. lear more
  • fix bugs in embedding
  • fix bugs in pipelines

Full changelog

Full Changelog: v0.10.0...v0.11.0

v0.10.0

13 Mar 19:39
b3c8a0c
Compare
Choose a tag to compare

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

Full Changelog: v0.9.0...v0.10.0

v0.9.0

23 Feb 14:51
bd8650e
Compare
Choose a tag to compare

New Features

  • support for loop
  • support local keyword for declaring local variables
  • support export keyword for declaring exported variables
  • support loadenv builtin command to load variables from .env files
  • support true and false builtin commands

Chanelog

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.0

06 Feb 14:33
44b8d20
Compare
Choose a tag to compare

New Features

  • Add functions support
  • Support background commands ('&')
  • Support status inversion (! command)
  • Support *and @ special variables

Changelog

New Contributors

Full Changelog: v0.7.1...v0.8.0

v0.8.0-pre2

06 Feb 14:12
ae1f31b
Compare
Choose a tag to compare
v0.8.0-pre2 Pre-release
Pre-release

Full Changelog: v0.8.0-pre...v0.8.0-pre2

v0.8.0-pre

06 Feb 13:45
19d637c
Compare
Choose a tag to compare
v0.8.0-pre Pre-release
Pre-release

New Features

  • Add functions support
  • Support background commands ('&')
  • Support status inversion (! command)
  • Support *and @ special variables

Changelog

New Contributors

Full Changelog: v0.7.1...v0.8.0-pre

v0.7.1

25 Jan 12:04
3ed2046
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.7.1