Releases: genkgo/camt
Releases · genkgo/camt
2.2.1
Changed
- Smaller package by excluding unnecessary files
- Upgraded code style
- PHPStan maximum level
- Run tests also on PHP 8.1
2.2.0
Added
- Add status of transaction
2.1.0
Added
- Add closing and opening available balances for camt53
2.0.0
- Support for currency without decimals such as JPY
- Support for case with no charge
BREAKING CHANGES
StringToUnits
class has been dropped entirely, without replacement. Consider usingMoney\Parser\DecimalMoneyParser
instead.Charges::getTotalChargesAndTaxAmount()
may now returnNULL
and you should protect yourself againstNULL
values
1.2.0
Added
- PHP 8.0 support
Fixed
BankTransactionCode::getProprietary()
may benull
BankTransactionCode::getDomain()
may benull
Changed
- Migration from Travis to GitHub Actions
1.1.1
1.1.0
1.0.0
- PHP 7.4 compatiblity
- Type hinting everywhere and strict types
- Lots of code quality improvement via PHPStan and PhpStorm
- Returning
null
instead ofBadMethodCallException
BREAKING CHANGES
Genkgo\Camt\DTO\ChargesRecord
getChargesIncludedIndicator()
does not have non ASCII character in method name anymore
Genkgo\Camt\DTO\Reference
getAccountServiceReference()
is renamed togetAccountServicerReference()
Genkgo\Camt\DTO\EntryTransactionDetail
getReferences()
was deleted, instead usegetReference()
getAmountDetails()
andgetAmount()
both returns?Money
instead of
the oldAmount
andAmountDetails
classes. Your code should be adapted like so:
- $amount = $entryTransactionDetail->getAmount()->getAmount();
+ $amount = $entryTransactionDetail->getAmount();
Returning null
instead of BadMethodCallException
We no longer throw an exception if something is null. This allow end-user to query
for the existence of something without having to catch exception.
In most cases, you should be able to remove your try/catch blocks.