This commit is contained in:
Alexander Medvednikov 2024-09-28 18:50:00 +03:00
parent 747508c35b
commit 2ab152390e
4 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,6 @@
## V 0.4.8 ## V 0.4.8
*28 Sep 2024*
#### Improvements in the language #### Improvements in the language
- A new `implements` keyword for explicit interface implementation - A new `implements` keyword for explicit interface implementation
- Allow multi return as fn argument (#21991) - 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) - 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) - 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 #### 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.
@ -67,7 +69,6 @@
- builder: allow for `v -dump-defines - -check cmd/v`, which is faster, because it can skip code generation - 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) - Reduce allocations for the most common cases (#22142)
- transformer: add support for instrumenting the V compiler with `-d trace_transformer` - 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 #### Standard library
- encoding.base58: fix notice for slice creation (#21935) - 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) - 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) - 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 ## V 0.4.7
*26 Jul 2024* *26 Jul 2024*
@ -1480,6 +1480,7 @@
- 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)

2
v.mod
View file

@ -1,7 +1,7 @@
Module { Module {
name: 'V' name: 'V'
description: 'The V programming language.' description: 'The V programming language.'
version: '0.4.7' version: '0.4.8'
license: 'MIT' license: 'MIT'
repo_url: 'https://github.com/vlang/v' repo_url: 'https://github.com/vlang/v'
dependencies: [] dependencies: []

View file

@ -1,5 +1,5 @@
Module { Module {
name: 'semver' name: 'semver'
version: '0.4.7' version: '0.4.8'
deps: [] deps: []
} }

View file

@ -2,7 +2,7 @@ module version
import os import os
pub const v_version = '0.4.7' pub const v_version = '0.4.8'
pub fn full_hash() string { pub fn full_hash() string {
build_hash := vhash() build_hash := vhash()