From f7aec96db1a2aa06f46c539622f771e7e91de80c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 7 Mar 2025 21:22:19 -1000 Subject: [PATCH] ;doc:changelogs: cleanups --- CHANGES.md | 40 +++++++-------------------- hledger-lib/CHANGES.md | 5 +++- hledger-ui/CHANGES.md | 8 ++---- hledger-web/CHANGES.md | 5 ++-- hledger/CHANGES.md | 62 ++++++++++++++++++++---------------------- 5 files changed, 49 insertions(+), 71 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 129a46da4..ffed7d51f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,42 +19,27 @@ General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# 2025-03-07 1.42 +# 1.42 2025-03-07 Docs -- new/updated: - ACHIEVEMENTS, - CREDITS, - FINANCE, - MOCKUPS, - REGRESSIONS, - RELEASING, - Scripts +- new/updated: ACHIEVEMENTS, CREDITS, FINANCE, MOCKUPS, REGRESSIONS, RELEASING, Scripts - examples/csv: pooltool-rewards.csv.rule cleanup - examples: some sample hledger run scripts - examples: test files for CSV encoding [#2319] -Scripts/addons - -- hledger-balance-as-budget properly applies commodity styles now. (Dmitry Astapov) - -- hledger-jj is another another easy CLI for tracking hledger files in version control, - using newer tech (jj, ysh) - -- hledger-git: run pass-through commands in the right repo. - -- hledger-git: check for a git repo more robustly. (Lars Kellogg-Stedman) - -- hledger-move: doc edits - -- hledger-script-example.hs: improvements, cleanups - Infrastructure/Misc - Unix bindists in github releases now include the man pages and info manuals. [#2309] -- hledger-install: if installing third party packages fails, try again with bounds relaxed. +- Unix bindists in github releases are now normal .tar.gz files, without the extra zip compression. [#2299] + +- Release notes and install instructions in github releases are now collapsed by default again. + This makes the sequence of dates and releases clearer. + Github automatically expands the assets of the latest release, so those will be visible by default. + For a full text search of all release notes, use the https://hledger.org/relnotes.html page. + +- hledger-install: if installing third party packages fails, it now tries again with bounds relaxed. This makes hledger-iadd and hledger-interest more likely to install successfully, even if their bounds have not yet been updated for a new hledger release. @@ -62,11 +47,6 @@ Infrastructure/Misc (It does not force recompilation of already compiled modules, but even so this should help catch more warnings before pushing them to CI.) -- In github releases, both release notes and platform binary install docs are now collapsed by default again. - This makes the sequence of dates and releases clearer. - Github automatically expands the assets of the latest release, so those will be visible by default. - For a full text search of all release notes, the release notes page on hledger.org is still available. - - new/changed recipes/tools: bench*.sh, changelogs-catchup, diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index f7e40d83f..21b1fe8a3 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -22,12 +22,14 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 2025-03-07 1.42 +# 1.42 2025-03-07 Improvements - readJournal, when not given a file name, now always assumes it is "-" rather than "(string)". [#2328] +- Reader's rReadFn has changed type (for the new CSV text encoding feature); + it now takes a `Handle` rather than a `Text`, allowing more flexibility. - Make test/unittest.hs more buildable; remove PackageImports that was causing trouble for ghci. (Thomas Miedema, [#2337]) @@ -39,6 +41,7 @@ Improvements - Added: dropRawOpt, cliOptsDropArgs - Hledger.Data.Amount: showAmountCost(B) now drops leading whitespace. + # 1.41 2024-12-09 Breaking changes diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 1c07839c8..e4bbfff4c 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -22,21 +22,17 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 2025-03-07 1.42 +# 1.42 2025-03-07 Fixes -- `a` key: don't pass initial CLI arguments to `add`. [#2313] +- Startup arguments provided at the CLI are no longer passed to `add` when pressing the `a` key. [#2313] Improvements - Allow vty 6.3. - - Allow brick 2.8. -Docs - -- Manual: remove obsolete mentions of COLUMNS. [#2340] # 1.41 2024-12-09 diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 913794518..cf3e32649 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -22,11 +22,12 @@ User-visible changes in hledger-web. See also the hledger changelog. -# 2025-03-07 1.42 +# 1.42 2025-03-07 Fixes -- Fix a test suite build issue: -threaded is needed in test suite now also. +- Fix a test suite build issue: build it with -threaded. + # 1.41 2024-12-09 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index cefe07427..d8e7cb5c0 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -23,7 +23,7 @@ API User-visible changes in the hledger command line tool and library. -# 2025-03-07 1.42 +# 1.42 2025-03-07 Fixes @@ -34,7 +34,7 @@ Fixes - In the balance command's HTML output, -H/--historical now suppresses the total heading. -- print --help now shows the right default for --round. [#2318] +- print --help now shows the correct default for --round. [#2318] - close --infer-costs no longer implies the -x/--explicit flag. [#1826] @@ -65,52 +65,48 @@ Features - hledger can now read CSV/SSV/TSV data in encodings other than UTF8, using the new `encoding` CSV rule. (Joschua Kesper, [#2319]) -- `if` matchers in CSV rules now allow multiple matchers to be combined on the same line, +- `if` matchers in CSV rules can now be combined on the same line, separated by `&&` (AND) or `&& !` (AND NOT). This makes `if` tables more expressive. Examples: - if %description amazon && %date 2025-02-22 - account2 expenses:books + if %description amazon && %date 2025-02-22 + account2 expenses:books - if,account2 - %description amazon && %date 2025-02-22, expenses:books + if,account2 + %description amazon && %date 2025-02-22, expenses:books - For consistency, the next-line `&` operator may now also be written as `&&`. + The next-line `&` operator also may now be written as `&&`, for consistency. (Thomas Miedema, [#2333]) Improvements -- Two more file extensions are now recognised as possible hledger addon - commands: `.osh` and `.ysh`. +- Terminal width is now detected more robustly, using the POSIX API. + This means that register commands will more reliably use the proper terminal width, + eg when $TERM or $COLUMNS do not have a correct value, and on Windows. + hledger no longer uses $COLUMNS. + (gesh, [#2332], [#2340]) -- Terminal width is now detected more robustly by using the POSIX API. - This means eg that register commands use the proper terminal width in more environments, - eg when $TERM or $COLUMNS do not have a correct/up-to-date value, and on Windows. - hledger no longer uses COLUMNS. - (gesh, [#2332, #2340]) - -- The print command now supports the --invert flag. [#2314] +- Error messages (first line) in the terminal are now shown in red (and bold), + and warning messages are shown in yellow, + when ANSI codes are supported and permitted. - --pivot can now also pivot on amount quantity (`amt`), amount cost (`cost`), and/or commodity symbol (`comm` or `cur`). -- imp:close: omit file extension from tag value +- The close command's --migrate flag has been renamed to `--clopen`. + The start: tag has been renamed to `clopen:`, + and its default value now excludes the new file's extension. + And close --assign's tag has been renamed to `assign:`. -- close --migrate has been renamed to close --clopen. - -- The close command's start: tag has been renamed to `clopen:`. - And its default value now excludes the file extension. - -- close --assign's tag has been renamed to `assign:`. +- The print command now supports the --invert flag. [#2314] - The roi command is now faster: it no longer checks every day with P directive, and the "one period per report interval" case has been optimised. (Dmitry Astapov) -- Error messages (first line) in the terminal are now shown in red (and bold), - and warning messages are shown in yellow, - when ANSI codes are supported and permitted. +- Two more file extensions are now recognised as possible hledger addon + commands: `.osh` and `.ysh`. Docs @@ -131,14 +127,16 @@ Docs Scripts/addons -API +- hledger-balance-as-budget properly applies commodity styles now. (Dmitry Astapov) -- Reader's rReadFn has changed type (for the new CSV text encoding feature); - it now takes a `Handle` rather than a `Text`, allowing more flexibility. +- hledger-git now runs pass-through git commands in the right repo. -- lib: add dropRawOpt, cliOptsDropArgs +- hledger-git now checks for a git repo more robustly. (Lars Kellogg-Stedman) -- lib: showAmountCost(B): drop leading whitespace +- hledger-jj is another another easy CLI for tracking hledger files in version control, + using newer tech (jujutsu and oil shell's ysh). + +- hledger-script-example.hs has had some cleanup. # 1.41 2024-12-09