unstale

npm / @oclif/core

@oclif/core

What changed in @oclif/core 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

35 breaking1 security1 deprecations31 new APIs and options6 behavior and defaults16 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@oclif/core 57 changes

Breaking changes 1

  • Requires Node >=22 and drops EOL Node versions.

    5.0.0release notes

New APIs and options 1

  • Adds an environment variable to configure the stdin read timeout.

    5.1.0release notes

Fixes and other changes 5

  • Flag summaries are measured by display width, improving their handling of characters with varying display widths.

    5.1.10release notes

  • Constrain the load options accepted by execute.

    5.1.9release notes

  • Respect load options when execute runs.

    5.1.9release notes

  • Propagate the ignore manifest option.

    5.1.9release notes

  • When --json is enabled, errors use the error's oclif exit code.

    5.1.8release notes

@oclif/core 467 changes

Breaking changes 22

Security 1

  • Resolved a security vulnerability in the PowerShell path.

    4.13.4release notes

Deprecations 1

  • Warnings are now emitted for hidden, deprecated aliases.

    4.9.0release notes

New APIs and options 26

  • Exposes the root help formatter for developers to use.

    4.13.0release notes

  • Adds Args.option() for typed arg options.

    4.12.0release notes

  • Adds an API and basic logic for command-level constraints, including conditions.

    4.11.0release notes

  • Adds overloads that provide variadic argument return types.

    4.10.0release notes

  • Adds the multiple property to ArgProps for defining variadic arguments.

    4.10.0release notes

  • Allows an array of default values for varargs.

    4.10.0release notes

  • Implements variadic argument parsing with a shift/pop algorithm.

    4.10.0release notes

  • Flag relationships now support combinable and only, allowing developers to configure these relationships between flags.

    4.6.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • A logger can also be provided to Config when it is instantiated before run or execute.

    4.0.0release notes

  • Exports a Logger interface so developers can provide a custom logger for @oclif/core.

    4.0.0release notes

  • Adds a type representing everything allowed in the oclif section of package.json or an rc file.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Allows providing a custom logger through loadOptions when calling execute.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • Adds top-level package subpath exports so utilities can be imported without importing everything exported by @oclif/core.

    4.0.0release notes

  • Adds support for reading oclif configuration from supported rc files, while package.json remains required for name, version, and dependencies.

    4.0.0release notes

  • Adds the spinner theme key to customize spinner color.

    4.0.0release notes

  • Adds a JSON output theme key.

    4.0.0release notes

  • The action spinner color can now be configured using themes.

    4.0.0release notes

  • Adds a method to apply a color theme to arbitrary JSON.

    4.0.0release notes

Behavior and default changes 6

  • Validates variadic argument constraints at definition time.

    4.10.0release notes

  • Help text shows a ... suffix for variadic arguments.

    4.10.0release notes

  • Flag help now shows the environment variable associated with a flag, helping users identify how to configure it.

    4.8.0release notes

  • allowNo now supports aliases.

    4.7.0release notes

  • Custom help classes can now use target and identifier configuration so they can be bundled like commands and hooks.

    4.0.0release notes

  • An ESM plugin with tsx as a devDependency can now be auto-transpiled at runtime.

    4.0.0release notes

Fixes and other changes 11

@oclif/core 316 changes

Breaking changes 12

  • Update bin scripts for ESM/CommonJS plugin interoperability and include the .js extension in references to them.

    3.0.0release notes

  • Various Config properties are now readonly, preventing developers from assigning to them.

    3.0.0release notes

  • Config.plugins is now a Map from plugin names to loaded Plugin instances instead of an array.

    3.0.0release notes

  • A new flag type infers its type from the provided options.

    3.0.0release notes

  • The global cli-ux object is renamed to ux.

    3.0.0release notes

  • The exported error-handling function for bin scripts is now asynchronous.

    3.0.0release notes

  • The parameter passed to default and defaultHelp callbacks is removed in favor of the noCacheDefault property.

    3.0.0release notes

  • Node.js 14 and Node.js 16 are no longer supported.

    3.0.0release notes

  • The _manifest method is now private.

    3.0.0release notes

  • The warn method is now private.

    3.0.0release notes

  • The toCached export has been removed.

    3.0.0release notes

  • ts-node is no longer a dependency; linked plugins must include it as a devDependency for auto-transpilation to work.

    3.0.0release notes

New APIs and options 4

  • Define single-character flag aliases using the charAliases property.

    3.0.0release notes

  • Returns a flat array of Plugin instances for callers that need the previous list form.

    3.0.0release notes

  • Set this flag or arg property to true to keep its default from being cached in the manifest.

    3.0.0release notes

  • Configure the spinner style when starting an action.

    3.0.0release notes