Skip to content

Releases: php-twinfield/twinfield

Release 2.3.3

09 May 09:03
5b33fa9
Compare
Choose a tag to compare
  • 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

20 Mar 13:57
dce533c
Compare
Choose a tag to compare
  • 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

19 Mar 10:27
0094b40
Compare
Choose a tag to compare
  • Prevent failed bank transaction 'create/update' API requests from throwing a TypeError because we're attempting to set the line ID on the BankTransaction when there isn't one. Now throws a ResponseException when unwrapped, as expected.

Release 2.3.0

16 Mar 10:18
2666430
Compare
Choose a tag to compare
  • Add psr/log composer dependency
  • Have BaseApiConnector implement LoggerAwareInterface. 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

09 Mar 14:12
Compare
Choose a tag to compare

Attempted to fix 'error fetching HTTP headers' SoapFault by disabling HTTP Keep Alive.

Release 2.2.0

20 Feb 10:16
4224e47
Compare
Choose a tag to compare
  • 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

20 Feb 09:06
0758bc6
Compare
Choose a tag to compare
  • Improvements for the OAuth2 & OAuth2 provider implementation, see #79 and #80.
  • Return individual mapped response for Matches, see #86.
  • Various bugfixes and improvements.

Release 2.0.1

12 Feb 11:04
Compare
Choose a tag to compare
  • Fixed a bug in the OpenId authentication implementation.
  • Updated readme.

Release 2.0.0

12 Feb 08:42
Compare
Choose a tag to compare

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

28 Nov 15:25
Compare
Choose a tag to compare
  • Added support for customers CollectMandate (PR #10).