Releases: caltechlibrary/datatools
Stability Release
Minor additions to support compilation with go1.16. This library of command line tools has been stable since 2019, time to make this version 1.
Maintenance release, compiled with go v1.12, four new commands
This is primarily a maintenance release. It is compiled using Go v1.12.4. It includes four new commands toml2json, yaml2json, json2toml, json2yaml adding support for working with TOML and YAML content.
Updates for conference talk
Minor bug fixes. This release is packaged so that the demos at OR 2018 in Bozenman, MT have a release number on the cli.
Big fixes
New version should be compiled using cli package version v0.0.8 or better as there was a bug fix in cli.
Various bug fixes in string command.
csv tools normalization, bug fixes
csvrows - bug fixes and added random row support
Fixed some range expression bugs, added tests, now supporting ranges expressions like 11-13 as well as colon notation of 11:13. Range expressions can be compound expressions e.g. 1,2,8-10 or 1,2,8:10.
Fixed output bug on csvrows. If no rows expressions provided and input is read from standard in then all rows will be written back out (validated through go's csv encoder/decoder). Show header option now respected correctly in csvrows.
Quoting bug fix in jsoncols
Fixed a quoting bug in jsoncols, updated test_cmds.bash to test for bug.
Bug fixes, normalization of options and io, documentation changes
datatools now uses a common vocabulary for options and input/output/error handling. This changed all the tools and in some cases changed the names of options. This will brake some scripts where the option names changed, were removed or behavior standardized.
The new string command conforms with the changes while retaining its "action" oriented syntax. A number of string specific commands have been removed along with the experimental vcard2json command. The documentation has been substantially re-organized.
string command
The experimental string functions (e.g. toupper, tolower, joinstring, splitstring) have been consolidated in a single command called string. Starting migrating to new Cli object in cli v0.0.5. Most cmds still using old Config. Added test_cmds.bash for testing the string command and will add more tests for others as I migrate to new cli code.
string functions
Added several new string related command line tools - joinstring, hasprefix, hassuffix, trimprefix, trimsuffix, toupper, tolower and totitle. Bug fixes, cleaned up docs. timefmt had two options renamed -input
became -input-format
and -output
became -output-format
to better align with the usage of -input
and -output
in the rest of the tools.