π§ WP Bones 2.1.0 β a sturdier bones CLI
WP Bones 2.1.0 is out 𦴠the bones CLI that ships inside every plugin gets sturdier π§
π Runs from any folder. php my-plugin/bones used to stop with a TypeError anywhere but the plugin root. Now it works, custom commands included.
βοΈ rename touches only what changes. It used to rewrite every file and corrupt compiled .mo catalogues. Binary files are left alone now, and rename --update renames vendor/ only.
π update keeps your framework. It no longer deletes vendor/wpbones/wpbones before running Composer, so a failed update can't leave the plugin without one.

The update section of the WP Bones bones CLI docs
β format:check checks. The old one reformatted your plugin, compiled bundles included, and said everything was fine.
π§© Every generated widget is its own. They used to share one id, and so one settings option.
β¬οΈ composer update wpbones/wpbones
π Docs, boilerplates and live Playground demos: https://www.wpbones.com
Which bones command do you reach for the most? I'd love to hear π


Replies
Can custom commands now be run from any folder in the same way as the built-in commands?
congrats Giovambattista! to answer your question, bones make: commands are definitely my most used haha. also super glad to hear update doesn't wipe vendor before composer runs anymore, that failed update bug was terrifying lol.