github simonmichael/hledger 1.26

latest releases: 1.40, hledger-web-1.40, hledger-ui-1.40...
2 years ago

Release notes (https://hledger.org/release-notes.html#hledger-1-26)

2022-06-04 hledger-1.26

Miscellaneous improvements.

hledger 1.26

Improvements

  • register and aregister have been made faster, by

    • considering only the first 1000 items for choosing column
      widths. You can restore the old behaviour (guaranteed alignment
      across all items) with the new --align-all flag.
      (#1839, Stephen Morgan)

    • discarding cost data more aggressively, giving big speedups for
      large journals with many costs.
      (#1828, Stephen Morgan)

  • Most error messages from the journal reader and the check command now use
    a consistent layout, with an "Error:" prefix, line and column numbers,
    and an excerpt highlighting the problem. Work in progress.
    (#1436) (Simon Michael, Stephen Morgan)

  • hledger check ordereddates now always checks all transactions
    (previously it could be restricted by query arguments).

  • The --pivot options now supports a status argument, to pivot on transaction status.

  • Update bash completions (Jakob Schöttl)

Fixes

  • Value reports with --date2 and a report interval (like hledger bal -VM --date2)
    were failing with a "expected all spans to have an end date" error since 1.22;
    this is now fixed.
    (#1851, Stephen Morgan)

  • In CSV rules, interpolation of a non-existent field like %999 or %nosuchfield
    is now ignored (previously it inserted that literal text).
    Note this means such an error will not be reported;
    Simon chose this as the more convenient behaviour when converting CSV.
    Experimental.
    (#1803, #1814) (Stephen Morgan)

  • --infer-market-price was inferring a negative price when selling.
    (#1813, Stephen Morgan)

  • Allow an escaped forward slash in regular expression account aliases.
    (#982, Stephen Morgan)

  • The tags command now also lists tags from unused account declarations.
    It also has improved command-line help layout.
    (#1857)

  • hledger accounts now shows its debug output at a more appropriate level (4).

hledger-ui 1.26

  • Uses hledger 1.26.

hledger-web 1.26

Fixes

  • Don't add link URLs when printing.

Improvements

  • Now builds with GHC 9.2.

  • Uses hledger 1.26.

project changes 1.26

Scripts/addons

  • renamed hledger-number.sh to hledger-simplebal

  • added hledger-git, hledger-pijul

  • fin (and bin) scripts show available scripts and their help

  • renamed aliases.sh to bashrc

  • Get hledger-print-location working. (Stephen Morgan)

Docs

  • README cleanup, inspired by feedback from README reviewer Lars Wirzenius.

  • Clearer sponsoring info and more complete sponsor lists on website and README.

  • The new https://github.com/simonmichael/hledger_finance repo
    keeps track of our public finances (on Open Collective, Liberapay etc.)

Examples

  • invoice: calculate dates accurately on last days of month

Process

  • Stackage nightly and GHC 9.2 are now the default for dev builds.

  • CI workflows:

    • Workflows and binaries have more consistent naming, mentioning platform and architecture.
    • The main test workflow is now linux-x64-test, replacing push and pull.
      It runs for both pushes and pull requests, and generates binaries on every run.
    • Pushes/merges to master, including Simon's, are required to have passed
      linux-x64-test on another github branch first.
    • Mac and Windows binaries are now stripped also (if applicable).
  • make buildtimes, make buildtimes-cabal show GHC codegen times.

credits 1.26

Simon Michael,
Stephen Morgan,
Jakob Schöttl,
Patrik Keller.

How to install

You can build this release from tag 1.26, or try the binaries below, or see https://hledger.org/install for other install methods.

About these binaries: Download and unzip the appropriate zip file. Unix and mac users will need to chmod +x the binaries to make them executable. Mac users will need to mark themx as trusted, eg right-click the file in Finder and option-click Open. Windows users will need to do something similar. There is no hledger-ui binary for Windows.
2022-06-05: linux-x64 binaries updated to run at normal speed. #1867
2022-06-06: windows-x64 binaries broken ? #1869

Don't miss a new hledger release

NewReleases is sending notifications on new releases.