Skip to content

Commit

Permalink
changelog: minor 0.4.8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Sep 28, 2024
1 parent 106cc3e commit 747508c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Comptime support for traversing the method parameters with `$for param in method.params {` (#22229)
- Show missing variants in the sum type error
- A much better and detailed unmatched fn arg error
- Add support for `@LOCATION`, for more convenient logging/tracing, without needing to combine `@FILE`, `@LINE` at runtime (#19488)

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

#### Tools
- all: add support for `@LOCATION`, for more convenient logging/tracing, without needing to combine `@FILE`, `@LINE` at runtime (#19488)
- benchmark: add new methods b.record_measure/1 and b.all_recorded_measures/0 (#19561)
- ci: update c2v workflow, translate doom on macOS (#19562)
- strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625)
Expand Down
18 changes: 11 additions & 7 deletions cmd/tools/changelog_helper.v
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ fn (mut app App) process_line(text string) ! {
category = .checker
} else if is_examples(text) {
category = .examples
//println("Skipping line (example) $text")
//return
// println("Skipping line (example) $text")
// return
} else if is_skip(text) {
// Always skip cleanups, typos etc
println("Skipping line (cleanup/typo)\n$text\n")
println('Skipping line (cleanup/typo)\n${text}\n')
if delete_skipped {
delete_processed_line_from_log(text)!
}
Expand Down Expand Up @@ -205,10 +205,10 @@ fn (mut app App) process_line(text string) ! {
delete_processed_line_from_log(text)!
return
} else {
println("Skipping line\n$text\n")
if delete_skipped {
delete_processed_line_from_log(text)!
}
println('Skipping line (unknown category)\n${text}\n')
// if delete_skipped {
// delete_processed_line_from_log(text)!
//}
return
}
println('process_line: cat=${category} "${text}"')
Expand Down Expand Up @@ -398,6 +398,9 @@ const stdlib_strings = [
'log:',
'flag:',
'regex:',
'tmpl:',
'hash:',
'stbi:',
]

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

const cgen_strings = [
'cgen:',
'cgen,',
'v.gen.c:',
]

Expand Down

0 comments on commit 747508c

Please sign in to comment.