Releases: XeroAPI/Xero-Java
2.2.1
2.2.0
Quite a few changes to Accounting API models needed to be made to address that dates had been turned into strings while building the Java SDK using the OpenAPI code generator. The issue is around Xero's historical use of MS JSON date format. CustomDateDeserializers have been implemented so the following libraries could be used for dates
org.threeten.bp.LocalDate;
org.threeten.bp.OffsetDateTime;
We also were alerted that nested objects where not being parsed with accounting models but instead returned as generic objects. We addressed that which exposed additional data type issues that we addressed.
Added format: date to 20 properties
Added format: datetime to 22 properties
Updated eNum list for 12 properties
Updated string to integer for 3 properties
Removed "allOf" from 26 objects so parsing will map to model class and not generic object.
Replace BankAccount model class with Account class
Cleaned up a lot of descriptions
We will circle back to address baseCurrency and countryCode on the Organisation endpoint in our OpenAPI spec soon and update the SDK.
Early work on Files API included, but should not be considered stable.
2.1.2
Add propertyClass to Organisation model
Fix link in README
2.1.1
change schema dependency from github repo to maven central
add error types to bank feed statements
2.1.0
Some major changes to prepare for Maven Central
Proper annotation across library
Updated BankFeed and AssetsAPIs to pass each param as an argument instead of a HashMap of parameters.
Updated Accounting number datatype to format as integer or float.
Going forward jars managed in Maven Central for dependency management systems.
2.0.2
2.0.1 - minor bug fixes
Fix timeframe parameter passed to ReportProfitAndLoss method.
Changed from BigDecimal to String
2.0.0
Major update to the SDK
Full JSON support for Requests and Responses
New Models generated in the com.xero.models package
New Endpoints
- History
- Batch Payments
1.3.2
Added missing property "accountId" to the feedconnection model.
1.3.1
Testing credentials in config.json included in maven artifact by accident. - removed so that no conflict with developer configuration file.