From 595b52f2508c87bc1f9aab3fa8a7b27db1d7352c Mon Sep 17 00:00:00 2001 From: rorycl Date: Wed, 26 Jun 2024 23:58:18 +0100 Subject: [PATCH] v0.2.6: update to use decimal.Decimal for pricing --- CHANGELOG.txt | 21 ++++++++++----------- README.md | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 418b91c..d4910a6 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,13 +1,12 @@ -Changelog for release v0.2.5 +Changelog for release v0.2.6 + +Update to use decimal.Decimal rather than int to support cheaper items +on Cex which have decimal prices. -* docs: update README for v0.2.4 -* cex: replace long store names and truncate store listings; update tests -* cex: update results to show cash/exchange prices and stores -* console: use both title and description for items to show prices, stores - also regenerate console.gif from console.vhs -* console: tweak colours -* cli: update to provide verbose option to show pricing, stores - also regenerate cli.gif from cli.vhs * go: update modules -* docker: minor "add" tweaks to Dockerfile -* web: update htmx to v2.0 +* web: update int pricing to use decimal.Decimal +* console: update int pricing to use decimal.Decimal +* cli: update int pricing to use decimal.Decimal +* query: bubble up json unmarshall errors properly +* cex: change int pricing to decimal.Decimal, update tests accordingly +* testdata: add example data json file with decimal results diff --git a/README.md b/README.md index 54a8c01..b516357 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # cexfind -v0.2.4 : 21 June 2024 : add buy/exchange and store info; htmx 2.0 +v0.2.6 : 26 June 2024 : change pricing from int to decimal.Decimal ## Find kit on Cex, fast