;doc: finalise 1.22.2 changelogs

This commit is contained in:
Simon Michael 2021-08-07 09:27:20 -10:00
parent 2e28c5a1ef
commit 233b8c91cb
4 changed files with 27 additions and 20 deletions

View File

@ -31,7 +31,7 @@ API changes
This is done to be more consistent with future field naming conventions, This is done to be more consistent with future field naming conventions,
and to make automatic generation of lenses simpler. See discussion in and to make automatic generation of lenses simpler. See discussion in
#1545. [#1545](https://github.com/simonmichael/hledger/issues/1545).
rsOpts -> _rsReportOpts rsOpts -> _rsReportOpts
rsToday -> _rsDay rsToday -> _rsDay
@ -103,7 +103,10 @@ Improvements
- MixedAmounts now have a more predictable Ord instance / sort order. - MixedAmounts now have a more predictable Ord instance / sort order.
They are compared in each commodity in turn, with They are compared in each commodity in turn, with
alphabetically-first commodity symbols being most significant. alphabetically-first commodity symbols being most significant.
Missing commodities are assumed to be zero. (#1563, #1564, Stephen Morgan) Missing commodities are assumed to be zero.
([#1563](https://github.com/simonmichael/hledger/issues/1563),
[#1564](https://github.com/simonmichael/hledger/issues/1564),
Stephen Morgan)
As a consequence, all the ways of representing zero with a MixedAmount ([], As a consequence, all the ways of representing zero with a MixedAmount ([],
[A 0], [A 0, B 0, ...]) are now Eq-ual (==), whereas before they were [A 0], [A 0, B 0, ...]) are now Eq-ual (==), whereas before they were
@ -113,11 +116,13 @@ Improvements
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 - Our doctests are disabled with GHC 9 for now to work around an
upstream bug. (#1503, #1615) upstream bug.
([#1503](https://github.com/simonmichael/hledger/issues/1503),
[#1615](https://github.com/simonmichael/hledger/issues/1615))
- Require base >=4.11, prevent red squares on Hackage's build matrix. - Require base >=4.11, prevent red squares on Hackage's build matrix.
# 1.22.2 unreleased # 1.22.2 2021-08-07
- forecast_ has moved from ReportOpts to InputOpts. (Stephen Morgan) - forecast_ has moved from ReportOpts to InputOpts. (Stephen Morgan)
@ -125,7 +130,7 @@ Improvements
This allows us to have a uniform procedure for balancing transactions, This allows us to have a uniform procedure for balancing transactions,
whether they are normal transactions or forecast transactions, including whether they are normal transactions or forecast transactions, including
dealing with balance assignments, balance assertions, and auto postings. dealing with balance assignments, balance assertions, and auto postings.
(#1638, Stephen Morgan) ([#1638](https://github.com/simonmichael/hledger/issues/1638), Stephen Morgan)
# 1.22.1 2021-08-02 # 1.22.1 2021-08-02

View File

@ -21,7 +21,7 @@ Improvements
- Require base >=4.11, prevent red squares on Hackage's build matrix. - Require base >=4.11, prevent red squares on Hackage's build matrix.
# 1.22.2 unreleased # 1.22.2 2021-08-07
- Use hledger 1.22.2. - Use hledger 1.22.2.

View File

@ -23,7 +23,7 @@ Improvements
- Require base >=4.11, prevent red squares on Hackage's build matrix. - Require base >=4.11, prevent red squares on Hackage's build matrix.
# 1.22.2 unreleased # 1.22.2 2021-08-07
- Use hledger 1.22.2. - Use hledger 1.22.2.

View File

@ -18,7 +18,7 @@ Features
the journal's periodic transactions for settinig budget goals. the journal's periodic transactions for settinig 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) ([#1612](https://github.com/simonmichael/hledger/issues/1612))
Improvements Improvements
@ -37,7 +37,7 @@ Improvements
- In JSON output, object attributes are now ordered alphabetically, - In JSON output, object attributes are now ordered alphabetically,
consistently for all GHC and haskell lib versions. consistently for all GHC and haskell lib versions.
(#1618, Stephen Morgan) ([#1618](https://github.com/simonmichael/hledger/issues/1618), Stephen Morgan)
- JSON output now indents with 2 spaces rather than 4. - JSON output now indents with 2 spaces rather than 4.
(Stephen Morgan) (Stephen Morgan)
@ -47,29 +47,31 @@ Improvements
Multi-commodity amounts are sorted by comparing their amounts in Multi-commodity amounts are sorted by comparing their amounts in
each commodity, with alphabetically-first commodity symbols being each commodity, with alphabetically-first commodity symbols being
most significant, and assuming zero when a commodity is missing. most significant, and assuming zero when a commodity is missing.
(#1563, #1564, Stephen Morgan) ([#1563](https://github.com/simonmichael/hledger/issues/1563),
[#1564](https://github.com/simonmichael/hledger/issues/1564), Stephen Morgan)
- The close command now uses the later of today or journal's last day - The close command now uses the later of today or journal's last day
as default closing date, providing more intuitive behaviour when as default closing date, providing more intuitive behaviour when
closing a journal with future transactions. Docs have been improved. closing a journal with future transactions. Docs have been improved.
(#1604) ([#1604](https://github.com/simonmichael/hledger/issues/1604))
Fixes Fixes
- `--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, Stephen Morgan) ([#1633](https://github.com/simonmichael/hledger/issues/1633), Stephen Morgan)
# 1.22.2 unreleased # 1.22.2 2021-08-07
Breaking changes Breaking changes
- aregister no longer hides future transactions by default. - aregister no longer hides future transactions by default.
This is a consequence of the fix for #1638. It makes aregister This is a consequence of the fix for
consistent, so we think it's a reasonable change. [#1638](https://github.com/simonmichael/hledger/issues/1638).
So if you have future-dated transactions in your journal It makes aregister consistent, so we think it's a reasonable change.
which you don't want reported, you now must exclude them with So if you have future-dated transactions in your journal which you
`-e tomorrow` or `date:-tomorrow` in the command, as with other reports. don't want reported, you now must exclude them with `-e tomorrow` or
`date:-tomorrow` in the command, as with other reports.
(Stephen Morgan) (Stephen Morgan)
Improvements Improvements
@ -82,11 +84,11 @@ Fixes
(broken in 1.22.1). (broken in 1.22.1).
Forecast transactions are now generated early and processed Forecast transactions are now generated early and processed
in the same way as other transactions. in the same way as other transactions.
(#1638, Stephen Morgan) ([#1638](https://github.com/simonmichael/hledger/issues/1638), Stephen Morgan)
- aregister preserves the order of same-day transactions again - aregister preserves the order of same-day transactions again
(broken in 1.22.1). (broken in 1.22.1).
(#1642, Stephen Morgan) ([#1642](https://github.com/simonmichael/hledger/issues/1642), Stephen Morgan)
# 1.22.1 2021-08-02 # 1.22.1 2021-08-02