From 325aa15f74032f1e64859dcffbc9ed891e46fddb Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 8 Mar 2021 15:14:47 -0800 Subject: [PATCH] ;doc: restore changelogs up to a5f9f8ce0 --- CHANGES.md | 54 +++++++++++++++++++++++++++++++++++++++ hledger-lib/CHANGES.md | 57 +++++++++++++++++++++++++++++++++++++++++ hledger-ui/CHANGES.md | 2 ++ hledger-web/CHANGES.md | 2 ++ hledger/CHANGES.md | 58 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 173 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index b07b6edd0..635da5ae6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,60 @@ General project-related changes and major/notable all-package releases. For package-specific changes and minor releases, see the package changelogs. +# a5f9f8ce0 + +- doc: merge file format manuals into the hledger manual + Also flatten the journal manual topics a bit. + +- doc: rewrite commands intro + +- bin: switch to "runghc", drop "env -S" (#1453) + env -S isn't a thing on linux of course. Go back to using standard + env, which means using a stack options line, which means not using + "ghc". This new setup is probably simpler anyway. I've just had to + give up on the goal of having each script's required packages being + defined in one place; now (to they extent they are required) they + must be defined both in the script header and in compile.sh. + + (cherry picked from commit 32ccbba8050a26d09eb0fa8fdbc2c4b7ffe4f44c) + +- bin: switch scripts to "stack ghc" and "env -S" (#1453) + Using stack's script command meant that the scripts needed to be + compatible, and regularly tested, with a hledger release in stackage, + rather than the latest hledger source. This created hassles for + maintainers, contributors and sometimes for users. + + To simplify things overall, we now require script users to check out + the hledger source tree and run the scripts (or, bin/compile.sh) from + there once so they compile themselves. Some notes on alternative + setups are included (in one of the scripts, and referenced by the + others). This ensures that users and our CI tests are building scripts + the same way. + + Current stack does not allow a stack options line to be used with the + "stack ghc" command, unfortunately, so instead we are using env's -S + flag, which hopefully has sufficiently wide support by now, and + putting all arguments in the shebang line. + + This method will probably require complete explicit --package options, + unlike "stack script", so more testing and tweaking is expected. + Probably we're going to end up with some long shebang lines. + + This isn't pretty but seems like a possible way to keep things + manageable. + + (cherry picked from commit 2db87333d702d27ee45d8089ad4ad189bcb50cf2) + +- ci: really add addon-building tests to CI (#1453) + (cherry picked from commit 3ae6cf3200fad46cfbfa15c89e6d06dac309d76c) + +- ci: also test compilation of bin/ add-on scripts + (cherry picked from commit 06b466d847c46dc384cdef95658dade68111b173) + +- bin: Update bin scripts for current hledger-lib. (Stephen Morgan) + (cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7) + (cherry picked from commit a64d1aa6d0bcaf643bbe2607238026b4d26a3637) + # 1.20.4 2021-01-29 # 1.20.3 2021-01-14 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 4573dc2b8..72e08a10f 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -1,6 +1,63 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. +# a5f9f8ce0 + +- Removed: + valuationTypeIsCost + valuationTypeIsDefaultValue + ValuationType's AtDefault constructor + +- Changed: + *ApplyValuation functions take two less arguments + +- journal: allow commodity directive to set style of no-symbol commodity (#1461) + (cherry picked from commit c5571f6468ab11ffe3cd3f86a86f0b3253be10d1) + (cherry picked from commit 034c317496e99271ebabc53af112ad88e054b7ab) + +- lib: Calculate value at posting date for register --value=then -M. (Stephen Morgan) + +- bin: Update bin scripts for current hledger-lib. (Stephen Morgan) + (cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7) + (cherry picked from commit a64d1aa6d0bcaf643bbe2607238026b4d26a3637) + +- lib,cli: Revert --value=end PeriodChange behaviour to hledger-1.19, i.e. calculating the value of the change, rather than the change of the value. (Stephen Morgan) + +- new price search that really finds the shortest path (#1443) + This one should also reliably prevent runaway searches in the event of more bugs, giving up after 1000 iterations. + + (cherry picked from commit 3d7d5c0db7509299acf3d33530728f834345959a) + +- lib: valuation: simplify price search code + This version tries counting recursions instead of path length, but I + think they are the same. + + (cherry picked from commit 7c9303a15c64859f11aec8fa75546793827e3086) + +- lib: valuation: don't hang when finding prices (fixes #1439) + Searching for prices during valuation no longer now properly excludes + price loops, avoiding near infinite looping with certain + configurations of market prices. Also we now always use a direct price + when available, rather than searching unnecessarily. + + Price searching progress info, useful for troubleshooting, is now + displayed with --debug=2. + + There could still be some corner cases we don't handle correctly. We + now give up with an error message if the searched price chains get too + long (> 1000). More importantly, we should also give up if the search + iterates too many times, but this is not done yet. + + (cherry picked from commit 73678393b1ec9ea414d798ade9da6e5666c079c2) + +- journal: Ignore AUTO commodity when strict checking (aragaer) + AUTO commodity is a placeholder for postings with missing amounts. It + should be ignored when doing a strict commodity check. + + Fixes #1419 + + (cherry picked from commit 2084b845e09d2249a5d0e120805798730eeb4b6d) + # 1.20.4 2021-01-29 - See hledger. diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index a9cee9b0b..cfd9021b5 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -1,6 +1,8 @@ User-visible changes in hledger-ui. See also the hledger changelog. +# a5f9f8ce0 + # 1.20.4 2021-01-29 - ui: register: show all txns in/under an account at the depth limit (#1468). diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index db3f2f64b..60c344a42 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -1,6 +1,8 @@ User-visible changes in hledger-web. See also the hledger changelog. +# a5f9f8ce0 + # 1.20.4 2021-01-29 - Use hledger 1.20.4. diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 0516898ec..69d731479 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -1,6 +1,64 @@ User-visible changes in the hledger command line tool and library. +# a5f9f8ce0 + +- The --help/-h and --version flags are no longer position-sensitive; + if there is a command argument, they now always refer to the command + (where applicable). + +- The new --info flag opens the hledger info manual, if "info" is in $PATH. + "hledger COMMAND --info" will open COMMAND's info node. + +- The new --man flag opens the hledger man page, if "man" is in $PATH. + "hledger COMMAND --man" will scroll the page to CMD's section, if "less" + is in $PATH. (We force the use of "less" in this case, overriding any + $PAGER or $MAN_PAGER setting.) + +- help: show only the hledger manual + +- help: replace --info/--man/--pager flags with -i/-m/-p; drop --cat + +- help: with a TOPIC argument, it will open the manual at TOPIC + (any heading or heading prefix, case insensitive) if possible + (cf --man/--info). + +- drop deprecated command aliases: a, b, p, r, txns + +- hide deprecated command alias: equity + +- doc: merge file format manuals into the hledger manual + Also flatten the journal manual topics a bit. + +- doc: sync/update manual & cli command lists + +- doc: reorganise/flatten hledger manual, rewrite commands section + +- Valuation has changed: -V is now always equivalent to --value=end. (Stephen Morgan) + +- Include empty columns in MultiBalanceReports. (Stephen Morgan) + This was previously done for CompoundBalanceReport and when --empty was + called; this makes the behaviour consistent. + +- Include market price directives when calculating journal end date. (Stephen Morgan) + +- lib: Calculate value at posting date for register --value=then -M. (Stephen Morgan) + +- lib: better message when roi fails to value commodity, fixes #1446 (Dmitry Astapov) + (cherry picked from commit 9869624c5c42751dac5b431827b2fb368da43070) + +- cli,csv: Fix --drop option in csv output format (aragaer) + (cherry picked from commit 7bde3345b89422c21ffee6f61712c8c225bc9577) + +- lib,cli: Revert --value=end PeriodChange behaviour to hledger-1.19, i.e. calculating the value of the change, rather than the change of the value. (Stephen Morgan) + +- test: Update for tests failing now that it's 2021. (Stephen Morgan) + +- new price search that really finds the shortest path (#1443) + This one should also reliably prevent runaway searches in the event of more bugs, giving up after 1000 iterations. + + + # 1.20.4 2021-01-29 - aregister: ignore a depth limit, as in 1.19 (#1468).