Skip to content

Releases: bash-bastion/bash-object

v0.9.0

06 Jun 09:05
v0.9.0
c114915
Compare
Choose a tag to compare

Features

  • Switch to the MPL-2.0 license
  • Added ability to override strings (of an object or array) with BASH_OBJECT_FORCE_SET=yes

Fixes

  • Don't print full internal vobj name when printing printing arrays (bobject.print)
  • Fix basalt.toml for latest schema

Internal

  • Improve comments
  • Fix CI

v0.8.1

07 Aug 13:31
v0.8.1
17d8514
Compare
Choose a tag to compare

Fixes

  • Properly print keys of objects that are strings (as opposed to other arrays or objects)

v0.8.0

26 Jan 08:02
v0.8.0
fa3162d
Compare
Choose a tag to compare

Features

New function: bobject.print

Use to print full hierarchy. It looks something like

|__ zulu (__bash_object_root_object___zulu_24092_8313_29963_14301_14535)
   |__ yankee (__bash_object_root_object___zulu_yankee_15383_14163_12814_23488_13779)
      |__ xray (__bash_object_root_object___zulu_yankee_xray_18071_28791_7790_539_19231)
         |__ whiskey
         |__ foxtrot (__bash_object_root_object___zulu_yankee_xray_foxtrot_26606_15833_10655_7208_16587)
            |- omicron
            |- pi
            |- rho
            |- sigma

See the example script for more details

New function: bobject.unset

An unset method that works with bash-object objects is provided. It unsets all objects in the hierarchy

Fixes

  • Variables like i, etc. are now properly localy scoped and properly unset

v0.7.0

12 Nov 22:05
v0.7.0
7936bad
Compare
Choose a tag to compare

Features

  • bobject.print added. This prints the object hierarchy to the console

Fixes

  • set-object with --value now works as intended

0.6.5

01 Nov 20:55
v0.6.5
1c34362
Compare
Choose a tag to compare

Fixes

  • No longer use eval
  • Remove improper quotes when getting value of associative array through field
  • Make variable names more robust (previously, variables with names like 'current_object` could not be processed)

v0.6.4

16 Oct 01:04
v0.6.4
1626e37
Compare
Choose a tag to compare

This update doesn't do anything new; it simply uses the new basalt version to ensure the version specified in basalt.toml is the same as the git tag

v0.6.3

10 Sep 02:16
v0.6.3
e709a1c
Compare
Choose a tag to compare

Fixes

  • Now works with latest bleeding edge Basalt version

v0.6.2

09 Sep 06:13
v0.6.2
38552aa
Compare
Choose a tag to compare

Fixes

  • Fix load.bash so it actually works

v0.6.1

09 Sep 05:29
v0.6.1
e7ee77a
Compare
Choose a tag to compare

Fixes

  • Move load.bash to root for direct access by basalt-load

v0.6.0

09 Sep 05:02
v0.6.0
01d4fb2
Compare
Choose a tag to compare

Features

  • Restructures the repository so it can be used better with Basalt

Fixes

  • Improve error messages