From 3f08394c6cb66aa05e316cfac8ef24343d71dc81 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 31 May 2023 22:03:50 -1000 Subject: [PATCH] ;doc: update changelogs --- CHANGES.md | 10 +-- hledger-lib/CHANGES.md | 10 ++- hledger-ui/CHANGES.md | 7 +-- hledger-web/CHANGES.md | 13 ++-- hledger/CHANGES.md | 134 ++++++++++++++++++++++++++++++++++------- 5 files changed, 131 insertions(+), 43 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 113b736d9..06719ac41 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,14 +18,18 @@ Infrastructure General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# e24de8bdc +# 5048c8960 Scripts/addons -- hledger-install: also list installed cabal, stack, pip versions +- hledger-bar: new script for making simple bar charts in the terminal + +- hledger-install: also list cabal, stack, pip tool versions Examples +- examples/csv: added a more up-to-date CSV makefile + - examples/i18: Added sample top level account and type declarations in several languages Docs @@ -34,8 +38,6 @@ Docs - Simplified website and FAQ structure. -Infrastructure - # 1.29.2 2023-04-07 Scripts/addons diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 3abf35abb..3fff4ef2f 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -8,15 +8,17 @@ Breaking changes Misc. changes - +nn --> Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# 1c5dee233 +# d7f039854 Breaking changes +- dropped: Hledger.Data.RawOptions.inRawOpts + Misc. changes - added more terminal size, ANSI style/color helpers in Hledger.Utils.IO @@ -44,7 +46,9 @@ Misc. changes brightCyan' brightWhite' rgb' - + multicol + expandGlob + sortByModTime # 1.29.2 2023-04-07 # 1.29.1 2023-03-16 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index a14358814..9d93fa5cc 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -21,8 +21,7 @@ API User-visible changes in hledger-ui. See also the hledger changelog. -# ad4198b5e -- fix: ui: restore the --menu flag for compatibility +# d146b8350 Features @@ -39,13 +38,11 @@ Improvements - Screens' help footers have been improved. -Fixes - Docs - The transaction screen's inability to update is now noted. -API +- Miscellaneous manual cleanups. # 1.29.2 2023-04-07 diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index b225fd3a4..0d138ed49 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -21,19 +21,16 @@ API User-visible changes in hledger-web. See also the hledger changelog. -# 2bdba319b - -Breaking changes - -Features - -Improvements +# d146b8350 Fixes +- A command line depth limit now works properly. + (#1763) + Docs -API +- Miscellaneous manual cleanups. # 1.29.2 2023-04-07 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 33b5fc14e..3fc496020 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -21,12 +21,73 @@ API User-visible changes in the hledger command line tool and library. -# c2288f814 +# 1382fbc75 Breaking changes +- The CSV reader now properly skips all empty lines, as specified by docs. + Previously, inner empty lines were not being skipped automatically. + You might need to adjust the `skip` count in some CSV rules files. + (#2024) + +- Certain reporting flags now toggle on/off if repeated. (Experimental) + This can be useful for overriding defaults in command line scripts, + since you can now turn a flag off as well as on. The flags which + can be toggled are: + + --invert + --transpose + -r/--related + -%/--percent + -E/--empty + -N/--no-total + -T/--row-total + -A/--average + -S/--sort-amount + +- Timedot format now generates a single multi-posting transaction per + date line, and supports comments and tags on all lines. + (#1754) + +- Timeclock format now supports comments and tags. + Descriptions can no longer contain semicolons. + (#1220) + Features +- CSV rules files can now be read directly, as in + `hledger -f foo.csv.rules CMD`. By default this will read data + from foo.csv in the same directory. + +- CSV rules files can use a new `source FILE` rule to specify the data file, + with some convenience features: + + - If the data file does not exist, it is treated as empty, not an + error. + + - If FILE is a relative path, it is relative to the rules file's + directory. If it is just a file name with no path, it is relative + to `~/Downloads/`. + + - If FILE is a glob pattern, the most recently modified matched file + is used. + + This helps remove some of the busywork of managing CSV downloads. + Most of your financial institutions's default CSV filenames are + different and can be recognised by a glob pattern. So you can put a + rule like `source Checking1*.csv` in foo-checking.csv.rules, + periodically download CSV from Foo's website accepting your browser's + defaults, and then run `hledger import checking.csv.rules` to import + any new transactions. The next time, if you have done no cleanup, your + browser will probably save it as something like Checking1-2.csv, and + hledger will still see that because of the * wild card. You can choose + whether to delete CSVs after import, or keep them for a while as + temporary backups, or archive them somewhere. + (Experimental) + +- The balance command has a new --count report type + which reports posting counts instead of amounts. + - Full boolean queries, allowing arbitrary use of AND, OR, NOT (case insensitive) and parentheses for grouping, are now supported. For backward compatibility, these require an `expr:` prefix. @@ -36,9 +97,16 @@ Features - demo: This new command plays brief asciinema screencasts explaining various features and use cases. We will add more of these over time. + (Experimental) Improvements +- Add-on commands can now have `.js`, `.lua`, or `.php` file extensions. + +- Generated and modified transactions and postings have the same hidden + tags (beginning with underscore) as before, but no longer have visible + tags added by default. Use `--verbose-tags` if you want them added. + - We now try harder to ensure `less` (and its `more` mode) show our ANSI formatting properly in help output. If you use some other $PAGER, you may have to configure it yourself @@ -53,42 +121,62 @@ Improvements and it should produce the desired transaction more often. There is also new debug output (at debug level 1) for troubleshooting. +- Miscellaneous commands list updates. + Help has been added for all published add-on commands (like hledger-lots). + - The help command's documentation now mentions an issue caused by a too-old `info` program, as on mac. (#1770) -- The commands list has been updated. - Fixes +- Unbalanced virtual postings with no amount always infer a zero amount. + This is fixing and clarifying the status quo; they always did this, + but print always showed them with no amount, even with -x, and + the behaviour was undocumented. + +- On windows systems with multiple drive letters, the commands list + could fail to show all installed add-ons. + (#2040) + +- Balancing a transaction with a balance assignment now properly respects costs. + (#2039) + +- The commands list no longer lists non-installed addons. + (#2034) + +- Since hledger 1.25, "every Nth day of month" period rules with N > 28 could + be calculated wrongly by a couple of days when given certain forecast start dates. + Eg `~ every 31st day of month` with `--forecast='2023-03-30..'`. + This is now fixed. + (#2032) + +- Postings are now processed in correct date order when inferring balance assignments. + (#2025) + +- Posting comment lines no longer disrupt the underline position in error messages. + (#1927) + +- Debug output is now formatted to fit the terminal width. + Docs -- fix: rewrite/correct Date adjustment section +- Miscellaneous manual cleanups. -- update command help +- Rewrite introductory sections, + Date adjustment, + Directives, + Forecasting, + etc. -- update manuals +- Add Paging section. -- cli: paging: cleanup - -- close: fix typo - -- cli: add Paging section (#2015) - -- cli: improve 1.29 changelog for the close command (#2020) - -- cli: improve 1.29 changelog for periodic reports/transactions change - -- cli: mention SQLite primary key workaround (fix #2017) - -- update command help - -- update manuals - -- journal: costs: mention sign +- Remove archaic mentions of `setenv`. API +- Renamed: Hledger.Cli.Commands: findCommand -> findBuiltinCommand + # 1.29.2 2023-04-07 Breaking changes