New syntax features
There are some new rules to simplify JSON files. The minimal JSON that works with v0.8.0 is {"command":"echo Hello","components":[]}
.
- Array brackets can now be omitted when the array has only one item. (#51)
- GUI elements (e.g.
"command"
) can now be defined in root object when the"gui"
array has only one item. (#52) - GUI labels became optional, and
"window_name"
can now be default values of GUI labels. (#54)
Other changes
- Tuw now redirects stderr into the console window. (#57)
- Replaced std::string with a custom string class to reduce the binary size. (#56)
- Renamed Windows10 build (
*-Windows-x64-ucrt.zip
) to*-Windows10-x64.zip
. (#50)
Known Issues
- Linux build has a memory leak. (#60)