Releases: XeroAPI/Xero-Java
1.0.4
Fix build method in oAuthAccessToken so the correct oauth parameters are passed when doing a token refresh API call.
1.0.3
Merge PR 79 instantiate httpclient with build method
1.0.2
1.0.1
1.0.0
Fixed reported memory lead with JAXBContext.
1.0.0 beta 4
Added log4j dependency and logging statements inside the SDK.
Info Level include the URL for Get/Delete and the Body for Post/Put
Error Level includes all exceptions from try/catch blocks
You can setup/configure your logging using the log4j.properties file located in the Resources dir.
Also merged change to support passing boolean to create Attachment method for including attachment on invoices.
1.0.0 beta 1
Please 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.
v0.6.7
small change to XSD schema - moved to 0.1.2 of accounting schema.
v0.6.6
adding firewall parameters to token refresh calls
v0.6.5
Added support for developers who need to pass thru a firewall and still have the correct oauth signature.