changelog: add struct updating syntax (#7883)

pull/7897/head
Daniel Däschle 2021-01-05 16:05:49 +01:00 committed by GitHub
parent 3203a124b2
commit a94935aa08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,13 +3,13 @@
- `vweb` now uses struct embedding: `app.vweb.text('hello') => app.text('hello')`.
- Consts can now be declared outside of `const()` blocks: `const x = 0`.
- Allow overloading of `>`, `<`, `!=` and `==` operators.
- Add struct updating syntax: `Mystruct{ ...ms, name: 'new' }`.
## V 0.2.1
- Hashmap bootstrapping fixes.
- Array decomposition to varargs: `fn sum(i ...int) int` => `a := [2,3,4] println(sum(a...))`
- HTML module docs generated by vdoc now have global search.
## V 0.2
*22 Dec 2020*
- Compile-time memory management via `-autofree`. [Video demonstration](https://www.youtube.com/watch?v=gmB8ea8uLsM).