Skip to content
l3i

l3iChangelog

Changelog

Every release of l3i, newest first. A release marked unreleased is declared in mod.toml and published when its tag is pushed.

Releases

25 declared

  1. 3.1.0 stable 2026-11-26

    bytes.deflater: one zlib, raw or gzip stream written in pieces, so a large output never needs its whole input and whole compressed form in memory at once, with a per-runtime limit on live deflaters. A host policy that can refuse process.sleep, and os.clock documented as the clock to measure it with (#56).

    Added

    • bytes.deflater(options) (bytes-codecs) takes deflate's options and returns a dream_bytes_Deflater. write(source, flush?) returns the compressed bytes that are ready, finish(source?) ends the stream and returns the rest; together they are one stream. Without a flush it is byte for byte what bytes.deflate makes of the whole input at the same format and level, however the input was split. flush is 'sync' or 'full' for a decodable point mid-stream. close() abandons the stream without output and is idempotent. Any write or finish after finish, close, a compressor failure or an output Luau's heap could not take is an error. l3i::bytes::codecs::Deflater is its userdata.
    • A deflater holds about 300 KiB outside the Luau heap, so a runtime holds at most 32 live at once, or what the host sets with BytesExtension.with_max_deflaters(max) (1 to 1024), which returns a bytes::BytesConfig. A deflater stops counting when it is finished, closed, fails or is collected.
    • process::input::Policy::check_sleep, asked before every process.sleep, so a frame-driven host can refuse a sleep that would freeze its frames. Its default admits every sleep, so a policy written for 3.0 behaves as it did.

    Changed

    • bytes.deflater and process.sleep are installed per runtime rather than described as plain functions, so a host extension that reuses BytesExtension's or ProcessExtension's describe with an install of its own must install them too. BytesExtension, BytesConfig, ProcessExtension and ProcessConfig themselves need nothing.

    Migration

    Take 3.1.0 in place of 3.0.0. Nothing a caller wrote changes.

    A script that waits measures the wait with os.clock(), which Luau reads from a monotonic wall clock, not CPU time, on Windows, Apple platforms, Linux, Android, FreeBSD and wasm32. A host whose frames must not block overrides check_sleep in the policy it already passes to with_input_policy.

    l3i 3.1.0 3.6 MB · crates.io
    View on crates.io
    Verify · sha256 ee9d395ce0e4…d9ceb9a71
    File
    l3i-3.1.0.crate
    Size
    3750810 bytes
    SHA-256
    ee9d395ce0e4db8dfd1dcf8fcd94e655050b2b35b5a8df50dd61257d9ceb9a71

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  2. 3.0.0 stable 2026-11-21

    Luau 0.747, which removed the integer type: packed scalars ride in tagged light userdata on x86-64 and AArch64 and in interned userdata elsewhere, each kind is its own nominal type, and every other 64-bit value is an exact number or a Bits64. The transport moves to dream-net 2.1, on Más Bandwidth's C netcode with its handshake nonce fix, and a started child's stdin is fed about ten times faster.

    Breaking changes

    • dream-net 2.1.0 (from 1.1.1). @dream/udp speaks NETCODE 1.03, which fixes AEAD nonce reuse in the netcode handshake (GHSA-8mrq-q9c6-h23v): a peer on l3i 3.0 never connects to one on l3i 2.x, whose dream-net speaks NETCODE 1.02, and the attempt ends in connectFailed with "timeout". Upgrade servers and clients together.
    • Connect tokens admit one session: once a session is established with a token, the server refuses it again, from any address, even after the session ends. A client that reconnects needs a fresh token from server:connectToken. A server created from Luau still accepts a token minted in the second it started; a host-created dream_net::Server keeps the restart floor dream-net 2.0 added (a token expiring within the server's maximum token lifetime of its start is refused, 30 seconds with Server::new).
    • A Rust host that depends on dream-net itself, to build the dream_net::Server it hands udp::Server::new, moves to dream-net 2.1.0 too, since that is the Server the bridge takes, and gets dream-net 2's types: Error::Netcode and generate_connect_token carry dream_net::NetcodeError, and TransportConfig::reliable_config and Connection::reliable_counters return ReliableConfig and ReliableCounters. Reliable's packet buffers are capped at 16384.
    • Luau 0.747 (from 0.745). The integer type, 42i literals, the integer library and buffer.readinteger/writeinteger are gone from the language: 42i is a syntax error (Malformed number) and integer an unknown type to the checker.
    • Fast flags: the integer flags left with the type, and LuauCompileNoFoldVectorEqW, LuauCompileMoveElision, LuauCompileFastpcall, LuauFastpcall, LuauTableRobustOom and LuauCodegenPropagateFallbackTags graduated and left the list, so memory::fast_flag answers None for them. The while-local flags lost their Debug prefix (LuauExperimentalWhileLocalSyntax, LuauExperimentalWhileLocalAnalysis).
    • A packed scalar is no longer a Luau integer. typeof answers its kind's name (Quaternion, AnimationKey, Color, ClipRect, Color16, Bits64, a host kind's NAME); it compares and keys tables by its 64 bits and kind, and arithmetic or ordering on one raises. Its bits are unchanged, so BufferPack bytes, saved files and wire formats read the same.
    • Signatures and definitions name each packed kind as a nominal type instead of integer, so a strict script that passes a Color where a Quaternion is expected no longer type checks. A plan whose userdata class or type alias takes a kind's name does not finalize.
    • The packed constants (quat.IDENTITY, raster's TRANSPARENT, BLACK, WHITE, CLIP_ALL and the three 16-bit colours) are module values, no longer folded by the compiler.
    • @dream/udp: peer, event and channel ids are numbers, exact or an error, never rounded; the protocol id, client ids and connect-token fingerprint halves are Bits64. udp.server{ protocolId = ... } takes a Bits64 (bits64.fromNumber(n) or bits64.fromHex(s)).
    • @dream/bytes: readVarint and readSignedVarint answer an exact number or raise above 2^53, and readVarint64/writeVarint64 carry all 64 bits as a Bits64; readi64be/writei64be, fnv1a64, xxh64, xxh3 and a 64-bit hasher's value() are Bits64. 32-bit checksums stay numbers.
    • Rust: convert::Integer, FieldValue::Integer, CompileConstant::Integer, stack::Type::Integer, ValueView::is_integer, Library::Integer and the integer arms of the number readers are gone; Library::STANDARD has 11 entries. Bits64 is a wide packed scalar. FieldValue::Bits64 replaces FieldValue::Integer where the light carrier is in use.
    • Rust FFI: Luau 0.747 renumbers the type tags after LUA_TNUMBER (LUA_TVECTOR is 4 through LUA_TOBJECT 12), and the integer entry points (lua_pushinteger64, lua_tointeger64, lua_isinteger64, luaL_checkinteger64, luaL_optinteger64, luaopen_integer, luau_set_compile_constant_integer64, lua_userdatadirectfield_setinteger64) are gone.
    • Host light userdata: LightUserdata pushes and set_light_userdata_name refuse tags at or above 128, which packed kinds own, and a pointer with a non-zero top nibble.
    • @dream/luau trees: ExprConstantInteger is gone, a StatClass name is a Local or an Expr (Luau 0.747's class a.b), and TypeTable lost isExact with Luau's exact table types.
    • Bytecode with a 64-bit integer constant, which an l3i built on Luau 0.746 or older could write, is refused by load_bytecode with an error naming the chunk. Luau 0.747 keeps bytecode version 14, so its own version check would not catch it.

    Added

    • @dream/bits64 in every plan: fromNumber, toNumber (exact, an error past 2^53), fromParts, parts, hex, fromHex, and read and write on a buffer in little or big byte order. A Bits64 has no arithmetic.
    • l3i::packed::carrier: one seam for how a packed scalar is stored, checked by a self-test at every runtime creation (every single bit, all ones and the non-canonical patterns through a push, a read, equality, inequality under another tag and a table key). L3I_CARRIER=boxed at build time forces the interned carrier on a desktop for testing, without jit.
    • ffi::luau_loadlazy, Luau 0.747's loader that builds each function on first call. l3i does not use it.
    • Runtime::lint_native_annotations and source::lint_native_annotations: the parameters of native functions whose annotation still compiles to a userdata guard after the packed-kind erasure (a kind missing from packed_types, a misspelt type), each with its position. Such a guard refuses a packed scalar on every call and leaves the function at interpreter speed.
    • Luau 0.747's compiler and code generator fixes are on: LuauCompileLoopUnrollNegativeZero, LuauCodegenExitSyncExpectedTag and LuauCodegenFastcallAnalysisLimit, with 0.746's LuauCompileRequireNoInline, LuauLoadExplicitGcDisable, LuauSaltedInterningTable and LuauCodegenX64ConflictCheck.

    Changed

    • dream-net runs on Más Bandwidth's C netcode 1.5.0 and reliable, vendored in dream-net and compiled with clang (18 or newer; l3i already builds only with clang), in place of the netcode-official, reliable and serialize-official crates. Those crates leave l3i's dependency graph, and with them netcode-official 1.0.0, which is yanked: a fresh resolution of l3i 2.11.0 or older no longer builds. The wire format above netcode is unchanged.
    • Every build now links C under BSD-3-Clause (netcode and reliable, Más Bandwidth LLC) and ISC (netcode's libsodium subset), dream-net's license being (MIT OR Apache-2.0) AND BSD-3-Clause AND ISC. A product that ships l3i reproduces dream-net's NOTICE.md.
    • A started child's stdin (process.start, child:write) is written in pieces of up to 256 KiB copied out of the queue as slices, where it went 8 KiB at a time, a byte at a time, under the lock write needs. Feeding 8 MB frames to a child went from 18.09 ms to 1.83 ms a frame in one build without LTO, so read it as relative: about ten times faster, enough to stream raw 1080p60 video to an encoder. The 1 MiB queue bound, wouldBlock, close and cancel behave as before.
    • Every dependency is at its latest compatible release (cc 1.11, ICU4X 2.4, rustls-webpki 0.103.17, webpki-root-certs 1.0.12, among others). No requirement in the manifest moved but dream-net's.
    • Luau 0.747 adds about 9 instructions to every C function call on AArch64 (a raw lua_CFunction counts 243 against 234 on 0.746 under Cachegrind) and none on x86-64; l3i's own share of a bound call is unchanged. The measurements and how to repeat them are in CARRIER_BUDGETS.md.
    • Native lowering of @dream/quat, @dream/raster and @dream/bytes reads and writes the light carrier directly and checks the kind nibble, so a lowered call stays native. A lowered call that produces a packed value writes three stores where the integer took one (Luau does not track a light userdata's extra word), so the smallest such operations cost more than they did: C:rgba8 2 to 3 instructions (+10 to 15 percent) and about 65 percent more cycles, Q:fromXYZW +2 to +3 percent, a reassigned acc = Q:mul(acc, r) about 18 cycles, reassigned raster operations 3 to 5 ns. C:rgba8 exceeds the 3 percent native budget the migration set and is accepted as an exception until Luau tracks extra (#34). Binder instruction counts are unchanged.
    • On targets other than x86-64 and AArch64 (wasm32 first) a packed scalar is an interned userdata: the same semantics, at the cost of a lookup and, for a new value, an allocation. jit is refused there. CI builds wasm32-unknown-emscripten and runs the integration suite there under Node with every feature emscripten can back (all but jit, process, tcp, dns, tls, bytes-crypto), but for UDP sockets, child processes, threads and filesystem semantics its Node filesystem lacks; the boxed carrier reproduces the integer carrier's corpus and BufferPack goldens byte for byte. A wasm32 host links with a -sSTACK_SIZE well above emscripten's 64 KiB default and with ALLOW_MEMORY_GROWTH.
    • Packed type names are erased to any before bytecode, so native type guards never reject a packed value; analysis still sees the names.

    Fixed

    • A lowered colour operation accepted a Color whose payload exceeded 32 bits, which the bound call refuses; it now exits to the bound call.
    • quat.key, keyRotation and keyFlags canonicalized a non-canonical payload where their lowering did not; both now compute on the bits.
    • data.selection with a length the host cannot allocate aborted the process (Rust's infallible allocation); it raises. On 32-bit targets a span's count, offset or stride past the address space was reported as negative or as a short stride; it is refused as a 64-bit target refuses it.
    • l3i did not build for wasm32: the value mirror pinned a 64-bit TString layout (its asserts refused the build rather than misread), the toolchain config handed emscripten's target to plain clang, and the value mirror's self-test compared a light userdata's whole value word where a 32-bit pointer fills half of it, and data pinned a 64-bit offset for its selections' word pointer.
    • quat.mul, slerp and rotate (module and quat.math()) agreed with their native lowering only to the angle: the bound path decoded, renormalised and branched differently. They now run the lowering's operations in its order and return the same bits; results from well-formed rotations are unchanged.
    • process.run could answer held = true with whole captures: a process holding a capture that wrote and exited just as the run gave up on it after 250 ms quiet had its output read, but the run still said held. held now says a reader was stopped before its stream's end (#37).

    Migration

    Rebuild every bytecode cache: a chunk with an integer constant is refused, and chunks without one load but were compiled with the old flags.

    Scripts that wrote integer literals write numbers (7 for 7i) where the value is a count or a size, and bits64.fromNumber(n) or bits64.fromHex(s) where it is an id or a hash. typeof(x) == "integer" checks become typeof(x) == "Quaternion" (or the kind expected). Comparing a udp client id or a digest with a number never succeeds; compare it with another Bits64.

    Hosts that pushed light userdata with tags at or above 128, or with high pointer bits set, move those tags below 128. A host that matched on stack::Type::Integer, read convert::Integer or set CompileConstant::Integer uses numbers or Bits64 instead.

    Packed values written to files, buffers or sockets keep their bytes; nothing needs converting.

    Ship servers and clients built on 3.0 together: they do not connect to 2.x peers. Mint a new connect token for every connection attempt, and keep none to present again after a reconnect or a restart. A Rust host that matched netcode-official's Error matches dream_net::NetcodeError, which has the same variants and texts.

    l3i 3.0.0 3.6 MB · crates.io
    View on crates.io
    Verify · sha256 1143e6cb7d8e…dd31e0225
    File
    l3i-3.0.0.crate
    Size
    3744109 bytes
    SHA-256
    1143e6cb7d8eccdc74f39ae849e6294f64ca6be618582f75e4a9cf8dd31e0225

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  3. 2.11.0 stable 2026-11-13

    Unix permission bits for what @dream/fs creates, set exactly and from the moment it exists, and fs.chmod. process.run no longer cuts a capture short, or calls a run held, because the machine was slow to read it.

    Added

    • fs.writeFile, fs.openWrite, fs.createDurable, fs.mkdir and fs.lock take mode: the Unix permission bits of what the call creates, such as tonumber('600', 8): a file's nine permission bits (0 to 511), and for mkdir set-user-ID, set-group-ID and sticky as well (0 to 4095). The bits are exact, whatever the process umask, and nobody but the owner is given more on the way there: the file is created with them, and what the umask took away is put back through the handle just opened before anything is written. A file that is already there keeps its own bits. mkdir with recursive gives a parent it creates the mode and the owner's write and search bits.
    • fs.writeFile with atomic and a mode gives the new file that mode in place of the old file's permissions.
    • fs.chmod(path, mode) sets the bits of what path names, following symbolic links. It needs filesystem.write, as every call that changes the disk does.
    • fs.stat and fs.lstat report mode, the permission bits, on Unix.

    Changed

    • On Unix the temporary of an atomic fs.writeFile is created with the permission bits the file will keep. It used to be created under the umask, written, and narrowed afterwards, so the new contents of a file private to its owner could be read by others until the write finished.
    • On Unix, whether something still holds a captured stream after the child of process.run has exited is asked of the pipe. The 250 ms and 2 s that end the reading time a process that holds a capture: they start when one is seen, and bytes waiting unread count as that process not being quiet. A run whose captures nothing holds reads them to their end, with only its own limits over it.
    • A process that held a capture and exits while process.run is still reading leaves whole captures and no held: the reading used to stop 250 ms after the child's exit whatever happened next.

    Fixed

    • process.run answered held = true, with a capture cut short, for a child nothing was holding, when the threads reading its captures had not run for 250 ms after it exited. A stalled or heavily loaded machine was enough: a run that only echoed a line could come back held.

    Migration

    Take 2.11.0 in place of 2.10.0. Nothing a caller wrote changes.

    A file that should be its owner's alone is created that way with mode, in place of a umask set from outside the program:

    local Private = tonumber('600', 8)
    assert(fs.writeFile(path, secret, { atomic = true, mode = Private }))
    

    On Windows there are no such bits: a mode is checked and then changes nothing, a stat has no mode, and fs.chmod answers unsupported. A file made with a mode through a name that is a dangling symbolic link is refused with alreadyExists, where the same call without a mode creates the link's target.

    A run that 2.10.0 called held is still held when a process its child started really does keep the pipe open and stays quiet. One that was called held only because the machine was slow is now read whole.

    Not changed in this release: on Windows a run still waits for a held pipe until a limit.

    l3i 2.11.0 3.5 MB · crates.io
    View on crates.io
    Verify · sha256 d14b9b68ec4c…fa3ddfcd3
    File
    l3i-2.11.0.crate
    Size
    3651824 bytes
    SHA-256
    d14b9b68ec4c27fbf858ed15d31d6a7635adefa4b267cef479b32dafa3ddfcd3

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  4. 2.10.0 stable 2026-11-12

    process.run no longer waits on a capture that a process its child started still holds, and bounds a capture given no ceiling.

    Added

    • The result of process.run carries held = true when reading stopped while something other than the child still held a captured stream open. It is absent otherwise.

    Changed

    • On Unix, once its child has exited, process.run reads its captures until nothing has arrived for 250 ms, or for 2 s whatever arrives, then answers the child's own result. It used to wait for every holder of the pipe to close it: forever without a limit, and until timeoutMs, answering timeout, with one. A run with a limit of its own kills the child's process group at that point. What a process the child started writes after that is not in the result.
    • A captured stream of process.run given no maxStdoutBytes or maxStderrBytes has a ceiling of 64 MiB, and fails with outputLimit past it. Captures are held outside the Luau heap, where the runtime's memory limit does not see them.
    • Under an execution time limit, a process.run that shares neither stdout nor stderr with the host runs in a process group of its own, so the limit stops what it started as well. Such a run is a background job to a controlling terminal.

    Fixed

    • A cwd that is not a directory is reported as that by process.run and process.start, not as a program that could not be found.
    • A reader stopped at the end of a call takes what its pipe already holds first, and a ceiling passed in a reader's last read is reported as outputLimit.

    Migration

    Take 2.10.0 in place of 2.9.0.

    A process.run that captures more than 64 MiB from one stream must now say so with maxStdoutBytes or maxStderrBytes.

    A caller that relied on process.run collecting what a background process wrote after the child exited must wait for that process in the child, or use process.start and read until the stream ends. Check held when it matters whether a capture was read to its end.

    Not changed in this release: on Windows a run still waits for a held pipe until a limit, and a descendant still survives a timeout there.

    l3i 2.10.0 3.5 MB · crates.io
    View on crates.io
    Verify · sha256 a266867c25c2…32ddfd859
    File
    l3i-2.10.0.crate
    Size
    3642680 bytes
    SHA-256
    a266867c25c25f8bf91bb7d513d5d32ded5fc4b282f20b9a0837c8732ddfd859

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  5. 2.9.0 stable 2026-11-11

    A one-shot secret for a child process: bytes it reads once from an inherited descriptor (Unix) or handle (Windows), never from its arguments, its environment or a file.

    Added

    • process.run and process.start accept secret = { env, data }. The bytes (1 to 4096, a string or a buffer) are written into a pipe whose read end the child inherits; the variable named by env holds its number: a descriptor on Unix, a handle's value on Windows. Whoever reads it first, the child or a helper it starts, gets the secret and then end of file.
    • On Linux, Android and the BSDs both ends of the pipe are close-on-exec from creation and the flag is cleared in that child alone. On Windows every child is started under one lock and the handle is inheritable only inside it. On macOS a child started by another thread in the moment between making the pipe and marking it inherits it. The number is never 0, 1 or 2.
    • The host closes its end once the child is started and overwrites its own copy of the bytes. It does not hide the secret from other processes of the same user, overwrite the script's copy, or stop the child passing the descriptor on: see the documentation.

    Migration

    Take 2.9.0 in place of 2.8.0. Nothing changes for calls that do not pass secret.

    l3i 2.9.0 3.5 MB · crates.io
    View on crates.io
    Verify · sha256 9c323790d81a…cd1c66816
    File
    l3i-2.9.0.crate
    Size
    3638145 bytes
    SHA-256
    9c323790d81a2c06c539bcc2beb80aad89af97f3f6f29f0df9d7a05cd1c66816

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  6. 2.8.0 stable 2026-11-11

    Bounded process.run by time and captured output; process.start, a nonblocking process handle with bounded standard streams and a bounded stdin queue.

    Added

    • process.run accepts timeoutMs, maxStdoutBytes and maxStderrBytes. A limit that passes kills the child and, on Linux, Android, macOS and FreeBSD, the process group it leads, and fails with timeout or outputLimit. Termination covers that group only: a descendant that left it is not stopped, but on Unix it cannot keep a thread or a descriptor of the host: every thread of a run or a handle ends with it, whoever holds its pipe.
    • process.start launches a child without waiting and returns a handle: nonblocking stdout and stderr reads, a 1 MiB stdin queue, wait with an optional timeout, kill and close, with the same limits as run. On Linux, Android, macOS and FreeBSD wait answers without reaping, so kill or close after it still stops what the child left in its process group; the child's slot and process table entry are held until the handle is closed.
    • Live child processes are bounded per runtime: ProcessExtension::withmaxchildren sets the limit (default 32, at most 1024; scripts cannot change it). A start past the limit raises, and a run counts while it runs. ProcessExtension::withinputpolicy now returns a ProcessConfig, which carries both settings.
    • timeoutMs is refused above 86400000 (a day), and byte ceilings above 2^53 - 1, before the child starts.
    • A child that the host reaped itself (SIGCHLD ignored, or a reaper of its own) is reported as lost and never signalled, nor is the group it led. A started child's stdin writer no longer raises SIGPIPE when the child exits without reading. A run that cannot start one of its threads fails instead of aborting the host.

    Migration

    Take 2.8.0 in place of 2.7.0.

    Nothing to change for existing process.run calls: without the new options it behaves as before.

    A runtime that keeps more than 32 children live at once needs ProcessExtension::withmaxchildren. A timeoutMs above a day, or a byte ceiling above 2^53 - 1, raises before the child starts.

    l3i 2.8.0 3.5 MB · crates.io
    View on crates.io
    Verify · sha256 bda61d2912b4…7a94bf6cf
    File
    l3i-2.8.0.crate
    Size
    3625546 bytes
    SHA-256
    bda61d2912b49c56e59d9291c871badc47e9caa08c6c4fd659f340d7a94bf6cf

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  7. 2.7.0 stable 2026-11-05

    Luau 0.745; durable filesystem operations and authenticated ranged reads; optional script garbage collection; bounded nonblocking standard input; public userdata payload access; and faster typed data operations.

    Added

    • Durable filesystem creation, replacement, synchronization and retained-file operations, with recovery and failure handling across supported operating systems.
    • Authenticated ranged reads against a trusted file commitment, with bounded verification caches and native memory use.
    • An opt-in collectgarbage global for scripts, and a public host API for garbage collection.
    • Bounded nonblocking standard input consumers with host-controlled access and runtime shutdown cleanup.
    • Public userdata payload offset access for native lowering and shared-buffer integrations.

    Changed

    • Update the bundled Luau runtime to 0.745, including its native-code fixes and updated syntax support.
    • Improve typed data loops, overlapping span operations, contiguous-array kernels and native execution performance.
    • Require dream-net 1.1.1 and update the optional dream-soft-render integration to 2.0.0.
    • Raise the minimum supported Rust version to 1.95.

    Migration

    Take 2.7.0 in place of 2.6.0.

    The optional soft-render integration now uses dream-soft-render 2.0.0. Applications enabling that feature should check the renderer's 2.0.0 compatibility requirements.

    The collectgarbage global remains opt-in. Standard input access remains controlled by host capabilities and policies.

    Review any existing application-specific assumptions about filesystem durability and retained file handles before adopting the new APIs.

    l3i 2.7.0 3.4 MB · crates.io
    View on crates.io
    Verify · sha256 a7631b60f2d3…003896928
    File
    l3i-2.7.0.crate
    Size
    3596848 bytes
    SHA-256
    a7631b60f2d33317eaf867e17ca64a0bcf46535384a3af512913970003896928

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  8. 2.6.0 stable 2026-10-30

    ECDSA signatures in @dream/bytes: ES256 and ES384 tokens from the P-256 and P-384 keys API consoles hand out, SEC1 or PKCS#8, PEM or DER.

    Added

    • bytes.ecdsaSign(data, privateKey, algorithm), behind bytes-crypto: the raw ECDSA signature of data, r then s, each fixed-width and big-endian, the form JSON Web Tokens carry. sha256 signs under a P-256 key (ES256, 64 bytes), sha384 under a P-384 key (ES384, 96 bytes). The key is PKCS#8 (BEGIN PRIVATE KEY) or SEC1 (BEGIN EC PRIVATE KEY, what OpenSSL writes and most consoles issue), PEM or DER, with its public point. ECDSA is randomized, so every call signs afresh and every signature verifies.

    Migration

    Nothing to change. Take 2.6.0 in place of 2.5.0.

    Check an ECDSA signature by verifying it, never by comparing its bytes with another: two signatures of the same data by the same key differ. A key on the other curve, an RSA key, or anything else is refused with a message that never quotes the key, as rsaSign refuses one.

    l3i 2.6.0 3.1 MB · crates.io
    View on crates.io
    Verify · sha256 6dcc3650b8b5…a0ef354ed
    File
    l3i-2.6.0.crate
    Size
    3294911 bytes
    SHA-256
    6dcc3650b8b518920a555ccefa4af62af074f0a59304538bc50708ca0ef354ed

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  9. 2.5.0 stable 2026-10-29

    The operating system's file lock in @dream/fs: a lock that ends with its holder, so a file can name a single running owner without timeouts.

    Added

    • fs.lock(path, { shared?, createParents? }?): the platform's own lock on a file (flock on Unix, LockFileEx on Windows), exclusive or shared, taken without waiting. A lock held elsewhere, in this process or another, answers nil, the message and the new wouldBlock kind. The dream_fs_Lock it returns holds it until unlock(), the handle is collected, the runtime shuts down, or the process ends, when the system releases it, so it never times out and never outlives its holder.
    • wouldBlock among dream_fs_ErrorKind and dream_process_ErrorKind, for an operation the OS would have had to wait on.

    Migration

    Nothing to change. Take 2.5.0 in place of 2.4.0.

    fs.lock needs filesystem.write, like everything else that touches the disk, because it opens the file to lock it and makes it if it isn't there. A script that matches every dream_fs_ErrorKind exhaustively has one more to name.

    On Unix the lock is advisory, as flock is: it excludes other locks, not reads or writes of the file.

    l3i 2.5.0 3.1 MB · crates.io
    View on crates.io
    Verify · sha256 5f130a7a1b96…a45232068
    File
    l3i-2.5.0.crate
    Size
    3292011 bytes
    SHA-256
    5f130a7a1b968a430f3151b68e7bf6a2b0095e4e8fbde1e8407a691a45232068

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  10. 2.4.0 stable 2026-10-28

    The few cryptographic primitives a network client needs around its transport, in @dream/bytes behind bytes-crypto: bytes from the operating system's CSPRNG, HMAC with constant-time verification, and RS256 signatures, all through the ring that tls already builds.

    Added

    • bytes.random(count): up to 65536 bytes from the operating system's CSPRNG per call, for keys, nonces and WebSocket masks, where math.random is none of those.
    • bytes.hmac(data, key, algorithm) with sha1, sha256, sha384 or sha512, the raw tag, and bytes.hmacVerify(data, key, algorithm, tag), which compares in constant time, for checking a webhook's signature without timing what matched. Both match the RFC 2202 and RFC 4231 vectors.
    • bytes.rsaSign(data, privateKey, algorithm): the raw PKCS#1 v1.5 RSA signature, RS256, RS384 or RS512 as JSON Web Tokens name them, from a key of at least 2048 bits in PKCS#8 or PKCS#1, PEM or DER, as services issue keys for signing tokens. The signature is byte for byte OpenSSL's. An encrypted key, an EC key or anything else is refused with a message that never quotes the key, and the decoded key bytes are zeroed when the call returns.

    Migration

    Nothing to change. Take 2.4.0 in place of 2.3.0.

    bytes-crypto is opt-in and adds no new dependency to a build that already has tls: it is ring, which tls builds, and zeroize. Turned on without tls, it builds ring's C and assembly with clang, as tls does.

    There are no ciphers, no key generation and no key storage, and none are planned: a key arrives as bytes the caller holds and leaves with the call.

    l3i 2.4.0 3.1 MB · crates.io
    View on crates.io
    Verify · sha256 5729079e30ba…889a7a1c4
    File
    l3i-2.4.0.crate
    Size
    3289820 bytes
    SHA-256
    5729079e30ba69713182e3d3f2fbedcf44df158053cdeabace09125889a7a1c4

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  11. 2.3.0 stable 2026-10-26

    MP3, Vorbis and Opus decoding with @dream/audio; Luau 0.744, with its native code fixes and faster table.find and table.create; register reuse, so the 200-local limit counts only the locals still live; and analysis that types comprehensions and slices the way the loops they stand for are typed.

    Added

    • @dream/audio (feature audio): MP3 (and MPEG layers I and II) through nanomp3, Ogg Vorbis through lewton, and Ogg Opus through libopus built from the opus submodule, into interleaved f32 buffers. Lengths are exact after gapless trimming, seeks land on the frame asked for (Opus after a 400 ms pre-roll), audio.decode caps its output at maxSize, and a damaged stream fails the read where it breaks. Decoding reads only the bytes it is given: no file, no device, no capability.
    • Named option records for the @dream/bytes calls a script reaches through pcall: dream_bytes_RegexOptions for regex, dream_bytes_DecompressOptions for inflate and lzmaDecompress, and dream_bytes_DecompressLimit for the LZ4 and zstd decoders. An options literal passed through pcall gets no expected type, so a caller annotates a local with the name instead of spelling the record out.

    Changed

    • Luau 0.744, from 0.742. The C API is unchanged; the fourteen flags 0.743 and 0.744 graduated leave the policy with their behaviour kept.
    • table.find scans the array part directly when the value has no __eq, and table.create and table.clear compile to fastcalls. In one release build: table.find over eight elements 34 to 22 ns for a hit and 41 to 23 ns for a miss, over a thousand 2.99 to 0.52 µs; table.create(8) 64 to 51 ns, table.create(64, 0) 149 to 128 ns; clearing eight entries about 11 to 7 ns.
    • Luau's register reuse is on: once a local's last read has run, its register goes to the next local, so a function needs fewer stack slots and the 200-local limit counts only the locals still live. A chain of a thousand short-lived locals compiles where it was Out of local registers. Dialect code gets the same, with the lowering keeping each local's register until its last read in the code that runs.
    • From optimisation level 1, a debugger stopped after a local's last read no longer finds that local, because its register has gone to another. Compile at optimisation level 0 to keep every local in scope until its block ends.
    • A comprehension that is the whole initializer of an annotated local (local items: T = [...]), or the whole value of a return in a function declaring one result type, has each projection checked against T's element type, as the loop it stands for would. local pairs: { [string | number]: Value } = [for i in range(1, n) => { i, 'a' }] is accepted where Luau's invariant table indexers refused the { { number | string } } the projection inferred alone, and a misspelled record field is still an error. Compiled code is unchanged.

    Fixed

    • Luau 0.744's native code fixes: dead store elimination kept a tag store whose load had been overwritten, INVOKE_FASTPCALL now invalidates the safe-environment assumption, a VM exit's register restores are planned per exit (a crash Luau's fuzzer found), a libunwind unwinder registers each FDE on its own as Intel macOS needs, and on A64 bit32.lrotate no longer overwrites an operand it still reads and a function with more than 256 constants no longer crashes reloading one.
    • A slice that is the whole source of a for ... in header, for _, v in values[1:n] do, type checks as the table it is. The new solver read it against the iterator protocol and reported it as the wrong type.

    Migration

    Nothing to change for most hosts. Take 2.3.0 in place of 2.2.0.

    A debugger that shows every local, or a test that reads a local after its last use, compiles at optimization_level: 0. The defaults (level 2) now free a dead local's register.

    @dream/audio is opt-in, behind the audio feature. A binary built with it ships libopus and must reproduce its BSD 3-Clause notice, opus/COPYING.

    Scripts that spelled out regex's options for a pcall can annotate with dream_bytes_RegexOptions, and comprehensions that cast each projection to their local's element type can drop the cast. A comprehension that reads a narrowed variable from outside its enclosing function still needs that value bound to a local first; the dialect page says why.

    l3i 2.3.0 3.1 MB · crates.io
    View on crates.io
    Verify · sha256 bf269c99ff9f…6d7c5abc0
    File
    l3i-2.3.0.crate
    Size
    3280121 bytes
    SHA-256
    bf269c99ff9f44f4cccb54a1cd2fb38c3289aace87413ff12a16fd76d7c5abc0

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  12. 2.2.0 stable 2026-10-23

    @dream/process says which OS it runs on and where the user's home and Documents folders are, so a script can find an application's files the way the application does.

    Added

    • process.platform(): the OS the host was built for, as Rust names it (windows, macos, linux, ...). A call rather than a constant, so compiled code never carries another platform's answer. No capability.
    • process.knownFolder('home'): HOME, or on Windows USERPROFILE, then HOMEDRIVE with HOMEPATH, then HOME. process.knownFolder('documents'): the Windows Documents known folder from SHGetKnownFolderPath, wherever the user or OneDrive moved it, and nil elsewhere. Both need process.environment, as env does.

    Migration

    Nothing to change. Take 2.2.0 in place of 2.1.3. No dependency was added: the one Windows call is declared by l3i itself.

    l3i 2.2.0 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 3dbae044498b…b45910b33
    File
    l3i-2.2.0.crate
    Size
    2421355 bytes
    SHA-256
    3dbae044498ba00495399af9886d8d7b0474537fb5ac96a33bc67e9b45910b33

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  13. 2.1.3 stable 2026-10-21

    Security release: every dependency updated, closing seven RustSec advisories in the TLS stack and the Zstandard decoder, one of them high severity.

    Changed

    • ruzstd 0.9.1: RUSTSEC-2026-0344, a decompression bomb where a tiny input could exhaust memory (high). The JPK reader's zstd entries and bytes.zstd decode through it.
    • rustls 0.23.46: RUSTSEC-2026-0346 (session Debug impls exposed TLS secrets, medium), RUSTSEC-2026-0347, RUSTSEC-2026-0348, and RUSTSEC-2026-0349 (buffered data after ECH rejection, a 1 GiB certificate decompression before authentication, and a downgrade to classical key exchange from an unauthenticated ServerHello, all low).
    • rustls-webpki 0.103.16 and webpki-root-certs 1.0.10: RUSTSEC-2026-0382 and RUSTSEC-2026-0383, certificate verification and the bundled roots accepting distrusted intermediates.
    • The manifest's floors for rustls and ruzstd now start at the fixed versions, so a fresh resolution of a dependent can't pick the vulnerable ones. Every other dependency in the lock moved to its current compatible release. No API changed.

    Migration

    Nothing to change. Take 2.1.3 in place of 2.1.2; cargo update -p l3i in a dependent does it, and cargo audit there should come back clean of these seven.

    l3i 2.1.3 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 015d366501f8…ec887a7cb
    File
    l3i-2.1.3.crate
    Size
    2419507 bytes
    SHA-256
    015d366501f86898bd49684c4bc74302d775066d9e80a0deb68816bec887a7cb

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  14. 2.1.2 stable 2026-10-15

    2.1.1's fixes, released through the pipeline: 2.1.1 went to crates.io by hand, without its GitHub release or documentation.

    Changed

    • Two push closures end with a semicolon, as the pedantic lints ask. Nothing else differs from 2.1.1.

    Migration

    Nothing to change. Take 2.1.2 in place of 2.1.1; they are the same code.

    l3i 2.1.2 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 197c73848c84…2726b2b7d
    File
    l3i-2.1.2.crate
    Size
    2419486 bytes
    SHA-256
    197c73848c84525b51058592349450423934aaabc5998b1854a17df2726b2b7d

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  15. 2.1.1 stable 2026-10-15

    Fixes to 2.1.0's limits: no push or host-level allocation aborts the process, a wait the time limit cuts short fails the call it ends, process.run stops at the limit whatever holds its pipes, and a child finds programs on the host's PATH again.

    Fixed

    • A child started without process.environment gets the host's PATH along with what env names, so process.run('git') finds a program where the host would, and so does whatever that program starts. 2.1.0 cleared PATH with the rest, and a bare name fell back to libc's default path. clearEnv = true still clears it.
    • bytes.shortest(value, 'f32') answers nil for a double past single precision's range, which narrows to an infinity. It formatted that infinity as inf, found no exponent, and aborted the process from inside the native call.
    • Every scalar, vector, light userdata and pinned-value push makes room on the stack first, and pinning a value, making a table, a closure or a userdata, and looking up a global run under protection at host level. A host that filled the stack, or ran out of memory under the cap while doing any of those outside a Lua call, aborted with Rust cannot catch foreign exceptions; it gets Err.
    • A @dream/tcp poller's or @dream/dns request's wait cut short by the execution time limit marks the call expired, as process.sleep and process.run do, so a script that ends with the wait fails with the limit instead of returning Ok.
    • process.run ends at the execution time limit even while a process the child started holds a captured pipe open, abandoning the capture instead of waiting for its reader, and kills and reaps a child whose wait fails.

    Migration

    Nothing to change. A host that wanted a child to have no PATH passes clearEnv = true. Value::clone, Value::type_of and Value::eq answer as for an invalid value (an invalid clone, Type::None, false) when the main thread has no stack slot left, where they could abort before.

    l3i 2.1.1 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 858748417438…cf038a1ea
    File
    l3i-2.1.1.crate
    Size
    2419471 bytes
    SHA-256
    8587484174381768eb24e756c1a64abd41e13c9ed284558297ceb98cf038a1ea

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  16. 2.1.0 stable 2026-10-15

    Limits that hold: an uncatchable watchdog on every host call, a memory cap the allocator enforces, protected host-level pushes, deeply frozen sandboxes, and process capabilities that mean what they say; plus process.sleep, @dream/fs path functions and atomic writes, the rest of a regex API, trimming, shortest float digits, and Runtime::shutdown for hosts that exit without dropping the runtime.

    Breaking changes

    • Stack and Frame pushes, open_standard_libraries, sandbox_globals and sandbox_luau return Result: a push checks the stack has room, and host-level pushes and setup that allocate run under protection, so a stack overflow or an out of memory at host level is Err instead of an abort.
    • process.write needs the process.stdio capability. process.run starts a child with only the variables env names unless process.environment is granted, and kills a child still running when the execution time limit runs out.
    • data.count is data.countWhere and data.compare is data.select, so neither shares a name with bytes.count or bytes.compare.
    • bytes.translate(text, rules) takes the rules table intern.new takes (nocase, replace, collapse, trimStart, trimEnd), or a bytes.rules compiled from one, in place of its own from, to and options.
    • The TLS stream's shutdownWrite() is shutdown('write'), as a TCP stream half-closes.
    • raster's module rgba8 and rgb8 clamp and round as the receiver's always did, instead of raising on a channel out of range.

    Added

    • process.sleep(seconds), never past the runtime's execution time limit.
    • @dream/fs join, parent, fileName, extension and isFileName, which touch no disk and need no capability; isFile and isDir; writeFile's exclusive, atomic and createParents.
    • bytes.regex match, captures, a matches iterator, replace and replaceAll by template or function, split, tostring, and bytes.regexEscape.
    • bytes.trim, trimStart and trimEnd: Unicode whitespace on UTF-8, ASCII otherwise, or a given byte set.
    • bytes.shortest(value, width?), the fewest decimal digits that read back as a value at f64 or f32 width, and bytes.toF32.
    • Runtime::shutdown(), which flushes and closes every live @dream/fs writer without freeing the heap, for a host that leaves the heap to the process's exit.
    • runtime::watchdog_remaining(scope) and runtime::expire_if_due(scope), so a host's own blocking native clamps its wait to the watchdog.
    • Error::ExecutionTimeLimit and Error::MemoryLimit (Error::is_limit()), CallContext::HOST, Scope::is_host_level, flags::luau_assertions().
    • One capability denial, Error::denied and ModuleInstaller::gated, and one stack::push_list, for extensions.
    • raster's module gains the channel getters its receiver has; every math() receiver method and its module function are expanded from one list, and a test holds them to each other.

    Changed

    • Every host call into Luau runs under the runtime's limits: an implicit host-interface scope arms the watchdog and the memory cap unless the host opens an Initialization scope itself.
    • Release builds define NDEBUG, so they no longer carry Luau's assertions and traps.
    • udp's capability denials read like every other module's.

    Fixed

    • A timeout is sticky: once a call's execution time limit runs out, every safepoint raises until the scope that armed it ends, so pcall, xpcall and coroutines can't catch it and carry on.
    • The memory limit is the allocator's: a growth past it fails at the allocation, so one buffer.create can't take a gigabyte between watchdog polls.
    • Thread::reset refuses a thread that is running or resuming another, instead of tripping Luau's assertion and freeing the stack it runs on.
    • readFile, readFileString and open refuse a FIFO, a socket or a device instead of blocking on it or reading without end.
    • Every table and metatable a sandbox's library views and common packages reach is frozen, so one instance can't write through a nested table or a shared metatable to another.

    Migration

    Handle the Result every push and setup call now returns (? in a function returning l3i::Result). Grant process.stdio to a runtime whose scripts write to the terminal through process.write, and process.environment to one whose children need the parent's environment, or pass env. Rename data.count and data.compare calls, rewrite bytes.translate(text, from, to, options) as bytes.translate(text, bytes.rules { replace = { ... }, collapse = ..., ... }) (compile the rules once outside a loop), and shutdownWrite() as shutdown('write'). A script that caught a timeout with pcall to carry on now stops; that was the bug.

    bytes.shortest gives Rust's digits, which can differ from Ryū's (serde_json's) in the last digit where two shortest spellings both read back as the value.

    l3i 2.1.0 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 8cca3d3535f2…d8af60ec4
    File
    l3i-2.1.0.crate
    Size
    2416845 bytes
    SHA-256
    8cca3d3535f26fb266995be7de041be19e50ef75b08169f73313e7ad8af60ec4

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  17. 2.0.3 stable 2026-10-14

    Analysis checks a buffer slice generator as a buffer with the default options, and in the modules a checked module requires.

    Fixed

    • A slice generator over a buffer ([for byte in data[1:4] => byte], any[for byte in data[1:n] => byte ~= 0]) is lowered for analysis as a table slice until Luau has inferred its source, then as a buffer. That second step read the types Luau inferred, which a module keeps only with its full type graph, so with retain_full_type_graphs off, the default, every buffer slice generator was checked as a table: Expected type table, got 'buffer' instead and two operator errors at each one. It also ran for the module named in the check only, so a required module's buffer slices were checked as tables whatever the options. A check now keeps each module's type graph, and specializes every module it reaches.

    Migration

    Nothing to change. A strict package that reported the three errors above at its buffer slice generators reports none.

    Known, and not l3i's to fix: under Luau's new solver, a function literal inside an if condition has its returns checked against the declared return type of the function holding the if. A reducer is lowered for analysis to such a literal, so if any[for value in values => value > 2] then inside a function declared to return, say, buffer? reports Expected this to be 'buffer?', but got 'boolean' twice. The code is correct and runs as written. To check clean, bind the reducer to a local before the if: local found = any[...], then if found then.

    l3i 2.0.3 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 e599f383ca7b…b877bc8e2
    File
    l3i-2.0.3.crate
    Size
    2395447 bytes
    SHA-256
    e599f383ca7b3ee378d5ddee3d0b151b5a17a029de9b0b032fad7e5b877bc8e2

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  18. 2.0.2 stable 2026-10-12

    A natively lowered @dream/intern lookup no longer reads a slot table the pool has freed, and the @dream/data definitions say what a span's kind is.

    Fixed

    • Interning a key a pool already held, through the binder, while the pool sat at its load limit (12, 24, 48 ... identities) grew the slot table before looking the key up, and did not tell native code the table had moved, because the pool's length had not changed. Until the next new key, a lowered pool:find or pool:intern on an annotated dream_intern_Pool read the freed table: wrong tokens, nil for a key the pool held. A pool now looks a key up first and grows only to add one, so a key it holds moves nothing. Unannotated pools were never affected.
    • The @dream/data definitions gave gather, scatter and add a kind: dream_data_Kind parameter, the union of receiver classes, where the runtime takes the layout string every other span takes; and they typed a span's kind as the eight bare kinds, so the documented strided form ("f32@16+12") was a type error under --!strict. A span's kind is now a dream_data_Layout, dream_data_ElementKind | string, in every signature, and the strict-script gate that checks the definitions against the runtime covers @dream/data, which it had left out.
    • data.fill's description said the value converts as buffer.write<kind> converts. It is written as every data-plane write is: a number, truncated toward zero and wrapped to the width, saturating first beyond 2^63. The description says so now; the behaviour is unchanged.

    Migration

    Nothing to change. A pool annotated dream_intern_Pool that also receives keys through unannotated code was the exposed case, and is correct after an upgrade. A strict script that cast a strided layout to pass it to @dream/data can drop the cast.

    l3i 2.0.2 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 18ad03a9047a…edbe36a5e
    File
    l3i-2.0.2.crate
    Size
    2394884 bytes
    SHA-256
    18ad03a9047a3e169553e0540a553e8c7442f428b6b0bd7a272983cedbe36a5e

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  19. 2.0.1 stable 2026-10-12

    A sink or slice statement may open a function body, and the @dream/luau definitions declare the record pattern nodes the tree has carried since 2.0.0.

    Fixed

    • A statement that begins with a sink or a slice (into(out)[for x in xs => x], grid[2:3][1][1] = 5) failed to compile as the first statement of a function body, with Expected identifier when parsing expression, got ';': the lowering separated it from a statement that was not there. A body's first statement now gets no separator, whatever the header ends with, and where a return type ends is decided by Luau's parser, not estimated.
    • The @dream/luau definitions did not declare StatLocalPattern, PatternRecord, PatternField or PatternIdentifier, and typed ExprFunction.args and ComprehensionGenerator.bindings as lists of dream_luau_Local although a record pattern can stand in either. They are declared now, dream_luau_StatLocalPattern is a member of dream_luau_Stat, and a slot that may hold a pattern is a dream_luau_Binding, dream_luau_Local | dream_luau_PatternRecord.

    Migration

    A strict script that reads name off an element of ExprFunction.args or of a generator's bindings refines it by kind first, "Local" or "PatternRecord". Nothing changes at run time.

    l3i 2.0.1 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 4867f43ba175…eb6e5eb06
    File
    l3i-2.0.1.crate
    Size
    2393217 bytes
    SHA-256
    4867f43ba1752f1ecbbe48dc6be68e9dc9ac342b2743a5417dc34f5eb6e5eb06

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  20. 2.0.0 stable 2026-10-11

    A dialect of Luau whose comprehensions, reducers, sinks, slices and record patterns lower to the handwritten loop with tooling in original coordinates; a bulk-data plane over typed buffer spans with native loops; raw TCP, DNS and verified TLS; locales, plural rules and decimal formatting; Luau 0.742; and the renames and defaults that needed a major version to change.

    Breaking changes

    • @dream/net is @dream/udp: the extension is dream.udp, the Rust module l3i::udp, the type UdpExtension, the C symbols dream_udp_*. The capability is still network.transport.
    • TcpExtension and TlsExtension are no longer unit structs. .extension(TcpExtension) becomes .extension(TcpExtension::default()); TlsExtension::new() or ::default() likewise.
    • noDelay defaults to true on tcp.connect and tcp.listen: Nagle's algorithm is off unless a script passes { noDelay = false }.
    • luau.parse defaults to the l3i dialect, so comprehensions, slices and record patterns come back as source nodes; { dialect = "luau" } selects strict stock syntax.
    • Luau 0.742 (from 0.740). ffi::lua_setbuffercage is lua_setmemorycage; disable_native_execution_for_function is gone with Luau's own; LuauNoDuplicateBinaryPrefix and LuauCompileIifeInline graduated and left the flag list.
    • Coroutine finalizers are chosen on the builder: RuntimeBuilder::coroutine_finalizers(bool) replaces Runtime::enable_coroutine_finalizers, and Thread::finalizer_function(scope, close) replaces Runtime::finalizer_function(). The first runtime built in a process decides for the process.
    • DnsExtension::new lets 8 of a runtime's lookups occupy a shared resolver by default, not 2.
    • The growable public types new since 1.3.1 are #[non_exhaustive]: tcp::StreamState, tls::TlsState, dns::LookupError, dns::ResolverConfig, data::Kind, data::Layout, data::ReductionOp, data::Reduction, intl::Grouping, intl::DecimalOptions, intl::FormatterError, intl::Operand, intl::NumberError, intl::LocaleError, intl::UnsupportedLocale. Matches need a wildcard arm; the structs are built with ResolverConfig::new(workers, queue), Layout::new(kind, stride, offset), Reduction::new(op, filter) and DecimalOptions::new().grouping(..).fraction_digits(min, max).

    Added

    • The l3i dialect: [for e in entities if e.active => e.id] comprehensions with range, enumerate, zipShortest and zipStrict generators; #, sum, min, max, any and all consumers that allocate no result; into(destination) table sinks and into(buffer, "kind"[, offset]) buffer sinks; inclusive slices t[a:b] of tables and buffers and typed slices buf[1:n, "f32@16"]; and record patterns local {x, y} = p in declarations, parameters and generator slots. One frontend built on Luau's lexer lowers all of it to the same-contract handwritten loop, one setup instruction apart, and compilation is strict while Analysis and @dream/luau recover unfinished constructs.
    • Original coordinates everywhere: Analysis diagnostics and autocomplete, analysis::parse, @dream/luau trees, compile errors, runtime errors, tracebacks, breakpoints and coverage all report the source you wrote, through a source map the frontend records as it lowers.
    • @dream/data (feature data): reductions, comparisons into reusable selections, selection algebra, gather, scatter, fill, add, scale, clamp, stable argsort with optional caller scratch, and partition over typed, optionally strided buffer spans, bound once per operation with no per-element callback. Typed receivers data.u8() through data.f64() lower their thirty-nine reductions and selects to unrolled native loops under jit, and the dialect's recognized reductions over buffer slices call the plane automatically.
    • @dream/tcp (feature tcp): nonblocking listeners and byte streams over numeric addresses, readInto into caller buffers with end of stream kept apart from would-block, partial writes with no hidden queue, half-close, and a bounded, level-triggered poller that never calls Luau and watches only what has something to report. Behind network.tcp.connect, network.tcp.listen and network.tcp.public.
    • @dream/dns (feature dns): host name resolution through the OS resolver on a bounded worker pool: one-shot requests that never block the script, IDNA names, both address families in the OS's order, deadlines and cancellation, watchable by the TCP poller. Behind network.dns.resolve.
    • @dream/tls (feature tls): verified TLS 1.3 and 1.2 client and server sessions over TCP streams with rustls, the platform trust store or explicit roots, name verification independent of the address, ALPN and SNI, bounded buffers, close_notify kept apart from truncation, nonblocking and watchable. There is no way to skip verification.
    • @dream/intl (feature intl): BCP 47 locale identity, CLDR cardinal and ordinal plural categories that see visible fraction digits, and locale-aware decimal formatting from ICU4X's compiled data; no catalog and no current locale.
    • ExtensionDescriptor::widen_type_alias, so an extension can add its handle type to a union another extension declared without that extension knowing it; dream_tcp_Watchable is widened by dream.dns and dream.tls.
    • Luau 0.741's GC heap-shrink pacing fix and 0.742's compiler and code generator fixes are on, each with its reason beside its name in flags::LUAU_FLAGS.

    Changed

    • A tcp Poller:wait scans only the watches with something to report, so idle sockets cost it nothing: one ready stream among 8192 idle watches costs 0.4 µs, as among 1024. The event buffer starts at 256 entries and doubles as waits fill it, up to maxEvents, instead of being allocated at maxEvents up front.
    • A tcp stream's localAddress is asked of the OS on first use and remembered. Deadline-based readiness is judged once per wait, not per next().
    • tls.clientConfig{ roots } with the platform store caches the verifier per distinct root set (8 sets of at most 256 KiB each per runtime) instead of reloading the store per call; the platform store alone is still loaded once per runtime. A TLS write whose socket has just refused bytes does not try the socket again in the same call.
    • Pollers and TLS configurations are capped per runtime (TcpExtension::max_pollers 64, TlsExtension::max_configs 32), and the documentation says which native memory the VM's memory limit does not see.
    • A slice bound spelled as an integer literal skips its run-time check; a standalone slice of a 16-element table costs about 215 ns against 150 for a handwritten table.create plus table.move.
    • Plain Luau that never uses the dialect is lexed once by the frontend, and only when it contains a [: about 17 to 20 percent over stock luau_compile on 16,000 lines with indexing in loops or calls inside brackets, nothing without a bracket.
    • The fast-flag policy is documented as l3i's own named list rather than as another project's.

    Fixed

    • Standalone slices after a .name, :method(), call or index chain, slices of slices, and slices or comprehensions that use the enclosing function's ... lowered to broken Luau; a slice that starts a statement was refused.
    • zipStrict never compared the first argument's length. any and all over a buffer slice past the end asked the data plane for a span at an out-of-range offset.
    • Data span arithmetic could overflow (an abort when bound, a wrap when native); any/all consumers now guard an empty span like the other reductions.
    • A handshaking TLS session reported a stale readable bit while rustls had unsent flight bytes, a latent busy loop. Poller:close leaked a descriptor. An accept refused for want of descriptors re-armed the listener on every wait.
    • SIGPIPE from a TLS writev and from process.run's stdin feeder killed the host; stack overflows in the location remapper and tree builder on deep shadow chains; quadratic prescans in the frontend; intl decimal exponents past 32767 overflowed an i16 in the parser.
    • The comprehension nesting limit counted clause delimiters; parentheses and brackets inside a clause no longer count toward the 128 levels.

    Migration

    Downstream plans need one line per network extension: .extension(TcpExtension::default()) and .extension(TlsExtension::new()). Rename @dream/net requires and net compat globals to @dream/udp and udp. A match over any of the types listed above needs a wildcard arm. Tools that read @dream/luau trees and expect generated wrappers pass { dialect = "luau" } or, better, handle the dialect's nodes. Scripts that relied on Nagle pass { noDelay = false }. Recompile cached bytecode to pick up original debug lines.

    l3i 2.0.0 2.3 MB · crates.io
    View on crates.io
    Verify · sha256 e4cb6a3e1060…f569f35d8
    File
    l3i-2.0.0.crate
    Size
    2377858 bytes
    SHA-256
    e4cb6a3e1060b0bf2480b0970b5f0eefe363cf7c94fc1dad47342b3f569f35d8

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  21. 1.3.1 stable 2026-10-02

    Luau can now create capability-gated dream.net servers and mint private-key-backed connect tokens, and l3i can emit a textual disassembly of the exact compiled bytecode.

    Added

    • net.server{ schema, address, protocolId, maxClients? } creates a dream.net server from Luau when network.transport is granted. The generated signing key remains private inside the server userdata; server:connectToken(clientId, expiresInSeconds?, timeoutSeconds?) returns only the token clients need.
    • l3i::source::disassemble(source, options) emits Luau's textual bytecode listing for every function, including instructions, source lines, locals and constants, using the same compiler options and library callbacks as source::compile.
    l3i 1.3.1 1.8 MB · crates.io
    View on crates.io
    Verify · sha256 fbbb48c9258b…39f497b7d
    File
    l3i-1.3.1.crate
    Size
    1869180 bytes
    SHA-256
    fbbb48c9258b9488248e8d07928c6f47ffdd01bf1e1d55267456f8c39f497b7d

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  22. 1.3.0 stable 2026-10-01

    Luau's own parser for scripts with @dream/luau: the syntax tree with exact spans, comments, errors and the token stream, built as tables in native code and typed for strict walkers; and named Luau types for extensions whose values are plain tables.

    Added

    • @dream/luau (feature syntax): luau.parse(source, options?) runs Luau::Parser under the runtime's fast flags and returns the tree as tables, every node with its kind and a 1-based span, one table per local shared by its declaration and every use, string quote styles, every comment and hot comment, parse errors as data with the recovered tree, and, with { tokens = true }, Luau's token stream as a buffer of 12-byte records; { declarations = true } parses definition-file syntax.
    • The tree costs 17205 instructions per source line built and collected, against 27861 for the parser and Luau's own JSON encoding of it, which a script would still have to decode.
    • ExtensionDescriptor::type_alias: a named Luau type an extension's signatures refer to, for values that are plain tables, rendered as export type ahead of every module.
    • @dream/bytes's toBase64 and fromBase64: standard padded base64 of a range of a buffer or string in one call, and back, refusing anything that isn't base64 by naming the byte.
    • @dream/bytes's frame: one native walk over a run of tag-length-payload chunks (RIFF, IFF, PNG, GLB, Bethesda records), the layout given as data, returning every chunk's start and end as u32 pairs and, when it stops early, why and where; an inner layout checks that each payload's chunks tile it. A megabyte of records and fields in 0.98 ms against 9.8 ms for the Luau walk.
    • @dream/bytes's regex (feature bytes-regex): a pattern compiled once over bytes, whose matchSpans tests every (start, end) range of a buffer in one call and answers with a byte per range, so a thousand small fields cost one call and no strings; isMatch and find over one range.
    • @dream/fs (feature fs): the host filesystem over byte paths, with whole and positional reads, readers over a memory map, writers with positions and truncation, stat and lstat, a walk that returns parallel columns, recursive removal, renames, copies, hard and symbolic links, canonical paths and file identity, behind the filesystem.read and filesystem.write capabilities. What the OS refuses returns nil, the message and the error's kind, the way io.open does.
    • @dream/process (feature process): run starts a program with no shell, waits for it, and returns its exit code with its output passed through, captured or discarded, behind process.spawn; env behind process.environment; write and isTerminal for the standard streams.
    • @dream/bytes's translate(text, from, to, { collapse?, trimStart?, trimEnd? }?): bytes mapped like tr, runs of one byte collapsed, one byte trimmed from each end, and the text itself returned when nothing changes; folding a path's case and separators costs 141 ns a call against 470 ns for string.lower plus string.gsub.
    • @dream/intern's rules policy, intern.new({ nocase?, replace?, collapse?, trimStart?, trimEnd? }): keys normalized inside the hash and the compare, so Meshes\\X//Rock.NIF and meshes/x/rock.nif are one token with no normalized string made; the byte map lowers to native code eight bytes at a time, 522 instructions for a duplicate 31-byte path against 5008 for string.lower plus string.gsub and a table read, and resolve returns the normal form.
    l3i 1.3.0 1.8 MB · crates.io
    View on crates.io
    Verify · sha256 2a7408935412…b86a577c6
    File
    l3i-1.3.0.crate
    Size
    1867226 bytes
    SHA-256
    2a74089354121cdfe98845443e87f1eaf8e5b616ab9c3a08dcbaa2fb86a577c6

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  23. 1.2.0 stable 2026-09-30

    Textual identity as dense numbers with @dream/intern, lowered so a repeated identity never leaves native code; a zstd encoder; a constant that says whether a build used the verified toolchain; a slow path for lowering hooks that stays native; and cheaper string, buffer and optional arguments for every binding.

    Added

    • @dream/intern (feature intern): pools that turn strings or buffer spans into dense number tokens under exact or ascii-nocase equality, folding case inside the hash and the comparison, so no lowered copy is made and a repeated identity allocates nothing. find, resolve to the first spelling seen, and interner() for interpreted code.
    • Under jit, an annotated dream_intern_Pool's intern and find lower to native code: a case-insensitive duplicate costs 315 instructions against 1378 for string.lower and a table lookup, and an insert or a bad argument runs the bound method without leaving native code.
    • IrBuilder::namecall_call: the namecall and call Luau would have emitted, as a userdata namecall hook's slow path.
    • l3i::VERIFIED_TOOLCHAIN: true exactly when build.rs found the verified toolchain, whether or not L3I_UNVERIFIED_TOOLCHAIN was set, for hosts that publish performance numbers.
    • @dream/bytes's zstdCompress, through ruzstd's one implemented level; any other level is refused by name.
    • Runtime::registered_require_modules: every path registered with register_require_module, the plan's included, in registration order.

    Changed

    • Q:fromXYZW lowers to native code: 93 instructions against the binder's 459.
    • String, buffer and string-or-buffer arguments are read straight from Luau's value layout (54 instructions instead of 293), and a trailing optional argument is read once (two optional integers cost 335 fewer instructions).

    Fixed

    • A lowered rotation packs with the omitted component's own sign, so a quarter turn whose two largest components tie with opposite signs no longer packs a different rotation.
    l3i 1.2.0 1.7 MB · crates.io
    View on crates.io
    Verify · sha256 40aa6321c1d1…a3c6aec8c
    File
    l3i-1.2.0.crate
    Size
    1803998 bytes
    SHA-256
    40aa6321c1d1b5e2ab41e9efaa8af0d97b1b79a2dcb89c92b9d7f89a3c6aec8c

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  24. 1.1.0 stable 2026-09-30

    Chunks load on any scope's thread under the runtime's native code policy, the code generator is reachable from a call, templates resolve their imports at load time, and a frame's call site costs two debug fields.

    Added

    • source::LoadScope, implemented for every scope: load_bytecode and load_source load a chunk on the scope's own thread, so Luau resolves its builtin imports against that thread's safe globals, and compile it natively according to the runtime's mode, so a require written in Rust needs neither the Runtime nor luau_load by hand.
    • NativeCodeGen::for_scope: the runtime's code generator from a bound function's Call or any other scope of its VM.
    • DebugScope::call_site: the chunk name and current line of a frame, asking Luau for those two fields only; Luau records lines, not columns.
    • Templates load on a loader thread whose globals are the base environment, so Luau resolves their builtin imports when the template loads and every instance takes the fast import path from its first run.
    l3i 1.1.0 1.7 MB · crates.io
    View on crates.io
    Verify · sha256 24d35931d97c…8d01d18bc
    File
    l3i-1.1.0.crate
    Size
    1771181 bytes
    SHA-256
    24d35931d97c63da75ae56371bf67577f401dafe2e6546d5c2a174a8d01d18bc

    The same digest as the crates.io index's checksum, which Cargo checks on every download.

  25. 1.0.0 stable 2026-09-29

    First release: the whole Luau 0.740 C API under a scoped Rust layer, planned runtimes composed from extensions, sandboxes, the dream-net bridge in every VM, and native lowering hooks written in Rust.

    Added

    • The typed binder: Runtime::bind_function reads arguments straight from Luau's 16-byte value layout, with the C++ binder's optional, variadic and overload rules and its exact error wording.
    • Tagged and untagged userdata per runtime: the same Rust type may be tag 8 in one VM, 17 in another, and untagged in a third; generated __index and __namecall dispatchers that cost one Luau call frame.
    • Runtime plans: an Extension describes modules, userdata, packed kinds, services and capabilities without a VM, and RuntimePlan::finalize assigns tags, compiler slots, atoms and direct slots, validates every identifier and path, and renders the .d.luau for the composition.
    • Sandboxes with the C++ binder's prelude, per-script instances, and compiled templates cloned per script.
    • The dream.net bridge in every plan: schemas, clients gated by the network.transport capability, host-created servers, and pollInto with one payload copy and no allocation.
    • Packed 64-bit scalars with a kind registry: dream.quat rotations and animation keys, dream.raster colours and clip rectangles, and dream.soft_render behind the soft-render feature.
    • Native code generation (jit): Luau's CodeGen with lowering hooks written in Rust against an IrBuilder C ABI; quaternion, colour and vertex-writer paths that lower to IR with no C call.
    • Luau's Analysis frontend (analysis): type checker, linter and autocomplete over a source provider, definition files, and the gate that type checks a plan's declared API against strict scripts.
    • @dream/bytes (bytes) for parsing foreign file formats in script: searching, record strings, varints, big-endian, 24-bit and half-float reads with a receiver lowered to native code, and behind their own features the codecs (DEFLATE, LZ4, zstd, LZMA), the digests (CRC-32 to BLAKE3) and the text codepages, all pure Rust.
    • Watchdog limits, memory categories, call scopes, collector control and the profiler plumbing a game engine needs, and every function in lua.h, lualib.h, luacode.h, luacodegen.h, luajitinliner.h and Require.h declared by hand.
    • The clang, lld and cross-language thin LTO toolchain, enforced by build.rs and measured in TOOLCHAIN.md: a bound call within forty instructions of a bare C function.
    • Templates load from any thread of the VM: Sandbox::load_template_in takes only the scope, so a require loader captures the sandbox and nothing else.
    • Rust 1.92, clang and lld; dream-net 1.1.0.
    l3i 1.0.0 1.7 MB · crates.io
    View on crates.io
    Verify · sha256 134fabf21800…a29fbc11d
    File
    l3i-1.0.0.crate
    Size
    1767011 bytes
    SHA-256
    134fabf2180017b64f9d361f2e42374aed00c22257285cc5030743aa29fbc11d

    The same digest as the crates.io index's checksum, which Cargo checks on every download.