Releases: php-twinfield/twinfield
Releases · php-twinfield/twinfield
Release 2.3.3
league/oauth
exceptions could leak out, they are now wrapped in appropriate classes- Some bugs fixed in the
Supplier
ApiConnector (thanks @manuelderuiter) - Support for free char fields has been improved (thanks @RickJeroen)
Release 2.3.2
- Keep the order of lines returned from
getLines()
the same as the insertion order (except for the primary ordering of TOTAL, then DETAIL and then VAT lines). - Fixes a bug in the
ArticleMapper
(thanks @CasNelissen).
Release 2.3.1
- Prevent failed bank transaction 'create/update' API requests from throwing a
TypeError
because we're attempting to set the line ID on theBankTransaction
when there isn't one. Now throws aResponseException
when unwrapped, as expected.
Release 2.3.0
- Add
psr/log
composer dependency - Have
BaseApiConnector
implementLoggerAwareInterface
. When a logger is set on any of the API connectors, they will log/debug information about the request, response, retries and failures. The request and response debug calls also have the entire request/response XML available in the context array on the'document_xml'
key.
Release 2.2.1
Attempted to fix 'error fetching HTTP headers' SoapFault by disabling HTTP Keep Alive.
Release 2.2.0
- Add
BookingReference
for identifying bookings (transactions, statements, etc.). Can be used when deleting a booking through the API via such a reference.
Release 2.1.0
Release 2.0.1
- Fixed a bug in the OpenId authentication implementation.
- Updated readme.
Release 2.0.0
A major milestone. Many new changes and improvements.
- PHP >= 7.1 compatibility only.
- Authentication via username/password and OpenId fully supported (via league/oauth2-client).
- Connection handling has been reworked to support all various Twinfield endpoints.
- New mappers and ApiConnectors for Bank Transfers, Electronic Bank Statements, Matching API, and Journal, Purchase and Sales Transactions
- Automatic batching, chunking, retrying and mapping of objects sent to Twinfield.
- All handling of monetary amounts uses moneyphp/money.
- Many improvements in testing and continuous integration.
- Various bugfixes and improvements.
Release 1.1.0
- Added support for customers
CollectMandate
(PR #10).