;doc: update changelogs

This commit is contained in:
Simon Michael 2021-08-19 18:36:34 -10:00
parent 4576f8effd
commit ddeeee6046
5 changed files with 44 additions and 5 deletions

View File

@ -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.

View File

@ -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.

View File

@ -9,7 +9,7 @@
User-visible changes in hledger-ui.
See also the hledger changelog.
# 9bc77f87f
# d06d4ca08
Improvements

View File

@ -9,7 +9,7 @@ __ _____| |__
User-visible changes in hledger-web.
See also the hledger changelog.
# 9bc77f87f
# 3426030a9
Improvements

View File

@ -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)