changelog: minor 0.4.8 fixes

This commit is contained in:
Alexander Medvednikov 2024-09-28 18:13:56 +03:00
parent 106cc3ec35
commit 747508c35b
2 changed files with 15 additions and 9 deletions

View file

@ -8,6 +8,7 @@
- Comptime support for traversing the method parameters with `$for param in method.params {` (#22229) - Comptime support for traversing the method parameters with `$for param in method.params {` (#22229)
- Show missing variants in the sum type error - Show missing variants in the sum type error
- A much better and detailed unmatched fn arg 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 #### Breaking changes
- Deprecate `x.vweb` and `vweb` in favor of `veb`, a faster, easier, and more stable framework. - Deprecate `x.vweb` and `vweb` in favor of `veb`, a faster, easier, and more stable framework.
@ -92,9 +93,11 @@
- flag: add custom value descriptions for bool, int, and float flags too (#22032) - 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) - 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) - 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) - arrays: simplify arrays.sum and arrays.reduce (#22076)
- x.json2: support @[skip] as well (#22077) - x.json2: support @[skip] as well (#22077)
- builtin,thirdparty: fix compilation of libgc with `-cc msvc -gc boehm` (thanks to @Ekopalypse) - 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) - 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) - 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) - builtin: support `-d builtin_print_use_fprintf`, make the C fn declarations stricter (#22137)
@ -225,7 +228,7 @@
- Add diagnostic in `v repeat` for invalid combinations of -r, -i and -a flags - 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) - 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/ - 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 - 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) - 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) - Make fast_job.v more robust (setup a custom PATH) and informative on fast.v failures (compile it with -g)
@ -1477,7 +1480,6 @@
- Recognize or blocks in call args (#19690) - Recognize or blocks in call args (#19690)
#### Tools #### 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) - benchmark: add new methods b.record_measure/1 and b.all_recorded_measures/0 (#19561)
- ci: update c2v workflow, translate doom on macOS (#19562) - ci: update c2v workflow, translate doom on macOS (#19562)
- strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625) - strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625)

View file

@ -165,11 +165,11 @@ fn (mut app App) process_line(text string) ! {
category = .checker category = .checker
} else if is_examples(text) { } else if is_examples(text) {
category = .examples category = .examples
//println("Skipping line (example) $text") // println("Skipping line (example) $text")
//return // return
} else if is_skip(text) { } else if is_skip(text) {
// Always skip cleanups, typos etc // Always skip cleanups, typos etc
println("Skipping line (cleanup/typo)\n$text\n") println('Skipping line (cleanup/typo)\n${text}\n')
if delete_skipped { if delete_skipped {
delete_processed_line_from_log(text)! delete_processed_line_from_log(text)!
} }
@ -205,10 +205,10 @@ fn (mut app App) process_line(text string) ! {
delete_processed_line_from_log(text)! delete_processed_line_from_log(text)!
return return
} else { } else {
println("Skipping line\n$text\n") println('Skipping line (unknown category)\n${text}\n')
if delete_skipped { // if delete_skipped {
delete_processed_line_from_log(text)! // delete_processed_line_from_log(text)!
} //}
return return
} }
println('process_line: cat=${category} "${text}"') println('process_line: cat=${category} "${text}"')
@ -398,6 +398,9 @@ const stdlib_strings = [
'log:', 'log:',
'flag:', 'flag:',
'regex:', 'regex:',
'tmpl:',
'hash:',
'stbi:',
] ]
fn is_stdlib(text string) bool { fn is_stdlib(text string) bool {
@ -418,6 +421,7 @@ fn is_orm(text string) bool {
const cgen_strings = [ const cgen_strings = [
'cgen:', 'cgen:',
'cgen,',
'v.gen.c:', 'v.gen.c:',
] ]