;edit changelogs
This commit is contained in:
		
							parent
							
								
									1c4d7aa804
								
							
						
					
					
						commit
						fa077415d4
					
				
							
								
								
									
										30
									
								
								CHANGES.md
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								CHANGES.md
									
									
									
									
									
								
							| @ -1,42 +1,26 @@ | |||||||
| General/project-related changes in the hledger project.  | General/project-related changes in the hledger project.  | ||||||
| For package-specific changes, see the package changelogs. | For package-specific changes, see the package changelogs. | ||||||
| 
 | 
 | ||||||
| # 90b18080 | # 1c4d7aa8 | ||||||
| 
 | 
 | ||||||
| - make ghcid-web-run | - new example scripts: | ||||||
| 
 | 
 | ||||||
| - bin:  + two example scripts (Dmitry Astapov) |   - hledger-combine-balances.hs, hledger-balance-as-budget.hs  (Dmitry Astapov) | ||||||
|  |   - hledger-check-tag-files.hs, hledger-check-tag-files2.hs | ||||||
| 
 | 
 | ||||||
| - bin: hledger-combine-balances.hs  - render two balance reports as single multi-column one | - more CSV rule examples: coinbase, waveapp | ||||||
| 
 | 
 | ||||||
| - bin: hledger-balance-as-budget.hs - use one balance report as the budget for the other one | - new CI (continuous integration) system using Github Actions. | ||||||
| 
 |  | ||||||
| - bin: hledger-check-tag-files2, a version using cabal's v2-run command |  | ||||||
| 
 |  | ||||||
| - bin: hledger-check-tag-files, a script using stack's script command |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| - shake: use script command, allow running without compiling first |  | ||||||
| 
 |  | ||||||
| - install: bump resolver to lts-15.4 |  | ||||||
| 
 |  | ||||||
| - install: bump hledger-interest to 1.5.4 |  | ||||||
| 
 |  | ||||||
| - examples: another coinbase example, contributed |  | ||||||
| 
 |  | ||||||
| - new CI (continuous integration) tests, using Github Actions. |  | ||||||
|   Thanks to Travis and Appveyor for their service to date. |   Thanks to Travis and Appveyor for their service to date. | ||||||
|   Improvements: |   Improvements: | ||||||
| 
 | 
 | ||||||
|   - one CI service instead of several |   - one CI service instead of several | ||||||
|   - new shortcut url: http://ci.hledger.org |  | ||||||
|   - more closely integrated with code repo |   - more closely integrated with code repo | ||||||
|   - tests run on the three main platforms (linux, mac, windows) |   - tests run on the three main platforms (linux, mac, windows) | ||||||
|   - harmless commits are ignored automatically ([ci skip] no longer needed for doc commits) |   - harmless commits are ignored automatically ([ci skip] no longer needed for doc commits) | ||||||
|   - scheduled and on-demand testing (push to master, push to ci-* branches, pull request, weekly) |   - scheduled and on-demand testing (push to master, push to ci-* branches, pull request, weekly) | ||||||
|   - now tested: all GHC versions, doctests, haddock building |   - now tested: all GHC versions, doctests, haddock building | ||||||
|  |   - new shortcut url: http://ci.hledger.org | ||||||
| 
 | 
 | ||||||
| # 1.17 2020-03-01 | # 1.17 2020-03-01 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,33 +1,33 @@ | |||||||
| Internal/api/developer-ish changes in the hledger-lib (and hledger) packages. | 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. | ||||||
| 
 | 
 | ||||||
| # e5a0bddb | # c59565ca | ||||||
| 
 | 
 | ||||||
| - added: getHledgerCliOpts' taking an explicit argument list | - added: getHledgerCliOpts', takes an explicit argument list | ||||||
| 
 | 
 | ||||||
| - added jsonPrettyText helper | - added: toJsonText | ||||||
| 
 | 
 | ||||||
| - lib: clarify zero-checking function names | - changed: isNegativeMixedAmount now gives an answer for | ||||||
|  |   multi-commodity amounts which are all negative | ||||||
|  | 
 | ||||||
|  | - changed: multiBalanceReport now gets the query from ReportOpts (Dmitry Astapov) | ||||||
|  | 
 | ||||||
