From 1f9d89879def8acce8337e571a4eef2c9069fa61 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 13 Jul 2021 18:29:59 -1000 Subject: [PATCH] ;doc: update changelogs --- CHANGES.md | 32 ++++++++++++++++++++++++++++++++ hledger-lib/CHANGES.md | 18 ++++++++++++++++++ hledger-ui/CHANGES.md | 7 +++++++ hledger-web/CHANGES.md | 6 ++++++ hledger/CHANGES.md | 18 ++++++++++++++++++ 5 files changed, 81 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 084f670a1..7bcab057d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,38 @@ General changes in the hledger project (and notable all-package releases). For package-specific changes and minor releases, see the hledger package changelogs. +# 82b74ec41 + +- ci: commitlint: when range is invalid (eg force push), check last 20 + This is imperfect but better than nothing, and should avoid spurious + failures on force pushes to PRs. + +- ci: commitlint: ignore boring commits: github merge commit (#1606) + +- bin:commitlint:doc, policy: allow more spaces, slash/comma in topics + +- ci: run commitlint to check commits (#1602) + As first step in our main "check" workflows (push, linux, mac, + windows), check all the commit messages with commitlint. + + These workflows can be triggered in various ways: + pull requests, pushes, manually, or scheduled. + + For (each push to) a pull request, all commits currently in the PR + branch are checked. + + For a regular push, all the pushed commits are checked, usually. + Subcases: push to master, push to other branch, force push; + I think at least the first two work, I don't care to spend more time + on it. + + For a manual run, it seemed to check the same commits as a push (which + push ? Not sure how this works). + + For a scheduled run - we'll see. + +- bin: commitlint: don't exit successfully if a command fails (#1602) + # 1.22 2021-07-03 Software: diff --git a/hledger-lib/CHANGES.md b/hledger-lib/CHANGES.md index 5bd927634..a8697b969 100644 --- a/hledger-lib/CHANGES.md +++ b/hledger-lib/CHANGES.md @@ -9,6 +9,24 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. For user-visible changes, see the hledger package changelog. +# 2df8ad781 + +- imp: bal: more predictable sort order with multiple commodities (#1563, #1564) (Stephen Morgan) + This change provides more predictable and intuitive behaviour when + using -S/--sort-amount with multiple commodities. + It implements a custom Ord (and Eq) instance for MixedAmount + which substitutes zero for any missing commodities. + + As a consequence, all the ways of representing zero with a MixedAmount ([], + [A 0], [A 0, B 0, ...]) are now Eq-ual (==), whereas before they were + not. We have not been able to find anything broken by this change. + +- imp: lib: Compare MixedAmounts by substituting zero for any missing commodities. (#1563) + +- lib: clarify journalEndDate, add journalLastDay + +- lib: export transactionCheckBalanced (#1596) + # 1.22 2021-07-03 - GHC 9.0 is now officially supported, and GHC 8.0, 8.2, 8.4 are not; diff --git a/hledger-ui/CHANGES.md b/hledger-ui/CHANGES.md index 38fea1214..145a61941 100644 --- a/hledger-ui/CHANGES.md +++ b/hledger-ui/CHANGES.md @@ -9,6 +9,13 @@ User-visible changes in hledger-ui. See also the hledger changelog. +# ce526305b + +- fix: ui: transaction: possibly off-by-one valuation date + I'm not sure if it arose in practice, but: ensure TransactionScreen + in V mode would correctly use the journal's last day as valuation date, + not the day after that. + # 1.22 2021-07-03 Improvements diff --git a/hledger-web/CHANGES.md b/hledger-web/CHANGES.md index c1cb9872a..01413e7ae 100644 --- a/hledger-web/CHANGES.md +++ b/hledger-web/CHANGES.md @@ -9,6 +9,12 @@ __ _____| |__ User-visible changes in hledger-web. See also the hledger changelog. +# 3380190d9 + +- fix: web: register chart with multiple commodities/prices, broken in 1.22 (#1597) (Stephen Morgan) + Make sure to strip prices from amounts before generating JSON data for + the register chart. + # 1.22 2021-07-03 Improvements diff --git a/hledger/CHANGES.md b/hledger/CHANGES.md index 35b891ff4..0b98a652b 100644 --- a/hledger/CHANGES.md +++ b/hledger/CHANGES.md @@ -9,6 +9,24 @@ User-visible changes in the hledger command line tool and library. +# cf25d7d56 + +- imp: cli: Don't show extra double quotes in missing journal file error. (#1601) (Stephen Morgan) + +- imp: bal: more predictable sort order with multiple commodities (#1563, #1564) (Stephen Morgan) + This change provides more predictable and intuitive behaviour when + using -S/--sort-amount with multiple commodities. + It implements a custom Ord (and Eq) instance for MixedAmount + which substitutes zero for any missing commodities. + + As a consequence, all the ways of representing zero with a MixedAmount ([], + [A 0], [A 0, B 0, ...]) are now Eq-ual (==), whereas before they were + not. We have not been able to find anything broken by this change. + +- imp: close: doc: rewrite manual (#1604) + +- imp: close: clarify date logic, use journal last day if later (#1604) + # 1.22 2021-07-03 Features