Skip to content

Commit 29ed1a7

Browse files
committed
update header to the latest xAPI patch version
1 parent 8bbe338 commit 29ed1a7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ CHANGELOG
44
0.6.0
55
-----
66

7+
* updated the `X-Experience-API-Version` header to default to the latest patch
8+
version (`1.0.3`)
9+
710
* allow `2.x` releases of the `php-xapi/model` package too
811

912
0.5.0

src/XApiClientBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function build()
183183
$httpClient = new PluginClient($httpClient, $plugins);
184184
}
185185

186-
$version = null === $this->version ? '1.0.1' : $this->version;
186+
$version = null === $this->version ? '1.0.3' : $this->version;
187187
$requestHandler = new Handler($httpClient, $this->requestFactory, $this->baseUrl, $version);
188188

189189
return new XApiClient($requestHandler, $serializerRegistry, $this->version);

0 commit comments

Comments
 (0)