Release notes (https://hledger.org/release-notes.html#hledger-1-29-2)
hledger 1.29.2
Breaking changes
-
1.29's cleanup of the
closecommand has been continued.
Here are all the changes toclosesince 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--migrateflag. -
The accounts closed by default are now just the ALE accounts
(accounts declared or inferred as typeAsset,Liability, orEquity).
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
of typeRevenueorExpense), use the new--retainflag. -
The
equitycommand alias, removed in 1.29, has been restored. -
The
--open-acctoption, removed in 1.29, has been restored. -
The
--closingand--openingflags have been renamed to--closeand--open.
(--closehad 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.
(#2020)
-
Fixes
-
type:queries now "see through" account aliases and pivots,
as they did in hledger <1.27, and asacct:queries do.
(#2018) -
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.
hledger-ui 1.29.2
Improvements
- A pager is used to show --help output when needed, as in
hledger.
Fixes
- The corruption in 1.29's info manual is fixed. (#2023)
hledger-web 1.29.2
Improvements
- A pager is used to show --help output when needed, as in
hledger.
Fixes
- The corruption in 1.29's info manual is fixed. (#2023)
project changes 1.29.2
Scripts/addons
- hledger-install: re-enable hledger-interest, hledger-iadd; add hledger-lots
credits 1.29.2
Simon Michael
Installing
At https://hledger.org/install, binary packages should be available for this release within a few days (look for green badges).
Or, you can build from source as described there, after cloning at tag 1.29.2:
git clone https://github.com/simonmichael/hledger --depth 1 -b 1.29.2
Or, if under "Assets" below there are release binaries suitable for your OS and hardware, you can use those.
Here are platform-specific instructions for the release binaries. In a powershell window (press Windows-r, type powershell, press enter),
Make a place to keep hledger binaries, and add it to your PATH; this makes running hledger easier. You only need to do this once, not for every release:
Download and install the release binaries:
And ensure a default journal file exists:
Problems:
Problems:
(You can copy & paste each block of commands as a unit to save time.):
At the command line,
GNU/Linux on 64-bit Intel
cd /usr/local/bin
curl -LOC- https://github.com/simonmichael/hledger/releases/download/1.29.2/hledger-linux-x64.zip # can rerun if interrupted
unzip hledger-linux-x64.zip; tar xvf hledger-linux-x64.tar; rm hledger-linux-x64.{zip,tar} # github workaround, preserves permissions
cd -
hledger --version # should show the new version
touch $HOME/.hledger.journal # ensure a default journal file exists
In a terminal window,
Mac on 64-bit Intel
cd /usr/local/bin
curl -LOC- https://github.com/simonmichael/hledger/releases/download/1.29.2/hledger-mac-x64.zip
unzip hledger-mac-x64.zip; tar xvf hledger-mac-x64.tar; rm hledger-mac-x64.{zip,tar} # github workaround, preserves permissions
open .
# for the hledger, hledger-ui, hledger-web icons: right-click, Open, confirm it's ok to run
cd -
hledger --version # should show the new version
touch $HOME/.hledger.journal # ensure a default journal file exists
Windows on 64-bit Intel
mkdir -force $HOME\bin >$null
$ENV:PATH += ";"+$HOME+"\bin"
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)+";"+$HOME+"\bin", [EnvironmentVariableTarget]::User)
cd $HOME\bin
curl https://github.com/simonmichael/hledger/releases/download/1.29.2/hledger-windows-x64.zip -OutFile hledger-windows-x64.zip
Expand-Archive hledger-windows-x64.zip -DestinationPath .
rm hledger-windows-x64.zip
cd $HOME
hledger --version # should show the new version
out-file -append -encoding ascii $HOME/.hledger.journal
Windows 7 on 64-bit Intel, using Firefox
echo %PATH%, like C:\Windows (though that one will require administrator permission); otherwise, your home directory (C:\Users\YOURNAME)
\Windows, you'll need to scroll down)
hledger --version should show the new version
echo # >> .hledger.journal to ensure a default journal file exists. (Important: the doubled >> is needed to avoid overwriting existing data.)
configure that to be larger, or run hledger-web from a command window instead.