1.0.0 beta 1
Pre-releasePlease note, this is a major version release from 0.6.7 to 1.0.0 and is beta 1.
This release focused on reworking the httpclient to support TLS 1.2. On June 30, 2018 Xero will deprecate TLS 1.0 and reject API calls not done with TLS 1.1 or higher.
We have setup a test URL - you can point to this test URL by setting the ApiBaseUrl in your config.json file.
"ApiBaseUrl" : "https://api-tls.xero.com"
Please test your code with this SDK release prior to deploying to Production, report any problems to the issue tracker for this repo.
Java 1.8 uses TLS 1.2 by default, therefore Java Server Runtime environments configured for Java 1.8 don't require any additional configuration.
Java 1.7 and 1.6 need TLS 1.2 to be set using a SSLContext on the httpclient. See README about adding a KeyStorePath and KeyStorePassword to your config.json file. This will add the SSLContext for you.