V 0.2 is out! #7474
medvednikov
started this conversation in
Announcements
V 0.2 is out!
#7474
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
V 0.2 has been finally released!
This is the first major release. The main focus of this release has been on stability and compile-time memory management.
-autofree
. Video demonstration.It will be enabled by default in 0.3
shared
.net
module is now non blocking and is more feature complete providing similar API to Go.https://v-wasm.now.sh
if x.expr is int { println(x.expr + 1) }
.users.sort(a.name > b.name)
.vfmt
fixes and improvements. It has now reached a point where it can be safely used on any V source file.v fmt -verify
on the entire code base, a new command that makes sure the file/directoryhas been vfmt'ed. This ensures that all code submitted to the V project is formatted.
v vet
for analyzing the project and finding potential bugs and errors.term.ui
module for building dynamic terminal UIs with an example editor written in it.it
variable has been replaced with smart casts (the change is completely handled by vfmt).foo(5)
instead offoo<int>(5)
.-usecache
. Faster compilation due to not needing to rebuild the entire vlib foreach program. Will be enabled by default in 0.2.1.
development speed. They are still errors in production builds.
break
andcontinue
.modules.vlang.io
is now generated automatically on every commit.time.Time
.array.contains(element)
is now generic.foo(a int, b int, c string)
instead offoo(a, b int, c string)
#pkgconfig
flag to provide platform independent way to get compilation flags for C libraries/packages.println
was made even smarter, and can now handle complex types.$tmpl()
.['/:arg1/:arg2/action']
vweb action attribute for easily getting query parameters assigned to method arguments.gg.text_width()
.[export]
attribute to change exported function name (for example for calling from a C library).unsafe
fixes and improvements.rand.ulid()
,rand.uuid()
, a unified customizable PRNG API.right away as the feature/bug fix lands).
0.3 roadmap:
https://github.com/vlang/v/blob/master/0.3_roadmap.txt
Beta Was this translation helpful? Give feedback.
All reactions