Packages

citty

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

Upgrading citty From 0.0.2 to 0.2.2

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.0.2yours
  2. 0.1.0major
  3. 0.1.1breaking
  4. 5 releases
  5. 0.2.0major
  6. 1 release
  7. 0.2.2target

Before you upgrade

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

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

  6. 0.1.4

    9 Sep 20233 new · 1 fix
    • New

      Support cleanup hook

    • New

      Add createMain utility

    • New

      Support --version

    • Fixed

      Do not throw an error when no subcommand is specified but the main has run

  7. 0.1.3

    24 Aug 20231 fix
    • Fixed

      Allow string in arg signature

  8. 0.1.2

    5 Jul 20233 new · 2 fixes
    • New

      usage: Resolve sub commands for meta description

    • New

      Use consola for output formatting

    • New

      runCommand: Allow passing custom data

    • Fixed

      Fix generic type issues

    • Fixed

      Handle required: false for positional arguments

25 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.