BigBlueButton API for PHP v6.0.0
Changed
- Bump minimum PHP version to 8.1 by @samuelwei in #171
- Bump symfony dependencies, remove EOL versions by @samuelwei in #179
- Remove deprecations by @samuelwei in #172
- Refactor using native ones by @samuelwei in #186
- Improved code quality by @FelixJacobi in #188
Breaking
- The methods
setClientUrl()/getClientUrl()fromBigBlueButton\Parameters\JoinMeetingParametershave been removed - All enum-styled classes with constants have been converted to native PHP enums
- All enum were moved the
BigBlueButton\Enumnamespace - 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
$hasingAlgorithmofBigBlueButton\BigBlueButtonnow takes aBigBlueButton\Enum\HashingAlgorithmenum instead of a string - The
$hooksListParametersparameter toBigBlueButton\BigBlueButton::getHooksListUrl()andBigBlueButton\BigBlueButton::getHooksListUrl()is now mandatory, passingnullis no longer supported - The
BigBlueButton\Core\ApiMethodclass has been removed, use theBigBlueButton\Enum\ApiMethodenum instead - The
BigBlueButton\Core\GuestPolicyclass has been removed, use theBigBlueButton\Enum\GuestPolicyenum instead - The
BigBlueButton\Core\MeetingLayoutclass has been removed, use theBigBlueButton\Enum\MeetingLayoutenum instead - The
getPlayback*()methods fromBigBlueButton\Core\Recordhas been removed since their only returned information of the first record. Pick the correct record fromgetPlaybackFormats()instead - The abstract class
BigBlueButton\Enum\Enumhas been removed - The
setConfigToken()andgetConfigToken()method fromBigBlueButton\Parameters\JoinMeetingParametershave been removed - The
BigBlueButton\Responses\DeleteRecordingsResponse::isInvalidId()method has been removed, useBigBlueButton\Responses\DeleteRecordingsResponse::isNotFound()instead
Deprecated
- Configuring the
BigBlueButton\BigBlueButtonobject using theBBB_SECURITY_SALT/BBB_SECRETandBBB_SERVER_BASE_URLhas 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