diff --git a/CHANGES.md b/CHANGES.md index a930e5a49..ec8f70d37 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,23 @@ General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# a6cc98521 +# f4831533b + +Docs + +- Miscellaneous improvements. + +Examples + +- Indian National Pension Service CSV rules (Pranesh Prakash) + +Infrastructure + +- make site-watch: switch from entr to watchexec. + +- make hoogle-setup, hoogle-serve: run a local hoogle on hledger code. + +- make man-watch-PROG: watch a hledger program's man page as source files change. # 1.27 2022-09-01 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 87274bcf0..7cd2d7b15 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,9 +9,12 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 603fae70c +# 66b51472f -- Hledger.Utils.Debug: clean up/simplify debug helpers. +- Hledger.Utils.Debug's debug logging helpers have been unified. + The "trace or log" functions log to stderr by default, or to a file + if ",logging" is appended to the program name (using withProgName). + The debug log file is PROGNAME.log (changed from debug.log). - Moved from Hledger.Utils.Debug to Hledger.Utils.Parse: traceParse @@ -29,9 +32,12 @@ For user-visible changes, see the hledger package changelog. outputFileOption hasOutputFile -- note changed cost handling in amount arithmetic +- Rename Hledger.Utils.Print -> Hledger.Utils.IO, consolidate utils there. -- Hledger.Data.Amount: showMixedAmountOneLine now shows costs +- Hledger.Utils cleaned up. + +- Hledger.Data.Amount: showMixedAmountOneLine now also shows costs. + Note that different costs are kept separate in amount arithmetic. - Hledger.Read.Common: rename/add amount parsing helpers. @@ -49,6 +55,10 @@ For user-visible changes, see the hledger package changelog. export customErrorBundlePretty, for pretty-printing hledger parse errors. +- Support megaparsec 9.3. (Felix Yan) + +- Support GHC 9.4. + - Update cabal files to match hpack 0.35/stack 2.9 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 86d20276f..43e0653c7 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -9,20 +9,47 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 9a9ebfc0e +# 66b51472f Features -- A new balance sheet accounts screen, and income statement - accounts screen, and top-level menu screen have been added. +- New "Balance sheet accounts" and "Income statement accounts" screens have been added, + along with a new top-level "Menu" screen for navigating between these and the + "All accounts" screen. + +- hledger-ui now starts in the "Balance sheet accounts" screen by default + (unless no asset/liability/equity accounts can be detected, + or command line account query arguments are provided). + This provides a more useful default view than the giant "All accounts" list. + Or, you can force a particular starting screen with the new --menu/--all/--bs/--is flags + (eg, `hledger-ui --all` to replicate the old behaviour). Improvements +- The ENTER key is equivalent to RIGHT for navigation. + +- hledger-ui debug output is now always logged to ./hledger-ui.log rather than the console, + --debug with no argument is equivalent to --debug=1, + and debug output is much more informative. + +- Support GHC 9.4. + +- Support megaparsec 9.3 (Felix Yan) + +- Support (and require) brick 1.5, fsnotify 0.4.x. + +Fixes + +- Mouse-clicking in empty space below the last list item no longer navigates + back. It was too obtrusive, eg when you just want to focus the window. You can still navigate back with the mouse by clicking the left edge of the window. + +- A possible bug with detecting change of date while in --watch mode has been fixed. + +API + - hledger-ui's internal types have been changed to allow fewer invalid states and make it easier to develop and debug. (#1889, #1919). -- Debug logging has been improved, with much more informative output to debug.log (and is now enabled at debug level 1+, not 2+). - - Debug logging helpers have been added and cleaned up in Hledger.Ui.UIUtils: dbgui dbguiIO @@ -32,15 +59,6 @@ Improvements screenId screenRegisterDescriptions -- Support (and require) fsnotify 0.4.x - -Fixes - -- Mouse-clicking in empty space below the last list item no longer navigates - back. It was too obtrusive, eg when you just want to focus the window. You can still navigate back with the mouse by clicking the left edge of the window. - -- A possible bug with detecting change of date while in --watch mode has been fixed. - # 1.27.1 2022-09-18 - Uses hledger-1.27.1 diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 0727143fe..db0ba88d2 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,9 +9,15 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. -# 928cc6d61 +# 66b51472f -- add some manual tests to the test suite (#1932) +Improvements + +- --debug with no argument is now equivalent to --debug=1. + +- Allow megaparsec 9.3 (Felix Yan) + +- Support GHC 9.4 # 1.27.1 2022-09-18 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 59697ec41..e6d86965a 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,7 +9,7 @@ User-visible changes in the hledger command line tool and library. -# 603fae70c +# 66b51472f Features @@ -30,16 +30,28 @@ Features Improvements +- print --match now respects -o and -O. + +- print --match now returns a non-zero exit code when there is no acceptable match. + - Developer builds made in a dirty working directory (uncommitted changes) now show a plus sign (+) in --version output. +- Support megaparsec 9.3. (Felix Yan) + +- Support GHC 9.4. + Fixes - In CSV rules, when assigning a parenthesised account name to `accountN`, extra whitespace is now ignored, allowing unbalanced postings to be detected correctly. Scripts/addons -- bin/hledger-move helps record transfers involving subaccounts and costs, eg when withdrawing some or all of an investment balance containing many lots and costs. +- bin/hledger-move helps record transfers involving subaccounts and costs, + eg when withdrawing some or all of an investment balance containing many lots and costs. + +- bin/hledger-git no longer uses the non-existent git record command. + (#1942) (Patrick Fiaux) - bin/watchaccounts is a small shell script for watching the account tree as you make changes.