Skip to content

BigBlueButton API for PHP v6.0.0

Latest
Compare
Choose a tag to compare
@FelixJacobi FelixJacobi released this 23 Aug 00:50
· 9 commits to master since this release
6.0.0
1db2fac

Changed

Breaking

  • The methods setClientUrl()/getClientUrl() from BigBlueButton\Parameters\JoinMeetingParameters have been removed
  • All enum-styled classes with constants have been converted to native PHP enums
  • All enum were moved the BigBlueButton\Enum namespace
  • This library now requires at lease PHP 8.1
  • Support for using a user or moderator password on getting meeting information or joining a meeting has been removed since BigBlueButton itself deprecated it. Use roles instead.
  • Support for Symfony 3.x and 4.x dependencies have been dropped due to both versions being End of life. Symfony 7.x have been added.
  • Code have been refactored using rectorphp/rector. All properties and methods are now fully typed. This may breaks your code when you extended classes.
  • The code bases now uses declare(strict_types=1);, this may breaks, when you passed wrong types to previously not fully typed methods
  • Some method parameters does not accept string anymore, you must use the respective enum explicitly
  • The constructor parameter $hasingAlgorithm of BigBlueButton\BigBlueButton now takes a BigBlueButton\Enum\HashingAlgorithm enum instead of a string
  • The $hooksListParameters parameter to BigBlueButton\BigBlueButton::getHooksListUrl() and BigBlueButton\BigBlueButton::getHooksListUrl() is now mandatory, passing null is no longer supported
  • The BigBlueButton\Core\ApiMethod class has been removed, use the BigBlueButton\Enum\ApiMethod enum instead
  • The BigBlueButton\Core\GuestPolicy class has been removed, use the BigBlueButton\Enum\GuestPolicy enum instead
  • The BigBlueButton\Core\MeetingLayout class has been removed, use the BigBlueButton\Enum\MeetingLayout enum instead
  • The getPlayback*() methods from BigBlueButton\Core\Record has been removed since their only returned information of the first record. Pick the correct record from getPlaybackFormats() instead
  • The abstract class BigBlueButton\Enum\Enum has been removed
  • The setConfigToken() and getConfigToken() method from BigBlueButton\Parameters\JoinMeetingParameters have been removed
  • The BigBlueButton\Responses\DeleteRecordingsResponse::isInvalidId() method has been removed, use BigBlueButton\Responses\DeleteRecordingsResponse::isNotFound() instead

Deprecated

  • Configuring the BigBlueButton\BigBlueButton object using the BBB_SECURITY_SALT/BBB_SECRET and BBB_SERVER_BASE_URL has been deprecated for security and type-safety reasons and will be removed in 7.0. Configure the object using constructor parameters instead.

Full Changelog: 5.4.0...6.0.0