Releases: XeroAPI/Xero-Java
2.3.0
This release has some breaking changes due to some required data type changes
Floats data format causing problems - switch to double
TaxType was incorrectly defined as the TaxType Enum when it should be a string to accommodate custom tax rates.
Response204 object removed to more accurately reflect the behavior of the SDK. the 204 no content resulted in responses which could not be parsed. The SDK was "faking" a JSON response object - but now it returns void for delete methods that result in 204 response.
Added "debug" level logging for API calls for
- url
- post/put body
- headers
- response
changed TLS warning log to "trace" level for logging.
Updating descriptions of responses and params to improve JavaDocs
Added missing attributes of Invoices
- hasError boolean
- Attachments Array
- isDiscounted boolean
Added missing attributes of Payments - hasAccount
- hasValidationErrors
Added more Unit Tests - 60 sleep between each one to avoid hitting rate limits when testing against mock API server.
2.2.18
Fix unit test credentials left in SDK.
Improvements for these endpoints
Accounts
BankTransations
BatchPayments
BrandingThemes
Move unit tests towards mocked API endpoints on SwaggerHub
Along the way add better descriptions args and responses to these 4 endpoints in the OpenAPI spec to improve JavaDocs
Found an unsupported attachment method in the OpenAPI spec and removed when found in these 4 endpoints.
2.2.16
Add missing Payments array property to CreditNote object
2.2.15
Payment Terms incorrectly set to PaymentTerm Type, when it should be a PaymentTerm object on a Contact.
2.2.14
Tracking category option needs to be a string not array on line items for invoices and other objects using line items with tracking support.
2.2.13
One change on all model properties. They are no longer being init as null.
ReportWithRow property reportTitle was a string, when it's an array of strings.
2.2.12
Added missing OrganisationID from the Organisation Endpoint
Refactored RowType to be separate object
Use new RowType object for ReportRow and ReportRow properties
Update custom RSA SIgning example in README
2.2.11
Changed ReportRow rowType property from string to enum
com.xero.models.accounting.ReportRow.RowTypeEnum.
Added missing BudgetSummary report.
2.2.10
Employee
- Missing UpdatedDateUTC
- Status changed from string to ENUM
BalanceSheet and Profit/Loss Report - timeframe changed from Int to String/Enum
2.2.9
fix return type of attachments to binary