Skip to content

Releases: XeroAPI/Xero-Java

2.2.1

Choose a tag to compare

@SidneyAllen SidneyAllen released this 10 Dec 19:26

The focus of this release is missing Enums (#110 )

  • Added CountryCode, CurrencyCode and Timezone, PaymentTermType components
  • Updated 37 string properties with appropriate Enums
  • Added Allocations and History for Prepayments

2.2.0

Choose a tag to compare

@SidneyAllen SidneyAllen released this 07 Dec 00:54

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

Choose a tag to compare

@SidneyAllen SidneyAllen released this 30 Nov 15:05

Add propertyClass to Organisation model
Fix link in README

2.1.1

Choose a tag to compare

@SidneyAllen SidneyAllen released this 24 Nov 03:03

change schema dependency from github repo to maven central
add error types to bank feed statements

2.1.0

Choose a tag to compare

@SidneyAllen SidneyAllen released this 21 Nov 01:42

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

Choose a tag to compare

@SidneyAllen SidneyAllen released this 15 Nov 17:07

Merge PR #101 and fixed issue with mixing proxy setting for binary file endpoints reported in #103

2.0.1 - minor bug fixes

Choose a tag to compare

@SidneyAllen SidneyAllen released this 15 Nov 14:37

Fix timeframe parameter passed to ReportProfitAndLoss method.
Changed from BigDecimal to String

2.0.0

Choose a tag to compare

@SidneyAllen SidneyAllen released this 15 Nov 00:52

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

Choose a tag to compare

@SidneyAllen SidneyAllen released this 25 Oct 18:20

Added missing property "accountId" to the feedconnection model.

1.3.1

Choose a tag to compare

@SidneyAllen SidneyAllen released this 19 Oct 07:28
8175b84

Testing credentials in config.json included in maven artifact by accident. - removed so that no conflict with developer configuration file.