hledger 1.34
Breaking changes
check ordereddatesno longer supports--date2. Also (not a breaking change):--date2and 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
--tldrflag (or just--tl). For best appearance you should install thetldrclient, though it's not required.These short "tldr pages" are a great counterbalance to verbose PTA docs. You can also use
tldrwithout 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
hledgercommands list has been reorganised, with commands listed roughly in the order you'll need them. -
The general flags descriptions in
--helphave been updated and grouped. -
Correctness checks now run in a documented order.
commoditiesare now checked beforeaccounts, andtagsbeforerecentassertions. When bothordereddatesandassertionschecks are enabled,ordereddatesnow runs first, giving more useful error messages. -
-I/--ignore-assertionsis now overridden by-s/--strict(orcheck assertions), enabling more flexible workflows. Eg you canalias hl="hledger -I"to delay balance assertions checking until you add-sto commands. -
--colorand--prettynow also acceptyornas argument. -
When built with the
ghcdebugflag 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 --manandhledger help TOPIC --mannow properly scroll the man page to the TOPIC or COMMAND heading. The exact/prefix matching behaviour has been clarified inhelp --help. -
In journal files,
includedirectives with trailing whitespace are now parsed correctly. -
The help command's help flags are now consistent with other commands (and it has
--debugas a hidden flag). -
Build errors with GHC 8.10 have been fixed. #2198
Docs
- The tables of contents on hledger.org pages now just list top-level headings, (and the hledger manual structure has been adjusted for this). This makes the hledger manual on hledger.org more scannable and less scary.
- add: drop lengthy transcript, add simpler example commands (from tldr)
- Amount formatting: move down, it's not the best first topic
- balance: mention the
--summary-onlyflag - check: expand check descriptions
- examples: CSV rules: vanguard, fidelity, paypal updates
- Generating data: rewrite
- JSON output: link to OpenAPI spec
- manuals: synopsis, options cleanup/consistency
- Options: correction, NO_COLOR does not override --color
- PART 4: COMMANDS: reorganise into groups, like the CLI commands list.
- Period expressions: mention last day of month adjusting #2005
- Secondary dates: expand, and declare them deprecated.
- Time periods cleanup, simplify markup
- Unicode characters: mention UTF-8 on windows
Scripts/addons
- Added
hledger-pricehist, an alias for thepricehistmarket price fetcher so that it can appear in hledger's commands list.
hledger-ui 1.34
Features
- You can now get a quick list of example command lines by running with
--tldr(or just--tl). For best appearance, install thetldrclient, though it's not required.
Improvements
-
The general flags in
--helphave been updated and grouped, consistent with hledger. -
When built with the
ghcdebugflag 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.
hledger-web 1.34
Features
- You can now get a quick list of example command lines by running with
--tldr(or just--tl). For best appearance, install thetldrclient, though it's not required.
Improvements
-
The general flags in
--helphave been updated and grouped, consistent with hledger. -
When built with the
ghcdebugflag 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
- A basic OpenAPI specification is provided for hledger-web's JSON-over-HTTP API. This is also applicable to
hledger print's JSON output format.
project changes 1.34
Docs
- move release notes from the hledger_site repo to the main hledger repo
- github release notes: show the release notes, hide the install instructions by default
- github release notes: improve windows install commands
- github release notes: start mentioning github usernames, enabling the Contributors avatar list
- dev docs: new Developer FAQ, Contributor Quick Start updates
Scripts/addons
hledger-install.shnow uses stackage nightly, and a failure on non-Windows platforms has been fixed.
Infrastructure/misc
- A new
releaseworkflow creates github releases, uploads release binaries and generates release notes. - Github release binaries for mac and linux are now in .tar.gz format (no longer tarred and zipped).
- There is a new
oldestworkflow for testing the oldest GHC we support (currently 8.10.7). - The
binaries-mac-x64workflow has been bumped from GHC 9.4 to 9.8. - The master branch's
ciworkflow has been updated to Ubuntu 24.04 and uses the preinstalled GHC & stack, saving some work. md-issue-refshelps generate markdown issue links.relnotes.hshelps generate release notes from changelogs.- The project
Makefilehas now been fully replaced byJustfile.
credits 1.34
Simon Michael (@simonmichael)