diff --git a/CHANGES.md b/CHANGES.md index 8c340fa1f..9bc246f3c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,42 +1,26 @@ General/project-related changes in the hledger project. For package-specific changes, see the package changelogs. -# 90b18080 +# 1c4d7aa8 -- make ghcid-web-run +- new example scripts: -- bin: + two example scripts (Dmitry Astapov) + - hledger-combine-balances.hs, hledger-balance-as-budget.hs (Dmitry Astapov) + - hledger-check-tag-files.hs, hledger-check-tag-files2.hs -- bin: hledger-combine-balances.hs - render two balance reports as single multi-column one +- more CSV rule examples: coinbase, waveapp -- bin: hledger-balance-as-budget.hs - use one balance report as the budget for the other one - -- bin: hledger-check-tag-files2, a version using cabal's v2-run command - -- bin: hledger-check-tag-files, a script using stack's script command - - - - -- shake: use script command, allow running without compiling first - -- install: bump resolver to lts-15.4 - -- install: bump hledger-interest to 1.5.4 - -- examples: another coinbase example, contributed - -- new CI (continuous integration) tests, using Github Actions. +- new CI (continuous integration) system using Github Actions. Thanks to Travis and Appveyor for their service to date. Improvements: - one CI service instead of several - - new shortcut url: http://ci.hledger.org - more closely integrated with code repo - tests run on the three main platforms (linux, mac, windows) - harmless commits are ignored automatically ([ci skip] no longer needed for doc commits) - scheduled and on-demand testing (push to master, push to ci-* branches, pull request, weekly) - now tested: all GHC versions, doctests, haddock building + - new shortcut url: http://ci.hledger.org # 1.17 2020-03-01 diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 746015e4b..cd3a146d0 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -1,33 +1,33 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# e5a0bddb +# c59565ca -- added: getHledgerCliOpts' taking an explicit argument list +- added: getHledgerCliOpts', takes an explicit argument list -- added jsonPrettyText helper +- added: toJsonText -- lib: clarify zero-checking function names +- changed: isNegativeMixedAmount now gives an answer for + multi-commodity amounts which are all negative + +- changed: multiBalanceReport now gets the query from ReportOpts (Dmitry Astapov) + +- renamed: isZeroAmount -> amountLooksZero isReallyZeroAmount -> amountIsZero isZeroMixedAmount -> mixedAmountLooksZero isReallyZeroMixedAmount -> mixedAmountIsZero isReallyZeroMixedAmountCost dropped -- lib: drop transactionPostingBalances +- renamed: finaliseJournal -> journalFinalise -- lib: isNegativeMixedAmount now gives an answer for multi-commodity - amounts which are all negative +- renamed: fixedlotpricep -> lotpricep, now also parses non-fixed lot prices -- Hledger.Cli.CliOptions no longer exports outputflags +- dropped: transactionPostingBalances -- lib: multiBalanceReport derives query from ReportOpts (Dmitry Astapov) +- dropped: outputflags no longer exported by Hledger.Cli.CliOptions -- lib: rename finaliseJournal -> journalFinalise - -- fixedlotpricep renamed to lotpricep, now also parses non-fixed lot prices - -- Fix Documentation for journalExpenseAccountQuery (Pavan Rikhi) +- fixed: documentation for journalExpenseAccountQuery (Pavan Rikhi) # 1.17.1 2020-03-19 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 1ebeafc62..b8bdcbf69 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -1,8 +1,9 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# e5a0bddb +# 5757c386 +- builds with hledger 1.18 # 1.17.1.1 2020-03-19 @@ -10,7 +11,7 @@ See also the hledger changelog. # 1.17.1 2020-03-19 -- ui: fix a regression, empty register of depth-limited account (fix #1208) +- fix a regression, empty register of depth-limited account (fix #1208) - require newer Decimal, math-functions libs to ensure consistent rounding behaviour, even when built with old GHCs/snapshots. diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index ecf59ce20..ae7b94dd0 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -1,20 +1,19 @@ User-visible changes in hledger-web. See also the hledger changelog. +# a91cb903 -# e5a0bddb +- Hyperlinks are now more robust when there are multiple journal + files, eg links from register to journal now work properly. (#1041) +## add form +- Fixed a 2016 regression causing too many rows to be added by + keypresses in the last amount field or CTRL-plus (#422, #1059). -2020-05-25 c35d0a8b ;web: transaction fragments: use numeric identifiers for journal files This saves us from any escaping issues. -2020-05-24 e9792bfd ;web: links from register to journal now contain journal filename in order to distinguish transactions from multiple journal files (#1041) +- Always start with four rows when opened. -- web: add form: always start with four rows when opened - -- web: add form: drop unneeded C-minus/C-plus keys & related help text - -- web: fix a 2016 regression adding too many add form rows - from keypresses in the last amount field and CTRL-plus (#422, #1059) +- Drop unneeded C-minus/C-plus keys & related help text. # 1.17.1 2020-03-19 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 4cf73dd95..a9a416188 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -1,70 +1,87 @@ User-visible changes in the hledger command line tool and library. -# e5a0bddb +# b86ced5e -- bal, bs: titles in multiperiod end balance reports show .. like other reports (not ,,) +## General -- --forecast now takes an optional argument (--forecast=PERIODICEXPR), - allowing periodic transactions to start/end on any date and to - overlap recorded transactions. Fixes #835, #1236 (Dmitry Astapov) +- The --forecast flag now takes an optional argument + (--forecast=PERIODICEXPR), allowing periodic transactions to + start/end on any date and to overlap recorded transactions. + (#835, #1236) (Dmitry Astapov) -- journal: we now also infer market prices from transactions, like Ledger. (#1239) - -- print,reg,balcmds: list output formats accurately in --help (#689) - -- print, reg, balcmds: fix JSON output, which wasn't JSON (#689) - -- don't let an upper case file extension confuse file format +- An upper case file extension no longer confuses file format detection. (#1225) -- in the commands list, fix hiding of redundant source scripts - when a corresponding .com/.exe file exists. (#1225) +- In the commands list, redundant source scripts are now hidden + properly when a corresponding .com/.exe file exists. (#1225) -- we now use `..` instead of `-` to indicate date ranges, eg in report - titles, to stand out more from hyphenated dates. Period expressions - (used eg in -p, date:, and periodic rules) accept `to`, `until`, - `-`, or `..` as synonyms. +- We now show `..` instead of `-` to indicate date ranges, eg in + report titles, to stand out more from hyphenated dates. + +- Period expressions (eg in -p, date:, and periodic rules) now accept + `to`, `until`, `-`, or `..` as synonyms. -- when parsing amounts, whitespace between sign and number is now allowed +- When parsing amounts, whitespace between sign and number is now allowed. -- a clearer error message is shown on encountering a malformed regular expression +- A clearer error message is shown on encountering a malformed regular + expression. -- journal: the include directive now accepts a file format prefix - This works with glob patterns too, applying the prefix to each path. - This can be useful when included files don't have the standard file - extension, eg: +## commands + +- commands allowing different output formats now list their supported + formats accurately in --help (#689) + +- commands allowing JSON output now actually produce JSON (#689) + +- bal, bs: show .. (not ,,) in report titles, like other reports + +## journal format + +- We now also infer market prices from transactions, like Ledger. + See https://hledger.org/hledger.html#market-prices (#1239). + + Upgrade note: this means value reports (-V, -X etc.) can give + different output compared to hledger 1.17. If needed, you can + prevent this by adding a P directive declaring the old price, on or + after the date of the transaction causing the issue. + +- The include directive now accepts a file format prefix, like the + -f/--file option. This works with glob patterns too, applying the + prefix to each path. This can be useful when included files don't + have the standard file extension, eg: include timedot:2020*.md -- journal: the unbalanced transaction error message is clearer, - especially when postings all have the same sign, and split into - multiple lines for readability (at the cost of predictability/grepability). - -- journal: We now accept (and ignore) Ledger-style lot dates +- We now accept (and ignore) Ledger-style lot dates (`[DATE]`) and four lot price forms (`{PRICE}`, `{{PRICE}}`, `{=PRICE}`, `{{=PRICE}}`), anywhere after the posting amount but before any balance assertion. -- journal: we now accept Ledger-style parenthesised "virtual posting +- We now accept Ledger-style parenthesised "virtual posting costs" (`(@)`, `(@@)`). In hledger these are equivalent to the unparenthesised form. -- csv: allow generation of postings with an explicit 0 amount. (#1112) +- The unbalanced transaction error message is clearer, especially when + postings all have the same sign, and is split into multiple lines + for readability. -- csv: for each posting, when both numbered and unnumbered amount - assignments are active, ignore the unnumbered ones. This makes it - easier to override old `amount` rules. +## csv format + +- You can now generate up to 99 postings in a transaction. (Vladimir Sorokin) + +- You can now generate postings with an explicit 0 amount. (#1112) + +- For each posting, when both numbered and unnumbered amount + assignments are active (eg: both `amount` and `amount1`), we ignore + the unnumbered ones. This makes it easier to override old `amount` + rules. -- csv: Increase maximum number of postings in CSV reader from 9 to 99. (Vladimir Sorokin) - The ordering of journalfieldnames is changed in order to comply with the requirement stated in the comment: - "Names must precede any other name they contain, for the parser". - If left unchanged, "account1" would precede "account11", "account12", and so on, which would break the parsing. - With the new ordering, "account11" precedes "account1". +- Fix a 1.17.1 regression involving amount-in/amount-out. (#1226) -- csv: fix a 1.17.1 regression involving amount-in/amount-out. (#1226) +- Assigning too many non-zero or zero values to a posting amount now + gives a clearer error. (#1226) -- csv: improved the "too many non-zero amounts" error message. # 1.17.1.1 2020-03-19