From 2ab152390e017fce08f07eacfe1581dc4aa67d22 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 28 Sep 2024 18:50:00 +0300 Subject: [PATCH] V 0.4.8 --- CHANGELOG.md | 7 ++++--- v.mod | 2 +- vlib/semver/v.mod | 2 +- vlib/v/util/version/version.v | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 692d822b1c..fbd4f137cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ ## V 0.4.8 +*28 Sep 2024* + #### Improvements in the language - A new `implements` keyword for explicit interface implementation - Allow multi return as fn argument (#21991) @@ -8,7 +10,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) +- Add support for `@BUILD_DATE`, `@BUILD_TIME` and `@BUILD_TIMESTAMP`, all using v.util.get_build_time(), and overridable through SOURCE_DATE_EPOCH (#22213) #### Breaking changes - Deprecate `x.vweb` and `vweb` in favor of `veb`, a faster, easier, and more stable framework. @@ -67,7 +69,6 @@ - builder: allow for `v -dump-defines - -check cmd/v`, which is faster, because it can skip code generation - Reduce allocations for the most common cases (#22142) - transformer: add support for instrumenting the V compiler with `-d trace_transformer` -- all: add support for `@BUILD_DATE`, `@BUILD_TIME` and `@BUILD_TIMESTAMP`, all using v.util.get_build_time(), and overridable through SOURCE_DATE_EPOCH (#22213) #### Standard library - encoding.base58: fix notice for slice creation (#21935) @@ -272,7 +273,6 @@ - examples,os: add an os.asset module, use it to simplify code in examples/, by removing `$if android {` checks (#22281) - add a consistent background to flappylearning, shown when the height of the view is very high (on Android) -*28 Sep 2024* ## V 0.4.7 *26 Jul 2024* @@ -1480,6 +1480,7 @@ - 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) diff --git a/v.mod b/v.mod index 2bf65e9f9b..540d3fb163 100644 --- a/v.mod +++ b/v.mod @@ -1,7 +1,7 @@ Module { name: 'V' description: 'The V programming language.' - version: '0.4.7' + version: '0.4.8' license: 'MIT' repo_url: 'https://github.com/vlang/v' dependencies: [] diff --git a/vlib/semver/v.mod b/vlib/semver/v.mod index 0e4b3c0e0f..04a0f2f8bd 100644 --- a/vlib/semver/v.mod +++ b/vlib/semver/v.mod @@ -1,5 +1,5 @@ Module { name: 'semver' - version: '0.4.7' + version: '0.4.8' deps: [] } diff --git a/vlib/v/util/version/version.v b/vlib/v/util/version/version.v index 78723c8838..5d3509e3bd 100644 --- a/vlib/v/util/version/version.v +++ b/vlib/v/util/version/version.v @@ -2,7 +2,7 @@ module version import os -pub const v_version = '0.4.7' +pub const v_version = '0.4.8' pub fn full_hash() string { build_hash := vhash()