Releases
Every release of Limen, newest first, with what it changed. The files for each are on GitHub, and where Limen goes next is in the roadmap.
0.9.0 · 4 December 2026
The compiler written in Limen runs the tools, and programs run native by default.
Breaking:
limen runandlimen testbuild and run native code by default.--nativeis still accepted;--interpruns the old interpreter for this release only, with a note on stderr. With no C compiler,runhands the program tolimen eval.test --coveragestill runs interpreted.limen capslists only the program's own functions.--alladds the standard library and dependencies, and compiler-generated names are never printed.kube.watchreturns akube.Watchwith the status, the lastresourceVersionit saw and a message, so a resume loop needs noShared. AnERRORevent inside the stream, such as a 410, ends the watch with its code.
The self-hosted compiler:
limenhandscheck,caps,build,fmt,doc,mcp,search,addandindex entrytolimen-compiler, the compiler written in Limen and shipped beside it as one generated C file. Each gives the same output as the OCaml one, compared on every file in the repository and the book.LIMEN_COMPILER=ocamlkeeps them inlimen.- The self-hosted compiler fetches git dependencies and keeps
limen.lock. - A repeated
limen runstarts at once: the development build is kept and run where it is.
Language and library:
()works as a pattern:Ok(()),Some(()),((), n).Result.ok()andResult.err()give anOption.- The http server writes one line to stderr when a handler panics, with the method, path and panic message, and still answers 500.
Faster:
- A function borrows the arguments it never consumes, so calls skip a retain and a release for each one. The compiler checks itself about 9% faster.
- The self-hosted checker no longer copies its state.
0.8.16 · 3 December 2026
List: pop, truncate and binary search.
xs.pop()takes the last item off a list in O(1), or givesNonewhen it is empty.xs.truncate(n)keeps the firstnitems in place.xs.binary_search(x)finds an item in a sorted list in O(log n), andxs.partition_point(p)gives the first index wherepstops holding, for insertion points and searches by key.
0.8.15 · 3 December 2026
Collections: a heap, a deque and a set.
collectionsis a new std module.Heapis a priority queue:heap()pops the smallest first,heap_by(less)takes any order, andheap_of(xs)builds one in O(n).Dequeis a queue open at both ends, O(1) at each.Setkeeps insertion order, withunion,intersect,differenceandis_subset.- The interpreter changes a list held in a struct field in place, so a loop over a struct that holds a list is linear again (128,000 pushes: 73 s before, 0.1 s now).
0.8.14 · 3 December 2026
gRPC streaming, and a gRPC server.
grpcstreams both ways:client.open(path)gives a stream tosendon andrecvfrom untilNone, withheaders()andtrailers(), for client, server and bidirectional streaming.open_within(clock, ms, path)sets a deadline.grpcserves: agrpc.Methodpairs a path with a function that reads and writes its call,grpc.unary(path, f)covers the common case, andserve_connandserve_foreveranswer UNIMPLEMENTED for a path no method has. The module now needslistenas well asnetandclock.- Messages over 4 MB are refused with
ResourceExhausted, and compressed ones withUnimplemented. http2.Exchangeis the stream underneath, for sending a body in pieces and reading the response as it arrives.
0.8.13 · 3 December 2026
Faster startup on macOS, and Kubernetes manifests as YAML.
- On macOS a program keeps its compiled sandbox profile instead of compiling it at every start, with the same restrictions. Startup drops by about 5 ms, and the
pipelinebenchmark now runs as fast as C. Linux is unchanged. yaml.encodeof thek8stypes writes the manifest a person would: nonullfields,@keynames,IntOrStringas25%or1.- The
k8spackage takes limen-k8s v0.2.0, which addspolicy/v1andautoscaling/v2.
0.8.12 · 3 December 2026
A package index by default, and the old key syntax gone.
limen searchandlimen add NAMEread the hosted index, limen-index, whenLIMEN_INDEXis unset, and say which index they read. It starts withk8s; publishing a package adds yours.- Breaking:
field: T as "key"is an error now, with a fix that writes itfield: T @key("key").limen fmt --writestill rewrites old code. - One script cuts a release, from the builds to the Homebrew formula.
0.8.11 · 3 December 2026
An HTTP/2 server, raw strings, and more of protobuf.
http2serves as well as calls:serve_conn,serve_foreverandserve_callsrun each request in a task of its own, over TLS or plain TCP.serve_callsreads and writes a call as it goes, trailers included, which is what a gRPC server needs.http2.server(clock)holds the limits on idle time, requests at once and body size. The module now needslistenas well asnetandclock.- A string between backticks is its bytes as they are, with no escapes and no interpolation, and may span lines: `
{"type":"BOOKMARK"}`. protobuf:@field(n, kind)writes a number assint,fixed,sfixedorfloat, and aoneofis anOptionof an enum whose variants each carry one value and a number.@encodeand@decodework on types with type parameters:@encode fn items[T](x: Box[T]) -> List[T]converts everyBox[T].- Fixed:
limen test --nativeandlimen run --nativeno longer fail when an earlier run left its build directory behind.
0.8.10 · 3 December 2026
Attributes go after a field, and the Kubernetes package and an operator have repositories of their own.
- An attribute of a struct field or an enum variant goes after it:
resource_version: Option[Str] @key("resourceVersion"),id: Int @field(1),Circle(Float) @field(2). Before the field, as in 0.8.8, still works, andlimen fmtmoves it. kubeclients havecreate(path, manager, body), which the API server refuses when the name is taken, anddelete(path, uid: Some(id)), which it refuses when the object there is another.- The
k8spackage is at limen-k8s, a git dependency. - limen-sandbox-operator is a whole operator that gives out temporary namespaces. The part that decides is in the playground.
- Fixed: several fields with the same name each keep their own attributes in
limen fmt,limen docand hover.
0.8.9 · 3 December 2026
mut parameters everywhere, custom conversions, protobuf, HTTP/2 and gRPC clients, signed integers, and Bytes that change in place.
mutparameters work in interface methods (and so ondynvalues), function types, closures and foreign functions, wheremut x: Tis passed asT *.@encodeand@decodeon twopubfunctions give a type its own form injson,yaml,sqlandprotobuf. A misdeclared pair is E0129.@field(n)numbers a struct field or an enum variant, andprotobuf.encodeandprotobuf.decoderead and write proto3.sint,fixed,floatandoneofare not there yet.- HTTP/2 client:
hpack,http2, and ALPN withnet.offering(protocols),listen.offering(protocols)andconn.protocol(). grpc: a client for unary calls, with deadlines andgrpc.Status. No streaming yet.Int8,Int16andInt32, withInt64as another name forInt. json, yaml, sql and protobuf convert every fixed-size integer type.Bytesin amutplace change in place:b[i] = x,push,push_all,truncate,clear,reserve,bytes_of, and fixed-size integer reads and writes at an offset. A foreignmut b: Bytesis a buffer C can fill.- Printing a line costs what it does in C:
bench/linestakes about half the time. - Breaking: in a foreign block
Int32is the realInt32type; writen.to_int32()andr.to_int(). - Breaking: int-or-string fields in
k8sarek8s.IntOrString; writek8s.Int(80)ork8s.Str("25%")wherejson.Int(80)was. - Fixed: two fields with the same name and an
as "key"each crashed the checker. E0124 now also sees the key of a repeated field. - Fixed: in the interpreter, a pointer C hands back into a string it was lent stays valid.
0.8.8 · 3 December 2026
Attributes, a faster scheduler, and more Kubernetes types.
- Attributes:
@and a name before an item, a struct field or an enum variant. The set is closed and defined by the compiler: an unknown name is E0125 and names the closest known one, a misplaced attribute is E0126, a repeated one E0127, and wrong arguments E0128. There are two to start with: -@key("k")on a struct field gives its key injson,yamlandsql:@key("resourceVersion") resource_version: Option[Str]. The oldresource_version: Option[Str] as "resourceVersion"still works, with warning W0004 and a fix that rewrites it;limen fmtrewrites it too. It goes away at 1.0. Thek8spackage and its generator now use@key. -@deprecated("msg")on a function, method, type, field or variant. A use from another file is warning W0003, "loadis deprecated: use load_all", once per written use. Uses inside the declaring file are not reported, so a module can keep using what it retires. limen fmt,limen docand hover print attributes, and a doc comment above an attribute line still belongs to the item.- Tasks are cheaper to start and switch. Each worker's run queue is a lock-free ring, the fiber a worker readies runs next on that worker, idle workers look for work for a moment before sleeping, and a task's stack is mapped only when it first runs, with finished stacks kept for reuse. Tasks that print nothing are freed when they finish instead of when their group ends.
- Fixed: a fiber that resumed on another thread after a wait could use the previous thread's thread-locals, because the C compiler may compute their address once per function. Runtime code now reaches them through calls that are never inlined.
k8shas the batch, networking, rbac and apiextensions types:Job,CronJob,Ingress,NetworkPolicy,Role,ClusterRole, their bindings andCustomResourceDefinition, with their paths.unicode.same_ignoring_caseis Unicode's canonical caseless match: it decomposes again after folding, soᾠwith an acute accent matches its folded form.- The language server no longer crashes when you hover a name defined in another module.
0.8.7 · 30 November 2026
Typed Kubernetes objects.
- The
k8spackage (packages/k8s) holds every core/v1 and apps/v1 type of Kubernetes v1.36.0, generated bydev/k8s/gen.lmnfrom the API's OpenAPI v3 description. There is a struct per schema, a constructor taking the required fields and the rest by name, andpath()for each kind that has an object path. It takes no capabilities. Until the package index takes packages, depend on it by path. json.to_value(x)andjson.from_value(v)convert a value to and from ajson.Valuewithout going through text, so typed objects reachkube.Client'sapply,getandlist.examples/site_operator.lmnbuilds its ConfigMap, Deployment and Service with thek8spackage and reads back what the API server returns as typed values.- Breaking:
json.encodeandyaml.encodeleave out a struct field that isNone, where they wrotenullbefore.decodealready read a missing key asNone, so everythingencodewrites still reads back equal, but output that relied on"field": nullchanges. - A program with an enum variant of its own named
Someencodes structs withOptionfields correctly. - On macOS the sandbox lets a program read and run the developer directory that
xcode-selectorDEVELOPER_DIRnames: the app bundle it is in, or itself under/Library/Developer, and nothing anywhere else. With Xcode installed as anything butXcode.app(Xcode-beta.app,Xcode_16.4.app), a program that ran the C compiler throughExecfailed, and that included the self-hosted compiler. - On macOS a program with
Execmay also write the user's own temporary directory, wherexcrunandclangkeep their files whateverTMPDIRsays, but never start programs from it. WithoutTMPDIR,Execkeeps a child's stderr there too, not in/tmp.
0.8.6 · 30 November 2026
Stricter grants, and yaml fixes.
- A grant's port is a decimal number from 0 to 65535, read the same way by the interpreter and native programs. Natively
--grant net=host:-1allowed every port on the host and443was a port; the interpreter took0x1bb,+443and1_000. Anything but digits is now refused before the program runs, bylimen, by a built program and inlimen.toml(E0321), andNet.onlywith such an entry grants nothing.fd00::abcdis still an IPv6 host with no port. yaml.parsechecks duplicate keys in time proportional to the input. Collection keys nested inside each other were walked again at every level: a 590 KB document took 33 s, and now takes under a second.yaml.stringifyquotes long strings full of escaped characters in linear time, and a hand-builtTaggednode always gives text that parses: a tag inside a tag keeps the outer one, and a tag on a number is written with the number's text.yaml.encodeandyaml.decodewrite and read ajson.Valuefield as the YAML of the same shape, not as the enum it is.json.encodeandjson.decoderefuse ayaml.Nodefield with E0212; convert it withyaml.to_json.examples/site_operator.lmnreads the kubeconfig outside a cluster, withkube.from_config, instead of going throughkubectl proxy.
0.8.5 · 30 November 2026
The kube module from a kubeconfig, outside the cluster.
kube.from_config(fs, path, context, net)reads a kubeconfig through a grantedFs(--grant fs=$HOME/.kube:ro, path"config"): the context's cluster, with its certificate authority, and its user's client certificate and key and token. The client'sNetis narrowed to the cluster's server and trusts only its CA. Absolute paths,insecure-skip-tls-verifyandauth-providerare refused with what to do instead.kube.from_config_exec(fs, path, context, net, exec, clock)for a user whose token comes from an exec plugin (aws eks get-token,gke-gcloud-auth-plugin). It runs the plugin through a grantedExec, runs it again before its credential expires and after a 401, and gives akube.ExecClient, so code handed a plainClientneeds noExecorClock.- A kubeconfig's
tokenFileis read again when the file changes and after a 401, as projected tokens rotate, the way the in-cluster client reads the service account's token. - Breaking: kube clients are
mut. Their request methods takemut self, so writelet mut k = kube.in_cluster(...)?. A rotated or refreshed token is kept in the client instead of read again for every request. limen docno longer crashes on a directory named like a standard module.
0.8.4 · 28 November 2026
Field keys, for documents whose names aren't Limen names.
- A struct field can give the key it has outside:
current_context: Str as "current-context",resource_version: Str as "resourceVersion".json.encodeandjson.decode,yaml.encodeandyaml.decode, andsql.decode(db.all,db.one, Postgres included) read and write that key, and their errors name it, while code still uses the field's own name. So a kubeconfig'scurrent-contextandcertificate-authority-data, and camelCase JSON APIs, decode straight into structs. - Two fields of a struct with the same key, given with
asor taken from a field's name, are E0124. A key is a one-line string with no interpolation. - The formatter, the grammar and the language server's hover know the new form.
0.8.3 · 28 November 2026
A yaml module: YAML 1.2, read and written in Limen.
yaml.parseandyaml.parse_allread YAML 1.2 with the core schema into ayaml.Node: anchors and aliases, tags and%TAGdirectives, flow and block collections, and every scalar style. It passes the official yaml-test-suite (all 402 of its event streams), and errors name the line and column.yaml.stringifywrites block style that reads back as the same node, quoting any string a YAML reader, 1.1 included, would take for something else (no,on,2024-01-01).yaml.encode(x)andyaml.decode(s)are written by the compiler for each type, asjson.encodeandjson.decodeare, with the same errors that name where a value went wrong.yaml.to_jsonandyaml.from_jsonmove between YAML and JSON values.- It is safe on input from outside: at most 512 levels of nesting, read without recursion, and a budget of 1,000,000 nodes for what aliases expand to, so a "billion laughs" document is an error, not a hang. It was fuzzed with 53 million inputs.
- Written in Limen, it is the same in both backends and in the playground.
- Not yet:
decodecannot read a key with a-in it (current-context) into a struct field, so kubeconfig files are read throughyaml.Nodefor now.
0.8.2 · 28 November 2026
A Kubernetes operator that runs in the cluster and talks to the API server itself, with no kubectl proxy.
net.trusting(ca)gives aNetwhose TLS connections trust only the certificates inca, in place of the system's, andnet.presenting(cert, key)one that presents a client certificate. Both take PEM text the program read through a grant it was given, keep theNet's allowlist and revocation, and fail at the call on text that doesn't parse. Nothing in the environment changes what they accept, and there is still no way to turn verification off.- A new
kubemodule:kube.in_cluster(fs, env, net)reads a pod's service-account token, CA and namespace and talks to the API server over aNetnarrowed to it and its CA;kube.proxy(net, url)does the same throughkubectl proxy. Its client gets, lists, applies (server-side apply), patches status, deletes and watches, reads the token again when it rotates, and retries once after a 401. - The example operator (
examples/site_operator.lmn) uses it, with a container image, least-privilege RBAC and a Deployment whose only grants are the API server, the service-account files and two environment variables;test/integration/kind.shruns it in a kind cluster. - Changed: a
net=orlisten=grant for an IPv6 host means the same host written bare (fd00::1:443) or in brackets ([fd00::1]:443). A bare IPv6 entry is read with its port after the last:, so an entry for every port needs brackets.
0.8.1 · 27 November 2026
A playground in the browser, and what 0.8 left open.
- The playground checks and runs Limen in the browser, lists the capabilities each function needs beside the code, and shares a program as a link. It runs the self-hosted compiler built to WebAssembly, whose new
evalruns a program by interpreting the compiler's own IR, with the same output, panics and exit status as a native build. It refuses programs it can't run exactly: tasks, channels, C calls, and theFs,Net,Listen,EnvandExeccapabilities. Fsgainscopy,touch,set_executableandread_link, and the build cache uses them instead of runningcpandtouch.- A deadline now stops a long
sortorsort_by, which leaves the list as it was. - In the interpreter, blocking C calls share a pool of up to
LIMEN_BLOCKING_THREADSthreads (64 by default) instead of starting one thread each. Writes through a list's row, and throughmut s.items, change the list in place: 40,000mut s.itemscalls on a 40,000-item list went from 16.8 s to well under a second. - The language server parses again only the files that changed, and an edit rechecks the other open files that use the edited one, so their errors appear and clear as you type. Hovering a
mutparameter showsmut. - A large program built in pieces keeps
staticthe functions only one piece uses, so the C compiler can still inline them. - Changed: - A place's indexes and keys are evaluated once, left to right, in both backends:
m[side()] = 1runsside()once. -selectevaluates each arm's guard before its channel and value, arm by arm, as SPEC.md now says. - A database in WAL mode keeps its-waland-shmfiles after the last connection closes on every platform, so a read-onlyFscan still open it.
0.8.0 · 26 November 2026
mut parameters, built-ins written once, and the self-hosted compiler rewritten to use them.
- A function can change its caller's value through a
mutparameter:fn roll(mut seed: Int) -> Int, calledroll(mut seed). Amut selfmethod is called likepush:buf.add(1). Nothing is ever stored: returning, capturing or sending amutparameter takes a copy. New errors: E0213 (themutmarker doesn't match, with a fix), E0214 (themutplaces of one call overlap, or another argument changes one) and E0215 (a function with amutparameter used as a value). - The self-hosted compiler threads its state through
mutparameters: thelet (x, st) = f(st, ...)lines went from 738 to 62. - Every built-in whose answer depends on bytes, Unicode, parsing, float formatting, ordering, random numbers or a panic message is now written once, in C, and both the interpreter and native code call it. The rest are checked against each other on every test run. The interpreter got 1.8 % slower on the test suite.
- Natively, an expression's parts are read left to right even when a later part changes an earlier one, as in the interpreter:
"{k} {bump(mut k)}"andi + { i = 3; 1 }now give the same answer in both. sql.openwalks to the database from the grant, as everyFsoperation does, and refuses a database whose-journal,-walor-shmfile is a symbolic link.- Changed: - NaN prints as
naneverywhere. On x86-64 Linux it printed-nan. - Natively,"\r".lines()is[]and"a\n\r".lines()is["a"], as SPEC.md says. - In the interpreter,UInt64.to_float()rounds once, so 2^63 + 1025 gives 9223372036854777856.
0.7.4 · 22 November 2026
Deep values, stricter JSON, fuzzing, and the site's design in Limen's own output. A few inputs that were accepted before are now refused; they are listed last.
- Printing, comparing, sorting, hashing, sharing and dropping a value now take constant stack however deep it is, so a list a million
Conses deep no longer overflows a task.json.encodeandjson.decodehandle types that hold themselves the same way. - Authority reached through a
dyninterface in a bound method's types now counts, andlimen capsnames the whole path:Stdout (via Outer.get, Inner.give). limen doc --htmland the HTTP server's error pages for browsers use the site's design, andlimen new --webstarts a website in it.- New fuzzers for the compiler and for the readers of outside data (URLs, CSV, times, regexes, gzip, WebSocket frames). What they found is fixed.
- Now refused: - JSON with a duplicate key, a lone surrogate, more than 512 levels of nesting, or a number longer than 400 characters. - Expressions, types and patterns nested more than 256 deep (E0010), and a chain of more than 50,000 operators, calls or
else ifs (E0011). - A time that an offset moves outside the years 0 to 9999, URLs that don't read back as written, and regexes with groups more than 250 deep. - Natively,
mainnow gets a 1 GB stack, reserved only as it is used.
0.7.3 · 21 November 2026
Functions in fields, and fixes for Linux.
- Struct fields, enum payloads and type arguments can hold functions, so a table of handlers can be a struct with named fields. A type that holds a function follows the rules for functions: no
dyn, no map key, no==, nojson, and errors name the field (App.routes.run). Call a field with brackets:(h.on_get)(path). E0304 is no longer reported. limen capsnames the field a callback comes through:pure itself, runs callbacks (via Handlers.on_get).- On x86-64 Linux, every task ran with its stack 8 bytes off the alignment the processor expects, which could crash native programs. It is now aligned.
- Native builds made with GCC now tell the sanitizers about task switches, which hung the thread sanitizer on arm64 Linux.
limen fmtkeeps the brackets around a called field.
0.7.2 · 19 November 2026
A fix for crypto: OpenSSL takes a message length as an int, so a message over 2 GB would have been cut short. It is now refused with an error, and every call checks the whole message was written.
0.7.1 · 19 November 2026
The rest of 0.7: encryption and signatures, unsigned integers, Unicode, and callbacks C can keep.
cryptoseals data with a secret key (ChaCha20-Poly1305), signs it (Ed25519) and agrees a key between two sides (X25519). The algorithms are fixed, so there is nothing to choose wrong.UInt8,UInt16,UInt32andUInt64: unsigned integers whose arithmetic wraps, for hashes and binary formats. They never mix withInt.unicodefolds case, maps upper and lower case for every script, and normalises to NFC and NFD, from Unicode 17.0.Kept[fn(...)]is a callback C keeps and calls later, from any thread. Each call sends its arguments on a channel, so no Limen code runs on C's threads.- A
matchon many integer literals compiles to a Cswitch.
0.7.0 · 19 November 2026
TLS for databases, tools for debugging and profiling, files larger than memory, and WebSockets.
conn.start_tls(host)starts TLS on an open connection.postgresuses it, with the certificate checked, unless the address says?sslmode=disable;redisconnects over TLS torediss://addresses.limen build --profilereports each function's own CPU time and calls as the program exits, andlimen test --coveragelists the lines the tests never ran.- In a debugger, variables carry their Limen names.
- The language server sends diagnostics sooner, and checks only the newest of edits that arrive together.
- The
streammodule folds over a file's chunks or lines, plain or gzipped, in constant memory: a 132 MB log, 18 MB gzipped, in 2.1 s and 9.6 MB. websocket: a server and a client.
0.6.1 · 19 November 2026
postgreslogs in only with SCRAM-SHA-256 unless asked otherwise, and refuses a server that skips SCRAM's last step, where it proves it knows the password. MD5 and cleartext logins send what an impostor posing as the server could reuse or read, so they needweak_login: true.
0.6.0 · 19 November 2026
Debugging at the Limen level, and Postgres and Redis in the standard library.
- A development build (
limen build --dev,limen run --native,limen test --native) marks every Limen statement with#lineand compiles with-g, so lldb, gdb, the sanitizers and crash traces show Limen files and lines. After a crash in C,btin lldb lists the Limen calls that led to it. postgres, written in Limen: SCRAM-SHA-256, MD5 and cleartext logins,$1parameters, transactions, rows read into structs withdb.allanddb.one, and a pool of connections.redis, written in Limen:get,setwith attl,incr,del,expire,publish,runfor any other command,AUTH, and a pool.- Neither does TLS yet, so both are for servers on a private network for now.
0.5.0 · 19 November 2026
Less to write.
db.all(text, params)anddb.one(...)read rows straight into a struct, andsql.values(x)turns one into parameters. The compiler writes the conversion, field by field.- Default parameter values:
fn join(xs: List[Str], sep: Str = ", "). The standard library uses them where every caller passed the same thing, sodb.exec("CREATE TABLE ...")needs no[]. - Struct patterns in
letandfor:for Todo { id, title, .. } in todos. - Closures inside list and tuple literals take their parameter types from context.
- Hex and binary literals (
0xff,0b1010), and\u{e9}for any Unicode character. todo_api.lmnwent from 394 lines to 351, with no JSON or row code written by hand.
0.4.0 · 18 November 2026
A server you can leave running, and JSON straight into your own types.
json.decode(text)reads JSON into your structs and enums, andjson.encode(value)writes them back. Errors name the place, as in "tags[0]: expected a string, found a number".- The server time limits, task freeing and SQL changes from 0.3.4 passed the test:
todo_api, run natively, gave each of 500 slowloris clients 408 at 10 s while normal requests answered in under 8 ms, and 11.5 hours of load (136 million requests, no errors) held it at 4 MB.
0.3.4 · 17 November 2026
Time limits on the HTTP server, faster SQLite, and flat memory for long-running servers.
http.server(clock)limits each part of a connection: 10 s for a request's headers, 30 s for its body and for writing the response, 60 s idle, 10 minutes in all. A request that runs out of time gets 408.- Each SQL statement runs as one call off the event loop: reading a 102,400-row table went from 61 ms to 15 ms.
- A finished task whose result nobody reads is freed at once: a million such tasks take 5.6 MB, where they took 171 MB.
json.Intkeeps large whole numbers exact.- CI runs on x86-64 and arm64 Linux and on macOS, with fuzzers for the JSON parser and the HTTP server.
0.3.3 · 16 November 2026
Much faster native builds: hello world in 0.05 s (it took 0.3 s), todo_api.lmn in 0.65 s (4 s), the self-hosted compiler in 11 s (70 s).
- The runtime is compiled once and kept in the build cache, and a large program is cut into pieces that compile at the same time.
limen build --devskips the C compiler's optimisations;run --nativeandtest --nativebuild that way too.
0.3.2 · 16 November 2026
http.route(r, routes): routes as patterns and handlers,http.on("GET /todos/:id", |r, p| ...). A wrong method gets 405 with anAllowheader, an unknown path 404.examples/todo_api.lmnuses it, and updates a todo in one statement so two changes at once can't undo each other.
0.3.1 · 16 November 2026
- The macOS binary has OpenSSL linked in, so it runs without Homebrew.
- A native build that needs OpenSSL, on a machine without it, says what to install.
0.3.0 · 16 November 2026
The holes an outside review found when it tried to break the language, closed.
- A capability sent through a channel, or reached through an interface's methods, now counts in
limen capsand needs granting. Fsopens files without a check-then-open race, and never follows a link out of the granted directory.- Deep values are freed without recursion, and a stack overflow says so instead of crashing silently.
httprejects ambiguous framing and header values that would split a response.- Licensed MIT or Apache 2.0, and the source is public.
0.2.0 · 15 November 2026
Linux (x86-64 and arm64) as well as macOS, and a one-line install.
- Cancellation reaches busy loops, and blocking C calls run off the worker threads.
AtomicandSharedvalues, revocable capabilities, andForeignnarrowed per library.- Multi-line strings,
compress, streaming hashes andurl.resolve.
0.1.0 · 14 November 2026
The first release, for macOS on Apple silicon, through Homebrew.