Release notes (https://hledger.org/release-notes.html#2023-12-07-hledger-1321)
hledger 1.32.1
-
Fixed:
importwith multiple files now updates .latest files correctly. (#2125) -
Fixed:
print --round=hardnow properly pads/rounds amounts with inferred costs. (#2123) -
CSV matcher syntax: mention that ! and & can't be used in the same line yet. (#2088)
-
Drop the "a difference of ..." line from balance assertion failure output.
I feel it made the message harder to read and isn't really necessary. -
Declaring the empty payee name with
payee ""now works,
to lethledger check payeesaccept payee-less transactions.
(#2119) -
Built-in tags with special meaning like
type:andt:are now implicitly declared,
so using type: in account declarations or generating t: with timedot letters
won't causehledger check tagsto fail.
(#2119)
hledger-ui 1.32.1
- Use hledger-1.32.1
hledger-web 1.32.1
- Use hledger-1.32.1
Install
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.32.1:
git clone https://github.com/simonmichael/hledger --depth 1 -b 1.32.1
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. At the command line,
In a terminal window,
In a powershell window (press Windows-r, type powershell, press enter),
Once that journal file exists, you can start hledger-web by double-clicking on the icon if you wish.
Problems:
(You can copy & paste each block of commands as a unit to save time.):
GNU/Linux on 64-bit Intel
cd /usr/local/bin
curl -LOC- https://github.com/simonmichael/hledger/releases/download/1.32.1/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
Mac on 64-bit Intel
cd /usr/local/bin
curl -LOC- https://github.com/simonmichael/hledger/releases/download/1.32.1/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 64-bit Intel (or ARM, using emulation)
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.32.1/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
(Not sure why "ascii" is needed here - hledger likes utf8 and understands utf8 BOM headers..
but the state of our unicode support on Windows
is really unknown, your input welcome.)
out-file -append -encoding ascii $HOME/.hledger.journal
Windows 7 on 64-bit Intel
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.