From ff598f263560c57b75ac210edc4b97a2b389378c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 31 Mar 2017 18:11:44 -0700 Subject: [PATCH] doc: make changelogs from release notes --- doc/CHANGES | 4 +- hledger-api/CHANGES | 4 ++ hledger-lib/CHANGES | 31 +++++++++++ hledger-ui/CHANGES | 13 +++++ hledger-web/CHANGES | 7 +++ hledger/CHANGES | 124 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 181 insertions(+), 2 deletions(-) diff --git a/doc/CHANGES b/doc/CHANGES index 1248e50d5..d20b3f2ba 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -2,9 +2,9 @@ Project-wide changes in the hledger project. See also the package change logs. -# 1.1 (2016/12/31) +# 1.1 (2016/12/31) and newer -...see release-notes.md... +see project changes at http://hledger.org/release-notes # 1.0.1 (2016/10/27) diff --git a/hledger-api/CHANGES b/hledger-api/CHANGES index d706e2301..09860e73e 100644 --- a/hledger-api/CHANGES +++ b/hledger-api/CHANGES @@ -2,6 +2,10 @@ User-visible changes in hledger-api. See also the hledger and the project change logs. +# 1.2 (2016/3/31) + +see project changes at http://hledger.org/release-notes + # 1.1 (2016/12/31) - serves on 127.0.0.1 by default, --host option added (#432) diff --git a/hledger-lib/CHANGES b/hledger-lib/CHANGES index 446afc2b3..69c4badcd 100644 --- a/hledger-lib/CHANGES +++ b/hledger-lib/CHANGES @@ -2,6 +2,37 @@ API-ish changes in the hledger-lib package. See also the hledger and project change logs (for user-visible changes). +# 1.2 (2016/3/31) + +## journal format + +A pipe character can optionally be used to delimit payee names in +transaction descriptions, for more accurate querying and pivoting by +payee. Eg, for a description like `payee name | additional notes`, +the two parts will be accessible as pseudo-fields/tags named `payee` +and `note`. + +Some journal parse errors now show the range of lines involved, not just the first. + +## ledger format + +The experimental `ledger:` reader based on the WIP ledger4 project has +been disabled, reducing build dependencies. + +## Misc + +Fix a bug when tying the knot between postings and their parent transaction, reducing memory usage by about 10% (#483) (Mykola Orliuk) + +Fix a few spaceleaks (#413) (Moritz Kiefer) + +Add Ledger.Parse.Text to package.yaml, fixing a potential build failure. + +Allow megaparsec 5.2 (#503) + +Rename optserror -> usageError, consolidate with other error functions + + + # 1.1 (2016/12/31) ## journal format diff --git a/hledger-ui/CHANGES b/hledger-ui/CHANGES index 3628c2cac..7642713f0 100644 --- a/hledger-ui/CHANGES +++ b/hledger-ui/CHANGES @@ -2,6 +2,19 @@ User-visible changes in hledger-ui. See also the hledger and project change logs. +# 1.2 (2016/3/31) + +Fix a pattern match failure when pressing E on the transaction screen (fixes #508) + +Accounts with ? in name had empty registers (fixes #498) (Bryan Richter) + +Allow brick 0.16 (Joshua Chia) and brick 0.17/vty 0.15 (Peter Simons) + +Allow megaparsec 5.2 (fixes #503) + +Allow text-zipper 0.10 + + # 1.1.1 (2017/1/20) - allow brick 0.16 (Joshua Chia) diff --git a/hledger-web/CHANGES b/hledger-web/CHANGES index ecfc3b9e5..da4270e5c 100644 --- a/hledger-web/CHANGES +++ b/hledger-web/CHANGES @@ -2,6 +2,13 @@ User-visible changes in hledger-web. See also the hledger and the project change logs. +# 1.2 (2016/3/31) + +Accounts with ? in name had empty registers (fixes #498) (Bryan Richter) + +Allow megaparsec 5.2 (fixes #503) + + # 1.1 (2016/12/31) - add --host option (#429) diff --git a/hledger/CHANGES b/hledger/CHANGES index 3bdf9fd1b..8937ebbfd 100644 --- a/hledger/CHANGES +++ b/hledger/CHANGES @@ -2,6 +2,130 @@ User-visible changes in the hledger and hledger-lib packages. See also the project change log. +# 1.2 (2016/3/31) + +## CLI + +"hledger" and "hledger -h" now print a better organised commands list +and general usage message respectively (#297). + +The common reporting flags can now be used anywhere on the command line. + +Fixed deduplication of addons in commands list. + +Fixed ugly stack traces in command line parse error messages. + +The -V/--value flag is now a global report flag, so it works with +balance, print, register, balancesheet, incomestatement, cashflow, +etc. (Justin Le) + +The `--pivot` global reporting option replaces all account names with +the value of some other field or tag. It has been improved, eg: + +- we don't add the field/tag name name as a prefix +- when pivoting on a tag, if the tag is missing we show a blank + (rather than showing mixed tag values and account names) +- a pipe character delimiter may be used in descriptions to get a more accurate + and useful payee report (`hledger balance --pivot payee`) + +options cleanups + +## Addons + +Easier installation: +move add-ons and example scripts to bin/, +convert to stack scripts, +add a build script to install all deps, +add some functional tests, +test add-ons with Travis CI, +add installation docs to download page. + +Improved docs: +all addons now contain their own documentation. Most of them (all but +hledger-budget) use a new reduced-boilerplate declaration format +and can show short (-h) and long (--help) command line help. +(Long help is declared with pre and postambles to the generated +options help, short help is that truncated at the start of the hledger +common flags.) + +`hledger` now shows a cleaner list of addon commands, showing only the +compiled version of an addon when both source and compiled versions +are in $PATH. (Addons with .exe extension or no extension are +considered compiled. Modification time is not checked, ie, an old +compiled addon will override a newer source version. If there are +three or more versions of an addon, all are shown. ) + +New addons added/included: + +- autosync - example symlink to ledger-autosync +- budget - experimental budget reporting command supporting Ledger-like periodic transactions and automated transactions (Mykola Orliuk) +- chart - pie-chart-generating prototype, a repackaging of the old hledger-chart tool +- check - more powerful balance assertions (Michael Walker) +- check-dupes - find accounts sharing the same leaf name (Stefano Rodighiero) +- prices - show all market price records (Mykola Orliuk) +- register-match - a helper for ledger-autosync's deduplication, finds best match for a transaction description + +The equity command now always generates a valid journal transaction, +handles prices better, and adds balance assertions (Mykola Orliuk). + +The rewrite command is more robust and powerful (Mykola Orliuk): + +- in addition to command-line rewrite options, it understands rewrite rules + defined in the journal, similar to Ledger's automated transactions (#99). + Eg: + ```journal + = ^income + (liabilities:tax) *.33 + + = expenses:gifts + budget:gifts *-1 + assets:budget *1 + ``` + +- it can generate diff output, allowing easier review of the proposed + changes, and safe modification of original journal files (preserving + file-level comments and directives). Eg: + ``` + hledger-rewrite --diff Agency --add-posting 'Expenses:Taxes *0.17' | patch + ``` + +- rewrites can affect multiple postings in a transaction, not just one. + +- posting-specific dates are handled better + +## balance + +A new --pretty-tables option uses unicode characters for rendering +table borders in multicolumn reports (#522) (Moritz Kiefer) + +## balancesheet/cashflow/incomestatement + +These commands are now more powerful, able to show multicolumn reports +and generally having the same features as the balance command. (Justin Le) + +balancesheet has always ignored a begin date specified with a `-b` or +`-p` option; now it also ignores a begin date specified with a `date:` +query. (Related discussion at #531) + +## print + +The output of print is now always a valid journal (fixes #465) (Mykola Orliuk). + +print now tries to preserves the format of implicit/explicit balancing +amounts and prices, by default. To print with all amounts explicit, +use the new `--explicit/-x` flag (fixes #442). (Mykola Orliuk) + +Don't lose the commodity of zero amounts/zero balance assertions (fixes #475) (Mykola Orliuk) + +## Misc + +Fix a regression in the readability of option parsing errors (#478) (Hans-Peter Deifel) + +Fix an example in Cli/Main.hs (Steven R. Baker) + +Allow megaparsec 5.2 (#503) + + # 1.1 (2016/12/31) ## balance