Skip to content

Releases: XeroAPI/xero-ruby

3.2.1

20 Jul 16:06
a110251
Compare
Choose a tag to compare

Fix authorization_url to properly encode. Thanks @dimasusername

3.2.0

02 Jul 22:15
e0e1340
Compare
Choose a tag to compare

Implements OA2's client_credentials grant supported by Xero's Custom Connection feature 🥳

https://developer.xero.com/documentation/guides/oauth2/custom-connections/

This enables developers to create machine to machine interactions for a single Xero org.

3.1.4

02 Jul 21:05
bc5cb6f
Compare
Choose a tag to compare
  • Bumps bindata dependency from 2.4.9 to 2.4.10.
  • Add budget lines properly serialized
  • handle the parsing of date objects that don't include the day

3.1.2

16 Jun 19:06
16ee8c5
Compare
Choose a tag to compare

Added TerminationPay to UK payroll earnings type enum

3.1.1

01 Jun 20:27
4a035bd
Compare
Choose a tag to compare
  • Adds a new option param summaryOnly to getInvoices

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨
getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId

Release Notes

Added missing endpoints:

  • GET /Budgets
  • GET /Budgets/{BudgetID}
  • 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

🚨 🚨 🚨 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)

3.1.0

28 May 18:54
4d79cde
Compare
Choose a tag to compare

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨
getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId

Release Notes

Added missing endpoints:

  • GET /Budgets
  • GET /Budgets/{BudgetID}
  • 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

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)

3.0.0

11 May 18:27
a0a7c98
Compare
Choose a tag to compare

A small but technically breaking change for anyone depending on the to_attributes method. This fixes any nested objects to be properly deserialize, that were previously being left as PascalCase`

Fixes edge cases around MS dates that are stored as a negative epoch

Fixes nested serialization issues for objects returned using the to_attributes method. This will lookup any nested models such as Invoices -> LineItems and ensure all the values are returned as the snake case.

to_attributes calls to_hash(downcase: true) but the default to_hash still Pascal cases everything properly so that the POST's to the XeroAPI function as expected.

2.10.2

03 May 18:06
0aebca7
Compare
Choose a tag to compare

Only validate id and access tokens on the initial callback when received

Don't invoke validation and a http request to well known jwks when decoding a previously validated id or access token

Fixes #160

2.10.1

29 Apr 19:19
cc9c191
Compare
Choose a tag to compare

This scope of work was for maintenance of the repo and a cleanup the documentation related to token helpers and methods on the api_client. Main changes are that on the initial user callback, access and id tokens are validated to ensure the JWT's have not been tampered with in any way!

Notable changes: none are breaking

2.10.1 bumps version & add indifferent access

  • new token helper accessible & corresponding documentation in readme
  • Lots of specs 🥳
  • A few other OAS updates from recent release
token_expired?
validate_tokens(token_set)
validate_state(params)
decode_jwt(tkn)
access_token
id_token
decoded_access_token
decoded_id_token

2.10.0

29 Apr 19:10
cc9c191
Compare
Choose a tag to compare

This scope of work was for maintenance of the repo and a cleanup the documentation related to token helpers and methods on the api_client. Main changes are that on the initial user callback, access and id tokens are validated to ensure the JWT's have not been tampered with in any way!

Notable changes: none are breaking

  • new token helper accessible & corresponding documentation in readme
  • Lots of specs 🥳
  • A few other OAS updates from recent release
token_expired?
validate_tokens(token_set)
validate_state(params)
decode_jwt(tkn)
access_token
id_token
decoded_access_token
decoded_id_token