From ddeeee604604282d7fa69e188167da697fffd163 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 19 Aug 2021 18:36:34 -1000 Subject: [PATCH] ;doc: update changelogs --- CHANGES.md | 2 +- hledger-lib/CHANGES.md | 12 +++++++++++- hledger-ui/CHANGES.md | 2 +- hledger-web/CHANGES.md | 2 +- hledger/CHANGES.md | 31 ++++++++++++++++++++++++++++++- 5 files changed, 44 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 18f8502be..156c6c39c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,7 @@ General changes in the hledger project (and notable all-package releases). For package-specific changes and minor releases, see the hledger package changelogs. -# 31541bb98 +# 07eb3a908 - shake: changelogs: don't get confused by an all-digit commit hash Fixes spurious "can't list changes" warning. diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 3745057ab..2e703c07a 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,10 +9,20 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 9bc77f87f +# 4576f8eff API changes +- Drop the deprecated old-time lib. + A small number type signatures have changed: + journalSetLastReadTime, maybeFileModificationTime and Journal + now use POSIXTime instead of ClockTime. + Hledger.Cli.Utils.utcTimeToClockTime has been removed, + as it is now equivalent to utcTimeToPOSIXSeconds from Data.Time.Clock.POSIX. + To get the current system time, you should now use getPOSIXTime + from Data.Time.Clock.POSIX instead of getClockTime. + (#1650, Stephen Morgan) + - modifyTransactions now takes a Map of commodity styles, and will style amounts according to that argument. journalAddForecast and journalTransform now return an Either String Journal. (Stephen Morgan) This improves efficiency, as we no longer have to restyle all amounts in the journal after generating auto postings or periodic transactions. diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index c29fcd15d..549ccf834 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -9,7 +9,7 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 9bc77f87f +# d06d4ca08 Improvements diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 9b4d4fa8d..c081cba2e 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,7 +9,7 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. -# 9bc77f87f +# 3426030a9 Improvements diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index b488b4ba5..81550409e 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,10 +9,28 @@ User-visible changes in the hledger command line tool and library. -# 9bc77f87f +# 4576f8eff Features +- The balance command has a new `--gain` report type, showing + unrealised capital gains/losses. Essentially, this is the difference + between the amounts' costs and their total present value. More + precisely, between the value of the amounts' costs (so that you can + report gain in a different currency) and the value on the valuation + date(s) (period end(s) by default). + (#1623, #1432, Stephen Morgan, Charlotte Van Petegem) + +- The new `-c/--commodity-style` option makes it easy to override + commodity display styles at runtime, eg to adjust the number of + decimal places or change the position of the symbol. + (#1593, Arjen Langebaerd) + +- The balance commands have a new `--commodity-column` flag that + displays commodity symbols in a dedicated column, showing one line + per commodity and all amounts as bare numbers. + (#1559, #1626, Lawrence Wu, Simon Michael, Stephen Morgan) + - The balance command's --budget option can now take an argument, a case insensitive description substring which selects a subset of the journal's periodic transactions for settinig budget goals. @@ -22,6 +40,11 @@ Features Improvements +- imp: bal: handle commodity-column flag in compound balance reports + (#1654, Lawrence Wu) + +- doc: clarify period expressions, report intervals + - Clarify version string code: ``` version -> packageversion @@ -57,6 +80,12 @@ Improvements Fixes +- fix: bal --budget: handle --transpose flag with --commodity-column. + (#1654, Lawrence Wu) + +- fix: bal: correctly handle the no-symbol commodity with --commodity-column. + (#1654, Lawrence Wu) + - `--forecast` now generates transactions up to the day before the specified report end date (instead of two days before). ([#1633](https://github.com/simonmichael/hledger/issues/1633), Stephen Morgan)