Skip to content

Releases: XeroAPI/Xero-Java

2.3.0

09 Mar 02:05

Choose a tag to compare

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

28 Feb 18:59

Choose a tag to compare

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

05 Feb 23:08

Choose a tag to compare

Add missing Payments array property to CreditNote object

2.2.15

01 Feb 23:14

Choose a tag to compare

Payment Terms incorrectly set to PaymentTerm Type, when it should be a PaymentTerm object on a Contact.

2.2.14

28 Jan 20:53

Choose a tag to compare

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

25 Jan 01:00

Choose a tag to compare

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

24 Jan 17:38

Choose a tag to compare

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

23 Jan 18:08

Choose a tag to compare

Changed ReportRow rowType property from string to enum
com.xero.models.accounting.ReportRow.RowTypeEnum.

Added missing BudgetSummary report.

2.2.10

18 Jan 00:58

Choose a tag to compare

Employee

  • Missing UpdatedDateUTC
  • Status changed from string to ENUM
    BalanceSheet and Profit/Loss Report
  • timeframe changed from Int to String/Enum

2.2.9

18 Jan 00:00

Choose a tag to compare

fix return type of attachments to binary