From ed39d151b720b17ba61d5794e3693dfc25bddb64 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 28 Nov 2020 04:42:27 +0100 Subject: [PATCH] V 0.1.30 --- CHANGELOG.md | 19 ++++++++++++------- v.mod | 2 +- vlib/v/tests/vmod_parser_test.v | 3 +-- vlib/v/util/util.v | 2 +- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93f80dae38..a9557f3738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ +## V 0.1.30 +*28 Nov 2020* +(V 0.2 RC) +TODO + ## V 0.1.27 *5 May 2020* -- vfmt has been re-written from scratch using the new AST parser. +- vfmt has been re-written from scratch using the new AST parser. It's much faster, cleaner, and can format files with compilation errors. - `strconv`, `sprintf`, and `printf` in native V, without any libc calls. @@ -38,14 +43,14 @@ files with compilation errors. ## V 0.1.25 *1 Apr 2020* -- The entire compiler has been re-written with an AST parser. - The code is now a lot cleaner and more maintainable. +- The entire compiler has been re-written with an AST parser. + The code is now a lot cleaner and more maintainable. ~15k lines of old compiler code were removed. ## V 0.1.24 *31 Dec 2019* -- A new parser/generator built on top of an AST that simplifies code greatly +- A new parser/generator built on top of an AST that simplifies code greatly and allows to implement new backends much faster. - Sum types (`type Expr = IfExpr | MatchExpr | IntegerLiteral`). - B-tree map (sped up the V compiler by ~10%). @@ -94,7 +99,7 @@ files with compilation errors. - `os.cp()` for copying files and directores. - Additional compile-time flags: `$if clang, msvc, mingw, x32, x64, big_endian, little_endian {`. - All C functions now have to be declared, all missing C functions have been defined. -- Global variables (only with the `--enable-globals` flag) +- Global variables (only with the `--enable-globals` flag) for low level applications like kernels and drivers. - Nothing can be cast to bool (previously code like `if bool(1) {` worked). - `<<` and `>>` now work with all integer types. @@ -336,9 +341,9 @@ this backend. ## V 0.1.12 *4 Jul 2019* - V can finally compile itself on Windows (https://github.com/vlang/v#mingw-w64). -- `os` module now uses optionals in all functions that return `File`. +- `os` module now uses optionals in all functions that return `File`. - Lots of bugs with optionals were fixed. -- `println` was optimized. It no longer results in allocations. +- `println` was optimized. It no longer results in allocations. Now it also works correctly with all integer types. - Lots of `vfmt` fixes, it will be enabled tomorrow. - New `strings` module. diff --git a/v.mod b/v.mod index 178f91bc1e..1f4ad64748 100644 --- a/v.mod +++ b/v.mod @@ -1,7 +1,7 @@ Module { name: 'V' description: 'The V programming language.' - version: '0.1.29' + version: '0.1.30' license: 'MIT' repo_url: 'https://github.com/vlang/v' dependencies: [] diff --git a/vlib/v/tests/vmod_parser_test.v b/vlib/v/tests/vmod_parser_test.v index e20f81ffbf..20026370b3 100644 --- a/vlib/v/tests/vmod_parser_test.v +++ b/vlib/v/tests/vmod_parser_test.v @@ -1,5 +1,4 @@ import vmod - import os fn test_from_file() { @@ -9,7 +8,7 @@ fn test_from_file() { } assert data.name == 'V' assert data.description == 'The V programming language.' - assert data.version == '0.1.29' + assert data.version == '0.1.30' assert data.dependencies.len == 0 } diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index 6b518056ed..894cbecdee 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -9,7 +9,7 @@ import v.pref import v.vmod pub const ( - v_version = '0.1.29' + v_version = '0.1.30' ) // math.bits is needed by strconv.ftoa