Scallop v4.0.0 Release Notes

    • ๐Ÿ’ฅ BREAKING: singleArgConverter and listArgConverter now include exception text if provided handler didn't catch the exception;
    • ๐Ÿ’ฅ BREAKING: singleArgConverter2 was removed;
    • ๐Ÿ’ฅ BREAKING: ArgType.V is now sealed abstract class;
    • ๐Ÿ’ฅ BREAKING: ScallopHelpFormatter.getOptionLines (and similar methods) now return List[Either[String, CliOption]] instead of List[Option[CliOption]];
    • ๐Ÿ’ฅ BREAKING: behavior change: Scallop now supports trailing arguments before options, thus --opt1 optArg1 trailArg1 --opt2 will now be parsed instead of throwing an error;
    • ๐Ÿ’ฅ BREAKING: behavior change: Scallop now handles single and double quotes in a shell-like fashion when reading options from stdin or file;
    • โž• added support for trailing arguments before (or between) options, see #147;
    • โž• added cross-compilation for Scala 3.0.0-M2, see #215 and #216 (@Sciss);
    • โž• added support for option ordering in help output via option groups, see #196;
    • ๐Ÿ– handle single and double quoted strings when reading options from stdin or file, allows for using arguments with spaces in such cases;