1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/CHANGELOG.md

89 lines
3.2 KiB
Markdown
Raw Normal View History

2019-07-16 16:29:27 +03:00
## V 0.1.16
*17 Jul 2019*
- High order functions
2019-07-16 00:56:18 +03:00
## V 0.1.15
*15 Jul 2019*
- FreeBSD, OpenBSD, NetBSD, DragonFly support.
2019-07-16 01:03:20 +03:00
- Hot code reloading now works with graphical applications: [bounce.v](https://github.com/vlang/v/blob/master/examples/hot_code_reloading/bounce.v)
2019-07-16 00:56:18 +03:00
- VROOT was removed, the installation process is now much simpler.
2019-07-16 01:03:20 +03:00
- `defer` statement.
2019-07-16 00:56:18 +03:00
- map.v was re-written. It's now much faster.
- `for key, val in map` syntax.
- `flag` module for parsing command line arguments.
- `zip` module.
- `crypto/sha1` module.
2019-07-16 01:03:20 +03:00
- Submodules and module aliases (`import encoding.base64 as b64`).
2019-07-16 00:56:18 +03:00
2019-07-12 06:23:00 +03:00
2019-07-12 17:11:32 +03:00
## V 0.1.14
2019-07-12 06:23:00 +03:00
*12 Jul 2019*
- `gg` module Windows support, V Tetris runs on Windows.
- `glad` and `cJSON` are now compiled only once, this makes compilation of programs using `gg` and `json
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 17:11:32 +03:00
## V 0.1.13
2019-07-12 06:23:00 +03:00
*10 Jul 2019*
2019-07-10 10:22:42 +03: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 10:19:30 +03:00
2019-07-12 17:11:32 +03:00
## V 0.1.12
2019-07-12 06:23:00 +03:00
*4 Jul 2019*
2019-07-04 03:38:28 +03: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.
- Lots of `vfmt` fixes, it will be enabled tomorrow.
- New `strings` module.
- Lots of other fixes and improvements, thanks to all the contributors.
2019-07-10 10:19:30 +03:00
2019-07-12 17:11:32 +03:00
## V 0.1.11
2019-07-12 06:23:00 +03:00
*1 Jul 2019*
2019-07-04 03:39:14 +03:00
- Cross compilation for Windows!
2019-07-04 03:38:28 +03:00
- Lots of Windows fixes
- socket.v
- maps fixed
2019-07-04 03:39:14 +03:00
2019-06-28 14:49:34 +03:00
2019-07-12 17:11:32 +03:00
## 0.1.9 - 0.1.10
2019-07-12 06:23:00 +03:00
*29 Jun 2019*
2019-06-29 23:05:02 +03: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.
- One single archive with pre-built binaries for all operating systems.
- `mut var := val` was fixed (previously `mut var = val` was allowed as well).
2019-07-12 17:11:32 +03:00
## 0.1.8
2019-07-12 06:23:00 +03:00
*28 Jun 2019*
2019-06-28 14:49:34 +03:00
- Single file programs without `fn main` now work as expected.
2019-06-29 19:05:57 +03:00
- REPL has been fixed: it now supports imports, consts, function definitions, etc.
2019-06-28 14:49:34 +03:00
2019-07-12 17:11:32 +03:00
## 0.1.7
2019-07-12 06:23:00 +03:00
*27 Jun 2019*
2019-06-27 23:48:46 +03:00
- All C code in the compiler and vlib has been replaced with V.
2019-06-28 00:41:13 +03:00
- `#` syntax for embedding C code has been removed.
2019-06-27 23:48:46 +03: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.