Skip to content

Commit 4e3dc13

Browse files
committed
;doc: edit changelogs
1 parent ce457be commit 4e3dc13

File tree

5 files changed

+41
-101
lines changed

5 files changed

+41
-101
lines changed

CHANGES.md

+4-46
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,11 @@ General project-related changes and major/notable all-package releases.
22
For package-specific changes and minor releases, see the package changelogs.
33

44
# 1.20.3 2021-01-14
5-
- bin: switch to "runghc", drop "env -S" (#1453)
6-
env -S isn't a thing on linux of course. Go back to using standard
7-
env, which means using a stack options line, which means not using
8-
"ghc". This new setup is probably simpler anyway. I've just had to
9-
give up on the goal of having each script's required packages being
10-
defined in one place; now (to they extent they are required) they
11-
must be defined both in the script header and in compile.sh.
12-
13-
(cherry picked from commit 32ccbba8050a26d09eb0fa8fdbc2c4b7ffe4f44c)
14-
15-
- bin: switch scripts to "stack ghc" and "env -S" (#1453)
16-
Using stack's script command meant that the scripts needed to be
17-
compatible, and regularly tested, with a hledger release in stackage,
18-
rather than the latest hledger source. This created hassles for
19-
maintainers, contributors and sometimes for users.
20-
21-
To simplify things overall, we now require script users to check out
22-
the hledger source tree and run the scripts (or, bin/compile.sh) from
23-
there once so they compile themselves. Some notes on alternative
24-
setups are included (in one of the scripts, and referenced by the
25-
others). This ensures that users and our CI tests are building scripts
26-
the same way.
27-
28-
Current stack does not allow a stack options line to be used with the
29-
"stack ghc" command, unfortunately, so instead we are using env's -S
30-
flag, which hopefully has sufficiently wide support by now, and
31-
putting all arguments in the shebang line.
32-
33-
This method will probably require complete explicit --package options,
34-
unlike "stack script", so more testing and tweaking is expected.
35-
Probably we're going to end up with some long shebang lines.
36-
37-
This isn't pretty but seems like a possible way to keep things
38-
manageable.
39-
40-
(cherry picked from commit 2db87333d702d27ee45d8089ad4ad189bcb50cf2)
41-
42-
- ci: really add addon-building tests to CI (#1453)
43-
(cherry picked from commit 3ae6cf3200fad46cfbfa15c89e6d06dac309d76c)
44-
45-
- ci: also test compilation of bin/ add-on scripts
46-
(cherry picked from commit 06b466d847c46dc384cdef95658dade68111b173)
47-
48-
- bin: Update bin scripts for current hledger-lib. (Stephen Morgan)
49-
(cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7)
50-
(cherry picked from commit a64d1aa6d0bcaf643bbe2607238026b4d26a3637)
515

6+
- The run/compile instructions for add-on scripts in bin/ have been
7+
updated. The scripts now use `stack runghc` and are tested (manually
8+
with `make functest` for now) with the corresponding hledger source,
9+
not the hledger on stackage.
5210

5311
# 1.20 2020-12-05
5412
- examples: clean up & add more budgeting examples

hledger-lib/CHANGES.md

+2-45
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,11 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages.
22
For user-visible changes, see the hledger package changelog.
33

44
# 1.20.3 2021-01-14
5-
- journal: allow commodity directive to set style of no-symbol commodity (#1461)
6-
(cherry picked from commit c5571f6468ab11ffe3cd3f86a86f0b3253be10d1)
7-
(cherry picked from commit 034c317496e99271ebabc53af112ad88e054b7ab)
85

9-
- lib: Calculate value at posting date for register --value=then -M. (Stephen Morgan)
10-
11-
- bin: Update bin scripts for current hledger-lib. (Stephen Morgan)
12-
(cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7)
13-
(cherry picked from commit a64d1aa6d0bcaf643bbe2607238026b4d26a3637)
14-
15-
- 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)
16-
17-
- new price search that really finds the shortest path (#1443)
18-
This one should also reliably prevent runaway searches in the event of more bugs, giving up after 1000 iterations.
19-
20-
(cherry picked from commit 3d7d5c0db7509299acf3d33530728f834345959a)
21-
22-
- lib: valuation: simplify price search code
23-
This version tries counting recursions instead of path length, but I
24-
think they are the same.
25-
26-
(cherry picked from commit 7c9303a15c64859f11aec8fa75546793827e3086)
27-
28-
- lib: valuation: don't hang when finding prices (fixes #1439)
29-
Searching for prices during valuation no longer now properly excludes
30-
price loops, avoiding near infinite looping with certain
31-
configurations of market prices. Also we now always use a direct price
32-
when available, rather than searching unnecessarily.
33-
34-
Price searching progress info, useful for troubleshooting, is now
35-
displayed with --debug=2.
36-
37-
There could still be some corner cases we don't handle correctly. We
38-
now give up with an error message if the searched price chains get too
39-
long (> 1000). More importantly, we should also give up if the search
40-
iterates too many times, but this is not done yet.
41-
42-
(cherry picked from commit 73678393b1ec9ea414d798ade9da6e5666c079c2)
43-
44-
- journal: Ignore AUTO commodity when strict checking (aragaer)
45-
AUTO commodity is a placeholder for postings with missing amounts. It
46-
should be ignored when doing a strict commodity check.
47-
48-
Fixes #1419
49-
50-
(cherry picked from commit 2084b845e09d2249a5d0e120805798730eeb4b6d)
6+
- See hledger.
517

528
# 1.20.2 2020-12-28
9+
5310
- Fix the info manuals' node structure.
5411

5512
- Drop unused parsec dependency.

hledger-ui/CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ User-visible changes in hledger-ui.
22
See also the hledger changelog.
33

44
# 1.20.3 2021-01-14
5+
6+
- Use hledger 1.20.3.
7+
58
# 1.20.2 2020-12-28
9+
610
- Fix loss of capitalisation in part of the manual.
711

812
- Fix the info manual's node structure.

hledger-web/CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ User-visible changes in hledger-web.
22
See also the hledger changelog.
33

44
# 1.20.3 2021-01-14
5+
6+
- Use hledger 1.20.3.
7+
58
# 1.20.2 2020-12-28
9+
610
- Fix the info manual's node structure.
711

812
- Use hledger 1.20.2.

hledger/CHANGES.md

+27-10
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,41 @@ User-visible changes in the hledger command line tool and library.
22

33

44
# 1.20.3 2021-01-14
5-
- lib: Calculate value at posting date for register --value=then -M. (Stephen Morgan)
65

7-
- lib: better message when roi fails to value commodity, fixes #1446 (Dmitry Astapov)
8-
(cherry picked from commit 9869624c5c42751dac5b431827b2fb368da43070)
6+
- When searching for price chains during valuation/currency conversion:
97

10-
- cli,csv: Fix --drop option in csv output format (aragaer)
11-
(cherry picked from commit 7bde3345b89422c21ffee6f61712c8c225bc9577)
8+
- It no longer hangs when there are price loops. (And in case of
9+
future bugs, it will give up rather than search forever.) (#1439)
10+
- It now really finds the shortest path. (#1443)
11+
- Useful progress info is displayed with `--debug=1` or `--debug=2`.
1212

13-
- 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)
13+
- balance, incomestatement: End-valued multi-period balance change
14+
reports (eg: `bal -MV`) have been reverted to show value-of-change,
15+
as in previous hledger versions, rather than change-of-value, for
16+
now. (#1353, #1428) (Stephen Morgan)
1417

15-
- test: Update for tests failing now that it's 2021. (Stephen Morgan)
18+
- balance: End-valued balance change reports now choose the same final
19+
valuation date and show consistent results whether single-period or
20+
multi-period. (#1424) (Stephen Morgan)
1621

17-
- new price search that really finds the shortest path (#1443)
18-
This one should also reliably prevent runaway searches in the event of more bugs, giving up after 1000 iterations.
22+
- balance: the `--drop` option now works with `csv` and `html` output.
23+
(#1456) (Ilya Konovalov)
1924

20-
(cherry picked from commit 3d7d5c0db7509299acf3d33530728f834345959a)
25+
- check: the `commodities` check, and `-s`/`--strict` mode, now ignore
26+
the "AUTO" internal pseudo-commodity. (#1419) (Ilya Konovalov)
27+
28+
- register: Then-valued multi-period register reports
29+
(eg: `register -M --value=then`) now calculate the correct values.
30+
(#1449) (Stephen Morgan)
31+
32+
- roi: now shows a better error message when required prices are
33+
missing. (#1446) (Dmitry Astapov)
34+
35+
- The no-symbol commodity's input number format can now be set by a
36+
`commodity` directive, like other commodities. (#1461)
2137

2238
# 1.20.2 2020-12-28
39+
2340
- help: Fix loss of capitalisation in part of the hledger-ui manual.
2441

2542
- Fix the info manuals' node structure.

0 commit comments

Comments
 (0)