Skip to content

Releases: Sysix/lexoffice-php-api

1.4.0

31 May 17:36
72f44b6
Compare
Choose a tag to compare

Added

  • /print-layouts Endpoint in #157

Full Changelog: 1.3.0...1.4.0

1.3.0

13 Apr 15:52
Compare
Choose a tag to compare

Added

Full Changelog: 1.2.1...1.3.0

1.2.1

11 Feb 18:08
674a380
Compare
Choose a tag to compare

Added

  • Fancy badges in README.md (@Sysix)

Changed

  • Improved Psalm Level to 1 (@Sysix)
  • Be more stricted about the internal Response Body for Client\*::document() with $asContent=true (@Sysix)
  • Improved Unit Test Coverage (@Sysix)

Fixes

  • voucher file upload path (thanks to @KirbyDE)
  • old behaviour for depreacted method PaginationClient::getAll(). Returns Error Response instead of skipping it. (@Sysix)

Full Changelog: 1.2.0...1.2.1

1.2.0

15 Jan 17:46
67724bb
Compare
Choose a tag to compare

Added

  • Possible to get an array from \Sysix\LexOffice\Utils::getJsonFromResponse() with the second optional parameter #143 #144

Fixed

  • \Sysix\LexOffice\Utils::getJsonFromResponse() would return null, if Content-Type Header had a charset, #143 #144

Full Changelog: 1.1.0...1.2.0

1.1.0

23 Dec 20:50
9091978
Compare
Choose a tag to compare

Added

  • Delivery Notes Endpoint #136
  • Dunnings Endpoint #139
  • Pursue method for CreditNote Client #138
  • Pursue method for Invoice Client #138
  • Pursue method for OrderConfirmation Client #138
  • accept Header as second optional parameter for Clients\File::get #134
  • get Method for Event Client #137

Changed

  • Sysix\LexOffice\Api::$request is now protected, use getRequest and setRequest instead #135
  • Added ApiInterface and moved all Interfaces to its own namespace #135
  • ClientInterface requires now ApiInterface for its constructor parameter #135

Full Changelog: 1.0.0...1.1.0

1.0.0

08 Dec 22:45
cc366b1
Compare
Choose a tag to compare

Finally Release 1.0.0 is here with some major changes. This package is now under a new name:
composer require sysix/lex-office-api

Also the Namespace is changed to \Sysix\LexOffice.

When you want to upgrade your package follow the UPGRADE Guide.
If you have problems to upgrade, feel free to open an Issue on GitHub.

Added

  • allow other PSR-18 HTTP Clients to be passed
  • Filter options for Contact Endpoint
  • Filter options for Voucherlist Endpoint
  • Sort options for Recurringtemplate Endpoint
  • Upload File to the Voucher Endpoint (with Voucher-ID)

Changed

  • requires PHP 8.1
  • drop guzzlehttp/guzzle requirement, requires now psr/http-client and guzzlehttp/psr7
  • requires PSR-18 HTTP Client as a second constructor Parameter for \Sysix\Lexoffice\Api
  • Response Errors don't throw an Exception (required from PSR-18)
  • All Methods are not strict typed
  • Query filters and uuids are now url encoded

Removed

  • $api->setCacheInterface()
  • $api->getCacheResponse()
  • $api->setCacheResponse()
  • \Sysix\Lexoffice\Exception\CacheException
  • \Sysix\Lexoffice\Exception\BadMethodException
  • Methods which throwed a \Sysix\Lexoffice\Exception\BadMethodException

Deprecated

  • \Sysix\Lexoffice\Clients\CreditNote::getAll
  • \Sysix\Lexoffice\Clients\DownPaymentInvoice::getAll
  • \Sysix\Lexoffice\Clients\Invoice::getAll
  • \Sysix\Lexoffice\Clients\OrderConfirmation::getAll
  • \Sysix\Lexoffice\Clients\Quotation::getAll
  • \Sysix\Lexoffice\Clients\Voucher::getAll
  • \Sysix\Lexoffice\Clients\VoucherList::setToEverything
  • \Sysix\Lexoffice\Clients\CreditNote::getPage
  • \Sysix\Lexoffice\Clients\DownPaymentInvoice::getPage
  • \Sysix\Lexoffice\Clients\Invoice::getPage
  • \Sysix\Lexoffice\Clients\OrderConfirmation::getPage
  • \Sysix\Lexoffice\Clients\*::getAsJson

0.17.0

24 Nov 20:56
eaa1214
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.16.0...0.17.0

0.16.0

22 Mar 22:56
5a730d2
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.15.0...0.16.0

0.15.0

10 Feb 11:23
89d58fc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.14.2...v.0.15.0

0.14.2

30 Dec 19:14
3e5a489
Compare
Choose a tag to compare

Changes

  • Support psr/cache v2 and v3
  • Update Packages Versions (only development)

Full Changelog: 0.14.1...0.14.2