Breaking changes
check ordereddates
no longer supports --date2
. Also (not a breaking change): --date2
and secondary dates are now officially deprecated in hledger, though kept for compatibility.Features
You can now get a quick list of example command lines for hledger or its most useful subcommands by adding the --tldr
flag (or just --tl
). For best appearance you should install the tldr
client, though it's not required.
These short "tldr pages" are a great counterbalance to verbose PTA docs. You can also use tldr
without hledger to view the latest versions, or translations:\ tldr hledger[-COMMAND]
. Or you can browse tldr pages online. Consider contributing translations! More tips at https://github.com/simonmichael/hledger/tree/master/doc/tldr.
Improvements
The hledger
commands list has been reorganised, with commands listed roughly in the order you'll need them.
The general flags descriptions in --help
have been updated and grouped.
Correctness checks now run in a documented order. commodities
are now checked before accounts
, and tags
before recentassertions
. When both ordereddates
and assertions
checks are enabled, ordereddates
now runs first, giving more useful error messages.
-I
/--ignore-assertions
is now overridden by -s
/--strict
(or check assertions
), enabling more flexible workflows. Eg you can alias hl="hledger -I"
to delay balance assertions checking until you add -s
to commands.
--color
and --pretty
now also accept y
or n
as argument.
When built with the ghcdebug
flag and started with --debug=-1
, hledger can be controlled by ghc-debug clients like ghc-debug-brick or a ghc-debug query script, for analysing memory/profile info.
Fixes
hledger COMMAND --man
and hledger help TOPIC --man
now properly scroll the man page to the TOPIC or COMMAND heading. The exact/prefix matching behaviour has been clarified in help --help
.
In journal files, include
directives with trailing whitespace are now parsed correctly.
The help command's help flags are now consistent with other commands (and it has --debug
as a hidden flag).
Build errors with GHC 8.10 have been fixed. #2198
Docs
--summary-only
flagScripts/addons
hledger-pricehist
, an alias for the pricehist
market price fetcher so that it can appear in hledger's commands list.Features
--tldr
(or just --tl
). For best appearance, install the tldr
client, though it's not required.Improvements
The general flags in --help
have been updated and grouped, consistent with hledger.
When built with the ghcdebug
flag and started with --debug=-1
, hledger-ui can be controlled by ghc-debug clients like ghc-debug-brick or a ghc-debug query script, for analysing memory/profile info.
Features
--tldr
(or just --tl
). For best appearance, install the tldr
client, though it's not required.Improvements
The general flags in --help
have been updated and grouped, consistent with hledger.
When built with the ghcdebug
flag and started with --debug=-1
, hledger-web can be controlled by ghc-debug clients like ghc-debug-brick or a ghc-debug query script, for analysing memory/profile info.
Docs
hledger print
's JSON output format.Docs
Scripts/addons
hledger-install.sh
now uses stackage nightly, and a failure on non-Windows platforms has been fixed.Infrastructure/misc
release
workflow creates github releases, uploads release binaries and generates release notes.oldest
workflow for testing the oldest GHC we support (currently 8.10.7).binaries-mac-x64
workflow has been bumped from GHC 9.4 to 9.8.ci
workflow has been updated to Ubuntu 24.04 and uses the preinstalled GHC & stack, saving some work.md-issue-refs
helps generate markdown issue links.relnotes.hs
helps generate release notes from changelogs.Makefile
has now been fully replaced by Justfile
.Simon Michael (@simonmichael)