Skip to content

Releases: vlang/v

weekly.2021.7

15 Feb 18:02
c057b45
Compare
Choose a tag to compare
releases: weekly.2021.7

weekly.2021.6

08 Feb 18:39
09cff69
Compare
Choose a tag to compare
releases: weekly.2021.6

weekly.2021.5

01 Feb 10:53
4367633
Compare
Choose a tag to compare

weekly.2021.5

0.2.2

22 Jan 09:44
Compare
Choose a tag to compare

V 0.2.2

22 Jan 2021

  • vweb now uses struct embedding: app.vweb.text('hello') => app.text('hello').
  • Consts can now be declared outside of const ( ... ) blocks: const x = 0.
  • Overloading of >, <, !=, ==, <= and >= operators.
  • New struct updating syntax: User{ ...u, name: 'new' } to replace { u | name: 'new' }.
  • byte.str() has been fixed and works like with all other numbers. byte.ascii_str() has been added.
  • Smart cast in for loops: for mut x is string {}.
  • [noinit] struct attribute to disallow direct struct initialization with Foo{}.
  • Array decompose: [1, 2, 3]... is now ...[1, 2, 3]
  • Treating enum as int and operations on enum except == and != are removed for strict type checking.
  • Support [manualfree] fn f1(){} and [manualfree] module m1, for functions doing their own memory management.
  • Allow usage of < and > operators for struct in .sort method for arrays, i.e. arr.sort(a < b).
  • Auto generate assignment operators like +=, -=, *=, /= and %= if the operators are defined.
  • Colorize and improve failing tests output.
  • Fix go with a generic function: go test<string>(c, 'abcd').
  • Add comptime x := $embed_file('v.png') println(x.len) println(ptr_str(x.data())), for embedding files into binaries.
  • Advanced vdoc search on mobile layout.
  • string's left()/right were removed in favor of slicing syntax: str[..pos].
  • gg: native graphics mode on macOS/iOS (using Cocoa Drawing API).

0.2.1

29 Dec 20:28
Compare
Choose a tag to compare
ci: build-vbinaries on windows

0.2

22 Dec 19:52
Compare
Choose a tag to compare

weekly.2020.51.2

16 Dec 14:47
1ee5764
Compare
Choose a tag to compare
os: vfmt all of `os` .v files, add it to `v test-cleancode` with no e…

weekly.2020.51

14 Dec 13:19
89ef316
Compare
Choose a tag to compare
map: use voidptr-based key equality and meta index methods (#7320)

weekly.2020.49.5

04 Dec 12:14
d60f148
Compare
Choose a tag to compare
binary_artifact.yml: chmod 755 thirdparty/tcc/tcc.exe too

weekly.2020.49.4

03 Dec 21:03
b37550c
Compare
Choose a tag to compare
binary_artifact.yml: unpack to a v/ folder as before.