What’s new?
This release contains mostly minor improvements of functionality released in Viash 0.6.0. Most notably:
Support was added for
type: longargumentsmeta["n_proc"]has been renamed tometa["cpus"].meta["cpus"]is now an integer, whereasmeta["memory_*"]are now longs.viash ns execis able to recognise{platform}and{namespace}fields.And various bug fixes and improvements to documentation and unit testing.
Full changelog
BREAKING CHANGES
Deprecated usage
resources_dirvariable inside scripts, usemeta["resources_dir"]instead (or$meta_resources_dirin Bash, ormeta$resources_dirin R).Deprecated
meta["n_proc"]in favour formeta["cpus"].
NEW FUNCTIONALITY
viash ns exec: Added two more fields:{platform}: the platform name (if applicable){namespace}: the namespace of the component
LongArgument: Added support for 64-bit integers withtype: longas opposed totype: integerwhich are 32-bit integers.
MAJOR CHANGES
- Allow passing integers/doubles/booleans to string parameters (#225). Removed the ‘Version’ helper class.
MINOR CHANGES
meta["cpus"]is now an integer,meta["memory_*"]are now longs (#224).DockerPlatform: Only store author names in the authors metadata.NextflowPlatform: Only store author names in the authors metadata.Argument[_]: Turnmultiple_sepfromCharintoString.
INTERNAL CHANGES
All
meta[...]variables are now processed similar toArgument[_]s, instead of using custom code to convert object types and detect Docker mounts.Escaper: Make more generic Escaper helper class.
DOCUMENTATION
Hardcoded URLs pointing to viash.io in the documentation annotations were replaced with a new keyword system.
Replaced references to “DSL” with “Dynamic Config Modding” in the
--helpoutput.Added an example for Ruby based Docker setups.
BUG FIXES
viash ns: Reverse exit code outputs, was returning 1 when everything was OK and 0 when errors were detected (PR #227).viash config inject: Fix processing of arguments when argument groups are defined (#231).Fixed a few typos in the CLI.
Fixed the formatting of
ns execdocumentation.VDSL3: Fix stub functionality.VDSL3: Fix error during error message.viash test: Fix issue whereVIASH_TEMPcould not be a relative directory when runningviash test(#242).BashScript,CSharpScript,JavaScriptScript,PythonScript,RScript,ScalaScript: Fix quoting issues of certain characters (#113).
DEPRECATION
NextflowPlatform: Deprecate--param_list_formatparameter.
TESTING
BashScript,CSharpScript,JavaScriptScript,PythonScript,RScript,ScalaScript: Implement more rigorous testing of which characters are escaped.BashWrapper: Escape usage ofmultiple_sep. This fixes various checks and transformations not working when whenmultiple_sepis set to";"(#235).