;doc: changelogs

This commit is contained in:
Simon Michael 2024-10-15 16:33:45 -10:00
parent d6d93e33ac
commit 6bd5012b9b
5 changed files with 89 additions and 15 deletions

View File

@ -19,7 +19,7 @@ General changes in the hledger project.
For package-specific changes, see the hledger package changelogs. For package-specific changes, see the hledger package changelogs.
# 5591be772 # ceeea6926
Docs Docs
@ -30,6 +30,7 @@ Docs
Scripts/addons Scripts/addons
- Fixed build errors in all bin/ scripts. (Dmitry Astapov)
- hledger-install: fix installation of hledger-ui - hledger-install: fix installation of hledger-ui
Infrastructure/Misc Infrastructure/Misc
@ -37,6 +38,8 @@ Infrastructure/Misc
- GHC 9.10 is now the default for dev builds and most github workflows. - GHC 9.10 is now the default for dev builds and most github workflows.
- Add consistent greppable summaries to all workflows; various other improvements - Add consistent greppable summaries to all workflows; various other improvements
- Add bash shell completion script to the release bindists ([#2223], gesh/hseg, Simon Michael) - Add bash shell completion script to the release bindists ([#2223], gesh/hseg, Simon Michael)
- tools/gtree: -u shows untracked files, -I adds ignored files.
- just doctest: pass through doctest arg(s).
# 1.40 2024-09-09 # 1.40 2024-09-09

View File

@ -22,21 +22,28 @@ Internal/api/developer-ish changes in the hledger-lib (and hledger) packages.
For user-visible changes, see the hledger package changelog. For user-visible changes, see the hledger package changelog.
# 1c45496f1 # 17dd3d434
Breaking changes Breaking changes
- When built with ghc 9.10.1, hledger error messages are displayed with an extra trailing newline. - When built with ghc 9.10.1, hledger error messages are displayed with an extra trailing newline.
- New/refactored modules (Hledger.Write.*) and types (Spreadsheet) to help abstract the rendering of - New/refactored modules (Hledger.Write.*) and types (Spreadsheet) to help abstract rendering
tables in various output formats, eg HTML and FODS. in various output formats, eg HTML, FODS and beancount.
(Spreadsheet is in addition to the tabular package we already in use; there may be some overlap.)
(XXX Review module changes) - 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]
Fixes Fixes
Improvements Improvements
- Add Hledger.Data.Currency, currencySymbolToCode, currencyCodeToSymbol
- Added Spreadsheet abstraction for tabular reports (in addition to
the tabular package we already use; there may be some overlap).
- Support ghc 9.10 / base 4.20. - Support ghc 9.10 / base 4.20.
- dependency changes: - dependency changes:

View File

@ -22,7 +22,7 @@ User-visible changes in hledger-ui.
See also the hledger changelog. See also the hledger changelog.
# bb551bf0d # f54805a03
Breaking changes Breaking changes

View File

@ -22,7 +22,7 @@ User-visible changes in hledger-web.
See also the hledger changelog. See also the hledger changelog.
# 1c45496f1 # f54805a03
Breaking changes Breaking changes

View File

@ -23,14 +23,46 @@ API
User-visible changes in the hledger command line tool and library. User-visible changes in the hledger command line tool and library.
# eeb070195 # 71a787921
Breaking changes Breaking changes
- (Not a breaking change, but a fix for a somewhat severe, though hopefully rare, bug:)
In certain circumstances, values could be calculated inaccurately,
because of inappropriate display-rounding during calculations. [#2254]
Specifically, when there was no direct P price for the target commodity,
so that hledger had to convert via a chain of prices,
and if all of those price amounts had too few decimal places,
then the result could be inaccurate.
An example:
P 2000-01-01 A 10.5 B
P 2000-01-01 B 100.5 C
2000-01-01
(a) 100 A
$ hledger-1.40 print -X C
2000-01-01
(a) 105520 C ; wrong
$ hledger print -X C
2000-01-01
(a) 105525 C ; right
- When built with ghc 9.10.1, hledger error messages are displayed with an extra trailing newline. - When built with ghc 9.10.1, hledger error messages are displayed with an extra trailing newline.
Fixes Fixes
- `bs`/`bse`/`cf`/`is`'s HTML output no longer includes excess heading cells,
and `bs`/`bse`'s HTML output no longer shows an inappropriate Total heading with -T.
(balancesheet does not support -T.)
(Henning Thielemann)
- Balance commands' HTML, CSV and FODS output now show tree mode properly indented
(using no-break spaces).
(Henning Thielemann)
- In a multi-line comment generated by csv rules, tags on all lines now work (ie, can be matched). - In a multi-line comment generated by csv rules, tags on all lines now work (ie, can be matched).
Posting dates in comments generated from csv also now [work](https://hledger.org/hledger.html#comment-field). Posting dates in comments generated from csv also now [work](https://hledger.org/hledger.html#comment-field).
(#2241) (#2241)
@ -46,14 +78,15 @@ Fixes
Features Features
- When generating HTML output with the balance commands, you can now - When generating HTML output with the balance commands,
add the `--base-url` option to add hyperlinks to hledger-web, the `--base-url` option will add hyperlinks to hledger-web,
allowing you to view the transactions involved. allowing you to view the detailed transactions if you have hledger-web running.
(Henning Thielemann) (Henning Thielemann)
Improvements Improvements
- `balance` and `aregister`'s HTML output will now use a hledger.css file if present, like `bs`/`bse`/`cf`/`is`. - `bs`/`bse`/`cf`/`is` now support FODS output.
(Henning Thielemann)
- The balance commands' HTML and FODS output now show table borders consistently. - The balance commands' HTML and FODS output now show table borders consistently.
(Henning Thielemann) (Henning Thielemann)
@ -65,25 +98,35 @@ Improvements
- Balance commands now support `--transpose` when generating HTML output. - Balance commands now support `--transpose` when generating HTML output.
(Henning Thielemann) (Henning Thielemann)
- Balance commands' options help has had some consistency/readability tweaks. - `balance` and `aregister`'s HTML output will now use a hledger.css file if present, like `bs`/`bse`/`cf`/`is`.
- `bs`/`bse`/`cf`/`is` now support the `--count` (postings count) report type, like `balance`. - `bs`/`bse`/`cf`/`is` now support the `--count` (postings count) report type, like `balance`.
- Balance commands' options help has had some consistency/readability tweaks.
- hledger now supports GHC 9.10. - hledger now supports GHC 9.10.
Docs Docs
- output formats:beancount: mention operating_currency
- output formats: expand, document beancount and FODS output
- bal: improve --layout doc
- bal: note that tree mode doesn't work in html output [#1846] - bal: note that tree mode doesn't work in html output [#1846]
- bal: also mention hledger.css and text encoding in balance doc - bal: also mention hledger.css and text encoding in balance doc
- html: note safari text encoding issue - html: note safari text encoding issue
- timedot: mention the common journal+timedot file setup [#2238] - timedot: mention the common journal+timedot file setup [#2238]
- Install, manual: new shell completions doc. [#986] - Install, manual: new shell completions doc. [#986]
- Config files: rewrite [#2231] - Config files: rewrite [#2231]
- examples: hledger2beancount.conf
Scripts/addons Scripts/addons
- examples/csv: add an example python converter script
API API
- Hledger.Cli.Commands.Balance: export budgetReportAs* functions, for use in scripts.
(Dmitry Astapov)
# 1.40 2024-09-09 # 1.40 2024-09-09
@ -97,13 +140,20 @@ Fixes
- `every M/D from DATE` - `every M/D from DATE`
- `every Nth WEEKDAY from DATE` - `every Nth WEEKDAY from DATE`
- The balance commands' html output no longer repeats the "Total" and - The balance commands' HTML output no longer repeats the "Total" and
"Net" headings when the totals row has multiple lines. "Net" headings when the totals row has multiple lines.
And the layout has been improved and made more consistent with the And the layout has been improved and made more consistent with the
text output. text output.
- The `--tldr` flag now also works with the `tealdeer` tldr client. - The `--tldr` flag now also works with the `tealdeer` tldr client.
- `hledger check tags` no longer warns about the internal `_price-matched` tag
being undeclared (and that tag has been renamed to `_cost-matched`).
[#2247]
- `hledger check accounts` no longer warns about the special `equity:conversion` account
being undeclared (the default account used by `--infer-equity`).
Features Features
- You can now save command line options in a [config file](https://hledger.org/hledger.html#config-files), - You can now save command line options in a [config file](https://hledger.org/hledger.html#config-files),
@ -123,6 +173,20 @@ Features
Improvements Improvements
- All the balance-like commands now support FODS output, not just `balance`.
(Henning Thielemann)
- Config files can now also provide the command name.
If the first thing in a config file's general section is a non-flag argument,
that will be used as the command name argument,
taking precedence over any command line arguments.
This makes config files strictly more powerful than the older argument files.
- Improved debug output for command line and config file processing.
- The print command's beancount output is now better at producing Beancount-ready data,
converting hledger account names and commodity names to Beancount-compatible ones.
- Command line processing has been overhauled and should be more robust - Command line processing has been overhauled and should be more robust
in certain cases, with tweaked error messages and debug output. in certain cases, with tweaked error messages and debug output.
Command-specific flags can now optionally appear before the command name. Command-specific flags can now optionally appear before the command name.