0.011 2019-01-10 (PERLANCAR)
- Add function: list_rate_sources().
- [bugfix] Forgot to export functions.
- [doc] Add more documentation.
0.010 2018-08-01 (PERLANCAR)
- [Bugfix] Forgot to call the source's get_spot_rate() with hash
arguments.
0.009 2018-07-15 (PERLANCAR)
- UPDATE 2018-08-01: this release is broken.
- Add source: mandiri.
0.008 2018-06-27 (PERLANCAR)
- UPDATE 2018-08-01: this release is broken.
[INCOMPATIBLE CHANGES]
- Source methods now also use hash arguments.
[ENHANCEMENTS]
- Expose and store all buy/sell rates (e.g. buy_er, buy_bn, buy_ttc for BCA).
[BUG FIXES]
- Fix type of max_age_cache.
- Fix Rinci metadata.
0.007 2018-06-25 (PERLANCAR)
- To be more consistent, when asked for conversion from X to X,
return payload {rate=>1} instead of payload=1.
0.006 2018-06-24 (PERLANCAR)
- [Bugfix] database schema: Forgot to specify AUTO_INCREMENT for rate
table.
0.005 2018-06-19 (PERLANCAR)
- No functional changes.
- Tweak Abstract & Description.
0.004 2018-06-19 (PERLANCAR)
[BUG FIXES]
- Fix :average for get_all_spot_rates().
- Forgot to return mtime in cached information.
- Fix logging statement (perl undef warning).
[REMOVED]
- get_spot_rate(): Remove 'amount' argument.
[INTERNAL]
- get_spot_rate(): Do not call source's get_all_spot_rates(), so the
source can reject unknown pairs properly.
- Bump database schema version to 4: add _key field so we can cache
result of get_all_spot_rates() separately from get_spot_rate().
[ENHANCEMENTS]
- Return 'cached' and 'cache_time' in hash result.
- [ux] [cli] Add format for result fields.
0.003 2018-06-19 (PERLANCAR)
[INCOMPATIBLE CHANGES]
- Change function name from convert_fiat_currency to get_spot_rate().
[NEW FEATURES]
- Add function get_all_spot_rates() to return all rates from a source.
- Add source 'bi' (Bank of Indonesia).
[INTERNAL]
- Modularize each source into a separate Perl module.
- Record 'mtime' (last update time) from source.
- Add option to return highest/lowest rate (of all sources), rate from
newest/oldest source, average of all sources.
- Bump database schema version: add 'id' and 'mtime' columns to the rate
table, change 'time' column to 'query_time'.
0.002 2018-05-10 (PERLANCAR)
- [Bugfix] Fix SQL that caused us to always query from remote
source.
- Update DB schema: rename column currency1 -> from_currency,
currency2 -> to_currency.
- [test] Use MySQL for schema migration test because SQLite doesn't
support column renames/changes.
0.001 2018-05-09 (PERLANCAR)
- First release.