From 651d584bb02d701e49ea14953fa6feb11528c148 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 29 Aug 2022 23:34:13 +0100 Subject: [PATCH] ;doc: update changelogs --- CHANGES.md | 41 ++++++++++++---------- hledger-lib/CHANGES.md | 51 ++++++++++++++++++++++----- hledger-ui/CHANGES.md | 10 +++++- hledger-web/CHANGES.md | 20 ++++++++++- hledger/CHANGES.md | 80 ++++++++++++++++++++++++++++++++++++++---- 5 files changed, 167 insertions(+), 35 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 93980928d..cdfb0dd09 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,36 +9,41 @@ General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# 38431b5c6 - -Scripts/addons - -- install: 1.26.1 - -- install: hledger-stockquotes 0.1.2.1 - -- install: hledger-interest 1.6.4 - -- bin: paypaljson, paypaljson2csv - download txns from paypal API +# 991e5a836 Docs -- CREDITS.html -> CREDITS.md (Pranesh Prakash) - Corrected the extension for the CREDITS file. +- https://hledger.org/ERRORS.html - an overview of hledger's error messages. + +- New template for github releases, with improved install instructions for binaries. + +- Add modern windows binary install instructions. (Lazar Lazarov, Simon Michael) + +- Fix tables of contents in developer documentation. (Alex Hirzel) + +- Update ACHIEVEMENTS. (Alex Hirzel) + +- Corrected the extension for the CREDITS file. (Pranesh Prakash) + +- Fix broken link in bin/README.md. (David D Lowe) Examples -- examples/csv: add example for capital one credit cards [ci skip] (max thomas) +- Add example for capital one credit cards CSV. (max thomas) Process -- tools: make ghci-unit-test +- Revive github projects, set up http://projects.hledger.org shortcut url -- shake: fix page TOC rendering (with mdbook-toc 0.8+ ?) +- Many cleanups and improvements to the CI test and binary-generating + github actions. The CI tests for master now also include + hledger-lib's doctests. -- ci: consistent workflow and file names +- All packages now disallow name shadowing in their code. -- ci: run all main workflows on push to "binaries" +- make scc gives a modern report of code line counts. + +- make ghci-unit-test loads hledger-lib unit tests in GHCI. # 1.26 2022-06-04 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index e85c86fa1..6b92108b9 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,19 +9,54 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 7be94cf50 +# 6d4563001 -- imp: balanced, balancednoautoconversion: use new error format (#1436) +Breaking changes -- imp: balance assertions now use new error format (#1436) +- Support for GHC 8.6 and 8.8 has been dropped. + hledger now requires GHC 8.10 or newer. -- imp: bal: budget goals now respect -H (#1879) +- Hledger.Data.Amount: `amount` has been dropped; use `nullamt` instead. -- fix: bal: Allow cumulative gain and valuechange reports (Stephen Morgan) - Previously, --cumulative with --gain or --valuechange would produce an - empty report. This fixes this issue to produce a reasonable report. +- journal*AccountQuery functions have been dropped; use a type: query instead. + cbcsubreportquery no longer takes Journal as an argument. + (#1921) -- imp: lib: Hledger.Utils.Parse: export HledgerParseErrors +Misc. changes + +- Hledger.Utils.Debug now re-exports Debug.Breakpoint from the + breakpoint library, so that breakpoint's helpers can be used easily + during development. + +- Hledger.Utils.Debug: + dlog has been replaced by more reliable functions for debug-logging + to a file (useful for debugging TUI apps like hledger-ui): + + dlogTrace + dlogTraceAt + dlogAt + dlog0 + dlog1 + dlog2 + dlog3 + dlog4 + dlog5 + dlog6 + dlog7 + dlog8 + dlog9 + +- Hledger.Utils.Debug: pprint' and pshow' have been added, + forcing monochrome output. + +- Hledger.Utils.String: add quoteForCommandLine + +- Hledger.Data.Errors: export makeBalanceAssertionErrorExcerpt + +- Hledger.Utils.Parse: export HledgerParseErrors + +- Debug logging from journalFilePath and the include directive will + now show "(unknown)" instead of an empty string. # 1.26.1 2022-07-11 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 5a85589fd..ae1788024 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -9,7 +9,15 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 7be94cf50 +# b46cb8a7f + +Improvements + +- At --debug=2 and up, log debug output to ./debug.log. + +- Use/require brick 1.0+. (#1889) + +- Use hledger 1.27 # 1.26.1 2022-07-11 diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 505928bd0..101597ea9 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,8 +9,26 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. -# 7be94cf50 +# c97e05e0d +Improvements + +- Improve the add form's layout and space usage. + +- Pre-fill the add form's date field. + +- Highlight today in the add form's date picker. + +- Focus the add form's description field by default. + +- Allow an empty description in the add form. + +- Use hledger 1.27 + +Fixes + +- Respect the add form's file selector again. + (Simon Michael, Kerstin, #1229) # 1.26.1 2022-07-11 - Uses hledger 1.26.1. diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 133f43144..5d783c4b1 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,31 +9,97 @@ User-visible changes in the hledger command line tool and library. -# 7be94cf50 - -Breaking changes +# b46cb8a7f Features +- `hledger check recentassertions` (and flycheck-hledger in Emacs if + you enable this check) requires that all balance-asserted accounts + have a balance assertion within 7 days before their latest posting. + + This helps remind you to not only record transactions, but also to + regularly check account balances against the real world, to catch + errors sooner and avoid a time-consuming hunt. + +- The --infer-costs general flag has been added, as the inverse + operation to --infer-equity. --infer-costs detects commodity + conversion transactions which have been written with equity + conversion postings (the traditional accounting notation) and adds + PTA cost notation (@@) to them (allowing cost reporting). + See https://hledger.org/hledger.html#equity-conversion-postings . + (Stephen Morgan) + Improvements -- imp: balanced, balancednoautoconversion: use new error format (#1436) +- Many error messages have been improved. Most error messages now use + a consistent, more informative format. + (#1436) -- imp: balance assertions now use new error format (#1436) +- The accounts command has a new --directives flag which makes it + show valid account directives which you can paste into a journal. -- imp: bal: budget goals now respect -H (#1879) +- The accounts command has a new --positions flag which shows where + accounts were declared, useful for troubleshooting. + (#1909) + +- Bump lower bounds for Diff and githash. (Andrew Lelechenko) + +- GHC 8.6 and 8.8 are no longer supported. Building hledger now + requires GHC 8.10 or greater. Fixes -- fix: bal: Allow cumulative gain and valuechange reports (Stephen Morgan) +- Account display order is now calculated correctly even when accounts + are declared in multiple files. + (#1909) + +- At --debug 5 and up, account declarations info is logged. + (#1909) + +- hledger aregister and hledger-ui now show transactions correctly + when there is a type: query. + (#1905) + +- bal: Allow cumulative gain and valuechange reports. Previously, --cumulative with --gain or --valuechange would produce an empty report. This fixes this issue to produce a reasonable report. + (Stephen Morgan) + +- bal: budget goal amounts now respect -c styles (fixes #1907) + +- bal: budget goals now respect -H (#1879) + +- bal: budget goals were ignoring rule-specified start date + +- bal: Allow cumulative gain and valuechange reports (Stephen Morgan) + Previously, --cumulative with --gain or --valuechange would produce an + empty report. This fixes this issue to produce a reasonable report. + +- cs/bs/is: Fixed non-display of child accounts when there is an + intervening account of another type. + (#1921) (Stephen Morgan) + +- roi: make sure empty cashflows are skipped when determining first cashflow (Charlotte Van Petegem) + Empty cashflows are added when the begin date of the report is before the first + transaction. + +Scripts/addons + +- https://hledger.org/scripts.html - an overview of scripts and addons in bin/. + +- paypaljson, paypaljson2csv - download txns from paypal API + +- hledger-check-postable.hs - check that no postings are made to accounts with a postable:(n|no) tag + +- hledger-addon-example.hs - script template + # 1.26.1 2022-07-11 - require safe 0.3.19+ to avoid deprecation warning # 1.26 2022-06-04 + Improvements - `register` and `aregister` have been made faster, by