{"ecosystem":"npm","package":"commander","from_version":null,"to_version":null,"changes":[{"from_version":"9.0.0-1","to_version":"9.0.0","change_type":"removed","description":"*Breaking:* removed internal fallback to `require.main.filename` when script not known from arguments passed to `.parse()` (can supply details using `.name()`, and `.executableDir()` or `executableFile`) ([#1571])","migration_hint":null},{"from_version":"8.0.0-2","to_version":"8.0.0","change_type":"behavior","description":"*Breaking:* TypeScript declaration for default export of global `Command` object ([#1520])","migration_hint":null},{"from_version":"8.0.0-2","to_version":"8.0.0","change_type":"breaking","description":"(still available as named `program` export)","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"api","description":"allow restricting option arguments to a list of choices","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"api","description":"`.allowExcessArguments(false)` to show an error message if there are too many command-arguments on command line for the action handler ([#1409])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"behavior","description":"*Breaking:* options are stored safely by default, not as properties on the command ([#1409])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"behavior","description":"revert behaviour with `.storeOptionsAsProperties()`","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"behavior","description":"allow setting how default value is shown in help","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"wrapping bugs in help ([#1365])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"support sorting subcommands and options in help","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"support specifying wrap width (columns)","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"allow subclassing Help class","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"allow configuring Help class without subclassing","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"`.enablePositionalOptions()` to let program and subcommand reuse same option ([#1427])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"`.passThroughOptions()` to pass options through to other programs without needing `--` ([#1427])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"`.configureOutput()` to modify use of stdout and stderr or customise display of errors ([#1387])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"use `.addHelpText()` to add text before or after the built-in help, for just current command or also for all subcommands ([#1296])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"enhance Option class ([#1331])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"allow hiding options from help","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"`.createOption()` to support subclassing of automatically created options (like `.createCommand()`) ([#1380])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"this especially affects accessing options on program, use `program.opts()`","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"*Breaking:* action handlers are passed options and command separately ([#1409])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"*Breaking:* errors now displayed using `process.stderr.write()` instead of `console.error()`","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"initialise the command description to empty string (previously undefined) ([#1365])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"breaking","description":"refactor the code generating the help into a separate public Help class ([#1365])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"deprecated","description":"document and annotate deprecated routines ([#1349])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"removed","description":"deprecated callback parameter to `.help()` and `.outputHelp()` (removed from README) ([#1296])","migration_hint":null},{"from_version":"7.0.0-2","to_version":"7.0.0","change_type":"removed","description":"deprecate `.on('--help')` (removed from README) ([#1296])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"api","description":"support for unescaped negative numbers as option-arguments and command-arguments ([#2339])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"api","description":"TypeScript: add `parseArg` property to `Argument` class ([#2359])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"breaking","description":"*Breaking:* Commander 14 requires Node.js v20 or higher","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"breaking","description":"support for groups of options and commands in the help using low-level `.helpGroup()` on `Option` and `Command`, and higher-level `.optionsGroup()` and `.commandsGroup()` which can be used in chaining way to specify group title for following options/commands ([#2328])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"breaking","description":"`.configureOutput()` now makes copy of settings instead of modifying in-place, fixing side-effects ([#2350])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"breaking","description":"internal refactor of `Help` class adding `.formatItemList()` and `.groupItems()` methods ([#2328])","migration_hint":null},{"from_version":"13.1.0","to_version":"14.0.0","change_type":"removed","description":"remove bogus leading space in help when option has default value but not a description ([#2348])","migration_hint":null},{"from_version":"12.0.0-1","to_version":"12.0.0","change_type":"removed","description":"*Breaking:* removed default export of a global Command instance from CommonJS (use the named `program` export instead) ([#2017])","migration_hint":null},{"from_version":"10.0.1","to_version":"11.0.0","change_type":"api","description":"leading and trailing spaces are now ignored by the .arguments() method ([#1874])","migration_hint":null},{"from_version":"10.0.1","to_version":"11.0.0","change_type":"breaking","description":"refine \"types\" exports for ESM to follow TypeScript guidelines ([#1886])","migration_hint":null},{"from_version":"10.0.1","to_version":"11.0.0","change_type":"breaking","description":"*Breaking:* Commander 11 requires Node.js v16 or higher","migration_hint":null},{"from_version":"10.0.1","to_version":"11.0.0","change_type":"breaking","description":"help command works when help option is disabled ([#1864])","migration_hint":null},{"from_version":"9.5.0","to_version":"10.0.0","change_type":"breaking","description":"*Breaking:* Commander 10 requires Node.js v14 or higher","migration_hint":null},{"from_version":"9.5.0","to_version":"10.0.0","change_type":"breaking","description":"wrap command description in help ([#1804])","migration_hint":null}],"total":42,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}