Skip to content

v2.0.3

Latest

Choose a tag to compare

@gfazioli gfazioli released this 21 Apr 13:59
e745719

🐛 Patch release — follow-ups to v2.0.2 CLI messaging

Three small issues surfaced while Copilot reviewed the v2.0.2 boilerplate rollout. All patched here.

Fixes

  • Post-migration hint was impossible advice. migrate:to-v2 ends with a line for non-yarn users about "deleting your lockfile", but the migrator had already deleted package-lock.json / pnpm-lock.yaml earlier in the same run. The line now reads "Your previous lockfile was removed during migration. To switch to yarn, run yarn install instead of step 1."
  • php bones --version was reporting 2.0.0. The WPBONES_COMMAND_LINE_VERSION constant had drifted since before v2.0.0 and never been bumped across v2.0.1 / v2.0.2. Now returns 2.0.3.
  • Style consistency in detectProjectPackageManager() — rewritten with multi-line braced if blocks to match the rest of bones. No functional change.

See #79 for the full diff.

Upgrading

composer update wpbones/wpbones

If you already ran composer update for v2.0.2, rerun it to pick up v2.0.3.

Full changelog

v2.0.2...v2.0.3