- Fix code standards
- Check code standards in Travis
- Bumped Guzzle version to 7
- Bumped Guzzle Services version to 1.2
- Added support for including metadata of requests through include_metadata parameter
- Added collection deletion - added collection deletion by name
- Updated README.md - added basic info regarding local development setup
- composer.phar added to .gitignore file
- Fix for invalid request "Missing required organizationKey" when using createProject
- Fix for no body content being sent when using createProject
- Fix a bug that caused arrays in the POST body to be encoded as strings
- Fix a few headers in the README.md
- Update for PSR-2 compliance
- Remove mcrypt dependency (deprecated in PHP 7.1) and replace it with openssl for scoped key support.
- Update the querying methods to use a POST request instead of a GET request
- Fixes a bug with the return type of queries (reverting back to associated arrays)
- Added a new HTTP Header that tracks the SDK version
- Added Saved Queries and Project Creation
- Updated minimum php and phpunit versions
- Added use of organizationID
- Fix a bug when using analytics method (first parameter is now considered the event collection, as before)
- Allow to specify absolute timeframe
- All commands can now be used with a master key.
- [BC] Method
deleteEvent
has been renamed todeleteEvents
as it allows to delete multiple events. - [BC]
getScopedKey
has been renamedcreateScopedKey
to better reflect its purpose. - [BC]
createScopedKey
anddecryptScopedKey
no longer need an API key: it just reuses the one set in the client. - [BC] The client provides shortcut for the
addEvent
andaddEvents
methods. Instead of:
$client->addEvent(array('event_collection' => 'bar', 'data' => array('my' => 'data')));
Just use it like this:
$client->addEvent('bar', array('my' => 'data'));
If you still want to use the command manually, you must get the commands manually.