Releases: php-twinfield/twinfield
Releases · php-twinfield/twinfield
Release 2.7.0
- Allow for options to be passed onto the API connector classes
- All classes extending
BaseApiConnector
now accept a second (optional) constructor argument for anApiOptions
object that can be used to set the maximum retry count and also to configure which exception messages to retry on.
Release 2.6.2
- Fixes deprecated way of passing currency to
Money
creation.
Release 2.6.1
Fixes #119 Invoice number could be set on transaction line details that don't support it.
Release 2.6.0
Added support for Browse data. See the README for usage. Many thanks to @Versleijen for his high quality contribution.
Release 2.5.1
- Fix default attribute is set to incorrect value for default bank and default address for Customer. Thanks @Versleijen.
Release 2.5.0
- Add support for Cash transactions (thanks @Versleijen).
BC breaks
BaseTransaction::setCurrency()
now takesMoney\Currency
object instead of a string.
Release 2.4.3
- Add FreeText fields on SalesTransaction (thanks @fuegas)
- Fixes some copy / paste errors when setting free text fields (thanks @japaveh)
- Invoice matching implemented (thanks @Wouter0100)
- Small cleanup in InvoiceMapper (thanks @Wouter0100)
- List all offices with OAuth (skip setting an office) (thanks @manuelderuiter)
- Removing an address from a customer now works (thanks @mikedutchtelco)
mediact/dependency-guard
was added as a dev dependency to prevent dependency misusagephpstan/phpstan
was added as a dev dependency to catch bugs. Several minor bugs were fixed.
Big thanks to all contributors, highly appreciated.
Release 2.4.2
- #106 Add
CustomerCollectMandate
to ApiConnector and Mapper (thanks @RickJeroen)
Release 2.4.1
- #103 Implemented invoice matching and storing financials (thanks @Wouter0100).
Release 2.4.0
- Fixes #102, one-off article items for invoices didn't work correctly.
- Some minor changes to the
Invoice
object, for example it uses theOffice
object now.