Releases: cp6/BunnyCDN-API
v1.9.7
v1.9.6
v1.9.5
v1.9.5
11th October 2023
- Fixed video stream upload files not working.
- Fixed
purgeCache()
not working. - Added debug request option:
$bunny->debug_request = true
to view HTTP call information. - Added
$stream_library_access_key
andstreamLibraryAccessKey()
Can set with$bunny->stream_library_access_key = '';
- Updated table of contents in readme.
v1.9.2
v1.9
v1.9
- Updated project to have separate class files for each handler (Pull, Storage, Stream and DNS)
- Added class
BunnyAPIPull
for pullzone interaction - Added class
BunnyAPIStorage
for storage interaction - Added class
BunnyAPIStream
for video stream interaction - Added class
BunnyAPIDNS
for DNS interaction
v1.8
1.8 changes
- Added DNS zone interaction
- Added
dns_example.php
file - Added getStreamCollectionSize function
- Added getVideoStatistics function
- Added getVideoHeatmap function
- Added reEncodeVideo function
- Added fetchVideo function
- Added getCountries function
- Added getRegions function
- Added getAbuseCases function
- Added checkAbuseCase function
- Added getSupportTickets function
- Added getSupportTicketDetails function
- Added closeSupportTicket function
- Added createSupportTicket function
- Updated APIcall function (bool $storage_call replaced with string $url_type)
- Updated functions that use APIcall to use new $url_type parameter
- Updated listPullZones function
- Updated getStatistics function
- Updated findStorageZoneAccessKey function return type
- Updated getVideoCollections function
- Updated API_URL and VIDEO_STREAM_URL const strings
- Removed boolToInt function
- Removed jsonHeader function
v1.6
Added
Added some video stream call examples
Added getVideoCollections() this gets the video collection information
Added videoResolutionsArray() this returns video resolutions array
Added videoSize() this returns video size MB|GB
Added exceptions for checking library id and collection guid have been set.
Added create and upload video stream info
Added createVideoForCollection() function
Updated
Updated 'most' video stream functions to no longer need either the library id or collection guid as an input. Use the setters.
Updated video stream properties to not be set as empty
Updated library id and collection guid set check
Updated library id and collection guid functions to return void type, no longer bool.
Other
Fixed documentation for video stream functions
Minor readme fixes
v1.5
Added
Added an exception class.
Added try, catch and throws for API key being set or not.
Added resetTokenKey(), addAllowedReferrer(), removeAllowedReferrer(), addBlockedReferrer() and removeBlockedReferrer() pullzone functions.
Added ext-curl to composer.json.
Changed/Updated/Fixed
apiKey() no longer returns a string.
APIcall() now returns an array and no longer returns a string.
The property $this->data is now an array.
Pull zone functions return array type.
Updated addHostnamePullZone() and removeHostnamePullZone().
Changes storage zone calls return type to an array.
Changed billing and charges functions return types to an array.
Fixed addStorageZone() function.
Updated zoneConnect() to not return string.
Updated to have try, catch, throw an exception for when setting FTP connection.
Updated description in composer.json.
Updated storage and stream functions to return array type.
Updated costCalculator() function to be float types.
Updated renameFile() and moveFile() to return array no longer void.
Other
Code cleanup.
v1.4
Changes
Added video streaming functions
Added function return types
Added ability to set header as JSON type in construct
Added zone replication region ability
Removed MySQL logging and actions
Removed PHP Doc comments
Removed show errors parameter in construct
Cleaned up code
Updated readme
Composer confirm
Composer usage confirm