This library adheres to Semantic Versioning and Keep a CHANGELOG.
- CI: test against PHP 8.4
- CI: WordPress: minimum version tested bumped to 6.4
wp bp tool signupsupports multisite.wp bp signup:list: list 50 items by default, instead of 1.- added support for more object fields.
- Avoid the
generate_callbackmethod to appear as a valid command by turning it into a protected method. - Added
composer phpunitas an alias forcomposer behat.
- Support for the
--silenceflag introduced to a fewcreatecommands. - Support for the
--silenceflag introduced to thewp bp activity commentcommand. - Support for the
--formatand--silentflags for thegeneratecommands. - New commands:
wp bp notice- Use it to manage Sitewide notices.delete-commentandremove-commentaliases added for thewp bp activity delete_commentcommand.
- 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_permalinkintobp_get_group_url - Made tests from the Activity command more deterministic
- PHPDoc improvements
- All
generatecommands' output were standardized - All
createcommands' output were standardized - All
deletecommands' output were standardized - All
deletecommands' alias were standardized - All
listcommands were standardized - Invalid
--formatoptionhamlremoved - Removed mention of default text creation from the
wp bp activity post-updatecommand - Removed
user_itemsanditemsaliases from thewp bp activity favorite listcommand
- All
- Confirmation message updated for
deletecommands that accepts multiple values wp bp group invite removeupdated towp bp group invite uninviteto avoid conflict with thedelete/removecommandwp bp activity delete_commentupdated towp bp activity delete-commentgeneratecommands: avoid refetching user objects- Upgraded the
styfle/cancel-workflow-actionGithub 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.jsonpackages - Removed hardcoded
composer.lockfile (let the PHP version decide which packages to install)
- Load the
bp scaffoldcommand 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_Fetcherhelper class - The package was upgraded to follow WP-CLI best practices in code organization and structure
- The
before_invokecallable 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-testsfor 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 signupcommand and the tabled wasn't present. - Return proper success/error messages when using
parent::_deleteorparent::_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
defaultvalues 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-buddypressrequires PHP 5.4bp notificationcommands introduced
- Updated
bpandbp xprofilecommands PHPDoc info - Fixed
component listcommands output - Check if the
componentexists first before using it - Fixed
componentBehat tests - Removed PHP 5.3 support from Travis
bp emailcommands 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 generatewith 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