From a94935aa081d184196f8c19058e5588e07c85724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=A4schle?= Date: Tue, 5 Jan 2021 16:05:49 +0100 Subject: [PATCH] changelog: add struct updating syntax (#7883) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a8f4fb02..fa689ce496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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).