Introduction
Version 6.0.0 is a major step forward for this package.
It introduces much needed reliability for future updates through full unit testing, and refactors the credential storage mechanisms to allow for easiest maintenance, and better functionality for you, the users with less code.
We've tried to keep the breaking changes to the minimum but as with any major release there are some required to allow the package to keep evolving.
Check out the new docs and give massive thanks to @JamesFreeman who has done the majority of the work for this release!
What's Changed
- Implemented StyleCI
- Rewritten Docs to use Github pages
- Support PHP 8.4
- Added Tests
- Added 3 new Credential Managers (Model, Authenticated User Store and Array)
- Added new
AccountAPIClient
andIdentityAPIClient
to allow for mocking API requests - Added new Exception handling classes (added
XeroException
) - Added new BaseCredentialManager to aid in creating new Credential Managers quicker
- Added new
Xero
class - Moved default routes from
/routes/routes.php
to/routes/web.php
- Fixed [BUG] When using multiple tenants, the tenantId from the web hooks should be used #89
What's Breaking
- BREAKING Added types on all classes and methods, migrated to using Constructor Promotion
- BREAKING Drop support for PHP 7.4, PHP 8.0, PHP 8.1
- BREAKING Drop support for 6.x, 7.x, 8.x, 9.x
- BREAKING Drop support for older versions of Xero API
This list may not be exhaustive and due to previously being much less prescriptive on how you actually use the package we cannot account for a lot of variations.
Contributors
- @JamesFreeman made most of the contributions for this release
Full Changelog: 5.0.0...6.0.0