-
All API classes can now directly be used from the Cryptolens base class
-
Analytics class no longer extends Cryptolens base class
-
removed php closing tag within classes and excess empty lines
-
added documentation for internal functions
-
quality improvements
-
added php class headers
- added support to User authentication endpoints
login
,register
,associate
,dissociate
,getUsers
,changePassword
,resetPasswordToken
,removeUser
- added support to Customer endpoint
get_customer_licenses_by_secret
- added support to Data endpoints
addDataObject
,listDataObject
,incrementIntValue
,decrementIntValue
,setStringValue
,setIntValue
,removeDataObject
,uploadValues
- added support for License file validation
License.cryptolens.php
:verifyLicenseKey
,verifyLicenseFromFileContent
. SeeREADME.md
for configuration
- added error handler class
Errors.cryptolens.php
which will now return you the respectful errors and logs them into files. - added support to Analytics endpoints
registerEvent
,getEvents
,getObjectLog
,getWebAPILog
- added examples
- added support to Customer endpoints
addCustomer
,editCustomer
,removeCustomer
,getCustomerLicenses
andgetCustomers
- added support to Subscription endpoint
record_usage
- corrected
group
attribute inPaymentForm.cryptolens.php
- added support to Reseller endpoints
addReseller
,editReseller
,removeReseller
,getResellers
andgetResellerCustomers
- now supporting the Messages endpoints
createMessage
,removeMessage
andgetMessages
- rewritten some error messages
$additional_flags
is now parsed correctly to theHelper::build_params()
function- booleans are now parsed correctly to the Cryptolens API
- added support for Payment Form endpoint
createSession
- updated
README.md
with another Code Example and updated the current status of the machine ID generation - small changes to the
composer.json
- fixed return values for
Key::activate()
to now return arrays on errors to be compliant with theHelper::outputHelper()
function
- fixed require path for
Cryptolens::loader()
-function
- added two functions to generate a machine ID for the PHP instance.
Key::getMachineId()
returns a hash of the machine ID, whereasKey::getMachineIdPlain()
returns the machine ID in readable format, not hashed. Read the function documentation for information of this hash being calculated.
- outsourced helper function into the
Helper.cryptolens.php
class - improved error messages and removed unnecessary information on failure
- added the
Auth.cryptolens.php
which brings support to thekeyLock
Auth endpoint - added the
Product.cryptolens.php
to support thegetKeys
andgetProducts
endpoint
- added support for composer
- minor change to the
unblock_key
-function, it now returns a true on success and not the full Cryptolens response
- added support for Key endpoints
removeFeature
,unblockKey
,machineLockLimit
- removed debugging code
- fixed incorrect array keys for
createTrialKey
-endpoint - added support for Key endpoints
createKeyFromTemplate
,getKey
,addFeature
,blockKey
andextendLicense
- added the possibility to change the output format to either JSON or PHP, therefore added the
$output
variable to theCryptolens
constructor- when using
Cryptolens::CRYPTOLENS_OUTPUT_PHP
as output, it significantly increases the time to load, where asCryptolens::CRYPTOLENS_OUTPUT_JSON
works way faster - certain functions return only a boolean, therefore they are not affected by this setting
- when using
- added Cryptolens classes
- added support for Key endpoints
activate
,deactivate
,createKey
andcreateTrialKey