1.0.0
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/guzzlerequirement, requires nowpsr/http-clientandguzzlehttp/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