Skip to content

2.0

Compare
Choose a tag to compare
@renatonascalves renatonascalves released this 26 Sep 17:44
· 74 commits to master since this release
c24a8e3

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 of WP_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 or parent::_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.