1.29's cleanup of the
close command has been continued.
Here are all the changes to
close since hledger 1.28:
The default behaviour is now to print only one transaction: a closing transaction.
To print both closing and opening transactions as before,
use the new
The accounts closed by default are now just the ALE accounts
(accounts declared or inferred as type
If you don't have account types configured, or
to close some other set of accounts, provide query arguments that match them.
To close all accounts as before, use a
. argument to match them all.
To print a retain earnings transaction for RX accounts (accounts
Expense), use the new
equity command alias, removed in 1.29, has been restored.
--open-acct option, removed in 1.29, has been restored.
--opening flags have been renamed to
--close had been removed in 1.29 and is now restored.)
The docs have been rewritten. Also the 1.29 release notes now mention
the breaking change.
The command is marked experimental again.
type: queries now "see through" account aliases and pivots,
as they did in hledger <1.27, and as
acct: queries do.
The corruption in 1.29's info manual is fixed. (#2023)
The 1.29 release notes for periodic reports'/periodic transactions' start dates
have been improved. Also the hledger manual's "Date adjustment" section
has been corrected and clarified.