Releases: XeroAPI/xero-ruby
3.2.1
Fix authorization_url
to properly encode. Thanks @dimasusername
3.2.0
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
3.1.2
3.1.1
- 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
🚨 🚨 🚨 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
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 #150
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.
- Fixes #154
2.10.2
2.10.1
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
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