ToValue
helper function.- Fix nil byte slice encoding.
- Fix stream input for engine call (
EvalClosure
,CallDecl
). - Fix Windows support.
- Implement
FindDecl
andCallDecl
engine calls. RenamedEvalClosureArgument
toEvalArgument
as it is now used for bothEvalClosure
andCallDecl
.
- Plugin protocol version 0.101.0
- Implement
Stringer
forIntRange
; - Implement iterator for
IntRange
. Minimum supported Go version is now 1.23. - Fix loading empty list. Caused ie
GetEnvVar
orGetEnvVars
call to fail when some env var contained empty list value.
- Implement
Keyword
SyntaxShape; - Introduce
types
package - to define input / output types of the plugin. ThePluginSignature
fieldInputOutputTypes
is now[]InOutTypes
.
- Introduce
syntaxshape
package. Until now where SyntaxShape is requiredstring
type was used but that allows only simple syntax shapes to be described. - Rename
Flag
fieldArg
toShape
and change it's type fromstring
tosyntaxshape.SyntaxShape
. - Change
PositionalArg
fieldShape
type fromstring
tosyntaxshape.SyntaxShape
. - Rename
PluginSignature
fieldUsage
toDesc
andUsageEx
toDescription
. - Introduce
ExecCommand.FlagValue
method. - Drop
NamedParams.HasFlag
method, useExecCommand.FlagValue
instead. The way HasFlag have been used allows stubble bug in case--flag=false
is used. - Drop
NamedParams.StringValue
method;