Repository navigation
Lasm 0.3.6
Lasm 0.3.6
A fix release for Vercel Edge, found while running Conduit on every platform.
Upgrade with npm install -D @lasm/cli@0.3.6. Nothing else changes in how
programs build or run.
Vercel Edge (--target vercel-edge)
- Deploys from a clean checkout. Vercel looks for
api/functions before
it runs the build command, so theapi/lasm.mjsthat the build writes (and
lasm init --deploy vercel-edgegitignores) was not deployed:vercel build
finished with no function. The build now also writes the function in Vercel's
Build Output API (.vercel/output/functions/api/lasm.func, with the
production npm packages, and.vercel/output/config.jsonrouting every path
to it), as--target vercelalready does. - Compressed files. Vercel's edge runtime drops a response's
Content-Encoding(Vercel compresses responses itself), so the Brotli copies
thatLasm.Fetch.Assetsserves arrived unlabelled and a browser app served
this way did not start. The function now hidesAccept-Encodingfrom the
handler, so it sends files uncompressed.
Conduit (examples/conduit)
- Every platform. Conduit now runs on every platform Lasm supports, each
served in CI by that platform's own local tooling, with RealWorld's official
API and end-to-end suites passing on each: Node, Bun, Deno, Docker, AWS
Lambda (.zip and container image), Vercel, Netlify, Azure Functions, Google
Cloud Functions, Cloudflare Workers, Vercel Edge, Netlify Edge, Deno Deploy,
Supabase Edge Functions, Fastly Compute, and wasi-http on wasmtime and Spin.
The platform table in its README lists each one's store and tooling. - Proofs. A specification map links the RealWorld requirements to the
theorems that cover them.
CI
workers.ymlrunsvercel buildfrom a tree without the generated function,
with the build invercel.json, and bundles a copy of the function alone.- The candidate README test no longer depends on the README's first heading.