Skip to content

Releases: genkgo/camt

2.2.1

22 Nov 01:00
2.2.1
96d946d
Compare
Choose a tag to compare

Changed

  • Smaller package by excluding unnecessary files
  • Upgraded code style
  • PHPStan maximum level
  • Run tests also on PHP 8.1

2.2.0

19 Jul 03:05
0ea252a
Compare
Choose a tag to compare

Added

  • Add status of transaction

2.1.0

01 Jun 01:17
fcb3a1f
Compare
Choose a tag to compare

Added

  • Add closing and opening available balances for camt53

2.0.0

19 Feb 07:37
a89fc7f
Compare
Choose a tag to compare
  • 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 using Money\Parser\DecimalMoneyParser instead.
  • Charges::getTotalChargesAndTaxAmount() may now return NULL and you should protect yourself against NULL values

1.2.0

23 Dec 07:57
6ba1410
Compare
Choose a tag to compare

Added

  • PHP 8.0 support

Fixed

  • BankTransactionCode::getProprietary() may be null
  • BankTransactionCode::getDomain() may be null

Changed

  • Migration from Travis to GitHub Actions

1.1.1

08 Jul 11:51
6164d0b
Compare
Choose a tag to compare

Fixed

  • CreditorReferenceInformation::getRef() may be null

1.1.0

05 Apr 06:45
Compare
Choose a tag to compare

Added

  • Support for camt.052.001.06

1.0.0

30 Dec 17:59
9255619
Compare
Choose a tag to compare
  • PHP 7.4 compatiblity
  • Type hinting everywhere and strict types
  • Lots of code quality improvement via PHPStan and PhpStorm
  • Returning null instead of BadMethodCallException

BREAKING CHANGES

Genkgo\Camt\DTO\ChargesRecord

  • getChargesIncludedIndicator() does not have non ASCII character in method name anymore

Genkgo\Camt\DTO\Reference

  • getAccountServiceReference() is renamed to getAccountServicerReference()

Genkgo\Camt\DTO\EntryTransactionDetail

  • getReferences() was deleted, instead use getReference()
  • getAmountDetails() and getAmount() both returns ?Money instead of
    the old Amount and AmountDetails 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.

0.6.0

06 May 00:49
234b51d
Compare
Choose a tag to compare
  • Stop using abandoned IBAN validator
  • [CAMT.054] Complete remittance information with structured and unstructured blocks
  • Return MessageFormatInterface from Reader class
  • Allow to disable XSD validation

0.4.2

06 May 00:46
Compare
Choose a tag to compare

Loosen money dependency