Skip to content

Commit 747508c

Browse files
committed
changelog: minor 0.4.8 fixes
1 parent 106cc3e commit 747508c

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Comptime support for traversing the method parameters with `$for param in method.params {` (#22229)
99
- Show missing variants in the sum type error
1010
- A much better and detailed unmatched fn arg error
11+
- Add support for `@LOCATION`, for more convenient logging/tracing, without needing to combine `@FILE`, `@LINE` at runtime (#19488)
1112

1213
#### Breaking changes
1314
- Deprecate `x.vweb` and `vweb` in favor of `veb`, a faster, easier, and more stable framework.
@@ -92,9 +93,11 @@
9293
- flag: add custom value descriptions for bool, int, and float flags too (#22032)
9394
- flag: fix assigning to `@[tail]` field when no fields has been matched yet in `flag.parse[T]()` (#22043)
9495
- crypto: add a crypto.pbkdf2 module (#22047)
96+
- hash: add more methods to the hash.Hash interface, to match the ones in Go (#22001)
9597
- arrays: simplify arrays.sum and arrays.reduce (#22076)
9698
- x.json2: support @[skip] as well (#22077)
9799
- builtin,thirdparty: fix compilation of libgc with `-cc msvc -gc boehm` (thanks to @Ekopalypse)
100+
- stbi: change Image.data from voidptr to &u8, to reduce casts (#21977)
98101
- time: update parse_format comment description in parse.c.v (#22104)
99102
- vlib: add an `arrays.parallel` module, containing `parallel.run/3` and `parallel.amap/3` implementations (#22090)
100103
- builtin: support `-d builtin_print_use_fprintf`, make the C fn declarations stricter (#22137)
@@ -225,7 +228,7 @@
225228
- Add diagnostic in `v repeat` for invalid combinations of -r, -i and -a flags
226229
- Fix `v doc` truncating code blocks, that lack a specific language (fix #22017)
227230
- v.util: add get_build_time/0, supporting https://reproducible-builds.org/docs/source-date-epoch/
228-
- Fix `v doc` not converting <s> in plain code blocks into encoded html entities in its .html output
231+
- Fix `v doc` not converting `<s>` in plain code blocks into encoded html entities in its .html output
229232
- ci: run `npx prettier --write **.yml`; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder
230233
- docs: add implements keyword for explicit interface implementations (#22214)
231234
- Make fast_job.v more robust (setup a custom PATH) and informative on fast.v failures (compile it with -g)
@@ -1477,7 +1480,6 @@
14771480
- Recognize or blocks in call args (#19690)
14781481

14791482
#### Tools
1480-
- all: add support for `@LOCATION`, for more convenient logging/tracing, without needing to combine `@FILE`, `@LINE` at runtime (#19488)
14811483
- benchmark: add new methods b.record_measure/1 and b.all_recorded_measures/0 (#19561)
14821484
- ci: update c2v workflow, translate doom on macOS (#19562)
14831485
- strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625)

cmd/tools/changelog_helper.v

+11-7
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ fn (mut app App) process_line(text string) ! {
165165
category = .checker
166166
} else if is_examples(text) {
167167
category = .examples
168-
//println("Skipping line (example) $text")
169-
//return
168+
// println("Skipping line (example) $text")
169+
// return
170170
} else if is_skip(text) {
171171
// Always skip cleanups, typos etc
172-
println("Skipping line (cleanup/typo)\n$text\n")
172+
println('Skipping line (cleanup/typo)\n${text}\n')
173173
if delete_skipped {
174174
delete_processed_line_from_log(text)!
175175
}
@@ -205,10 +205,10 @@ fn (mut app App) process_line(text string) ! {
205205
delete_processed_line_from_log(text)!
206206
return
207207
} else {
208-
println("Skipping line\n$text\n")
209-
if delete_skipped {
210-
delete_processed_line_from_log(text)!
211-
}
208+
println('Skipping line (unknown category)\n${text}\n')
209+
// if delete_skipped {
210+
// delete_processed_line_from_log(text)!
211+
//}
212212
return
213213
}
214214
println('process_line: cat=${category} "${text}"')
@@ -398,6 +398,9 @@ const stdlib_strings = [
398398
'log:',
399399
'flag:',
400400
'regex:',
401+
'tmpl:',
402+
'hash:',
403+
'stbi:',
401404
]
402405

403406
fn is_stdlib(text string) bool {
@@ -418,6 +421,7 @@ fn is_orm(text string) bool {
418421

419422
const cgen_strings = [
420423
'cgen:',
424+
'cgen,',
421425
'v.gen.c:',
422426
]
423427

0 commit comments

Comments
 (0)