Releases: XeroAPI/xero-ruby
2.8.0
Renamed #attributes to #to_attributes
Fixes #132
This is a small breaking change as there was a name collision on the report model/sub models (cell) that actually had the name nested attribute name of attribute
. This was causing a stack level error when rendering the report .to_json due to an unintended loop.
Bumping this only a .. version as it is fixing a live bug and not a net new breaking change.
2.7.1
Adds the #revoke_token ability to the ruby SDK. This completely wipes out an API connection, unlike the #disconnect method which just removes the tenant/org from the access_token/refresh_token permissions.
Adds the refactor from our friend @mogest - who beefed up the tests surrounding the where/sort/filtering and extracted that functionality into helper modules.
Lots of typos fixes from work on the Open API spec
A few type changes from bugs reported in other SDKs.
--
Removes the rails dependency of an assumed base64
import, and removes .blank?
2.6.2
2.6.1
2.6.1
- patch to fix #to_hash to maintain PascalCase transformation for XeroAPI and adds #attributes to return snake_case 🐍
2.6.0
Description
January work session to address recent community reported issues
Release Notes
- Date Parsing via UTC rolling over to next day
- Date Parsing payroll api utc string (not normal MS utc format )
- connections/disconnections base url fix
- state URL param
- TrackingCategory fix - wrong API was deserializing wrong model (not a fix but closed issue w/ this PR)
Fixes:
Types of Changes
- Bug fix
- New feature
- Breaking change
2.6.0
Description
January work session to address recent community reported issues
Release Notes
- Date Parsing via UTC rolling over to next day
- Date Parsing payroll api utc string (not normal MS utc format )
- connections/disconnections base url fix
- state URL param
- TrackingCategory fix - wrong API was deserializing wrong model (not a fix but closed issue w/ this PR)
Fixes:
Types of Changes
- Bug fix
- New feature
- Breaking change
2.5.1.
Fixes for the following:
- Adds optional state param to the identity flow & readme example
- Actually Fixes #94 (cc @gravitystorm)
- Ensures we only include proper files in the build, not docs, etc..
- closed #79
- closed #93
- closed #99
Refactored these api_client.rb methods to use the proper error handling and existing call_api logic where they could (
return_error(response) unless response.success?
)
Adds new model
- require 'xero-ruby/models/accounting/address_for_organisation'
Built from OAS 2.8.0
2.5.0
Fixes for the following:
closed #94
closed #79
closed #93
closed #99
Refactored these api_client.rb methods to use the proper error handling and existing call_api logic where they could (
return_error(response) unless response.success?
)
Adds new model
- require 'xero-ruby/models/accounting/address_for_organisation'
Built from OAS 2.8.0
2.4.1
2.4.1
Accounting API
new POST /Setup route
Associated models for the /Setup route code
fix batch payment reference length
Project API
Add charge type
NZ PAYROLL API
In TaxSettings changed periodunits from int to decimal
Move CalendarType into a separate component for reuse by PayRun and PayRunCalendar
Add TwiceMonthly value to CalendarType enum
Files API
Serialize back created/updated UTC (currently as string, until we can fix the spec at source to work across languages)
2.3.1
.1 patch - removed unnecessary files from the actual gem publish #89 #90 for massive reduction in gem size.
This Release adds all the remaining API sets that the XeroAPI can interact with for the Xero product suite.
- Adds the files API
- Adds the Payroll Api AU
- Adds the Payroll Api NZ
- Adds the Payroll Api UK
Documentation updated.
2.3.0
This Release adds all the remaining API sets that the XeroAPI can interact with for the Xero product suite.
- Adds the files API
- Adds the Payroll Api AU
- Adds the Payroll Api NZ
- Adds the Payroll Api UK
Documentation updated.