|  | - renamed: | ||||||
|   isZeroAmount                -> amountLooksZero |   isZeroAmount                -> amountLooksZero | ||||||
|   isReallyZeroAmount          -> amountIsZero |   isReallyZeroAmount          -> amountIsZero | ||||||
|   isZeroMixedAmount           -> mixedAmountLooksZero |   isZeroMixedAmount           -> mixedAmountLooksZero | ||||||
|   isReallyZeroMixedAmount     -> mixedAmountIsZero |   isReallyZeroMixedAmount     -> mixedAmountIsZero | ||||||
|   isReallyZeroMixedAmountCost dropped |   isReallyZeroMixedAmountCost dropped | ||||||
| 
 | 
 | ||||||
| - lib: drop transactionPostingBalances | - renamed: finaliseJournal -> journalFinalise | ||||||
| 
 | 
 | ||||||
| - lib: isNegativeMixedAmount now gives an answer for multi-commodity | - renamed: fixedlotpricep -> lotpricep, now also parses non-fixed lot prices | ||||||
|   amounts which are all negative |  | ||||||
| 
 | 
 | ||||||
| - Hledger.Cli.CliOptions no longer exports outputflags | - dropped: transactionPostingBalances | ||||||
| 
 | 
 | ||||||
| - lib: multiBalanceReport derives query from ReportOpts (Dmitry Astapov) | - dropped: outputflags no longer exported by Hledger.Cli.CliOptions | ||||||
| 
 | 
 | ||||||
| - lib: rename finaliseJournal -> journalFinalise | - fixed: documentation for journalExpenseAccountQuery (Pavan Rikhi) | ||||||
| 
 |  | ||||||
| - fixedlotpricep renamed to lotpricep, now also parses non-fixed lot prices |  | ||||||
| 
 |  | ||||||
| - Fix Documentation for journalExpenseAccountQuery (Pavan Rikhi) |  | ||||||
| 
 | 
 | ||||||
| # 1.17.1 2020-03-19 | # 1.17.1 2020-03-19 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,8 +1,9 @@ | |||||||
| User-visible changes in hledger-ui. | User-visible changes in hledger-ui. | ||||||
| See also the hledger changelog. | See also the hledger changelog. | ||||||
| 
 | 
 | ||||||
| # e5a0bddb | # 5757c386 | ||||||
| 
 | 
 | ||||||
|  | - builds with hledger 1.18 | ||||||
| 
 | 
 | ||||||
| # 1.17.1.1 2020-03-19 | # 1.17.1.1 2020-03-19 | ||||||
| 
 | 
 | ||||||
| @ -10,7 +11,7 @@ See also the hledger changelog. | |||||||
| 
 | 
 | ||||||
| # 1.17.1 2020-03-19 | # 1.17.1 2020-03-19 | ||||||
| 
 | 
 | ||||||
