3.0.0
🎈 The release of the 3.0.0 version of the BP CLI is a release with lots of changes. Here are a few of them (for more detailed changes, see the CHANGELOG.md):
Added
- Support for the
--silence
flag introduced to a fewcreate
commands. - Support for the
--silence
flag introduced to thewp bp activity comment
command. - Support for the
--format
and--silent
flags for thegenerate
commands. - New commands:
wp bp notice
- Use it to manage Sitewide notices.delete-comment
andremove-comment
aliases added for thewp bp activity delete_comment
command.
Changed
- Prefer short array syntax (This is different from WCS supports)
- Composer packages upgraded to their latest versions
- Several linting updates
- CI tests against PHP 8.3
- Updated deprecated function from
bp_get_group_permalink
intobp_get_group_url
- Made tests from the Activity command more deterministic
- PHPDoc improvements
- All
generate
commands' output were standardized - All
create
commands' output were standardized - All
delete
commands' output were standardized - All
delete
commands' alias were standardized - All
list
commands were standardized - Invalid
--format
optionhaml
removed - Removed mention of default text creation from the
wp bp activity post-update
command - Removed
user_items
anditems
aliases from thewp bp activity favorite list
command
- All
- Confirmation message updated for
delete
commands that accepts multiple values wp bp group invite remove
updated towp bp group invite uninvite
to avoid conflict with thedelete/remove
commandwp bp activity delete_comment
updated towp bp activity delete-comment
generate
commands: avoid refetching user objects- Upgraded the
styfle/cancel-workflow-action
Github Action.