Skip to content

Velt 0.2.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 15:26
· 759 commits to main since this release
a2401ab

Install

Linux and macOS:

curl -fsSL https://github.com/velt-lang/velt/releases/download/v0.2.1/get-velt.sh | sh

Windows (PowerShell):

irm https://github.com/velt-lang/velt/releases/download/v0.2.1/get-velt.ps1 | iex

Then 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

  • lower: a cell for each pattern binding, so closures may assign for-of, Map/Set loop and destructured variables by @andtii in #962
  • TS compat: destructured parameters, parameter types from defaults, rest parameters and generic function types by @andtii in #995
  • vir: describe source variables for debuggers in debug builds by @andtii in #972
  • xtask: run the VS Code extension's tests when editors/vscode changes by @andtii in #982
  • std: memcpy slice/concat and xorMask for u8[], utf8Valid in the runtime; TcpStream.read allocates once data is ready by @andtii in #977
  • runtime: per-core scheduler behind VELT_SCHEDULER=per-core (#211 step 1) by @andtii in #992
  • runtime: own WebSocket codec for std/websocket (queued sends, one write per batch, no idle buffers) by @andtii in #976
  • toolchain: trust a backup release key beside the signing key by @andtii in #1000
  • toolchain: velt toolchain prune by @andtii in #1003
  • ci: lint pull requests on Windows and macOS when they touch OS-specific code by @andtii in #1001
  • std/websocket: topics (subscribe, publish), encoded once and queued per subscriber by @andtii in #985
  • toolchain: a new patch version gets the target packs of the one it follows by @andtii in #1004
  • TS compat: Record and JsonValue index-key order, object-literal assignment holders, live map loops over elements and getters by @andtii in #917
  • velt_rt: the call-order WebSocket test no longer depends on how far the writer got by @andtii in #1007
  • symbol: Symbol(), Symbol.for, well-known symbols, unique symbol keys by @andtii in #968
  • codegen_cl: DWARF variables and types for debug builds by @andtii in #973
  • toolchain: velt.lock.json records the velt that builds the package by @andtii in #1002
  • editors/lldb: formatters for strings, arrays, unions and options by @andtii in #974
  • TS compat: typeof in types and index signatures by @andtii in #999
  • release: velt 0.2.1 by @andtii in #1010

Full Changelog: v0.2.0...v0.2.1