Skip to content

Releases: Stichoza/nbg-currency

v3.0.0

04 Dec 01:17
c5f939d
Compare
Choose a tag to compare

This is a major update with no backwards compatibility at all.

  • PHP 8.1 required.
  • Rates are always returned for single unit of currency. You would get a multiplied rate for some currencies in older versions.
    For example, currency rate for JPY would have been 2.0176 for 100 JPY in older versions. It will now always return rate for 1 JPY, i.e 0.0020176.
  • Added support of dates (you can get rates for past dates).
  • Added support of languages (only English and Georgian is available at the moment).
  • Detailed exceptions are thrown.
  • Multiple helper methods added.
  • Basic caching available.

Read the docs for more detailed information.

v2.0.3

04 Dec 01:13
v2.0.3
8a9bf61
Compare
Choose a tag to compare

Added PHP 8 support.

v2.0.2

08 Sep 09:16
Compare
Choose a tag to compare

Switching from SOAP to JSON format as NBG removed the SOAP service.

  • Requires ext-json instead of ext-soap.
  • Added ability to pass boolean $absolute parameter to change() method to get real value (defaults to absolute value for legacy reasons, as it was in SOAP version).
  • Added name() method as an alias of description()

v2.0.1

29 Mar 14:39
Compare
Choose a tag to compare

Updated dependencies