Skip to content

0.3.0

Choose a tag to compare

@ayosec ayosec released this 06 Jul 11:32
· 12 commits to main since this release
  • Support for indexed and associative arrays.

    The functions array_get, array_set, assoc_get, and assoc_set can be used to set or get elements inside an array.

  • Compatibility with Bash 5.0 and 5.1

    Bash 5.1 modified the order of the struct array fields. This crate checks the running version of Bash to determine where is the field to iterate over the array.

Breaking Changes

  • The RawVariable::array_items() iterator now yields pairs of (index, string), instead of just the string.