kontent-ai/delivery-sdk-php
Spike: Make the SDK tracking header load the library version automatically
Open
#54 opened on Feb 1, 2018
enhancementgroomedhacktoberfesthelp wantedrefactoringup-for-grabs
Repository metrics
- Stars
- (46 stars)
- PR merge metrics
- (PR metrics pending)
Description
The SDK sends a version tracking header in the following form: X-KC-SDKID: packagist.org;kentico-kontent/delivery-sdk-php;0.9.1 with every request. This was implemented in #43
Currently, the tracking header is hardcoded in the DeliveryClient.php and needs to be updated with every release
The goal of this task is to find a way of updating this version automatically (using a pre/post build action) or loading it from the composer.json somehow (after packagist sets it up during release).
We are open to any other ideas! :-)