Skip to content

Amber CLI v2.0.21

Latest

Choose a tag to compare

@crimson-knight crimson-knight released this 03 Dec 17:49
b70496c

What changed

  • amber new <name> --type game (preview, #91). It writes a co-op browser game on the Amber Game Kit v0.1.1 (commit 5b03a7382d9ec97afbf90a6eabe683116fa573f2, tarball sha256 2c4a04d4f1c77f193725b26e875fc48b3c7599645a3a89bfddb01f14106d9300):
    • Crystal rules compiled to WebAssembly, a page with the kit's input layer, invite link and QR code, device-only saves, and an Amber V2 relay.
    • Both shard.lock files (root and relay/) pin the kit commit with Minecart checksums, so minecart install --frozen works from the first command.
    • /usr/bin/ruby tooling/first_run.rb installs, fetches the pinned WASI toolchain, builds and starts the game, and prints the link to open in two browser windows.
    • Names that would clash with a Crystal top-level type or a browser page global are refused before anything is written.
    • CI generates a game, builds it, runs its specs and plays it for 3 minutes headless against the kit's performance budget.
  • Generated web and native apps pin the same release set as 2.0.20: Amber 2.0.0-beta.17, Grant 0.30.0, asset_pipeline 0.41.0, crystal-mysql 0.19.0 and Beryl 0.2.5.

Provenance

  • Tag v2.0.21 points at commit b70496c5e0e2e7932239fcdca91ff47c975070cf (the merge of #93).
  • The source archive and its sha256 are attached as amber_cli-source-2.0.21.tar.gz and .sha256. Each binary archive has its own .sha256.
Asset sha256
amber_cli-source-2.0.21.tar.gz d16db5c028f201c84971bb798a3ab401ab75223cd841f923293ecd274daad7af
amber_cli-darwin-arm64.tar.gz 0fe35420af0f210c30522dd9d028359ed0f097ec5680fc9ef9d7fd23079a4528
amber_cli-linux-arm64.tar.gz a09150088d996b65954a7f504f32186e91c636a72cddbb45b2cbcd55e3166114
amber_cli-linux-x86_64.tar.gz fa519320b08ff126705e558fe679c169d6e7198124dabbef2ccce6e38b8455f9