diff --git a/CHANGES.md b/CHANGES.md index c8e998726..ecaf430bc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,10 +9,36 @@ General changes in the hledger project. For package-specific changes, see the hledger package changelogs. -# c7afe77cd +# 7a1d5e66e + +Scripts/addons + +- fin (and bin) scripts show available scripts and their help + +- aliases.sh -> bashrc + +- Get hledger-print-location working. (Stephen Morgan) + +Docs - README cleanup, inspired by feedback from README reviewer Lars Wirzenius. +- Clearer sponsoring info and more complete sponsor lists on website and README. + +- The new repo + keeps track of our public finances (on Open Collective, Liberapay etc.) + +Examples + +- invoice: calculate dates accurately on last days of month + +Process/tools + +- ci: master now requires all pushes/merges, including Simon's, to + have passed the `push` CI tests on some other github branch first. + +- make buildtimes, make buildtimes-cabal: show GHC codegen times + # 1.25 2022-03-04 Scripts/addons diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 5ccdc3a57..29b15c6d8 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,7 +9,46 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. -# af7a5f98e +# 8de85be65 + +Breaking changes + +- readJournal, readJournalFile, readJournalFiles now return + `ExceptT String IO a` instead of `IO (Either String a)`. + Internally, this increases composability and avoids some ugly case handling. +It means that these must now be evaluated with `runExceptT`. + That can be imported from `Control.Monad.Except` in the `mtl` package, + but `Hledger.Read` also re-exports it for convenience. + + New variants readJournal', readJournalFiles', readJournalFile' are + also provided; these are like the old functions but more convenient, + assuming default input options and needing one less argument. + (Stephen Morgan) + +Misc + +- Hledger.Query: Added + matchesQuery, + queryIsCode + queryIsTransactionRelated + +- Clean up journal parsing. (Stephen Morgan) + parseAndFinaliseJournal' has been removed. In the unlikely event you + needed it in your code, you can replace it with: + + parseAndFinaliseJournal' parser iopts fp t => + initialiseAndParseJournal parser iopts fp t + >>= liftEither . journalApplyAliases (aliasesFromOpts iopts) + >>= journalFinalise iopts fp t + + Some parsers have been generalised from JournalParser to TextParser. + +- Improve ergonomics of SmartDate constructors. (Stephen Morgan) + +- Hledger.Utils: Add a helper function numDigitsInt to get the number + of digits in an integer, which has a surprising number of ways to + get it wrong. + (#1813) (Stephen Morgan) # 1.25 2022-03-04 diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 6a9523a64..66e2650e2 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -9,7 +9,7 @@ User-visible changes in hledger-ui. See also the hledger changelog. -# 460a1fc20 +# 8de85be65 # 1.25 2022-03-04 diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index 7f0d02fc6..35bccceb2 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,7 +9,7 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. -# 460a1fc20 +# 8de85be65 # 1.25 2022-03-04 diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index b1dca7092..a484a50bd 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,7 +9,46 @@ User-visible changes in the hledger command line tool and library. -# 460a1fc20 +# 8de85be65 + +Breaking changes + +Features + +Improvements + +- The accounts command now shows its debug output at a more appropriate level (4). + +- --pivot now supports `status` (to pivot on transaction status). + +- register and aregister have been made faster, by + + - considering only the first 1000 items for choosing column + widths. You can restore the old behaviour (guaranteed alignment + across all items) with the new --align-all flag. + (#1839, Stephen Morgan) + + - discarding cost data more aggressively, giving big speedups for + large journals with many costs. + (#1828, Stephen Morgan) + +- More consistent layout for error messages (Stephen Morgan, Simon Michael) + +Fixes + +- The tags command now also matches accounts declared but not used. + It also has improved command-line help layout. + (#1857) + +- Value reports with --date2 and a report interval (like bal -VM --date2) + were failing with a "expected all spans to have an end date" error since 1.22; + this is now fixed. + (#1851, Stephen Morgan) + +- Make sure inferred market prices have the correct sign with total prices. + +- Allow an escaped forward slash in regular expression account aliases. + (#982, Stephen Morgan) # 1.25 2022-03-04