Repository navigation
Vectrune 0.3.17 — Local add-ons, CLI commands, and Sprite2D
Build and test add-ons locally
- Install a Rune or native checkout with
vectrune deps install PATH. For a directly built native library, pass its path and--manifest path/to/vectrune.toml. - Use
--globalto make a local installation available across projects. Inspect global installs withvectrune deps global listand remove them withvectrune deps global remove NAME. Local records stay outside the project manifest and lockfile. - Wrap an existing CLI in a package
[command]on macOS or Linux. Operators approve the executable and command declaration. Packages declare the allowed argument layout, timeout, and output limit. - Follow the expanded add-on authoring guides for Rune packages, manifests, CLI commands, and publishing. The native guide explains the experimental C ABI v1 and includes a complete downloadable Rust example.
- The artifact catalog now accepts individual package files. The default Cloudflare and Vault entries are v0.2.0 and v0.1.2, respectively.
Sprite2D and browser games
- The new Sprite2D engine supports 2D sprite scenes and collision queries. The Rust AOT compiler emits JavaScript for supported
@Logicactions in Rune-Web. Star Viper demonstrates both. - Fixed a compiled assignment that could hide an update to persisted action state. Neon Circuit’s desktop weapon wheel now opens and closes correctly when actions are compiled.
- Embedded games keep their iframe during page updates and reset the embed when you switch games. The site defers source highlighting until you open a code file. Glowtide shows a resume control when paused.
Runtime fixes
- Fixed
memory.del --key-from-context. In-memory stores validate arguments and support atomic push and compare-and-set with TTL handling. - Native shutdown waits briefly for in-flight references to release their extension instance.
Compatibility
Existing committed add-on dependencies still use their manifest and lockfile. A local installation can replace a declared dependency only with an explicit override. Native libraries and wrapped executables require operator approval. Wrapped executables run with declared arguments and no implicit shell.
Vectrune’s compiler, CLI, and runtime remain MIT licensed. Games and standalone tools now carry separate licenses. See the license section of the README for the scope of each license.
What's Changed
- Wait briefly for in-flight native Arc references during shutdown by @davethomas11 in #59
- Fix memory.del --key-from-context, validate args, and add atomic memory.push / memory.cas / --ttl by @davethomas11 in #58
- fix(site): prevent DOM morph from detaching embedded game iframes by @davethomas11 in #60
- Catalog: cloudflare 0.2.0 as default by @davethomas11 in #61
- Catalog: vault 0.1.2 as default by @davethomas11 in #62
- Build the artifact catalogue from one file per package by @davethomas11 in #64
- License Vectrune games and standalone tools separately by @davethomas11 in #65
- feat: sprite2d engine, Rust AOT for @logic, and Star Viper by @davethomas11 in #63
- Expand add-on authoring and local testing by @davethomas11 in #66
- Prepare Vectrune v0.3.17 by @davethomas11 in #67
Full Changelog: v0.3.16...v0.3.17