By mradcliffe on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
3.1.x
Introduced in version:
3.1.0-alpha1
Issue links:
Description:
Due to backwards-incompatible changes in upstream Guzzle, Xero is refactored to account for Guzzle and xeroclient incompatible changes:
- XeroClient no longer extends Client and its initialization method has backwards-incompatible changes. XeroClient now implements XeroClientInterface, which provides backwards-compatible methods that were magic methods on Guzzle Client class.
- OAuth1 related code is removed from XeroClient
- XeroNullClient is deprecated and no longer used. Instead XeroClient will always be returned. XeroClient will now throw XeroRequestException when it is missing authorization token, invalid URL as part of guzzle middleware.
XeroQuery::hasClientis deprecated.
There should be no code changes necessary for using XeroQuery or XeroItemManager, but additional exception handling may be needed.
Impacts:
Module developers