This library adheres to Semantic Versioning and Keep a CHANGELOG.
wp bp tool signup
supports multisite.wp bp signup
:list
: list 50 items by default, instead of 1.- added support for more object fields.
- Avoid the
generate_callback
method to appear as a valid command by turning it into a protected method. - Added
composer phpunit
as an alias forcomposer behat
.
- 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.
- 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.
- Github Actions: upgraded actions
- Github Actions: decreased the number of legacy PHP versions to test against
- Github Actions: Testing against the PHP 8.2 versions
- Behat: fix a small bug
- Updated
composer.json
packages - Removed hardcoded
composer.lock
file (let the PHP version decide which packages to install)
- Load the
bp scaffold
command only if the composer Scaffold package is installed - Updated PHPCS ruleset and fixed phpcs rules
- Fix changelog.md markdown bugs
- Moved from Travis to Github Actions for CI tests
- CI tests against PHP 8.0 now
- Upgraded the wp-cli/wp-cli-tests package to latest
- Upgraded the wp-cli/wp-cli package to latest
- Added a new behat.yml file for the test setup
- wp bp component:
- properly listing active components.
- status string updated from uppercase to lowercase.
- we are checking the component status correctly.
- we improved the behat tests.
- we are decidubg the component description.
- we are escaping the component title.
- Abstracted activity ID fetching to the
Activity_Fetcher
helper class - The package was upgraded to follow WP-CLI best practices in code organization and structure
- The
before_invoke
callable was abstracted into their component class - We made sure all Behat tests were passing correctly
- We fixed several minor bugs in several commands
- We are making the use of
wp-cli/wp-cli-tests
for all tests (phpcs, behat, etc). - Improved .travis.yml config
- Removed PHP 5.4 support from Travis
- Support to PHP 5.6+ added
- Improved the readme documentation
- Updated to use the more up to date
WP_CLI::log()
instead ofWP_CLI::line()
- Forced the creation of the signups table when using the
wp bp signup
command and the tabled wasn't present. - Return proper success/error messages when using
parent::_delete
orparent::_update
- Improved the commands PHPDocs, very useful when using the
help
- Updated to fetch and check values from PHPDoc instead of checking in PHP
- Updated or removed the
default
values from several commands (most of them were wrong) - New commands:
wp bp group meta
- Used to manage Group Meta (custom fields).wp bp activity meta
- Used to manage Activity Meta (custom fields).wp bp tool signup
- Used to (de)activate the Signup feature.wp bp scaffold tests
- Used to scaffold BuddyPress specific testing code for plugins.
wp-cli-buddypress
requires PHP 5.4bp notification
commands introduced
- Updated
bp
andbp xprofile
commands PHPDoc info - Fixed
component list
commands output - Check if the
component
exists first before using it - Fixed
component
Behat tests - Removed PHP 5.3 support from Travis
bp email
commands introduced- With PSR-4 support for the classes
- CRUD commands introduced to the main BuddyPress components
- Behat tests added for all commands
- Codebase fixed for WPCS
- New commands:
bp xprofile list_fields
,bp xprofile delete_field
- Added the ability to pass multiple comma-separated values when updating xprofile fields
- Fixed bug in component activation
- Improved logic for user-id parsing
- New commands:
bp group get_members
,bp group update
- Ability to pass 'content' when using
bp activity generate
- When using
bp activity generate
with type=activity_update and component=groups, format the activity action properly
- Use wp-cli's new fourth-level commands
- New commands: xprofile create_group, xprofile create_field, xprofile set_data
- Ensure that components have their install routine run after activation
- New commands: activate, deactivate, activity_create, activity_generate
- Improved documentation
- Added support for installation via Composer
- Initial release