Exchange::modify()
was removed, replace by ExchangeFactoryExchange::transfer()
was removed, use change($amount, $from, $to) and getTo($to) of getFrom($from)- improve RatingListCache.php
- remove dependency
h4kuna/serialize-polyfill
- for your temporary rate implement by own RatingList
- custom driver must be to use in Builder, see to ExchangeFactory
- cache is implemented by PSR-6, provided by h4kuna/critical-cache
- remove dependency on Guzzle, PSR-7, PRS-17 and PSR-18 ready
- remove dependency on h4kuna/data-type, nette/safe-stream, nette/utils
- access for currency use RatingList instead of Exchange, Exchange::getRatingList()['EUR']
- support php 8.0+
- the methods that are preserved are the same prototype and behavior
- CookieManager moved this extension
- remove dependency on h4kuna/number-format
- Formats.php and Filters.php moved this extension
- add lazy mode for create Driver, Client, HttpFactory
- support php 7.1+
- use type hints
- api is same like v5.0
Dependency on Nette framework was removed, If you want, follow this extension. Minimal php is 5.5+. Api is changed, not compatible with older version.
Here is older version.