Skip to content

v4.0.12

Choose a tag to compare

@stefanoverna stefanoverna released this 22 Apr 15:59
· 63 commits to main since this release

Changes

  • The CLI is now published as datocms instead of @datocms/cli. Going forward, install with: npm install -g datocms
  • The binary name, commands, plugins, and on-disk config (~/.config/datocms/...) are unchanged. This is purely a package-name change — shorter to type, matches the binary, and plays nicely with npx datocms.
  • @datocms/cli keeps working. It is now a thin alias that depends on datocms and re-exports its binary and programmatic API. Existing installs and code that does import { Client } from '@datocms/cli/lib/cma-client-node' continue to work unmodified.

Migrating

If you had the scoped package installed globally, uninstall it before installing the new one so they don't fight over the datocms binary:

npm uninstall -g @datocms/cli
npm install -g datocms

User-installed plugins and saved profiles are preserved — they live under ~/.config/datocms and are shared between both install paths.

Also in this release

  • Upgraded @whatwg-node/fetch and external DatoCMS client dependencies to latest.