Changelog for hledger-1.13.2

User-visible changes in the hledger command line tool and library.

1.13.2 (2019/02/04)

1.13.1 (2019/02/02)

1.13 (2019/02/01)

1.12.1 (2018/12/03)

1.12 (2018/12/02)

1.11.1 (2018/10/06)

1.11 (2018/9/30)

1.10 (2018/6/30)

1.9.1 (2018/4/30)

1.9 (2018/3/31)

1.5 (2017/12/31)

1.4 (2017/9/30)

1.3.1 (2017/8/25)

1.3 (2017/6/30)

The "uncleared" transaction/posting status, and associated UI flags and keys, have been renamed to "unmarked" to remove ambiguity and confusion. This means that we have dropped the --uncleared flag, and our -U flag now matches only unmarked things and not pending ones. See the issue and linked mail list discussion for more background. (#564)

Also the -P short flag has been added for --pending, and the -U/-P/-C flags can be combined.

bs/is: fix "Ratio has zero denominator" error (#535)

bs/is/cf: fix --flat (#552) (Justin Le, Simon Michael)

bal/bs/is/cf: show negative amounts in red (Simon Michael, Justin Le). These commands now shows negative amounts in red, when hledger detects that ANSI codes are supported, (ie when TERM is not "dumb" and stdout is not being redirected or piped).

print: show pending mark on postings (fixes #563). A pending mark on postings is now displayed, just like a cleared mark. Also there will now be a space between the mark and account name.

print: amounts are now better aligned, eg when there are posting status marks or virtual postings

1.2 (2017/3/31)

CLI

"hledger" and "hledger -h" now print a better organised commands list and general usage message respectively (#297).

The common reporting flags can now be used anywhere on the command line.

Fixed deduplication of addons in commands list.

Fixed ugly stack traces in command line parse error messages.

The -V/--value flag is now a global report flag, so it works with balance, print, register, balancesheet, incomestatement, cashflow, etc. (Justin Le)

The --pivot global reporting option replaces all account names with the value of some other field or tag. It has been improved, eg:

options cleanups

Addons

Easier installation: move add-ons and example scripts to bin/, convert to stack scripts, add a build script to install all deps, add some functional tests, test add-ons with Travis CI, add installation docs to download page.

Improved docs: all addons now contain their own documentation. Most of them (all but hledger-budget) use a new reduced-boilerplate declaration format and can show short (-h) and long (--help) command line help. (Long help is declared with pre and postambles to the generated options help, short help is that truncated at the start of the hledger common flags.)

hledger now shows a cleaner list of addon commands, showing only the compiled version of an addon when both source and compiled versions are in $PATH. (Addons with .exe extension or no extension are considered compiled. Modification time is not checked, ie, an old compiled addon will override a newer source version. If there are three or more versions of an addon, all are shown. )

New addons added/included:

The equity command now always generates a valid journal transaction, handles prices better, and adds balance assertions (Mykola Orliuk).

The rewrite command is more robust and powerful (Mykola Orliuk):

balance

A new --pretty-tables option uses unicode characters for rendering table borders in multicolumn reports (#522) (Moritz Kiefer)

balancesheet/cashflow/incomestatement

These commands are now more powerful, able to show multicolumn reports and generally having the same features as the balance command. (Justin Le)

balancesheet has always ignored a begin date specified with a -b or -p option; now it also ignores a begin date specified with a date: query. (Related discussion at #531)

print

The output of print is now always a valid journal (fixes #465) (Mykola Orliuk).

print now tries to preserves the format of implicit/explicit balancing amounts and prices, by default. To print with all amounts explicit, use the new --explicit/-x flag (fixes #442). (Mykola Orliuk)

Don't lose the commodity of zero amounts/zero balance assertions (fixes #475) (Mykola Orliuk)

Misc

Fix a regression in the readability of option parsing errors (#478) (Hans-Peter Deifel)

Fix an example in Cli/Main.hs (Steven R. Baker)

Allow megaparsec 5.2 (#503)

1.1 (2016/12/31)

balance

misc

1.0.1 (2016/10/27)

1.0 (2016/10/26)

add

balance

balancesheet

print

register

stats

misc

misc

docs

cli

0.27 (2015/10/30)

Account aliases:

Documentation:

Tools:

Journal format:

Command-line interface:

add:

balance:

print:

register:

0.26 (2015/7/12)

Account aliases:

Journal format:

Command-line interface:

Queries:

activity:

add:

balancesheet:

print:

register:

stats:

Miscellaneous:

0.25.1 (2015/4/29)

0.25 (2015/4/7)

0.24.1 (2015/3/15)

0.24 (2014/12/25)

General:

Journal format:

CSV format:

CLI:

Account aliases:

Queries:

balance:

register:

Extra commands:

0.23.3 (2014/9/12)

0.23.2 (2014/5/8)

0.23.1 (2014/5/7)

0.23 (2014/5/1)

Journal format:

CLI:

Queries:

accounts:

add:

balance:

balancesheet, cashflow, incomestatement:

print:

register:

Miscellaneous:

0.22.2 (2014/4/16)

0.22.1 (2014/1/6) and older: see http://hledger.org/release-notes or doc/release-notes.md.