Releases: webfox/laravel-xero-oauth2
6.0.0
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
5.0.0
What's Changed
- feat: Modify Auth Callback Controller to support Xero errors by @joe-niland in #92
What's Breaking
- This release introduces a new way of handling Xero authorization errors.
An invalid response from the Xero server will now throw a custom OAuthException.
See the readme for an example on how to gracefully handle this exception. - This release adds the Xero
ConnectionId
parameter into the tenants array for each tenant.
This typically should not be a breaking change in most applications unless directly comparing the entire tenants array.
New Contributors
- @joe-niland made their first contribution in #92
Full Changelog: 4.4.0...5.0.0
4.4.0
What's Changed
- Allow 7.x of xeroapi/xero-php-oauth2 by @JamesFreeman in #91
Full Changelog: 4.3.0...4.4.0
4.3.0
What's Changed
- Allow newer versions of xeroapi/xero-php-oauth2 by @JamesFreeman in #90
New Contributors
- @JamesFreeman made their first contribution in #90
Full Changelog: 4.2.0...4.3.0
4.2.0
What's Changed
- Laravel 11.x Compatibility by @laravel-shift in #86
New Contributors
- @laravel-shift made their first contribution in #86
Full Changelog: 4.1.0...4.2.0
v4.1.0 Release
What's Changed
- Add Laravel 10 support by @zpwparsons in #81
New Contributors
- @zpwparsons made their first contribution in #81
Full Changelog: 4.0.2...4.1.0
v4.0.2 Release
What's Changed
- Handle multiple tenants in XeroAuthorized by @AbrahamBrookes in #74
New Contributors
- @AbrahamBrookes made their first contribution in #74
Full Changelog: 4.0.1...4.0.2
v4.0.1 Release
What's Changed
- Multi-Tenant: Fixes Callback storing TenantId instead of array by @AllanGallop in #73
Full Changelog: 4.0.0...4.0.1
v4.0.0 Release
What's Changed
- Multi-Tenant by @AllanGallop in #71
New Contributors
- @AllanGallop made their first contribution in #71
Full Changelog: 3.0.0...4.0.0
v3.0.0 Release
- Change FileStore to use FilesystemManager with disk configuration #67
- Drop Laravel 5 support
- Add PHP 8.1 support
Full Changelog: 2.0.8...3.0.0