| - ui: fix a regression, empty register of depth-limited account (fix #1208) | - fix a regression, empty register of depth-limited account (fix #1208) | ||||||
| 
 | 
 | ||||||
| - require newer Decimal, math-functions libs to ensure consistent | - require newer Decimal, math-functions libs to ensure consistent | ||||||
|   rounding behaviour, even when built with old GHCs/snapshots.  |   rounding behaviour, even when built with old GHCs/snapshots.  | ||||||
|  | |||||||
| @ -1,20 +1,19 @@ | |||||||
| User-visible changes in hledger-web. | User-visible changes in hledger-web. | ||||||
| See also the hledger changelog. | See also the hledger changelog. | ||||||
| 
 | 
 | ||||||
|  | # a91cb903 | ||||||
| 
 | 
 | ||||||
| # e5a0bddb | - Hyperlinks are now more robust when there are multiple journal | ||||||
|  |   files, eg links from register to journal now work properly. (#1041) | ||||||
| 
 | 
 | ||||||
|  | ## add form | ||||||
| 
 | 
 | ||||||
|  | - Fixed a 2016 regression causing too many rows to be added by | ||||||
|  |   keypresses in the last amount field or CTRL-plus (#422, #1059). | ||||||
| 
 | 
 | ||||||
| 2020-05-25 c35d0a8b ;web: transaction fragments: use numeric identifiers for journal files This saves us from any escaping issues. | - Always start with four rows when opened. | ||||||
| 2020-05-24 e9792bfd ;web: links from register to journal now contain journal filename in order to distinguish transactions from multiple journal files (#1041) |  | ||||||
| 
 | 
 | ||||||
| - web: add form: always start with four rows when opened | - Drop unneeded C-minus/C-plus keys & related help text. | ||||||
| 
 |  | ||||||
| - web: add form: drop unneeded C-minus/C-plus keys & related help text |  | ||||||
| 
 |  | ||||||
| - web: fix a 2016 regression adding too many add form rows |  | ||||||
|   from keypresses in the last amount field and CTRL-plus (#422, #1059) |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # 1.17.1 2020-03-19 | # 1.17.1 2020-03-19 | ||||||
|  | |||||||
| @ -1,70 +1,87 @@ | |||||||
| User-visible changes in the hledger command line tool and library. | User-visible changes in the hledger command line tool and library. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # e5a0bddb | # b86ced5e | ||||||
| 
 | 
 | ||||||
| - bal, bs: titles in multiperiod end balance reports show .. like other reports (not ,,) | ## General | ||||||
| 
 | 
 | ||||||
| - --forecast now takes an optional argument (--forecast=PERIODICEXPR), | - The --forecast flag now takes an optional argument | ||||||
|   allowing periodic transactions to start/end on any date and to |   (--forecast=PERIODICEXPR), allowing periodic transactions to | ||||||
|   overlap recorded transactions. Fixes #835, #1236 (Dmitry Astapov) |   start/end on any date and to overlap recorded transactions. | ||||||
|  |   (#835, #1236) (Dmitry Astapov) | ||||||
| 
 | 
 | ||||||
| - journal: we now also infer market prices from transactions, like Ledger. (#1239) | - An upper case file extension no longer confuses file format | ||||||
| 
 |  | ||||||
| - print,reg,balcmds: list output formats accurately in --help (#689) |  | ||||||
| 
 |  | ||||||
| - print, reg, balcmds: fix JSON output, which wasn't JSON (#689) |  | ||||||
| 
 |  | ||||||
| - don't let an upper case file extension confuse file format |  | ||||||
|   detection. (#1225) |   detection. (#1225) | ||||||
| 
 | 
 | ||||||
| - in the commands list, fix hiding of redundant source scripts | - In the commands list, redundant source scripts are now hidden | ||||||
|   when a corresponding .com/.exe file exists. (#1225) |   properly when a corresponding .com/.exe file exists. (#1225) | ||||||
| 
 | 
 | ||||||
| - we now use `..` instead of `-` to indicate date ranges, eg in report | - We now show `..` instead of `-` to indicate date ranges, eg in | ||||||
|   titles, to stand out more from hyphenated dates. Period expressions |   report titles, to stand out more from hyphenated dates.  | ||||||
|   (used eg in -p, date:, and periodic rules) accept `to`, `until`, |    | ||||||
|   `-`, or `..` as synonyms. | - Period expressions (eg in -p, date:, and periodic rules) now accept | ||||||
|  |   `to`, `until`, `-`, or `..` as synonyms. | ||||||
| 
 | 
 | ||||||
| - when parsing amounts, whitespace between sign and number is now allowed | - When parsing amounts, whitespace between sign and number is now allowed. | ||||||
| 
 | 
 | ||||||
| - a clearer error message is shown on encountering a malformed regular expression | - A clearer error message is shown on encountering a malformed regular | ||||||
|  |   expression. | ||||||
| 
 | 
 | ||||||
| - journal: the include directive now accepts a file format prefix | ## commands | ||||||
|   This works with glob patterns too, applying the prefix to each path. | 
 | ||||||
|   This can be useful when included files don't have the standard file | - commands allowing different output formats now list their supported | ||||||
|   extension, eg: |   formats accurately in --help (#689) | ||||||
|  | 
 | ||||||
|  | - commands allowing JSON output now actually produce JSON (#689) | ||||||
|  | 
 | ||||||
|  | - bal, bs: show .. (not ,,) in report titles, like other reports | ||||||
|  | 
 | ||||||
|  | ## journal format | ||||||
|  | 
 | ||||||
|  | - We now also infer market prices from transactions, like Ledger. | ||||||
|  |   See https://hledger.org/hledger.html#market-prices (#1239).  | ||||||
|  |    | ||||||
|  |   Upgrade note: this means value reports (-V, -X etc.) can give | ||||||
|  |   different output compared to hledger 1.17. If needed, you can | ||||||
|  |   prevent this by adding a P directive declaring the old price, on or | ||||||
|  |   after the date of the transaction causing the issue. | ||||||
|  | 
 | ||||||
|  | - The include directive now accepts a file format prefix, like the | ||||||
|  |   -f/--file option. This works with glob patterns too, applying the | ||||||
|  |   prefix to each path. This can be useful when included files don't | ||||||
|  |   have the standard file extension, eg: | ||||||
| 
 | 
 | ||||||
|       include timedot:2020*.md |       include timedot:2020*.md | ||||||
| 
 | 
 | ||||||
| - journal: the unbalanced transaction error message is clearer, | - We now accept (and ignore) Ledger-style lot dates | ||||||
|   especially when postings all have the same sign, and split into |  | ||||||
|   multiple lines for readability (at the cost of predictability/grepability). |  | ||||||
| 
 |  | ||||||
| - journal: We now accept (and ignore) Ledger-style lot dates |  | ||||||
|   (`[DATE]`) and four lot price forms (`{PRICE}`, `{{PRICE}}`, |   (`[DATE]`) and four lot price forms (`{PRICE}`, `{{PRICE}}`, | ||||||
|   `{=PRICE}`, `{{=PRICE}}`), anywhere after the posting amount but |   `{=PRICE}`, `{{=PRICE}}`), anywhere after the posting amount but | ||||||
|   before any balance assertion. |   before any balance assertion. | ||||||
| 
 | 
 | ||||||
| - journal: we now accept Ledger-style parenthesised "virtual posting | - We now accept Ledger-style parenthesised "virtual posting | ||||||
|   costs" (`(@)`, `(@@)`). In hledger these are equivalent to the |   costs" (`(@)`, `(@@)`). In hledger these are equivalent to the | ||||||
|   unparenthesised form. |   unparenthesised form. | ||||||
| 
 | 
 | ||||||
| - csv: allow generation of postings with an explicit 0 amount. (#1112) | - The unbalanced transaction error message is clearer, especially when | ||||||
|  |   postings all have the same sign, and is split into multiple lines | ||||||
|  |   for readability. | ||||||
| 
 | 
 | ||||||
| - csv: for each posting, when both numbered and unnumbered amount | ## csv format | ||||||
|   assignments are active, ignore the unnumbered ones. This makes it | 
 | ||||||
|   easier to override old `amount` rules.  | - You can now generate up to 99 postings in a transaction. (Vladimir Sorokin) | ||||||
|  | 
 | ||||||
|  | - You can now generate postings with an explicit 0 amount. (#1112) | ||||||
|  | 
 | ||||||
|  | - For each posting, when both numbered and unnumbered amount | ||||||
|  |   assignments are active (eg: both `amount` and `amount1`), we ignore | ||||||
|  |   the unnumbered ones. This makes it easier to override old `amount` | ||||||
|  |   rules. | ||||||
|    |    | ||||||
| - csv: Increase maximum number of postings in CSV reader from 9 to 99. (Vladimir Sorokin) | - Fix a 1.17.1 regression involving amount-in/amount-out. (#1226) | ||||||
|   The ordering of journalfieldnames is changed in order to comply with the requirement stated in the comment: |  | ||||||
|   "Names must precede any other name they contain, for the parser". |  | ||||||
|   If left unchanged, "account1" would precede "account11", "account12", and so on, which would break the parsing. |  | ||||||
|   With the new ordering, "account11" precedes "account1". |  | ||||||
| 
 | 
 | ||||||
| - csv: fix a 1.17.1 regression involving amount-in/amount-out. (#1226) | - Assigning too many non-zero or zero values to a posting amount now | ||||||
|  |   gives a clearer error. (#1226) | ||||||
| 
 | 
 | ||||||
| - csv: improved the "too many non-zero amounts" error message. |  | ||||||
| 
 | 
 | ||||||
| # 1.17.1.1 2020-03-19 | # 1.17.1.1 2020-03-19 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user