unstale

npm / @oclif/core

@oclif/core

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

1 breaking1 security1 deprecations9 new APIs and options4 behavior and defaults11 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@oclif/core 53 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 1

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

    5.1.8release notes

@oclif/core 424 changes

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 8

  • 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

Behavior and default changes 4

  • 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

Fixes and other changes 10