Skip to content

Commit 1e1eb00

Browse files
committed
;doc: relnotes.github: 1.33.1
1 parent 34e3c42 commit 1e1eb00

File tree

1 file changed

+27
-292
lines changed

1 file changed

+27
-292
lines changed

doc/relnotes.github.md

+27-292
Original file line numberDiff line numberDiff line change
@@ -16,312 +16,47 @@ https://hledger.org/relnotes.html#2024-04-18-hledger-133
1616

1717
</summary>
1818

19-
### hledger 1.33
2019

20+
### hledger 1.33.1
2121

22-
Breaking changes
22+
- process >=1.6.19.0 seems not strictly needed and is no longer required,
23+
improving installability.
24+
[#2149]
2325

24-
- `expr:` boolean queries, introduced in hledger 1.30 (2023),
25-
no longer allow `date:` to be used within an `OR` expression,
26-
avoiding unclear semantics which confuse our reports.
27-
If you'd like to improve this, see #2178. [#2177] [#2178]
26+
- `print` and `close` now show a trailing decimal mark on cost amounts also,
27+
when needed to disambiguate a digit group mark.
2828

29-
- Some error messages (date parse errors, balance assertion failures) have changed,
30-
which might affect error-parsing add-ons like flycheck-hledger.
29+
- The balance commands' HTML output now includes digit group marks when
30+
appropriate (fixes a regression in 1.25).
31+
[#2196]
3132

33+
- The add command no longer shows ANSI escape codes in terminals that
34+
don't support them.
3235

36+
- Doc updates:
37+
- import: Skipping -> Date skipping, discuss commodity styles more
38+
- csv: Amount decimal places: expand, note import behaviour
3339

34-
Fixes
40+
### hledger-ui 1.33.1
3541

36-
- `add`, `import`, `web`:
37-
On MS Windows, don't allow writing to files whose name ends with a period,
38-
since it can cause data loss; raise an error instead.
39-
I made this change in hledger 1.15 (2019), but it never worked; now it does.
40-
[#1056]
42+
- Require vty-windows-0.2.0.2+ to avoid display problems in recent
43+
MS Terminal on Windows.
4144

42-
- `balance --budget`:
43-
The budget report in tree mode was omitting parent accounts with no actual or goal amounts
44-
and a single child, instead of showing them as a prefix of the child's name.
45-
Now it always shows them, on a line of their own (a bit like `--no-elide`).
46-
It's not a perfect fix, but the budget report code is twisty.
47-
[#2071]
45+
- process >=1.6.19.0 seems not strictly needed and is no longer required,
46+
improving installability.
47+
[#2149]
4848

49-
- `check tags`:
50-
The special `date` and `date2` tags,
51-
and the `modified` and `_modified` tags generated by `--auto`,
52-
are now also implicitly declared.
53-
[#2148], [#2119]
49+
### hledger-web 1.33.1
5450

55-
- Regular expression match group references in CSV `if` rules,
56-
added in hledger 1.32, did not work right when multiple if conditions matched a CSV record.
57-
This is now fixed; match group references are now scoped to their local `if` block.
58-
[#2158] (Jonathan Dowland)
51+
- Support base64 >=1.0
5952

60-
- `roi` now correctly interacts with `--value`.
61-
[#2190] (Dmitry Astapov)
53+
### credits 1.33.1
6254

63-
- hledger now requires process-1.6.19.0+ to avoid any vulnerabilities on Windows from
64-
[HSEC-2024-0003](https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html).
65-
66-
67-
68-
Features
69-
70-
- `close` has had some enhancements for usability ([#2151]):
71-
72-
- It now excludes equity accounts by default; and always excludes the balancing account.
73-
74-
- It has new `--assert` and `--assign` modes, for generating transactions which
75-
make balance assertions or balance assignments.
76-
There is also a `--assertion-type` option for changing the assertion/assignment type.
77-
78-
- It adds a tag to generated transactions, named `start`, `assert` or `retain`
79-
depending on the mode.
80-
81-
- The `start` tag's value will be a guess of the new file's name,
82-
inferred by incrementing a year number in the current file name.
83-
Eg, `hledger close --migrate` on `2024.journal` will add the tag
84-
`start:2025.journal` to both transactions.
85-
Tags like this can be helpful when reading multiple files,
86-
for excluding closing and opening balances transactions
87-
(eg with `not:tag:start=2025`).
88-
89-
- You can set different tag values by writing the mode option with an argument.
90-
Eg: `hledger close --migrate=NEWFILENAME`.
91-
92-
- `close` now supports `--round` for controlling display of decimal places, like `print`.
93-
94-
- `examples/multi-year/` is examples/tutorial for managing multiple files with the `close` command.
95-
96-
97-
98-
Improvements
99-
100-
- `stats` has had some improvements:
101-
102-
- It now also shows some information about memory usage, when hledger is built or is running
103-
with the GHC Run Time System available. (Try `hledger stats +RTS -T`.)
104-
105-
- The default output is now more private, hiding file paths and commodity symbols.
106-
Those can be added by the new `-v/--verbose` flag.
107-
108-
- Output is now more compact and more likely to fit in 80-character lines.
109-
110-
- When generating multiple outputs with a report interval, reports are now
111-
separated by an empty line.
112-
113-
- Several more kinds of Unicode space are allowed for separating digit groups in numbers.
114-
We now support (my guess of the ones that might show up in real world CSV files):
115-
space,
116-
no-break space,
117-
en space,
118-
em space,
119-
punctuation space,
120-
thin space,
121-
narrow no-break space,
122-
medium mathematical space.
123-
124-
- Glob patterns in `$LEDGER_FILE` are now respected.
125-
Eg, setting it to `*.journal'` or `2???.journal` now works as expected.
126-
127-
- When hledger is reading a symbolically-linked journal file,
128-
relative paths in include directives are now evaluated
129-
relative to the directory of the real linked file,
130-
not the directory containing the symbolic link.
131-
132-
- Date parse errors are now simpler and clearer.
133-
They no longer try to repeat (a reconstruction of) the problem date,
134-
since the actual problem date is already visible in the highlighted file excerpt.
135-
136-
- Balance assertion error messages are clearer,
137-
and show the difference between expected and actual balance again.
138-
With --debug=2 they also show costs.
139-
140-
- `tsv:` and `ssv:` file name prefixes are now supported in addition to `csv:`.
141-
They force the file to be read as a .tsv (tab separated values) or .ssv (semicolon-separated values) file.
142-
[#2164] (Michael Rees)
143-
144-
- In CSV rules files, commented lines are now allowed within "if tables". (Dmitry Astapov)
145-
146-
- `balance --budget`'s CSV and TSV output now shows zeroes instead of nothing when there's no amount.
147-
148-
- `bs`,`bse`,`cf`,`is`:
149-
Report sections which are empty now show zero as their subtotal. (aragaer)
150-
151-
- `print` and `close` add a trailing decimal mark when needed to disambiguate a single digit group mark.
152-
They now also do this for balance assertion and balance assignment amounts.
153-
[#2176]
154-
155-
- hledger can now be built with GHC 9.8.
156-
157-
- hledger now requires safe >=0.3.20.
158-
159-
160-
161-
Docs
162-
163-
- add version annotations for features added in 1.32 (hamzashezad)
164-
- add Text encoding section, mention UTF-8 BOM support [#2189]
165-
- journal: note that `payee` and `tag` directives can't have tags in comments, unlike `account`.
166-
- journal: clarify how auto postings work.
167-
- journal: list built-in special tag names
168-
- journal: description/payee/note: clarify
169-
- journal: amounts/commodities/numbers: cleanups
170-
- journal: move intro before cheatsheet
171-
- journal: transactions: explain transaction balancing [#2135]
172-
- journal: transactions: mention debits, credits and sign
173-
- journal: commodity directive: clarify & fix scope of effects [#2135]
174-
- journal: D directive: clarify scope [#2191]
175-
- journal: split Decimal marks, Digit group marks
176-
- journal: move complex commodity styles, lot notation topics later
177-
- journal: drop redundant/wrong Querying with cost or value section
178-
- journal: cheatsheet: cleanups
179-
- journal: assertions and ordering/commodities/subaccounts: cleanups
180-
- csv: matchers: clarify, mention !/& limitation [#2088]
181-
- csv: if tables: explain comments and order of application (Dmitry Astapov)
182-
- add: document the effect of D default commodity directive [#815]
183-
- balance: cleanups
184-
- balance: budget report: moved "Budgets and subaccounts" to the Cookbook.
185-
- bs,bse,cf,is: update sample output
186-
- bse: note requirements for checking the accounting equation
187-
- close: rewrite, give a better technique for excluding opening/closing balance txns [#2151]
188-
- import: rename "deduplication" to "skipping", and rewrite
189-
- examples: expand READMEs, clarify status for examples
190-
- examples: invoicing: cleanups, renames
191-
- examples: invoicing: pandoc-make-invoice: don't write to $LEDGER_FILE; remove the REMOVE THIS LINE line
192-
- examples: csv: daedalus-transactions: update for current daedalus [#2171]
193-
194-
195-
196-
Scripts/addons
197-
198-
- hledger-bar, hledger-simplebal: shellcheck fixes, cleanups (Colin Dean)
199-
200-
- hledger-bar: Fix an error when NO_COLOR is not defined [#2159].
201-
Also, it's now more compliant with the no-color.org spec:
202-
203-
Command-line software which adds ANSI color to its output by default
204-
should check for a NO_COLOR environment variable that, when present
205-
and not an empty string (regardless of its value), prevents the
206-
addition of ANSI color.
207-
208-
so one can now temporarily override $NO_COLOR=1 in the environment by
209-
setting it empty: NO_COLOR= hledger ...
210-
211-
- hledger-txnsbycat: added
212-
213-
214-
215-
API
216-
217-
- move readFileStrictly to hledger-lib:Hledger.Utils.IO
218-
219-
220-
221-
[#815]: https://github.com/simonmichael/hledger/issues/815
222-
[#1056]: https://github.com/simonmichael/hledger/issues/1056
223-
[#2071]: https://github.com/simonmichael/hledger/issues/2071
224-
[#2088]: https://github.com/simonmichael/hledger/issues/2088
225-
[#2119]: https://github.com/simonmichael/hledger/issues/2119
226-
[#2135]: https://github.com/simonmichael/hledger/issues/2135
227-
[#2135]: https://github.com/simonmichael/hledger/issues/2135
228-
[#2148]: https://github.com/simonmichael/hledger/issues/2148
229-
[#2151]: https://github.com/simonmichael/hledger/issues/2151
230-
[#2151]: https://github.com/simonmichael/hledger/issues/2151
231-
[#2158]: https://github.com/simonmichael/hledger/issues/2158
232-
[#2159]: https://github.com/simonmichael/hledger/issues/2159
233-
[#2164]: https://github.com/simonmichael/hledger/issues/2164
234-
[#2171]: https://github.com/simonmichael/hledger/issues/2171
235-
[#2176]: https://github.com/simonmichael/hledger/issues/2176
236-
[#2177]: https://github.com/simonmichael/hledger/issues/2177
237-
[#2178]: https://github.com/simonmichael/hledger/issues/2178
238-
[#2189]: https://github.com/simonmichael/hledger/issues/2189
239-
[#2190]: https://github.com/simonmichael/hledger/issues/2190
240-
[#2191]: https://github.com/simonmichael/hledger/issues/2191
241-
242-
243-
### hledger-ui 1.33
244-
245-
246-
Fixes
247-
248-
- Require process 1.6.19.0+ to avoid any vulnerabilities on Windows from
249-
[HSEC-2024-0003](https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html).
250-
251-
Features
252-
253-
- Add a `dark` theme. (Jonathan Dowland)
254-
255-
Improvements
256-
257-
- Allow building with GHC 9.8.
258-
259-
- Require safe >=0.3.20.
260-
261-
262-
### hledger-web 1.33
263-
264-
265-
Fixes
266-
267-
- Exclude base64 >=1.0 to avoid compilation failure. [#2166]
268-
269-
- Preserve line breaks when showing an error message. [#2163] (Martijn van der Ven)
270-
271-
Improvements
272-
273-
- Zero amounts are now shown with their commodity symbol.
274-
This was mainly to make the sidebar more informative,
275-
but also affects and hopefully helps amounts displayed elsewhere.
276-
[#2140]
277-
278-
- Amounts in the sidebar now also have the `amount` HTML class.
279-
280-
- Allow building with GHC 9.8.
281-
282-
- Require safe >=0.3.20.
283-
284-
Docs
285-
286-
- Mention the `-E/--empty` flag for hiding zeros,
287-
the non-display of costs,
288-
and non-zeros that look like zero because of hidden costs.
289-
290-
[#2140]: https://github.com/simonmichael/hledger/issues/2140
291-
[#2163]: https://github.com/simonmichael/hledger/issues/2163
292-
[#2166]: https://github.com/simonmichael/hledger/issues/2166
293-
294-
295-
### project changes 1.33
296-
297-
298-
Misc
299-
300-
- Apple ARM binaries are now included in github releases.
301-
302-
Docs
303-
304-
- REGRESSIONS: we now split the bounty between finder and fixer
305-
- move Developer docs, MOCKUPS, investment-accounting-features to main repo
306-
- merge LINKS into dev docs page; cleanup
307-
- drop unused BACKLOG, TODO pages
308-
309-
310-
### credits 1.33
311-
312-
313-
Simon Michael,
314-
Jonathan Dowland,
315-
Ilja Kocken,
316-
Colin Dean,
317-
Dmitry Astapov,
318-
Vekhir,
319-
ShrykeWindgrace,
320-
Martijn van der Ven,
321-
Michael Rees,
322-
aragaer,
323-
hamzashezad.
55+
Simon Michael.
32456

57+
[#2149]: https://github.com/simonmichael/hledger/issues/2149
58+
[#2149]: https://github.com/simonmichael/hledger/issues/2149
59+
[#2196]: https://github.com/simonmichael/hledger/issues/2196
32560

32661

32762
</details>

0 commit comments

Comments
 (0)