Skip to content

v1.5

Compare
Choose a tag to compare
@cp6 cp6 released this 09 Sep 01:11
· 83 commits to master since this release
c3a2fbd

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.