Releases: Sysix/lexoffice-php-api
Releases · Sysix/lexoffice-php-api
1.6.0
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.1
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
1.1.0
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::$requestis now protected, usegetRequestandsetRequestinstead #135- Added
ApiInterfaceand moved all Interfaces to its own namespace #135 ClientInterfacerequires nowApiInterfacefor its constructor parameter #135
Full Changelog: 1.0.0...1.1.0
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