Releases: littleredbutton/bigbluebutton-api-php
BigBlueButton API for PHP v6.2.2
Added
Depreacted
USER_ACTIONSinBigBlueButton\Enum\Featureby @gkralik in #231 (This feature was a typo and therefore useless; useUSER_REACTIONSinstead)
New Contributors
Full Changelog: 6.2.1...6.2.2
BigBlueButton API for PHP v6.2.1
Fixed
- Create meeting call is always a POST request by @samuelwei in #230
Full Changelog: 6.2.0...6.2.1
BigBlueButton API for PHP v6.2.0
Added
isBot()andsetBot()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #224getLoginURL()andsetLoginURL()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #226getMaxNumPages()andsetMaxNumPages()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #226getPluginManifests()andsetPluginManifests()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #226getPluginManifestsFetchUrl()andsetPluginManifestsFetchUrl()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #226isPresentationConversionCacheEnabled()andsetPresentationConversionCacheEnabled()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #226isAllowOverrideClientSettingsOnCreateCall()andsetAllowOverrideClientSettingsOnCreateCall()inBigBlueButton\Parameters\CreateMeetingParametersby @samuelwei in #227getClientSettingsOverride()andsetClientSettingsOverride()inBigBlueButton\Parameters\CreateMeetingParametersby @samuelwei in #227PRIVATE_CHAT,DELETE_CHAT_MESSAGE,EDIT_CHAT_MESSAGE,REPLY_CHAT_MESSAGE,CHAT_MESSAGE_REACTIONS,RAISE_HAND,USER_ACTIONS,CHAT_EMOJI_PICKERandQUIZZESinBigBlueButton\Enum\Featureby @samuelwei in #225 and 9194583
Full Changelog: 6.1.0...6.2.0
BigBlueButton API for PHP v6.1.0
Added
getInternalMeetingId()inBigBlueButton\Core\Recordby @marineusde in #208getSendChatMessage()andgetSendChatMessageUrl()inBigBlueButton\BigBlueButtonby @samuelwei in #204getWebcamBackgroundURL()andsetWebcamBackgroundURL()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #214getDarklogo()andsetDarklogo()inBigBlueButton\Parameters\CreateMeetingParametersby @samuelwei in #215getEnforceLayout()andsetEnforceLayout()inBigBlueButton\Parameters\JoinMeetingParametersby @samuelwei in #214CAMERAS_ONLY,PARTICIPANTS_CHAT_ONLYandPRESENTATION_ONLYinBigBlueButton\Enum\MeetingLayoutby @samuelwei in #214INFINITE_WHITEBOARDandLEARNING_DASHBOARD_DOWNLOAD_SESSION_DATAinBigBlueButton\Enum\Featureby @samuelwei in #213 and #220
Changed
getVoiceBridge()inBigBlueButton\Parameters\CreateMeetingParametersreturns integer instead of string by @marineusde in #211setVoiceBridge()inBigBlueButton\Parameters\CreateMeetingParametersfirst parameter changed from string to integer by @marineusde in #211
Full Changelog: 6.0.0...6.1.0
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
BigBlueButton API for PHP v5.4.0
This last release of the 5.x line includes many deprecations for the upcoming 6.0 release and a few new features.
6.0 will be released in the near future with same feature set as this release except for the deprecated features.
Added
hooksList()andgetHooksListUrl()BigBlueButton\BigBlueButtongetParentMeetingID()inBigBlueButton\Core\Meeting(used for Breakout rooms)setAllowPromoteGuestToModerator()andgetAllowPromoteGuestToModerator()inBigBlueButton\Parameters\CreateMeetingParametersisMissingHook()andisHookError()inBigBlueButton\Responses\HooksDestroyResponseisNotFound()inBigBlueButton\Responses\PublishRecordingsResponseisNoRecordings(),isInvalidLang()andisInvalidKind()inBigBlueButton\Responses\PutRecordingTextTrackResponseisNotFound()inBigBlueButton\Responses\UpdateRecordingsResponse
Deprecated
- Constructing BigBlueButton/BigBlueButton without host and secret as arguments (Using BBB_SECURITY_SALT or BBB_SECRET environment variables is deprecated for security reasons)
- Namespace of ApiMethod (BigBlueButton\Core -> BigBlueButton\Enum)
- Namespace of GuestPolicy (BigBlueButton\Core -> BigBlueButton\Enum)
- Namespace of MeetingLayout (BigBlueButton\Core -> BigBlueButton\Enum)
BigBlueButton\Enum\Feature::IMPORT_PRESENTATION_WITHANNOTATIONS_FROM_BREAKOUTROOMS(useBigBlueButton\Enum\Feature::IMPORT_PRESENTATION_WITH_ANNOTATIONS_FROM_BREAKOUT_ROOMSinstead)BigBlueButton\Enum\Feature::IMPORT_SHARED_NOTES_FROM_BREAKOUTROOMS(useBigBlueButton\Enum\Feature::IMPORT_SHARED_NOTES_FROM_BREAKOUT_ROOMSinstead)- getters and setters for
lockSettingsDisableNote,learningDashboardEnabled,virtualBackgroundsDisabledandbreakoutRoomsEnabledinBigBlueButton\Parameters\CreateMeetingParameters(use disabledFeatures instead) - Old flash client setting
clientURLinBigBlueButton\Parameters\JoinMeetingParameters BigBlueButton\Parameters\JoinMeetingParameters::MODERATOR(useBigBlueButton\Enum\Role::MODERATORinstead)BigBlueButton\Parameters\JoinMeetingParameters::VIEWER(useBigBlueButton\Enum\Role::VIEWERinstead)BigBlueButton\Responses\DeleteRecordingsResponse::KEY_INVALID_ID(useBigBlueButton\Responses\DeleteRecordingsResponse::KEY_NOT_FOUNDinstead)isInvalidId()inBigBlueButton\Responses\DeleteRecordingsResponse(useisNotFound()instead)
Full Changelog: 5.3.0...5.4.0
BigBlueButton API for PHP v5.3.0
This second last release of the 5.x line just including some cleanup in preparation for 6.0. 6.0 will be released in the near future with same feature set as this release except for the deprecated features.
Deprecated
- Deprecate password in CreateMeetingResponse
Full Changelog: 5.2.0...5.3.0
BigBlueButton API for PHP v5.2.0
Added
- CreateMeetingParameters
preUploadedPresentationandpreUploadedPresentationName
- Feature Enum (used in CreateMeetingParameters)
CAMERA_AS_CONTENTSNAPSHOT_OF_CURRENT_SLIDEDOWNLOAD_PRESENTATION_ORIGINAL_FILEDOWNLOAD_PRESENTATION_CONVERTED_TO_PDFTIMER
Changed
- Feature Enum (used in CreateMeetingParameters)
- Renamed
IMPORT_PRESENTATION_WITHANNOTATIONS_FROM_BREAKOUTROOMStoIMPORT_PRESENTATION_WITH_ANNOTATIONS_FROM_BREAKOUT_ROOMS(old const deprecated)
- Renamed
- Renamed
IMPORT_SHARED_NOTES_FROM_BREAKOUTROOMStoIMPORT_SHARED_NOTES_FROM_BREAKOUT_ROOMS(old const deprecated) - Removed marc-mabe/php-enum
Fixed
- Path error in
pslam-clearcomposer script - Missing docs in CreateMeetingParameters
isNotifyRecordingIsOnandsetNotifyRecordingIsOnisRemindRecordingIsOnandsetRemindRecordingIsOnisRecordFullDurationMediaandsetRecordFullDurationMediaisLockSettingsHideViewersCursorandsetLockSettingsHideViewersCursorgetMeetingExpireIfNoUserJoinedInMinutesandsetMeetingExpireIfNoUserJoinedInMinutesgetMeetingExpireWhenLastUserLeftInMinutesandsetMeetingExpireWhenLastUserLeftInMinutesgetMeetingCameraCapandsetMeetingCameraCapisPreUploadedPresentationOverrideDefaultandsetPreUploadedPresentationOverrideDefaultgetPresentationUploadExternalUrlandsetPresentationUploadExternalUrlgetPresentationUploadExternalDescriptionandsetPresentationUploadExternalDescription
Deprecated
-
Feature Enum (used in CreateMeetingParameters)
IMPORT_PRESENTATION_WITHANNOTATIONS_FROM_BREAKOUTROOMS(useIMPORT_PRESENTATION_WITH_ANNOTATIONS_FROM_BREAKOUT_ROOMSinstead)IMPORT_SHARED_NOTES_FROM_BREAKOUTROOMS(useIMPORT_SHARED_NOTES_FROM_BREAKOUT_ROOMSinstead)
Full Changelog: 5.1.0...5.2.0
BigBlueButton API for PHP v5.1.0
Added
- Set checksum algorithm via the forth constructor parameter (default SHA-1)
- CreateMeetingParameters
BreakoutRoomsGroupsdisabledFeaturesanddisabledFeaturesExcludelockSettingsHideViewersCursormeetingCameraCapmeetingExpireIfNoUserJoinedInMinutesmeetingExpireWhenLastUserLeftInMinutespreUploadedPresentationOverrideDefaultnotifyRecordingIsOnremindRecordingIsOnrecordFullDurationMediapresentationUploadExternalUrlpresentationUploadExternalDescription
- JoinMeetingParameters
errorRedirectUrl
Changed
- CreateMeetingParameters
- Renamed
setLockSettingsDisableNotetosetLockSettingsDisableNotes(setLockSettingsDisableNotedeprecated)
- Renamed
- JoinMeetingParameters
- Pass role instead of password in constructor
- Updated PHPUnit to version 9
Fixed
- Fix functional tests
- Fix CI not running for experimental versions
Deprecated
- CreateMeetingParameters
configToken(old flash client parameter)setLockSettingsDisableNote(usesetLockSettingsDisableNotesinstead)getAttendeePW/setAttendeePWandgetModeratorPW/setModeratorPW(use roles instead)setLockSettingsDisableNoteandisLockSettingsDisableNote(use disabledFeatures instead)setLearningDashboardEnabledandisLearningDashboardEnabled(use disabledFeatures instead)setVirtualBackgroundsDisabledandisVirtualBackgroundsDisabled(use disabledFeatures instead)setBreakoutRoomsEnabledandisBreakoutRoomsEnabled(use disabledFeatures instead)
- JoinMeetingParameters
- Password parameter in constructor (use roles instead)
- EndMeetingParameters
- Password parameter in constructor (not needed anymore)
- Meeting
getAttendeePasswordandgetModeratorPassword(use roles instead)
Special thanks to @samuelwei, who contributed the major portion to this release.
BigBlueButton API for PHP v5.0.0
Added
- Added native PHP return types for all methods in the codebase. Please adjust your own code when extending classes from the library.
Changed
- Minimum required PHP version is now 7.4.
- Classes marked as
@finalin previous versions are now final, except forBigBlueButton\BigBlueButton. You can no longer extend them.
Deprecated
- Please stop extending
BigBlueButton\BigBlueButtonin your own code, it might becomefinalin version 6.0.
Removed
- The
getPlaybackType(),getPlaybackUrl()andgetPlaybackLength()methods ofBigBlueButton\Core\Recordhave been removed, please usegetPlaybackFormats()instead. - The old getters and setters from
BigBlueButton\Parameters\*classes have been removed, please use the new magic getters and setters instead. You can find the name of the replacing method in the@deprecatedannotation in the source code of version 4.3 before the upgrade. - The
isJoinViaHtml5()andsetJoinViaHtml5()methods fromBigBlueButton\Parameters\JoinMeetingParametershave been removed without replacement, because the parameter has been removed from the BigBlueButton API and has no effect anymore.