unstale

npm / cpy-cli

cpy-cli

What changed in cpy-cli 3 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.

9 breaking4 new APIs and options

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

npx @unstale/cli init

@unstale/cli 0.2.3 on npm

cpy-cli 76 changes

Breaking changes 2

  • Patterns that match no files now cause the CLI to exit with an error instead of silently doing nothing.

    7.0.0release notes

  • A single-file source with a destination that is not an existing directory is treated as a file-to-file copy; use a trailing separator or existing directory to force directory semantics.

    7.0.0release notes

New APIs and options 4

  • Controls how destination paths are calculated for patterns, using cwd or the pattern.

    7.0.0release notes

  • Lists files that would be copied without actually copying them.

    7.0.0release notes

  • Skips files that already exist at the destination without error.

    7.0.0release notes

  • Copies only when the source is newer, or when sizes differ with the same modification time.

    7.0.0release notes

cpy-cli 61 changes

Breaking changes 1

  • Requires Node.js 20, so developers must use that runtime to run cpy-cli.

    6.0.0release notes

cpy-cli 51 changes

Breaking changes 1

cpy-cli 43 changes

Breaking changes 3

cpy-cli 32 changes

Breaking changes 2

  • Node.js 8 is now required to use cpy-cli.

    3.0.0release notes

  • cpy-cli throws if the given source file does not exist.

    3.0.0release notes