Releases: buddypress/wp-cli-buddypress
Releases · buddypress/wp-cli-buddypress
3.0.1
Please see the changelog for details about this release.
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.
2.0.2
- 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) - Messages: improvements to the
generate
command (#97)
2.0.1
- Load the
bp scaffold
command only if the Scaffold package is present - 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 escaping the component description.
- we are escaping the component title.
2.0
The release of 2.0 of the BP CLI is a release with lots of changes. Here are a few of them (for more detailed changes, see the commit log or the CHANGELOG.md
file):
- 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.md
documentation adding more information and details - 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.
1.8
wp-cli-buddypress
requires PHP 5.4 now.bp notification
commands introduced.
1.7
- 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
1.5
- Basic command coverage for major BP components
- Behat test coverage
1.1.1
- Ensure that components have their install routines run after activation
1.1.0
- New commands: activate, deactivate, activity_create, activity_generate
- Improved documentation
- Added support for installation via Composer