github marcwrobel/jbanking v3.0.0

latest releases: v4.2.0, v4.1.0, v4.0.0...
3 years ago

This new release includes :

  • an alignment of the IBAN definitions to IBAN Registry Release 88 (Septembre 2020),
  • a review of the ISO 3166 countries, ISO 4217 currencies and BBAN structure enums,
  • Calendar API improvements (new methods, new classes),
  • a few fixes for IsoCurrency,
  • minor performance improvements,
  • serialization support.

This new release also includes breaking changes (see details below).

Added

  • Add support for composite calendars, e.g. calendars calendars that combine multiple calendars into a single one.
  • Add Calendar.previousOrSame(LocalDate date) : compute the previous business day before the given date (included) (#61).
  • Add Calendar.nextOrSame(LocalDate date) : compute the next business day before the given date (included) (#61).
  • Add Calendar.shift(LocalDate date, int amount) : shifts the date by the specified number of business days (#61).
  • Add support for Libyan (LY) IBAN numbers (#63).

Changed

  • Make jbanking serializable-friendly (#53).
  • (breaking change) IsoCountry and IsoCurrency enums entries renamed using their alpha-code instead of their full names to reduce breaking changes in future versions (#56).
  • (breaking change) Changed IsoCurrency.fromNumericCode(Integer) signature to IsoCurrency.fromNumericCode(int) (#56).
  • (breaking change) Rename Calendar.previousBusinessDay to Calendar.previous (#61).
  • (breaking change) Rename Calendar.nextBusinessDay to Calendar.next (#61).
  • (breaking change) Change return type of IsoCurrency.fromAlphabeticCode(String code) to Optional<IsoCurrency> (#62).
  • (breaking change) Change return type of IsoCurrency.fromNumericCode(int code) to Optional<IsoCurrency> (#62).
  • (breaking change) Change BbanStructure visibility to package-private (#64).

Fixed

Removed

  • (breaking change) Remove deprecated method IsoCountry.getCode() : use IsoCountry.getAlpha2Code() instead (#49).
  • (breaking change) Remove deprecated method IsoCountry.fromCode(String) : use IsoCountry.fromAlpha2Code(String) instead (#49).
  • (breaking change) Remove IsoCurrency.NO_UNIVERSAL_CURRENCY : this currency has no associated code and could not be retained during IsoCurrency enum entries renaming (#56).

Internal

  • Upgrade to Strata 2.8.2 (#57).
  • Upgrade to Guava 30.0 (#58).
  • Upgrade to parent 2.3.2 (#65).
  • Make use of lookup tables in IsoCountry, IsoCurrency and BbanStructure for better performance (#62).

Don't miss a new jbanking release

NewReleases is sending notifications on new releases.