Releases: php-twinfield/twinfield
Releases · php-twinfield/twinfield
Release 2.8.2
- Transaction period can now be empty (#160) thanks @niektenhoopen.
Release 2.8.1
- Optional date / time fields can now be parsed (will result in
null
instead ofDateTimeImmutable
) - Add the ability to set a different office for the BrowseData Endpoint (thanks @lenvanessen)
- Test against PHP 7.4
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)