diff --git a/CHANGES.md b/CHANGES.md index 4a7e92951..a930e5a49 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,7 @@ General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# e7c882598 +# a6cc98521 # 1.27 2022-09-01 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 21dbeee7c..87274bcf0 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,7 +9,48 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# a2be9a0bc +# 603fae70c + +- Hledger.Utils.Debug: clean up/simplify debug helpers. + +- Moved from Hledger.Utils.Debug to Hledger.Utils.Parse: + traceParse + traceParseAt + dbgparse + +- Moved from Hledger.Utils.Debug to Hledger.Utils.Print: + pshow + pshow' + pprint + pprint' + colorOption + useColorOnStdout + useColorOnStderr + outputFileOption + hasOutputFile + +- note changed cost handling in amount arithmetic + +- Hledger.Data.Amount: showMixedAmountOneLine now shows costs + +- Hledger.Read.Common: rename/add amount parsing helpers. + + added: + parseamount + parseamount' + parsemixedamount + parsemixedamount' + + removed: + amountp' + mamountp' + +- Hledger.Utils.Parse: + export customErrorBundlePretty, + for pretty-printing hledger parse errors. + +- Update cabal files to match hpack 0.35/stack 2.9 + # 1.27 2022-09-01 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index c5cfd2728..59b6780c3 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. -# a2be9a0bc +# 9a9ebfc0e Features @@ -27,6 +27,19 @@ Improvements easier to develop and debug. Follow-on from the brick 1.0 migration work (#1889, #1919). +- Debug logging to debug.log now happens at --debug=1 and up, and is more informative. + +- New debug logging helpers in Hledger.Ui.UIUtils: + dbgui + dbguiIO + dbguiEv + dbguiScreensEv + mapScreens + screenId + screenRegisterDescriptions + +- Support (and require) fsnotify 0.4.x + Fixes - Fixed a possible bug with detecting a change of date in --watch mode. diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 3588f8ec1..0727143fe 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,10 +9,9 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. -# a2be9a0bc +# 928cc6d61 -- dev: web: start also tracking manual hledger-web tests - related: #1932 +- add some manual tests to the test suite (#1932) # 1.27.1 2022-09-18 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 781b8dc3f..59697ec41 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,10 +9,25 @@ User-visible changes in the hledger command line tool and library. -# a2be9a0bc +# 603fae70c Features +- The `accounts` command has new flags: `--undeclared` (show accounts used but not declared), `--unused` (show accounts declared but not used), and `--find` (find the first account matched by the first command argument, a convenience for scripts). Also `-u` and `-d` short flags have been added for `--used` and `--declared`. + +- A new CSV rule `intra-day-reversed` helps generate transactions in correct order with CSVs where records are reversed within each day. + +- CSV rules can now correctly convert CSV date-times with a implicit or explicit timezone to dates in your local timezone. Previously, CSV date-times with a different time zone from yours could convert to off-by-one + dates, because the CSV's timezone was ignored. + Now, + + 1. When a CSV has date-times with an implicit timezone different from yours, you can use the `timezone` rule to declare it. + + 2. CSV date-times with a known timezone (either declared by `timezone` or parsed with `%Z`) will be localised to the system timezone + (or to the timezone set with the `TZ` environment variable). + +(#1936) + Improvements - Developer builds made in a dirty working directory (uncommitted changes) @@ -20,6 +35,14 @@ Improvements 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/watchaccounts is a small shell script for watching the account tree as you make changes. + # 1.27.1 2022-09-18 Fixes