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
XApiClientinstances in an invalid state. TheXApiClientBuildernow throws a\LogicExceptionwhen thebuild()method is called before a base URI was configured. - [BC BREAK]: Removed the
ApiClientclass. The$requestHandlerand$versionattributes have been moved to the former child classes of theApiClientclass and their visibility has been changed toprivate. - [BC BREAK]: The visibility of the
$documentDataSerializerproperty of theActivityProfileApiClient,AgentProfileApiClient,DocumentApiClient, andStateApiClientclasses 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 theHandlerInterfaceand theHandlerclass. - [BC BREAK]: Removed the
getHttpClient()method from theHandlerclass. - [BC BREAK]: Removed the
getSerializerRegistry()method from theXApiClientclass. - [BC BREAK]: Made all classes final.