Releases: Stichoza/nbg-currency
Releases · Stichoza/nbg-currency
v3.0.0
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
v2.0.2
Switching from SOAP to JSON format as NBG removed the SOAP service.
- Requires
ext-json
instead ofext-soap
. - Added ability to pass
boolean $absolute
parameter tochange()
method to get real value (defaults to absolute value for legacy reasons, as it was in SOAP version). - Added
name()
method as an alias ofdescription()