Path to this page:
Subject: CVS commit: pkgsrc/finance/hledger-lib
From: Masatake Daimon
Date: 2025-02-01 11:28:58
Message id: 20250201102859.064B9FBE0@cvs.NetBSD.org
Log Message:
finance/hledger-lib: update to hledger-lib-1.41
# 2024-12-09 1.41
Breaking changes
- New/refactored modules (Hledger.Write.*) and types (Spreadsheet) to help
abstract rendering in various output formats, eg HTML, FODS and beancount.
Spreadsheet is an abstraction for tabular reports, in addition to the
tabular package we already use; there may be some overlap.
(Henning Thielemann)
- Rename displayDepth/prrDepth to displayIndent/prrIndent, and make them
correspond to the number of indentation steps.
(These are about indentation for rendering, not account depth.) [#2246]
Improvements
- Add Hledger.Data.Currency, currencySymbolToCode, currencyCodeToSymbol
- AmountFormat: add displayQuotes flag to control enclosing quotes
- InputOpts: add `posting_account_tags_` flag to control account tags on postings
- Support ghc 9.10 and base 4.20.
Note, when built with ghc 9.10.1, hledger error messages are displayed with \
two extra trailing newlines.
Other API/doc changes
- Hledger.Utils.IO: cleanup; rgb' now takes Float arguments instead of Word8
- rename jinferredcommodities to jinferredcommoditystyles
- rename jcommodities to jdeclaredcommodities
- move/rename nullsourcepos
- document isBlockActive, matcherMatches
- posting*AsLines: fix some docs
# 1.40 2024-09-09
Breaking changes
- Some constructors of the Interval type have been renamed for clarity.
- Hledger.Read.CsvUtils has moved to Hledger.Write.Csv. (Henning Thielemann)
- Tabular report rendering code has been added/reworked to allow new output \
formats and more reuse. (Henning Thielemann)
Improvements
- Added `journalDbg` debug output helper.
- Allow doclayout 0.5.
# 1.34 2024-06-01
Improvements
- InputOpts has a new `_defer` flag for internal use instead of overusing `strict_`
- journalCheckBalanceAssertions has moved to JournalChecks
Files: