Skip to content

0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@xabbuh xabbuh released this 27 Sep 14:25
· 36 commits to 0.7 since this release
v0.3.0
  • 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. The XApiClientBuilder now throws a \LogicException when the build() 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 the ApiClient class and their visibility has been changed to private.
  • [BC BREAK]: The visibility of the $documentDataSerializer property of the ActivityProfileApiClient, AgentProfileApiClient, DocumentApiClient, and StateApiClient classes has been changed to private.
  • [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() and getPassword() methods from the HandlerInterface and the Handler class.
  • [BC BREAK]: Removed the getHttpClient() method from the Handler class.
  • [BC BREAK]: Removed the getSerializerRegistry() method from the XApiClient class.
  • [BC BREAK]: Made all classes final.