2019-08-22 23:26:59 +02:00
|
|
|
|
## V 0.1.19
|
2019-09-12 02:59:24 +02:00
|
|
|
|
*12 Sep 2019*
|
2019-08-22 23:26:59 +02:00
|
|
|
|
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- Lots of refactoring, simplifications, and optimizations in the compiler.
|
|
|
|
|
- Experimental memory management at compilation (only for the V compiler itself for now).
|
|
|
|
|
- Lots of ORM fixes.
|
|
|
|
|
- Functions can now be inlined via the `[inline]` attribute.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- New `mysql` module.
|
|
|
|
|
- Better error format that is supported by all major editors (go to error).
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- Error messages now point to the actual place where the error happened.
|
|
|
|
|
- Custom json field names: `struct User { last_name string [json:lastName] }`.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- Raw json fields via the `[raw]` attribute.
|
|
|
|
|
- All C code was removed from the `freetype` module.
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- `gg` module can now render all Unicode characters.
|
2019-08-23 02:10:37 +02:00
|
|
|
|
- `[typedef]` attribute for imported C struct typedefs.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- Support of Objective C interfaces (primarily for using Cocoa).
|
|
|
|
|
- REPL: clear command and custom functions.
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- REPL tests (which are also used for testing certain compiler errors).
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- Syntax bug fixed: `foo[0] += 10` is now possible.
|
|
|
|
|
- http: support plain HTTP protocol and follow redirects.
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- http: header data is now processed correctly.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- net: basic UDP support.
|
2019-09-12 02:59:24 +02:00
|
|
|
|
- `import const` was removed from the language.
|
|
|
|
|
- `array.contains()` was removed from the language (`in` should be used instead).
|
|
|
|
|
- `[0; len]` syntax was removed (replaced with a simpler `[0].repeat(len)`)
|
|
|
|
|
- Primitive aliases were removed to simplify the language.
|
|
|
|
|
- GitHub supports V now!
|
|
|
|
|
- Backtraces are now printed on panics.
|
|
|
|
|
- A new awesome `readline` module.
|
|
|
|
|
- V.c is now regenerated automatically after every commit.
|
|
|
|
|
- A bug with struct ordering was fixed, now structs can be declared in any order.
|
|
|
|
|
- V modules can now be built with `v build module`.
|
|
|
|
|
- `@FILE, @LINE, @FN, @COLUMN` for debugging.
|
2019-09-15 13:08:40 +02:00
|
|
|
|
- JavaScript backend!
|
2019-08-22 23:26:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-23 02:10:37 +02:00
|
|
|
|
|
2019-08-03 10:26:36 +02:00
|
|
|
|
## V 0.1.18
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*16 Aug 2019*
|
|
|
|
|
|
|
|
|
|
- Built-in ORM (`uk_customers = db.select from Customer where country == 'uk' && nr_orders > 0`)
|
|
|
|
|
- Map initialization syntax: `m := { ‘foo’: ‘bar’, ‘baz’: ‘foo’ }`
|
|
|
|
|
- `map.delete(key)`.
|
|
|
|
|
- `libcurl` dependency was removed from the `http` module.
|
|
|
|
|
- All function arguments are now immutable by default (previously they could be
|
|
|
|
|
modifed inside the function).
|
|
|
|
|
- `http` functions now return optionals.
|
|
|
|
|
- `sync.WaitGroup`.
|
|
|
|
|
- `vweb` static files serving.
|
|
|
|
|
- `crypto.rand` module.
|
|
|
|
|
- `v up` to update V.
|
|
|
|
|
- SChannel support on Windows.
|
|
|
|
|
- `net.urllib` module.
|
|
|
|
|
- vpm package manager, `v install`.
|
|
|
|
|
- `()` are now required in complex bool expressions: `(a && b) || c` instead of `a && b || c
|
|
|
|
|
- All arrays now have a default `.str()` method.
|
|
|
|
|
- Bootstrapping V with MSVC.
|
2019-08-16 23:48:04 +02:00
|
|
|
|
- Experimental `≠` etc support.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- `encoding.csv` module.
|
|
|
|
|
- `$if debug {` for running code in debug mode only.
|
|
|
|
|
- Map struct fields are now initialized automatically, just like arrays.
|
|
|
|
|
- Maps now support array values.
|
|
|
|
|
- `json` functions can no longer be used if the `json` module is not imported.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## V 0.1.17
|
|
|
|
|
*29 Jul 2019*
|
|
|
|
|
- `vweb` module for developing web apps in V.
|
|
|
|
|
- vtalk, open source V forum software.
|
|
|
|
|
- Generics (very limited right now, but they will be gradually improved).
|
|
|
|
|
- Comptime codegen (`foo.$method()` where `method` is a string).
|
|
|
|
|
- @ for escaping keywords (e.g. `struct Foo { @type string }`).
|
|
|
|
|
- Windows Unicode fixes (V can now work with non-ASCII paths etc on Windows).
|
|
|
|
|
- Fix mutable args bugs + don't allow primitive arguments to be modified.
|
2019-07-25 14:13:35 +02:00
|
|
|
|
- Declaring a mutable variable and never modifying it results in a compilation error.
|
2019-07-29 18:44:48 +02:00
|
|
|
|
- Interactive debugging support.
|
|
|
|
|
- `sync` module for Windows.
|
|
|
|
|
- `#!` support on Unix systems (V scripts).
|
|
|
|
|
- Lots of Visual Studio fixes.
|
|
|
|
|
- `crypto.aes` and `crypto.rc4` modules.
|
|
|
|
|
- Internal modules.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-24 02:35:25 +02:00
|
|
|
|
|
|
|
|
|
|
2019-08-22 23:26:59 +02:00
|
|
|
|
## V 0.1.16
|
|
|
|
|
*23 Jul 2019*
|
|
|
|
|
- V can now be used with Visual Studio!
|
|
|
|
|
- Hot code reloading now works with graphical applications (e.g. graph.v, bounce.v).
|
|
|
|
|
- Compile time memory management for arrays.
|
|
|
|
|
- High order functions.
|
|
|
|
|
- `match` expression (replacing `switch`).
|
|
|
|
|
- Import cycle detection.
|
2019-07-24 00:44:54 +02:00
|
|
|
|
- `crypto/md5`, `crypto/sha256`, and `crypro/sha512` modules.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- `os.executable()` - a cross platform function that returns full path to current executable.
|
|
|
|
|
- `~/.vlang` and `VROOT` were removed entirely. The installation is a lot cleaner now.
|
|
|
|
|
- V can now be packaged for all Linux distros.
|
|
|
|
|
- Arch Linux package.
|
|
|
|
|
- `string(bytes_buffer, len)`, `string(bytes_array)` casts.
|
|
|
|
|
- Multiple `defer`s.
|
|
|
|
|
- `key in map` syntax (replacing `map.exists(key)`).
|
2019-07-16 15:29:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-22 23:26:59 +02:00
|
|
|
|
## V 0.1.15
|
|
|
|
|
*15 Jul 2019*
|
|
|
|
|
- FreeBSD, OpenBSD, NetBSD, DragonFly support.
|
|
|
|
|
- Hot code reloading now works with graphical applications: [bounce.v](https://github.com/vlang/v/blob/master/examples/hot_code_reloading/bounce.v)
|
|
|
|
|
- VROOT was removed, the installation process is now much simpler.
|
2019-07-16 00:03:20 +02:00
|
|
|
|
- `defer` statement.
|
2019-07-15 23:56:18 +02:00
|
|
|
|
- map.v was re-written. It's now much faster.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- `for key, val in map` syntax.
|
|
|
|
|
- `flag` module for parsing command line arguments.
|
|
|
|
|
- `zip` module.
|
|
|
|
|
- `crypto/sha1` module.
|
|
|
|
|
- Submodules and module aliases (`import encoding.base64 as b64`).
|
2019-07-15 23:56:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-12 05:23:00 +02:00
|
|
|
|
|
2019-08-22 23:26:59 +02:00
|
|
|
|
## V 0.1.14
|
|
|
|
|
*12 Jul 2019*
|
|
|
|
|
- `gg` module Windows support, V Tetris runs on Windows.
|
2019-07-12 05:23:00 +02:00
|
|
|
|
- `glad` and `cJSON` are now compiled only once, this makes compilation of programs using `gg` and `json
|
2019-08-22 23:26:59 +02:00
|
|
|
|
a bit faster.
|
|
|
|
|
- `v.c` has been cleaned up and minimized (~16k => ~10k lines of code).
|
|
|
|
|
- `type` aliases can now have methods.
|
|
|
|
|
- Const overflow check during compilation (`byte(1000)` will no longer compile)
|
2019-07-12 05:23:00 +02:00
|
|
|
|
|
|
|
|
|
|
2019-07-12 16:11:32 +02:00
|
|
|
|
## V 0.1.13
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*10 Jul 2019*
|
2019-07-10 09:22:42 +02:00
|
|
|
|
- New enum syntax (`token == .name`), enum values are no longer global consts.
|
|
|
|
|
- Submodules (`import encoding.base64`).
|
|
|
|
|
- Hot code reloading.
|
|
|
|
|
- Special `err` variable for getting error values.
|
|
|
|
|
- Complex numbers.
|
|
|
|
|
- `<<` can now append arrays (`numbers << [1, 2, 3]`).
|
|
|
|
|
- Lots of Windows fixes (Windows still needs some work).
|
|
|
|
|
- Lots of REPL improvements (e.g. `>> 2 + 3` works now, no `println` required).
|
|
|
|
|
- The website was made easily translatable, it's now partially available in several languages.
|
2019-07-10 09:19:30 +02:00
|
|
|
|
|
|
|
|
|
|
2019-07-12 16:11:32 +02:00
|
|
|
|
## V 0.1.12
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*4 Jul 2019*
|
2019-07-04 02:38:28 +02:00
|
|
|
|
- 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`. Lots of bugs with optionals fixed.
|
|
|
|
|
- `println` was optimized. It no longer results in allocations. Now it also works correctly with all integer types.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- Lots of `vfmt` fixes, it will be enabled tomorrow.
|
2019-07-04 02:38:28 +02:00
|
|
|
|
- New `strings` module.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- Lots of other fixes and improvements, thanks to all the contributors.
|
2019-07-04 02:38:28 +02:00
|
|
|
|
|
2019-07-10 09:19:30 +02:00
|
|
|
|
|
2019-07-12 16:11:32 +02:00
|
|
|
|
## V 0.1.11
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*1 Jul 2019*
|
2019-07-04 02:39:14 +02:00
|
|
|
|
- Cross compilation for Windows!
|
2019-07-04 02:38:28 +02:00
|
|
|
|
- Lots of Windows fixes
|
|
|
|
|
- socket.v
|
|
|
|
|
- maps fixed
|
2019-07-04 02:39:14 +02:00
|
|
|
|
|
2019-06-28 13:49:34 +02:00
|
|
|
|
|
2019-08-23 02:10:37 +02:00
|
|
|
|
## V 0.1.9 - 0.1.10
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*29 Jun 2019*
|
2019-06-29 22:05:02 +02:00
|
|
|
|
- Windows support via MinGW-w64. Pre-built Windows binary.
|
|
|
|
|
- File structure has been simplified: all vlib modules were moved to the vlib/ directory,
|
|
|
|
|
makefile was moved to the root.
|
2019-08-22 23:26:59 +02:00
|
|
|
|
- One single archive with pre-built binaries for all operating systems.
|
2019-06-29 22:05:02 +02:00
|
|
|
|
- `mut var := val` was fixed (previously `mut var = val` was allowed as well).
|
|
|
|
|
|
2019-08-23 02:10:37 +02:00
|
|
|
|
## V 0.1.8
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*28 Jun 2019*
|
2019-06-28 13:49:34 +02:00
|
|
|
|
- Single file programs without `fn main` now work as expected.
|
2019-06-29 18:05:57 +02:00
|
|
|
|
- REPL has been fixed: it now supports imports, consts, function definitions, etc.
|
2019-06-28 13:49:34 +02:00
|
|
|
|
|
2019-08-23 02:10:37 +02:00
|
|
|
|
## V 0.1.7
|
2019-08-22 23:26:59 +02:00
|
|
|
|
*27 Jun 2019*
|
2019-06-27 22:48:46 +02:00
|
|
|
|
- All C code in the compiler and vlib has been replaced with V.
|
2019-06-27 23:41:13 +02:00
|
|
|
|
- `#` syntax for embedding C code has been removed.
|
2019-06-27 22:48:46 +02:00
|
|
|
|
- Exported functions now need to be marked with `pub`, all public vlib functions have been updated.
|
|
|
|
|
- CI has been set up (Travis + Azure). On every commit and PR it is made sure that V
|
|
|
|
|
can compile itself, all tests pass, and all examples compile.
|
|
|
|
|
- More tests have been uploaded.
|
|
|
|
|
- Cleaner bytes to string conversion: `tos2(bytes)` => `string(bytes)`.
|
|
|
|
|
- The home page has 3 more examples next to 'hello world' that show the features of the language.
|
|
|
|
|
- Lots of bugs and issues fixed.
|