Skip to content

Releases: XeroAPI/xero-node

4.12.0

01 Jun 23:52
d30105a
Compare
Choose a tag to compare

Release for recent OAS changes: https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.13.0

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨

  1. summaryOnly?: boolean added to the getInvoices function

  2. Future proofing GST and BAS Reports endpoints for NZ and AU orgs, or any orgs that get introduced reports without a restful endpoint and require /Reports/{uuid}

getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId

🚨 🚨 🚨 MINOR BREAKING CHANGE - END 🚨 🚨 🚨

  1. Code sample docs for the 3 payroll api sets 🚀

  2. Added Budgets endpoints

getBudget(xeroTenantId: string, budgetID: string, options: {headers: {...}})
getBudgets(xeroTenantId: string, iDs?: Array[string], dateTo?: string, dateFrom?: string, options: {headers: {...}})
  1. incorporated backwards compatibility change for the token set import
    #517 thank you @ambroseus

4.11.3

28 Apr 17:38
db312b9
Compare
Choose a tag to compare
  1. fixes #484 - When a rate limit call hit 429 - the body was empty, and we were trying to JSON.parse and return the result. Now just return the body

  2. Fixes #523 by Adding summaryOnly boolean option to getContacts

  3. Few other odds and ends generated form recent OAS changes (enums, optional params, etc)

4.11.2

25 Mar 19:18
86819ea
Compare
Choose a tag to compare
  1. Regenerated docs with new branding
  2. SDK built from version 2.10.3 of the OAS
  3. A few updates to the payroll & Bankfeeds apis
  4. Removed v3 of the docs for OAuth1.0a
    • .2 fixed the headers to have the correct package version number

Screen Shot 2021-03-24 at 5 49 50 PM

4.11.1

25 Mar 00:36
b63afa6
Compare
Choose a tag to compare
  1. Rgenerated docs with new branding
  2. SDK built from version 2.10.3 of the OAS
  3. A few updates to the payroll & bankfeeds apis
  4. Removed v3 of the docs for OAuth1.0a

Screen Shot 2021-03-24 at 5 49 50 PM

4.11.0

19 Mar 16:24
b63afa6
Compare
Choose a tag to compare

replaces preinstall script with prepare script as previous release was causing errors on deployment

4.10.4

18 Mar 21:28
09621f2
Compare
Choose a tag to compare

Updates dependencies to address dependabot alert

4.10.3

15 Mar 18:06
8de095c
Compare
Choose a tag to compare

Generated using Xero-OpenAPI spec v2.10.0

Refactors XeroClient.ts apiCallback() params and check objects to leverage openid-client baked in CSRF.
Generates docs from new specs.

4.10.2

02 Mar 17:42
a1b4008
Compare
Choose a tag to compare

Resolves #421 by removing src/untyped.ts from the project, which was previously overwriting openid-client types for some devs.
Resolves #488 by ensuring all TokenSets are of valid TokenSet type per openid-client TokenSet class. Previously refreshWithRefreshToken was not getting a consistent TokenSet given it was coming directly from Xero identity without being passed through openid-client library. Also updated sample app and sdk readme to leverage built-in tokenSet.expired method

4.10.1

26 Feb 23:30
d0ce520
Compare
Choose a tag to compare

Generated using Xero-OpenAPI spec v2.9.4

XeroClient.ts
Adds revokeToken() which revokes a user's refresh token and removes all their connections to your app by making a request to the revocation endpoint.

Added public and private keywords to XeroClient methods.

4.10.0

10 Feb 00:33
eaf31a3
Compare
Choose a tag to compare

Adding the last API set to the Node SDK 🚀

https://developer.xero.com/documentation/files-api/overview-files

This PR enables the SDK to support the corresponding CRUD actions of the Files - Folders - and Association objects. There is also a new ObjectGroup type enum that is used for designating relationships between an uploaded file and an object in the Xero API domain.

Release under 4.10.0 on NPM