Spike: Make the SDK tracking header load the library version automatically #54
Labels
enhancement
groomed
The issue has been groomed and should be in a good shape.
hacktoberfest
https://hacktoberfest.digitalocean.com/
help wanted
refactoring
up-for-grabs
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 #43Currently, 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! :-)
The text was updated successfully, but these errors were encountered: