Skip to content

Releases: alexarchambault/case-app

v2.1.0-M9

14 Nov 15:12
44b600f
Compare
Choose a tag to compare
v2.1.0-M9 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.6...v2.1.0-M9

v2.1.0-M8

15 Oct 13:16
fa39f79
Compare
Choose a tag to compare
v2.1.0-M8 Pre-release
Pre-release

Changes

Updates

Full Changelog: v2.1.0-M7...v2.1.0-M8

v2.1.0-M7

10 Sep 09:18
54916f8
Compare
Choose a tag to compare
v2.1.0-M7 Pre-release
Pre-release

Fixes

  • Fix text reflowing printing garbage in terminal

Changes

  • Add case-app-cats-effect-2 module depending on cats-effects 2.x rather than 3.x (#312, thanks to @LaurenceWarne)
  • Don't hard-code a 80 character terminal width (this disables text reflowing by default, re-enable by setting HelpFormat.terminalWidthOpt)

Updates

  • Update Scala.JS to 1.7.0

v2.1.0-M6

12 Aug 21:11
3484a8a
Compare
Choose a tag to compare
v2.1.0-M6 Pre-release
Pre-release

Changes

  • Accept -help (single dash) when full help is enabled too

v2.1.0-M5

23 Jul 11:37
1b90b2a
Compare
Choose a tag to compare
v2.1.0-M5 Pre-release
Pre-release

Changes

  • Print help message for -help too

v2.1.0-M4

12 Jul 10:55
3986432
Compare
Choose a tag to compare
v2.1.0-M4 Pre-release
Pre-release

Changes

  • Add Arg.origin, retaining the class name where the option is defined as a field
  • Make Argument a trait, to allow for more custom implementations (e.g. to parse arguments in a different shape than the standard --foo bar)
  • Deprecate former commands API
  • Allow to add a --help-full option, to print hidden options and commands in the help message

v2.1.0-M3

17 Jun 17:48
efc89db
Compare
Choose a tag to compare
v2.1.0-M3 Pre-release
Pre-release

Changes

  • Have the completions and complete commands accept just bash and zsh as types.
  • Leave single- in user arguments

Fixes

  • Add missing stripMargin when printing bash completion script
  • Fix escaping of \n when printing bash completion script
  • Escape :s in zsh completions

v2.1.0-M2

07 Jun 18:27
ba47d45
Compare
Choose a tag to compare
v2.1.0-M2 Pre-release
Pre-release

Changes

  • Allow to disable the automatic addition of help-related arguments (--help, …) in CaseApp (override CaseApp.hasHelp)
  • Allow to customize help format from CaseApp (override CaseApp.helpFormat)
  • Print all command aliases on the same line rather than different lines in the help output
  • Allow to hide commands in help output (override Command.hidden)
  • Use process.{argv,exit} by default on Node rather than the main argument and sys.exit

v2.1.0-M1

06 Jun 20:18
0fa920f
Compare
Choose a tag to compare
v2.1.0-M1 Pre-release
Pre-release

Changes

  • Add back Scala Native support
  • New help / usage formats (picocli-inspired, with ANSI colors, etc.)
  • Reworked sub-commands support (revolving around the new Commands and Command classes)
  • Early support for bash and zsh completions, with support to complete sub-command names, option names, and customizable completers for option values (usable in multi-commands schemes, by overriding enableCompletionsCommand and enableCompleteCommand in Commands, in particular)

Updates

  • Update cats-effect to 3.1.1
  • Update shapeless to 2.3.7
  • Update refined to 0.9.26
  • Update Scala to 2.12.4 / 2.13.6

v2.0.6

19 Apr 15:21
dc3a03c
Compare
Choose a tag to compare

Changes

  • Add Help and CommandsHelp aliases right under caseapp._
  • Add {Parser, Help, CommandParser, CommandsHelp}.derive methods, allowing to explicitly type these type classes implicits:
implicit val parser: Parser[Options] = Parser.derive
// rather than
//   implicit val parser = Parser[Options]