From 7d5f33441e1f072ff3870677aacc1f74c42a0772 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 11 Jul 2019 07:22:04 +0100 Subject: [PATCH] ;doc: draft changelogs [ci skip] --- CHANGES.md | 16 ++++++- hledger-api/CHANGES.md | 2 +- hledger-lib/CHANGES.md | 50 +++++++++++++++++++++- hledger-ui/CHANGES.md | 2 +- hledger-web/CHANGES.md | 11 ++++- hledger/CHANGES.md | 96 +++++++++++++++++++++++++++++++++++++++++- 6 files changed, 171 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index fe48cdd49..030e17152 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,21 @@ General/project-related changes in the hledger project. For package-specific changes, see the package changelogs. -# 7dd54751 +# 23a7787a + +- Update shell completion script (Jakob Schöttl) + +- travis: skip hledger-api at least for now to stay under time limit + +- Create FUNDING.yml + +- examples: fix incompatible syntax in bcexample.hledger + +- make tag: include all hledger-web hs files in tags + +- shake: show htmlmanuals target in help + + - make site-watch: site-liverender & site-livereload in one command diff --git a/hledger-api/CHANGES.md b/hledger-api/CHANGES.md index ce42a317e..1c6dcb8fa 100644 --- a/hledger-api/CHANGES.md +++ b/hledger-api/CHANGES.md @@ -1,7 +1,7 @@ User-visible changes in hledger-api. See also the hledger changelog. -# c9e16b83 +# 6a506970 - use hledger 1.15 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 3785fca3b..e2c832f53 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -1,7 +1,55 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# ebf5ed93 +# 6a506970 + +- lib: setNaturalPrecisionUpTo + +- lib: -X/--exchange now supports indirect price chains (#131) + Adds fgl as a dependency. + +- lib: clarify price types (#131) + dropped journalPrices + + renamed Price to AmountPrice, AKA "transaction price" + + renamed MarketPrice to PriceDirective. + + added new MarketPrice (more pure form of PriceDirective without the amount style information) + + Prices is now a more efficient data structure, but not used yet. + +- lib: accountTransactionsReportItems: rewrite using catMaybes and mapAccumL (Henning Thielemann) + I find the report function less convolved without the integrated recursion. + +- lib: debug helpers: add ptraceAtWith, dbgNWith + +- restore TransactionsReport + hledger-web's register chart uses it, I didn't see it + because it's called from a hamlet template. + +- lib: drop TransactionsReport, BalanceHistoryReport + They seem unused. + +- lib: TransactionsReport/AccountTransactionsReport cleanup + Split them into separate files, rename journalTransactionsReport to + transactionsReport. + +- lib: drop postingValueAtDate + +- lib: postingTransformAmount, postingToCost, postingValue + +- lib: amountToCost, mixedAmountToCost + +- lib: valueTypeFromOpts helper + +- bal/bs/cf/is: support --value-at with -H; fix row/col/grand totals + This also includes a big cleanup of multiBalanceReport, which got + accidentally mingled. + +- lib: mapJournalTransactions, mapJournalPostings, mapTransactionPostings + + - lib: save the current date in ReportOpts We need this for choosing a valuation date, otherwise, report diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 7829aef00..ba590c06d 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -1,7 +1,7 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 1ac6c040 +# 6a506970 - support brick >=0.47 also diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 4d17a0ff8..53eafd320 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -1,7 +1,16 @@ User-visible changes in hledger-web. See also the hledger changelog. -# c9e16b83 +# 6a506970 + +- web: register page: clip linked accounts to 40 characters (Henning Thielemann) + This was the behaviour before adding the links. + +- web: avoid spaces before commas in register account links (Henning Thielemann) + +- web: add links to accounts in register transactions (Henning Thielemann) + +- web: fix "_create_locale could not be located" error on windows 7 (#1039) - use hledger 1.15 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 966b08630..2ea9ee9ec 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -1,7 +1,101 @@ User-visible changes in the hledger command line tool and library. -# ebf5ed93 +# 6a506970 + +- close: preserve transaction prices (costs) accurately (#1035) + Transaction prices were being collapsed/misreported after close/open; + this is fixed. Now each separately-priced amount gets its own posting, + and only the last of these (for each commodity) gets a balance + assertion. Also the equity posting's amount is now always shown + explicitly, which in multicommodity situations means that multiple + equity postings are shown. The upshot is that a balance -B report + will be unchanged after closing & opening transactions. + +- csv: strip outer whitespace when interpolating CSV values (#1051) + This removes a potential snag in amount field assignments, and + hopefully is harmless and acceptable otherwise. + +- csv: don't show invalid inter-field spaces in CSV error messages + Errors involving a record like: + + 2000-01-01,a,"1" + + displayed the record with extra spaces: + + the CSV record is: "2000-01-01", "a", "1" + + which was not accurate or valid RFC-4180. + +- Bugfix for #1011: begin/end date options (Jakob Schöttl) + +- Fix and update documentation on date options (Jakob Schöttl) + +- add, web: disallow unsafe trailing dot paths on windows (fix #1056) + On Windows, ensureJournalFileExists now rejects file paths + containing any problematic trailing dots, to prevent data loss. + This affects the add command and hledger-web's add form. + +- lib: -X/--exchange now supports indirect price chains (#131) + Adds fgl as a dependency. + +- lib: support -X/--exchange (direct/reverse prices only) (#131) + +- lib: --value can select commodity (via direct/reverse prices) (#131) + +- lib: parse optional ,COMM suffix in --value (#131) + +- print: also canonicalise balance assertions' amount style (fix #1042) + +- csv: fix parse error printing, broken since 1.11 (#1038) + +- cli: restore --aux-date and --effective as --date2 aliases (#1034) + These Ledger-ish spellings were dropped over the years, to improve + --help's layout. Now they work again, but are considered hidden flags + so --help doesn't show them automatically (but I decided to mention + them manually in --date2's description). + +- make -V do --value=end in multiperiod reports (#329) + +- reg: replace --value=transaction with --value=cost + +- print: replace --value=transaction with --value=cost + +- bal etc.: replace --value=transaction with --value=cost (#329) + +- opts: new -B/--cost, -V/--market, --value flags (#329) + +- bal: --budget: don't always convert to cost + And don't show a percentage when budgeted and actual amounts are in + different commodities. + +- opts: shorten csv separator arg template + +- bal/bs/bse: -H or --cumulative now disables -T (#329) + To reduce confusion, multiperiod balance reports using -H/--historical + or --cumulative, which show end balances, no longer show a Totals + column since summing end balances generally doesn't make sense. + Also the underlying MultiBalanceReport now returns zero for those + totals when in cumulative or historical mode. + +- bal/bs/cf/is: support --value-at with -H; fix row/col/grand totals + This also includes a big cleanup of multiBalanceReport, which got + accidentally mingled. + +- bal/bs/cf/is: mention valuation type in report title + +- bal: document and test --value-at with --budget (#329) + +- reg: fix --value-at=transaction with -M (#329) + +- reg: support --value-at with -H (#329) + +- bal: fix --value-at for old-style single period balance reports (#329) + +- bal: support --value-at=p/t with multiperiod reports (#329) + +- reg: support --value-at=period with periodic reports (#329) + - date-aware valuation: more thorough --value-at; document status (#329, #999) This feature turns out to be quite involved, as valuation interacts