Repository navigation
Velt 0.2.0
Install
Linux and macOS:
curl -fsSL https://github.com/velt-lang/velt/releases/download/v0.2.0/get-velt.sh | shWindows (PowerShell):
irm https://github.com/velt-lang/velt/releases/download/v0.2.0/get-velt.ps1 | iexThen run velt doctor. The toolchain brings its own linker: no Visual Studio Build Tools,
Xcode or C compiler needed
(Platforms and installation).
What's Changed
- velt_rt: the checking allocator catches reads of freed blocks by @andtii in #882
- sema: callbacks and promise unions (async arrows, sync handlers, function unions, error unions, timer callbacks) by @andtii in #813
- sema: JSX.IntrinsicAttributes checked as in TypeScript (attributes of every component, e.g. client:load) by @andtii in #815
- examples/sigx-ssr: sigx islands rendered by Velt by @andtii in #817
- TS compat: string methods with a RegExp, toExponential/toPrecision, as on literals by @andtii in #881
- TS compat: this/super in static methods, static methods as values, extend statics inherited, generic statics, #x in with primitives, TS18014, class expressions by @andtii in #883
- velt dev: set new functions' slots before redirecting running code to a swap; report a host that crashes during a reload (#880) by @andtii in #907
- TS compat: type-parameter defaults on functions, literal-union index keys, number ports and statuses in std by @andtii in #905
- TS compat: String(x)/Number(x)/Boolean(x), JSON.stringify indent and array replacer, -0 in printed unions, ?: unions, generic truthiness by @andtii in #915
- sema: an HTTP handler that calls a callback assigning a variable it captured is an error by @andtii in #901
- sema: TS compat for functions and callbacks (predicate truthiness, fewer parameters, function unions, variadic push, tuple spreads, void parameters) by @andtii in #908
- sema: a closure created in a closure assigns the variable the outer one captured by @andtii in #906
- tscompat: object-in-template reports only errors and promises (nightly fix) by @andtii in #949
- runtime: debug check that no two tasks use one captured variable's cell by @andtii in #959
- toolchain: velt_toolchain crate and the
veltpin in package.vlt (#948, part 1) by @andtii in #951 - TS compat: type predicates, readonly arrays, satisfies and small syntax, method signatures in object types, object-literal methods by @andtii in #947
- difftest: std/regex shim follows lastIndex (#881); generated programs fit the number model (#685) by @andtii in #965
- toolchain: the velt launcher and
velt toolchain(#948, part 2) by @andtii in #956 - velt_rt: weak-reference core and the ephemeron rule (prototype) by @andtii in #950
- tooling: zero-config VS Code debugging (velt debug type, build --json, CodeLens, .vscode scaffolding) by @andtii in #961
- TS compat: for...in and TypeScript-form overloads by @andtii in #957
- toolchain: installers, packaging and the release workflow for side-by-side versions (#948, part 3) by @andtii in #967
- vir: constructors for LocalDecl and Function, Default for Program by @andtii in #970
- bench/async: pingpong_pinned, request/reply between tasks (#211 step 0) by @andtii in #986
- velt_launcher tests: build the stand-in toolchain in a directory of each test process's own by @andtii in #988
- release: velt 0.2.0 by @andtii in #979
Full Changelog: v0.1.0...v0.2.0