Packages

citty

0.2.2 · 1 Apr 2026MIT51.4M / weekRepositoryHomepagenpmAtom feed

Upgrading citty From 0.1.4 to 0.2.2

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Before you upgrade

Tick each one off as you go
  • Breaking0.2.0
  • Breaking0.2.0
  • Breaking0.2.0
  • Breaking0.2.0

Release by release

  1. 0.2.2

    1 Apr 20263 new · 4 fixes
    • New

      Support subcommand aliases

    • New

      Add plugin system

    • New

      Support default sub command

    • Fixed

      main: Allow user-defined -h, --help, -v, --version args

    • Fixed

      Resolve alias value over default

    • Fixed

      Subcommand resolution incorrectly consumes flag values

    • Fixed

      Coerce parsed arg values to match declared types

  2. 0.2.1

    12 Feb 20261 fix
    • Fixed

      Propagate --no- negation to aliases and main option

  3. 0.2.0

    Migration needed20 Jan 20263 new · 3 fixes
    • Breaking

      ⚠️ Parsed optionals and enum type safety

    • Breaking

      ⚠️ Conditionally print negative boolean argument usage

    • Breaking

      ⚠️ Use node:util.parseArgs for arg parsing

    • Breaking

      ⚠️ ESM-only dist

  4. 0.1.6

    14 Feb 20241 fix
    • Fixed

      usage: Render valueHint for positional args

  5. 0.1.5

    20 Nov 20232 new
    • New

      command: Return result of run command

    • New

      runMain: Support custom showUsage option

17 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.