0.3.0
Pre-release
Pre-release
- Do not send authentication headers when no credentials have been configured.
- Fixed treating HTTP methods case insensitive. Rejecting uppercased HTTP method names contradicts the HTTP specification. Lowercased method names will still be supported to keep backwards compatibility though.
- Fixed creating
XApiClient
instances in an invalid state. TheXApiClientBuilder
now throws a\LogicException
when thebuild()
method is called before a base URI was configured. - [BC BREAK]: Removed the
ApiClient
class. The$requestHandler
and$version
attributes have been moved to the former child classes of theApiClient
class and their visibility has been changed toprivate
. - [BC BREAK]: The visibility of the
$documentDataSerializer
property of theActivityProfileApiClient
,AgentProfileApiClient
,DocumentApiClient
, andStateApiClient
classes has been changed toprivate
. - [BC BREAK]: Removed the
getRequestHandler()
method from the API classes:ActivityProfileApiClient::getRequestHandler()
AgentProfileApiClient::getRequestHandler()
ApiClient::getRequestHandler()
DocumentApiClient::getRequestHandler()
StateApiClient::getRequestHandler()
StatementsApiClient::getRequestHandler()
- [BC BREAK]: Removed the
getVersion()
method from the API interfaces:ActivityProfileApiClientInterface::getVersion()
AgentProfileApiClientInterface::getVersion()
StateApiClientInterface::getVersion()
StatementsApiClientInterface::getVersion()
- [BC BREAK]: Removed the
getVersion()
method from the API classes:ActivityProfileApiClient::getVersion()
AgentProfileApiClient::getVersion()
ApiClient::getVersion()
DocumentApiClient::getVersion()
StateApiClient::getVersion()
StatementsApiClient::getVersion()
XApiClient::getVersion()
- [BC BREAK]: Removed the
getUsername()
andgetPassword()
methods from theHandlerInterface
and theHandler
class. - [BC BREAK]: Removed the
getHttpClient()
method from theHandler
class. - [BC BREAK]: Removed the
getSerializerRegistry()
method from theXApiClient
class. - [BC BREAK]: Made all classes final.