Skip to content

Releases: XeroAPI/Xero-Java

4.11.0

18 Jun 00:58
e2dfa10
Compare
Choose a tag to compare

Added small breaking fix to reports for au/nz tax, added budgets endpoints, added the rest of the docs for api sets.. some still don't have body examples but an improvement.

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨

  1. Changes param order of summaryOnly for getInvoices.

*** This was not added as the last param in the spec and was the only SDK released prior to it being fixed in the OpenAPI Spec - We are moving it as the last parameter across all SDKs it is less of a breaking change. Apologies to those users that might have implemented, and have to swap position now again.

  1. getReportBASorGSTList -> getReportsList
    getReportBasOrGst -> getReportFromId

Changes using previous GST BAS reports specific endpoints to support stable future state of adding reports that are unique to an org and require a uuid to be passed. New function names:

getReportsList
getReportFromId

3) Added missing endpoints:
- GET /Budgets
- GET /Budgets/{BudgetID}

🚨 🚨 🚨 END🚨 🚨 🚨

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

4.10.0

12 May 19:13
Compare
Choose a tag to compare

Build from OpenAPI spec 2.12.0
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.12.0

ACCOUNTING
Add summaryOnly param to getInvoices
Add payments array to Prepayment object

4.9.1

27 Apr 18:25
93395e5
Compare
Choose a tag to compare

Added method to revoke refresh token to ApiClient class

Build from OAS 2.11.0 https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.11.0

ACCOUNTING
Add summaryOnly param to getContacts
Remove readonly property from Manual Journal Line TaxAmount

PROJECTS
Missing ENUM for Time entry status "INVOICED"

BANKFEEDS
Add missing ENUM for bank feed error "feed-not-found-or-already-deleted"

4.8.3

07 Apr 15:00
e780592
Compare
Choose a tag to compare

Build from OAS 2.10.4 - https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.4

UK PAYROLL
Add missing SalaryAndWage payment type - Hourly

New exception classes added - thank you @evelinasmit

Add API exception types for statuses
501 XeroNotImplementedException
503 XeroNotAvailableException

4.8.2

24 Mar 18:42
0ead3dc
Compare
Choose a tag to compare

Build from OpenAPI spec 2.10.3
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.3

FILES API
Fix path for uploadFileToFolder method

Replaced inline objects with UploadObject for use by both upload methods

BANKFEED API
Fix error response and status code for Feedconnections. The API will actually return an overall HTTP 400 but will include a sub-status per connection error in the response body. I removed the 409 from the expected responses, and updated the schema/example for the 400

4.8.1

19 Mar 18:27
3d018e8
Compare
Choose a tag to compare

ACCOUNTING
added validationerror to batchpayment object & remove from batchpayments

BANKFEEDS
Fixed statementId in path for getStament method
Added transactionType to StatementLine
Updated a few method return status from 200 to 201

UKPAYROLL
GET Employees and GET Timesheets was not passing filter params correctly.
Get methods for Employees and Timesheets incorrectly defined params to be passed by name for querying the API. Instead it needs to be a single param called "filter" that has named params and values passed together.

4.8.0

16 Mar 13:34
Compare
Choose a tag to compare

Merged PR with XeroRateLimitException subtypes
Specific Rate Limit exceptions added

ApiClient - updated connectionTimeout and readTimeout default to 180000 milliseconds (3 min). You can override and set as high as 5 min.

Lots of missing comments added to eliminate warnings during build of JavaDocs

4.7.2

04 Mar 01:37
e104af5
Compare
Choose a tag to compare

Add Auth0 library for verifying JWTs

4.7.1

19 Feb 23:42
2acaaaa
Compare
Choose a tag to compare

Build from OAS 2.9.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.9.4

UK PAYROLL
Add 7 missing enums for EarningRate Type

4.7.0

12 Feb 19:35
3ff17c9
Compare
Choose a tag to compare

FILES
All Files API methods and models added

ACCOUNTING
BatchPaymentID property added to Payment object