Skip to content

Releases: cp6/BunnyCDN-API

v1.9.7

14 May 13:03
@cp6 cp6
fed199b
Compare
Choose a tag to compare

v1.9.7

14nd May 2024

  • Fixed dirSize() needing a slash
  • Fixed createFolder() throwing warning messages
  • Added fileExists()

v1.9.6

02 May 08:25
@cp6 cp6
1a67b8e
Compare
Choose a tag to compare

v1.9.6

2nd May 2024

  • Fixed createFolder() throwing warning messages
  • Added fileExists() method

v1.9.5

11 Oct 05:53
@cp6 cp6
fbe20d1
Compare
Choose a tag to compare

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 and streamLibraryAccessKey() Can set with $bunny->stream_library_access_key = '';
  • Updated table of contents in readme.

v1.9.2

16 Feb 00:34
@cp6 cp6
afedc3d
Compare
Choose a tag to compare

v1.9.2

  • Updated project to be minimum PHP version 8.2

v1.9

26 Sep 01:17
@cp6 cp6
Compare
Choose a tag to compare

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

18 Aug 04:40
@cp6 cp6
017f278
Compare
Choose a tag to compare

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

14 Oct 02:24
@cp6 cp6
4ca5111
Compare
Choose a tag to compare

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

09 Sep 01:11
@cp6 cp6
c3a2fbd
Compare
Choose a tag to compare

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

06 Jun 01:46
@cp6 cp6
c3a2fbd
Compare
Choose a tag to compare

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

07 Nov 09:27
@cp6 cp6
Compare
Choose a tag to compare

Composer usage confirm