Skip to content

Commit

Permalink
V 0.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Sep 28, 2024
1 parent 747508c commit 2ab1523
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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.
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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*
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion v.mod
Original file line number Diff line number Diff line change
@@ -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: []
Expand Down
2 changes: 1 addition & 1 deletion vlib/semver/v.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Module {
name: 'semver'
version: '0.4.7'
version: '0.4.8'
deps: []
}
2 changes: 1 addition & 1 deletion vlib/v/util/version/version.v
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2ab1523

Please sign in to comment.