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