;doc: changelogs: tweaks

This commit is contained in:
Simon Michael 2021-09-20 18:07:57 -10:00
parent 17a12f0411
commit fbccd7b7ca
2 changed files with 32 additions and 32 deletions

View File

@ -43,6 +43,11 @@ For package-specific changes and minor releases, see the hledger package changel
- hledger developers now use GHC 9.0/stackage nightly by default. (#1503) - hledger developers now use GHC 9.0/stackage nightly by default. (#1503)
- Our doctests are disabled with GHC 9 for now to work around an
upstream bug.
([#1503](https://github.com/simonmichael/hledger/issues/1503),
[#1615](https://github.com/simonmichael/hledger/issues/1615))
- bin/commitlint is a new tool for hledger developers which checks and - bin/commitlint is a new tool for hledger developers which checks and
describes new commit conventions which simplify maintenance of describes new commit conventions which simplify maintenance of
change docs and releasing. It can be run locally while developing, change docs and releasing. It can be run locally while developing,

View File

@ -13,11 +13,6 @@ User-visible changes in the hledger command line tool and library.
Features Features
- The new `--today=DATE` option allows overriding today's date. This
can be useful in tests and examples using relative dates, to make
them reproducible.
(#1674) (Stephen Morgan)
- The balance command has a new `--gain` report type, showing - The balance command has a new `--gain` report type, showing
unrealised capital gains/losses. Essentially, this is the difference unrealised capital gains/losses. Essentially, this is the difference
between the amounts' costs and their total present value. More between the amounts' costs and their total present value. More
@ -38,7 +33,7 @@ Features
- The `balance --budget` option can now take an argument, - The `balance --budget` option can now take an argument,
a case insensitive description substring which selects a subset of a case insensitive description substring which selects a subset of
the journal's periodic transactions for settinig budget goals. the journal's periodic transactions for setting budget goals.
This makes it possible to keep multiple named budgets in one journal, This makes it possible to keep multiple named budgets in one journal,
and select the one you want with --budget's argument. and select the one you want with --budget's argument.
([#1612](https://github.com/simonmichael/hledger/issues/1612)) ([#1612](https://github.com/simonmichael/hledger/issues/1612))
@ -49,35 +44,35 @@ Features
`--forecast` (or `bal --budget`). `--forecast` (or `bal --budget`).
(#1632, Lawrence Wu) (#1632, Lawrence Wu)
- The new `--today=DATE` option allows overriding today's date. This
can be useful in tests and examples using relative dates, to make
them reproducible.
(#1674) (Stephen Morgan)
Improvements Improvements
- Numbers in SQL output now always use decimal period (`.`),
independent of commodity display styles. (Stephen Morgan)
- Various incremental performance improvements have been made. (Stephen Morgan)
- In CSV rules, multi-line comments are now supported. Newlines in CSV - In CSV rules, multi-line comments are now supported. Newlines in CSV
data are preserved, or newlines can be added by writing `\n` when data are preserved, or newlines can be added by writing `\n` when
assigning to `comment`, `comment1` etc. (Malte Brandy) assigning to `comment`, `comment1` etc. (Malte Brandy)
- `--infer-market-price` has been renamed to `--infer-market-prices`. - Numbers in SQL output now always use decimal period (`.`),
(The old spelling still works, since we accept flag prefixes.) independent of commodity display styles. (Stephen Morgan)
- `register` no longer slows down when there are many report intervals.
(#1683) (Stephen Morgan)
- `--sort` now gives a more intuitive sort oder when there are - `--sort` now gives a more intuitive sort oder when there are
multiple commodities. Negative numbers in one commodity are always multiple commodities. Negative numbers in one commodity are always
less than positive numbers in another commodity. less than positive numbers in another commodity.
(#1563, Stephen Morgan) (#1563, Stephen Morgan)
- `--infer-market-price` has been renamed to `--infer-market-prices`.
(The old spelling still works, since we accept flag prefixes.)
- Our pretty-printed JSON now orders object attributes alphabetically, - Our pretty-printed JSON now orders object attributes alphabetically,
across all GHC and haskell lib versions. across all GHC and haskell lib versions.
- Our doctests are disabled with GHC 9 for now to work around an - `register` no longer slows down when there are many report intervals.
upstream bug. (#1683) (Stephen Morgan)
([#1503](https://github.com/simonmichael/hledger/issues/1503),
[#1615](https://github.com/simonmichael/hledger/issues/1615)) - Various other incremental performance improvements have been made. (Stephen Morgan)
- register with a report interval starting on custom dates - register with a report interval starting on custom dates
(eg: `hledger reg -p "every 15th day of month") now makes the (eg: `hledger reg -p "every 15th day of month") now makes the
@ -125,7 +120,7 @@ Improvements
- Rules for selecting the forecast period (within with --forecast - Rules for selecting the forecast period (within with --forecast
generates transactions) have been tweaked slightly, and generates transactions) have been tweaked slightly, and
some variance between docs and implementation has been fixed. some disagreement between docs and implementation has been fixed.
Now, the forecast period begins on: Now, the forecast period begins on:
- the start date supplied to the `--forecast` argument, if any - the start date supplied to the `--forecast` argument, if any
- otherwise, the later of - otherwise, the later of
@ -138,10 +133,10 @@ Improvements
- otherwise the report end date if specified with -e/-p/date: - otherwise the report end date if specified with -e/-p/date:
- otherwise 180 days (6 months) from today. - otherwise 180 days (6 months) from today.
This is more intuitive in some cases, eg This is more intuitive in some cases. (Eg:
`hledger reg --forecast -b 2020-01-01` on a journal containing `hledger reg --forecast -b 2020-01-01` on a journal containing
only periodic transaction rules will now show forecast transactions only periodic transaction rules now shows forecast transactions
starting from 2020-01-01 (previously they would start from today). starting from 2020-01-01, rather than from today.)
([#1648](https://github.com/simonmichael/hledger/issues/1648), ([#1648](https://github.com/simonmichael/hledger/issues/1648),
[#1665](https://github.com/simonmichael/hledger/issues/1665), [#1665](https://github.com/simonmichael/hledger/issues/1665),
[#1667](https://github.com/simonmichael/hledger/issues/1667), [#1667](https://github.com/simonmichael/hledger/issues/1667),
@ -155,23 +150,23 @@ Fixes
account directives could show wrong balances). account directives could show wrong balances).
(#1698) (Stephen Morgan) (#1698) (Stephen Morgan)
- The `roi` command no longer gives an ugly error in a certain case - aregister now aligns multicommodity amounts properly (broken since 1.21).
with PnL applied on the first day of investment. (Dmitry Astapov) (#1656, Stephen Morgan)
- `balance -E` (and hledger-ui Z) now show zero parent accounts when they should, - `balance -E` (and hledger-ui Z) now correctly show zero parent accounts,
fixing a bug introduced in hledger 1.19. fixing a bug introduced in hledger 1.19.
(#1688) (Stephen Morgan) (#1688) (Stephen Morgan)
- Certain errors in CSV conversion, such as a failing balance assertion, - The `roi` command no longer gives an ugly error in a certain case
were always being reported as line 2. with PnL applied on the first day of investment. (Dmitry Astapov)
- aregister now aligns multicommodity amounts properly (broken since 1.21).
(#1656, Stephen Morgan)
- `--forecast` now generates transactions up to the day before the - `--forecast` now generates transactions up to the day before the
specified report end date (instead of two days before). specified report end date (instead of two days before).
([#1633](https://github.com/simonmichael/hledger/issues/1633), Stephen Morgan) ([#1633](https://github.com/simonmichael/hledger/issues/1633), Stephen Morgan)
- Certain errors in CSV conversion, such as a failing balance assertion,
were always being reported as line 2.
# 1.22.2 2021-08-07 # 1.22.2 2021-08-07
Breaking changes Breaking changes