Releases: alexarchambault/case-app
Releases · alexarchambault/case-app
v2.1.0-M9
What's Changed
- Update utest to 0.7.10 by @scala-steward in #282
- Update cats-effect to 2.5.1 by @scala-steward in #281
- Shapeless 2.3.7 by @joroKr21 in #285
- Update scala-compiler, scala-library, ... to 2.13.6 by @scala-steward in #286
- Updates by @alexarchambault in #288
- Update sbt-mima-plugin to 0.9.2 by @scala-steward in #290
- Update refined to 0.9.26 by @scala-steward in #291
- Various things by @alexarchambault in #296
- Upgrade cats-effect by @joan38 in #294
- Tweak help / sub-commands stuff by @alexarchambault in #297
- Have the 'completions' command accept 'bash' or 'zsh' as format argument by @alexarchambault in #299
- Missing stripMargin by @alexarchambault in #300
- Tweak bash completion script by @alexarchambault in #302
- Tweaking by @alexarchambault in #304
- Update sbt-scala-native-crossproject, ... to 1.1.0 by @scala-steward in #305
- Update sbt-scalajs, scalajs-library, ... to 1.6.0 by @scala-steward in #301
- Various changes by @alexarchambault in #308
- Bump coursier/cache-action from 6.1 to 6.2 by @dependabot in #306
- Update refined to 0.9.27 by @scala-steward in #309
- Print help for '-help' too by @alexarchambault in #310
- Re-use WithHelp parser in WithFullHelp by @alexarchambault in #313
- Update cats-effect to 3.2.0 by @scala-steward in #311
- Ensure we don't call StringBuilder.append with auto-tupling by @alexarchambault in #325
- Update sbt-mima-plugin to 1.0.0 by @scala-steward in #319
- Bump coursier/cache-action from 6.2 to 6.3 by @dependabot in #315
- Add Subproject for CE2 by @LaurenceWarne in #312
- Don't hardcode a 80-char terminal width by @alexarchambault in #326
- Update sbt-scalajs, scalajs-compiler, ... to 1.7.0 by @scala-steward in #316
- Update cats-effect to 3.2.8 by @scala-steward in #324
- Update cats-effect to 2.5.3 by @scala-steward in #327
- Update cats-effect to 2.5.4 by @scala-steward in #329
- Update cats-effect to 3.2.9 by @scala-steward in #330
- Update sbt-ci-release to 1.5.9 by @scala-steward in #331
- Pass parsed options to helpAsked and usageAsked methods by @alexarchambault in #335
- Update sbt-ci-release to 1.5.10 by @scala-steward in #334
- Update sbt-scalajs, scalajs-compiler, ... to 1.7.1 by @scala-steward in #333
- Hide group of hidden options by @adpi2 in #339
- Update sbt-mima-plugin to 1.0.1 by @scala-steward in #332
- Update scala-compiler, scala-library, ... to 2.12.15 by @scala-steward in #328
- Update auxlib, javalib, nativelib, ... to 0.4.1 by @scala-steward in #337
- Update scala-compiler, scala-library, ... to 2.13.7 by @scala-steward in #338
- Format everything by @alexarchambault in #340
New Contributors
- @joroKr21 made their first contribution in #285
- @joan38 made their first contribution in #294
- @dependabot made their first contribution in #306
- @LaurenceWarne made their first contribution in #312
- @adpi2 made their first contribution in #339
Full Changelog: v2.0.6...v2.1.0-M9
v2.1.0-M8
Changes
- Pass parsed options to
helpAsked
andusageAsked
methods by @alexarchambault in #335
Updates
- Update cats-effect to 3.2.8 by @scala-steward in #324
- Update cats-effect to 2.5.3 by @scala-steward in #327
- Update cats-effect to 2.5.4 by @scala-steward in #329
- Update cats-effect to 3.2.9 by @scala-steward in #330
- Update sbt-ci-release to 1.5.9 by @scala-steward in #331
- Update sbt-ci-release to 1.5.10 by @scala-steward in #334
- Update sbt-scalajs, scalajs-compiler, ... to 1.7.1 by @scala-steward in #333
Full Changelog: v2.1.0-M7...v2.1.0-M8
v2.1.0-M7
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
Changes
- Accept
-help
(single dash) when full help is enabled too
v2.1.0-M5
Changes
- Print help message for
-help
too
v2.1.0-M4
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
Changes
- Have the
completions
andcomplete
commands accept justbash
andzsh
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
Changes
- Allow to disable the automatic addition of help-related arguments (
--help
, …) inCaseApp
(overrideCaseApp.hasHelp
) - Allow to customize help format from
CaseApp
(overrideCaseApp.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 themain
argument andsys.exit
v2.1.0-M1
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
andCommand
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
andenableCompleteCommand
inCommands
, 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
Changes
- Add
Help
andCommandsHelp
aliases right undercaseapp._
- 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]