Skip to content

Releases: webfox/laravel-xero-oauth2

6.0.0

18 Dec 05:09
Compare
Choose a tag to compare

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 and IdentityAPIClient 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

Full Changelog: 5.0.0...6.0.0

5.0.0

12 Aug 08:26
Compare
Choose a tag to compare

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

Full Changelog: 4.4.0...5.0.0

4.4.0

28 Jul 21:16
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.3.0...4.4.0

4.3.0

11 Jul 08:42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.2.0...4.3.0

4.2.0

12 Mar 05:51
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.1.0...4.2.0

v4.1.0 Release

19 Feb 21:41
28fadd9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.2...4.1.0

v4.0.2 Release

12 Jul 22:30
5f2d104
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.1...4.0.2

v4.0.1 Release

10 Jul 21:10
52e46ef
Compare
Choose a tag to compare

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

26 Jun 23:21
b54e137
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.0...4.0.0

v3.0.0 Release

21 Mar 21:48
Compare
Choose a tag to compare
  • 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