diff --git a/CHANGES.md b/CHANGES.md index 03bc235f6..b53012dd5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,12 @@ General changes in the hledger project (and notable all-package releases). For package-specific changes and minor releases, see the hledger package changelogs. -# fa3ce17fd +# 40c1f09b8 + +- shake: changelogs: A leading semicolon now means + "skip most CI steps", not "omit from changelog". + +- ci: most steps are skipped if commit message begins with ;. - New examples: systemd and nginx configs for hledger-web (Alan Young) diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 65a218fb9..8547d9495 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,7 +9,52 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 861c34484 +# d2b799a71 + +- lib!: Rename the fields of ReportSpec. (Stephen Morgan) + This is done to be more consistent with future field naming conventions, + and to make automatic generation of lenses simpler. See discussion in + #1545. + + rsOpts -> _rsReportOpts + rsToday -> _rsDay + rsQuery -> _rsQuery + rsQueryOpts -> _rsQueryOpts + +- lib!: lib: Remove aismultiplier from Amount. (Stephen Morgan) + In Amount, aismultiplier is a boolean flag that will always be False, + except for in TMPostingRules, where it indicates whether the posting + rule is a multiplier. It is therefore unnecessary in the vast majority + of cases. This posting pulls this flag out of Amount and puts it into + TMPostingRule, so it is only kept around when necessary. + + This changes the parsing of journals somewhat. Previously you could + include an * before an amount anywhere in a Journal, and it would + happily parse and set the aismultiplier flag true. This will now fail + with a parse error: * is now only acceptable before an amount within an + auto posting rule. + + Any usage of the library in which the aismultiplier field is read or set + should be removed. If you truly need its functionality, you should + switch to using TMPostingRule. + + This changes the JSON output of Amount, as it will no longer include + aismultiplier. + +- lib!: lib,cli,ui,web: For accountTransactionsReport, generate the overall reportq from the ReportSpec, rather than being supplied as a separate option. (Stephen Morgan) + This is the same approach used by the other reports, e.g. EntryReport, + PostingReport, MultiBalanceReport. This reduces code duplication, as + previously the reportq had to be separately tweaked in each of 5 + different places. + + If you call accountTransactionreport, there is no need to separately + derive the report query. + +- lib!: lib,web: Remove unused TransactionReport. Move the useful utility functions to AccountTransactionsReport. (Stephen Morgan) + If you use transactionsReport, you should either use entryReport if you + don't require a running total, or using accountTransactionsReport with + thisacctq as Any or None (depending on what you want included in the + running total). - Our doctests are disabled with GHC 9 for now to work around an upstream bug. (#1503, #1615) diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index bf181f856..42ff2b53d 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. -# 9aac520ed +# b0aa70b27 Improvements diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index c1485dd26..ab8d8cf97 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. -# 9aac520ed +# b0aa70b27 Improvements diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 43d648960..98a20f114 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,7 +9,15 @@ User-visible changes in the hledger command line tool and library. -# 9701e1916 +# 8ae42873c + +Features + +- 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. + This makes it possible to keep multiple named budgets in one journal, + and select the one you want with --budget's argument. (#1612) Improvements @@ -23,6 +31,8 @@ Improvements consistently for all GHC and haskell lib versions. (#1618, Stephen Morgan) +- JSON output now indents with 2 spaces rather than 4. (Stephen Morgan) + - roi docs now discuss how to quote multi-word queries. (#1609, Dmitry Astapov)