Release notes
Every released version, newest first.
Maxon breaks compatibility whenever a change makes the language better (why), and
every breaking change below carries its fix. The first build of a project with a new release lists the
ones since the release that last built it, and the MCP breaking_changes tool answers the same.
Downloads for each release are on the GitHub releases page, and the install instructions are in Installation.
0.5.0 — 2026-10-08
Section titled “0.5.0 — 2026-10-08”Breaking changes
Section titled “Breaking changes”- A typealias’s identity is its declaration rather than its spelling: two declarations of one name are two
types even over the same range, and a value crossing between them is refused.
Fix: declare the alias once and share it, or cast the value across (
x as Name). - A bare type name that reaches more than one visible declaration is E3063 in every file, including a
file that declares one of them.
Fix: qualify the name as the message lists (
dir.Name,export.Name,stdlib.Name), or rename one declaration. - A typealias declared inside a type is private to its file unless it carries its own visibility modifier,
and naming a file-private one from another file, bare or qualified, is E3008.
Fix: give the alias a visibility modifier (
module,exportorpublic). - E3167 checks every type a signature names, an interface’s requirements and the types a named alias reaches included, so a signature that was accepted can be refused. Fix: raise the type to the function’s visibility, or narrow the function to the type’s.
- Discarding the result of a pure function (E3064) is refused in more programs: a function that writes only
into values it created, one that calls a closure it can name, a search through a container’s
withIterator(), and aMaporSetlookup. Fix: use the result, or remove the call. - A program that declares
BuiltinStringLiteral,BuiltinCharLiteralorBuiltinArrayLiteralis refused (E2015). Fix: rename the declaration. - Only a
.maxprojmarks a project for the language server; a file with no.maxprojabove it is checked alone against the standard library, and nothing else of its directory is loaded for it. Fix: add a<name>.maxprojfile at the project root (maxon initwrites one). Utf8ByteCount,CodepointCountandUtf16UnitCountare removed. Fix: useCount.==on two values of a generic type calls the type’sequals, and is E3005 when the type declares none. Fix: declareequalson the type.- Writing through a module
let’s record handed back by a function, and copying alet’s field into avar, are refused (E3159, E3078). Fix: bind the value withvar, or write through aclone(). - A copy that reaches a promise (a
List.clone, or a generic type copying an array of promises) is E3141, and a borrowed argument (a parameter, a field, an element) passed as a kept argument to aspawnfactory is E3138. Fix:awaitthe promise and copy the value it holds; pass aspawnfactory a fresh value or aclone(). - A generic type nested in itself through its own instances is E3184.
Fix: declare the field over the type’s own parameters (
Nest with T), or remove the recursion.
maxon buildskips the compile when nothing it read has changed since it last built that output, printingUp to date -> <path>; a build that does compile logs why.--rebuild, and the MCPbuildtool’srebuild, compile regardless. Two builds of one output take turns.- The standard library’s front-end work is cached on disk and shared between compiles, so a small
program builds in about half the time.
maxon cachereports the library cache andmaxon cache clearremoves it. maxon testtakes a single.maxtestfile and runs it alone, as does the MCPtesttool.Count, the standard library’s type for a number of things: Array, List and Vectorcount(),Json.arrayLength,Character.byteLength()and the string views’ counts return it, andScheduler.processorCount()compares with any of them with no cast.JsonDoc.hasChild, which says whether an object holds a key.clone()on a generic instance — aMap, aSetor a generic type of your own.- The language server names itself and its version in its
initializereply.
Changed
Section titled “Changed”- A typealias’s identity is its declaration rather than its spelling. Two declarations of one name are two types, even over the same range, and a value crossing between them needs a cast.
- A bare type name that reaches more than one visible declaration is E3063 in every file, including a file that declares one of them.
- A typealias declared inside a type carries its own visibility modifier, and unmarked it is private to its file; one inside an interface takes the interface’s. Naming a file-private one from another file, bare or qualified, is E3008.
- E3167 checks every type a signature names, including an interface’s requirements and the types a named alias reaches.
- Discarding a pure function’s result (E3064) is caught in more programs: a function that writes only
into values it created, one that calls a closure it can name, a search through a container’s
withIterator(), and aMaporSetlookup. A discarded call is judged by the overload it reached. - Diagnostics name types and overloads as source writes them:
Array with int,stdlib.Name,dir.Name,pick(String). - A program may not declare
BuiltinStringLiteral,BuiltinCharLiteralorBuiltinArrayLiteral(E2015). - Only a
.maxprojmarks a project for the language server. A file with no.maxprojabove it, up to its workspace folder, is checked alone against the standard library, and nothing is loaded for it. Opening a.maxprojloads its project. maxon test’s default per-file deadline is two minutes.- The compiler builds itself about a quarter faster, with about 30% less peak memory, and a function with many early exits no longer grows quadratically in code size.
Array.sortcould return unsorted output on arrays with many equal elements, and the stable sorts could reorder equal elements.- Array
equals,hashand==compared raw bytes, which is wrong for aStringor any other managed element, and could disagree with each other and withMapandSetkeys. They compare element by element through the element’s ownequalsandhash. - An array of floats compared, searched and hashed the wrong values on x64 and arm64, and trapped on
wasm32-wasi. ==on two values of a generic type compared their addresses. It calls the type’sequals, and is E3005 when the type declares none.- An array of a declared
enum Bytewith more than 256 cases truncated its values. - On Linux, a spawned child inherited every file the program had open, so a child reading a pipe the program was writing could wait forever for its end.
- A program declaring its own
Comparable,Equatable,HashableorErrorinterface lost the library’ssortandcontainson built-in types, and its services’ reply errors stopped conforming toError; the program’s own interface could not be implemented. - A ternary choosing between a parameter typed by a function-type alias and a declared function crashed the compiler.
- Two conformers binding an associated type differently crashed the compiler, and an associated type
bound by a type’s second
implementsclause, or by anextension’s, was not found. - A generic type nested in itself through its own instances made the compiler allocate without bound; it is E3184.
- Writing through a module
let’s record handed back by a function, or copying alet’s field into avar, compiled and faulted at run time; they are E3159, E3019 and E3078. - A copy that reached a promise — a
List.clone, or a generic type copying an array of promises — compiled, then crashed or left a green thread un-awaited. Every copy that reaches a promise is E3141. - A variable passed as a kept argument to a
spawnfactory aborted the program; it is moved, and a borrowed argument — a parameter, a field, an element — is E3138. - A static factory’s result, a static call through an instance alias, and an array literal passed at a type-parameter slot were refused or mistyped.
- A service reply that is a freshly interpolated
Stringwas refused with E3137. - The language server kept declarations a file no longer had, reporting a false cycle after a union was replaced by a type of the same name.
- A
--emit-ir-runtime=name the program lacks crashed the compiler instead of being refused.
Removed
Section titled “Removed”Utf8ByteCount,CodepointCountandUtf16UnitCount, replaced byCount.
0.4.0 — 2026-10-04
Section titled “0.4.0 — 2026-10-04”Breaking changes
Section titled “Breaking changes”- A project is marked by
<name>.maxproj, which replacesbuild.maxon; tasks live in<name>.maxtasks, and test files are<name>.maxtest, no longer*.test.maxon.build.maxonand*.test.maxonare no longer read. Fix: renamebuild.maxonto<name>.maxproj(its targets are the exported functions of no parameters returningExitCode, run withmaxon build <target>), move task functions into<name>.maxtasks, and rename each*.test.maxonto*.maxtest. maxon run <file>ismaxon execute <file>;maxon run <task>now runs a task from the.maxtasksfile. Fix: replacemaxon run <file>withmaxon execute <file>in scripts and CI.maxon <file>.maxonand#!/usr/bin/env maxonare unchanged.- Every command-line option is long-form, and the
-o,-t,--compiler,--version,-V,--helpand-hspellings are removed. An option given to a command that does not take it is refused, and so is a bad--log=value. Fix: use--output=for-oand--filter=for-t,maxon versionfor--version, andmaxon help [<command>]for--help, and drop--compiler=fromspec-testcommand lines (it compiles every case in its own process).maxon help <command>lists the options a command takes. maxon test --filter=may be repeated, and a pattern that matches no test ends the run. Fix: remove or correct the pattern that matches nothing.Runtime.yield()andRuntime.processorCount()areScheduler.yield()andScheduler.processorCount(). Fix: rename the calls.- The trace-key recorder that was
LogisTraceCapture, andLogis now a structured logger. Fix: callTraceCapture.trace,startCapture,stopCaptureandfiredwhere the program called the same functions onLog. - Arguments to an
asynccall or a service message, and the managed locals a closure captures, are moved; reading one afterwards is a compile error (E3102). Thelet-argument freeze and E3160 are gone. Fix: send or capture aclone()when the program still needs the value, or stop reading it after the send. - A bare type name with more than one visible declaration is an error (E3063) rather than a silent pick.
Fix: qualify it with its directory,
stdlib.orexport., or rename one declaration. - A hidden type is hidden at every place a type can be named, along with its fields and methods (E3008). Fix: export the declaration, or reach it through an exported function or interface.
- A function’s parameter, return and
throwstypes must be at least as visible as the function (E3167). Fix: raise the type to the function’s visibility, or narrow the function to the type’s. - A function that declares
throwsmust be able to throw (E3168). Fix: remove thethrowsclause, or throw from the body. - Casting a literal to the type its destination already declares is an error (E3010). Fix: remove the cast.
- An array index must be the array’s
ElementIndex(aStringindex is refused),count()of an array is anElementIndex, and several public stdlib aliases are merged intoElementIndex,EntryCount,BytePos,ByteandNetworkPort. Fix: index with anElementIndex(cast withas ElementIndex), read a string through its views (bytes(),codepoints(),utf16()), and use the merged alias names. - An or-pattern binding is refused on any case that does not bind it (E3129). Fix: give the case that disagrees its own arm, or rename the colliding binding.
- A typealias declared inside a type or extension is a nominal type, and a private ranged alias belongs to
its file.
Fix: cast values between the alias and another type (
x as Name), and give an alias that other files use a visibility modifier. - A path holding a NUL names no file, and a NUL in a subprocess’s program, argument, working directory,
environment or redirect path refuses the spawn with
spawnFailed; a host holding a NUL, or an empty host, isresolveFailed. Fix: do not pass NUL or empty strings; handlespawnFailedandresolveFailed. - E3099, E3105 and E3160 are removed. Fix: delete any reference to these codes from scripts, tests and documentation that match on them.
- A debugger, on x64-windows, x64-linux, arm64-linux and arm64-macos.
maxon debugruns a program under it, interactively or from a batch of commands: breakpoints by line, function or address, with conditions; stepping; pausing; locals, expressions and backtraces; every green thread, which can be listed, inspected and held; and the program’s trace events beside its stops. It attaches from outside the program, so nothing is built into a program to make it debuggable beyond its.mxdbgsidecar. maxon dap-server, a Debug Adapter Protocol server over stdio, which the VS Code extension debugs programs and individual tests through.maxon test --list --buildbuilds a project’s tests and names each test, so a single test can be debugged.- Thirteen
debug_*MCP tools that drive the same debugger, andmaxon mcp-server --http, an HTTP transport on loopback with sessions. - Generic functions:
function f(x T) uses T where T is Equatable, withTinferred from the arguments. Integers, floats,StringandboolareEquatableandComparable. - Subtype aliases:
typealias X = int(range) implements Parentwidens to its ancestors with no cast, while siblings are refused and narrowing needs one. - Program-wide defaults: a top-level
default Key = expressionthat any thread reads withKey.current()and replaces withKey.register(x), for a service reached through an interface or for an immutable value.I.handleis a handle to any running service whose type implements interfaceI. SharedValue, a value every thread reads lock-free and a writer replaces whole.Log, a structured logger modelled on Go’slog/slog: levels, typed attributes, groups, and text and JSON handlers. A program logs with its first call.HttpServer, an HTTP/1.1 server on the green-thread scheduler.HttpClientdecodes chunked responses, answers a closed set of status codes, and takes a whole-exchange timeout and an optional body cap;TcpClient.connecttakes a deadline.Random, drawing from the operating system’s cryptographic source on every target.File.createText, which refuses a file that already exists; file errors tell a busy file, a denied access and an existing file apart.WallClock.nowUnixNanos, RFC 3339 formatting andCivilDate.- An enum or union that declares
implementswidens into that interface wherever atypewould. - A record whose fields are all
letand together fit 64 bits — narrow unsigned ranges,bits(n)andbool— is stored as one machine word, with no allocation. - Closures may be returned, stored in fields and containers, and passed to
async; captured interface values and nested captures work. - A union payload may be a float.
- A record holding a value at an interface type can be cloned.
maxon init, which scaffolds a project.__Builtins.scavengeMemory(), which returns freed memory to the operating system, and builtins that attribute the live heap and allocation churn by type.
Changed
Section titled “Changed”- Projects, task files and tests have their own extensions. A
<name>.maxprojfile marks a project and describes its builds, replacingbuild.maxon;maxon build <target>runs one of its targets. A<name>.maxtasksfile holds tasks, whichmaxon run <task>runs. Test files are<name>.maxtest. maxon run <file>is nowmaxon execute <file>.maxon <file>.maxonand#!/usr/bin/env maxonare unchanged.- Every command-line option is long-form:
-ois--output=and-tis--filter=. An option given to a command that does not take it is refused, and so is a bad--log=value. maxon test --filter=may be repeated, and each pattern must match a test.Runtime.yield()andRuntime.processorCount()areScheduler.yield()andScheduler.processorCount().- The trace-key recorder that was
LogisTraceCapture. - Arguments to an
asynccall or a service message, and the managed locals a closure captures, are moved; reading one afterwards is a compile error. Thelet-argument freeze and E3160 are gone. - A bare type name with more than one visible declaration is an error (E3063) rather than a silent pick;
qualify it with its directory,
stdlib.orexport.. A file’s own declaration wins. - A hidden type is hidden at every place a type can be named, along with its fields and methods.
- A function’s parameter, return and
throwstypes must be at least as visible as the function (E3167). - A function that declares
throwsmust be able to throw (E3168). - Inside a
testbody, a throwing call orawaitneeds notry. - Casting a literal to the type its destination already declares is an error (E3010).
- An array index must be the array’s
ElementIndex; aStringindex is refused. Arraycount()is anElementIndex. Several public stdlib aliases were merged intoElementIndex,EntryCount,BytePos,ByteandNetworkPort. - An or-pattern binding is refused on any case that does not bind it (E3129).
- A typealias declared inside a type or extension is a nominal type, and a private ranged alias belongs to its file.
- A full-range unsigned value such as
u64.maxpasses range checks; an unsigned subtraction is refused only when it borrows. - The language server checks a document against its whole project, so it reports what a build would. Hover and go-to-definition reach other files and the standard library, a window may hold several projects, and the server reports when it is loading one.
- A self-compile’s peak memory is roughly halved.
- On Windows, program arguments, environment variables, file and directory names, the working directory, the executable’s path and shared-memory names are UTF-8 for any Unicode text, and a child’s arguments, environment and working directory reach it as the characters they spell. A non-ASCII host name resolves through its Unicode form.
- A duplicate declaration across files is reported on the same file on every host: the one whose path sorts later byte by byte, and a free function rather than the method it collides with.
- A path holding a NUL names no file, a NUL in a subprocess’s program, argument, working directory,
environment or redirect path refuses the spawn with
spawnFailed, and a host holding a NUL, or an empty host, isresolveFailed. - A program started with its standard input, output or error closed has them opened on the null device.
-
Bytes written to a subprocess’s standard input were cut at the first NUL.
-
Subprocess.runhung when the child wrote more than a pipe holds before reading its input, and its timeout did not fire. -
On Windows, concurrently started children inherited each other’s pipe ends, so a child’s output did not end until an unrelated child exited.
-
A subprocess whose pipe could not be created was started without it on macOS, and on Windows the failure reported an unrelated error.
-
A failed subprocess start could close another file’s descriptor, and a released subprocess handle could release a process started after it.
-
A failed call’s error reason could be replaced by another’s after the green thread moved to another operating-system thread.
-
A variable passed to a parameter the callee reassigns — a module-level
var, a field, or a field reached through a chain — was not updated. -
Programs with a
boolglobal and green threads crashed at startup on arm64. -
A slot in use could be handed out twice under load on arm64, corrupting memory.
-
A record of narrow immutable fields spawned as a service crashed at shutdown.
-
A value moved in a match arm that ends
and fallthroughleaked when the match entered the next arm directly. -
A promise read out of a temporary container, or consumed twice from a field, crashed instead of being kept alive or refused.
-
A generic service could hand its own state to a caller, and a fresh container over
Treturned from one was wrongly refused. -
A generic method storing a type-parameter value taken by reference was refused, or miscompiled.
-
Managed globals were freed before a green-thread program’s last handlers ran.
-
A dropped coroutine that went on to wait on a socket hung the program.
-
On arm64-linux, signal handlers ran with an undefined mask and signal stacks could overflow; writes and waits interrupted by a signal failed; a child killed by a signal was not reported as signalled.
-
A timed-out subprocess left its children running.
-
On Windows, a subprocess started by name could resolve to a file Windows cannot run, such as the extensionless script beside
npm.cmd. -
A range check on an alias declared inside a type or extension was skipped.
-
Every runtime abort now prints its reason, and a
wasm32-wasipanic prints its trace. -
An undefined function reached through
try,await, a capture orfor … inreports E3004 at the call instead of an unrelated error.
Removed
Section titled “Removed”build.maxon,*.test.maxonas test files, and the-o,-t,--compiler,--version,-V,--helpand-hspellings.- E3099, E3105 and E3160.
0.3.1 — 2026-09-18
Section titled “0.3.1 — 2026-09-18”maxon runand a path-lessmaxon buildrefused to run anything on a host whose home directory cannot be written, rather than using the next cache directory in the list. A container started with a numeric user that has no account entry is the common way to meet this: the home directory is the filesystem root, nothing can be created under it, and every program was refused. A run now keeps to the same order as before and takes the first directory it can actually create.- The refusal, when no directory at all can be created, names every variable the host consults instead of quoting whichever one it stopped on.
- The Docker images could not run a program as any user without an account entry, which is both variants’ documented use. They name a writable temporary directory now.
Changed
Section titled “Changed”maxon cachemarks as in use the directory a run will actually fill, and where no directory can be created it says so instead of marking nothing. Reporting the cache now creates that directory if it is absent, which is what the next run would have done.
0.3.0 — 2026-09-17
Section titled “0.3.0 — 2026-09-17”Breaking changes
Section titled “Breaking changes”- A
letargument to a service message is lent rather than moved, and a write reaching a lent graph through another path is refused (E3160). Fix: write through aclone(), or send avar, a temporary or a literal, which still move. (0.4.0 replaces lending with moves for every argument.) - A callee that writes a field of its parameter is refused at the call when the caller’s binding is a
let. Fix: declare the caller’s bindingvar, or pass aclone(). - A handler over a combined error that carries a boxed member must match the error exactly once (E3161). Fix: match the error once and bind in its arms whatever the rest of the handler needs.
HttpClientrefuses any scheme buthttpbefore it connects, withHttpError.unsupportedScheme; anhttpsURL was sent as plaintext to port 80 before. Fix: use anhttpURL (the client has no TLS), and handleunsupportedScheme.- A missing executable is
SubprocessError.executableNotFoundon every operating system, and a working directory that does not exist now fails the spawn where Linux ignored it. Fix: handleexecutableNotFoundwhere the program handledspawnFailedfor a missing program, and pass an existing working directory or none. - A build manifest’s
debug_infois honoured, a manifest build takes the tree lock and applies the same build-option refusals a command-line build does, and a malformed manifest field (a non-stringversionor source, a define with no=, a non-arraydefines) is refused. Fix: correct the field the error names (sourcesanddefinesare lists of strings, a define isname=value,versionis a dotted string), and setdebug_infoto what the build should have; see Describing a build in the CLI reference. optimizein a build manifest is removed. Fix: delete it.
maxon cache, which reports what the run cache holds on this host and which root the next run will fill, andmaxon cache clear, which empties it. The cache moved out of the host’s scratch area, where a temporary-file reaper could sweep it mid-session, into<home>/.maxon/cachebeside the compiler an install puts there.Directory.delete, which removes an empty directory and tellsnotFound,notEmptyanddeleteFailedapart.Runtime.processorCount(), the number of processors the scheduler runs green threads on.Json.quote, the JSON string escape three places in the standard library and the tooling each had a private copy of.- Two worked examples —
maxgrep, a parallel grep, andmsort, a parallel merge sort — each beside a tour that reads it. - A complete reference on maxon.dev: the language, the standard library, the command line and every diagnostic, generated from the sources the compiler itself is checked against.
Changed
Section titled “Changed”- The compiler lexes and parses over a worker pool rather than one thread. On its own source that stage spent 7.3 seconds on one processor of sixteen before the change.
- A
letargument to a service message is LENT rather than moved. The sender keeps its reference and goes on reading the value after the send, where the only way to keep reading one was to clone it;vararguments, temporaries and literals still move. A lent graph is read-only while the service can see it, and a write reaching it through another path is refused (E3160). - A value held at an interface type crosses a message — as a spawn argument, a message parameter or a reply.
- A record a callee builds crosses a service boundary as freshly owned, whether it is returned from a
local it filled or produced by a qualified, static or
try-guarded call. The proof followed one hop and recognised one spelling before. - A struct-literal field initializer and a field assignment widen a concrete value into an interface-typed field, as a call argument already did.
- A closure written at an argument whose parameter is declared with a function type takes its
parameter types from that declaration, so a comparator passed to
sortneeds no annotations. That offer was made at one position only. matchaccepts or-arms over a combined error — an awaited reply’s own errors merged withServiceError.stopped, or a block try’s handler over several error types. A handler that binds a combined error carrying a boxed member must match it exactly once (E3161), which the release model had left unsound in both directions.- A callee that writes a FIELD of its parameter earns E3019 at the call.
bump(a)withbumpdoingb.n = 99compiled and wrote through a binding the caller had declared immutable; a method writing its own receiver stays legal, and so does a callee that only calls such a method. - A
Vectorheld inside an element type no longer makes the containingArrayuncloneable. HttpClientrefuses any scheme buthttpbefore it connects, rather than sending anhttpsURL as plaintext to port 80.- A missing executable is
executableNotFoundon every operating system, and a failed spawn names which step failed — stream setup, working directory or launch. A working directory that does not exist was silently ignored on Linux. - A
build.maxonmanifest’sdebug_infois honoured; it was written and read by nothing. A manifest build now takes the tree lock and applies the same build-option refusals a command-line build does, and malformed manifest fields — a non-string version or source, a define with no=, a non-arraydefines— are refused rather than silently dropped. maxon buildwith no path reports one line about its build runner instead of that runner’s own compile chatter.
- A
MaporSetunder insert-and-remove churn degraded until every lookup probed the whole table, because a removed slot counted toward nothing. A thousand rounds over one map and one set took 8.07 seconds; four thousand now take 87 milliseconds. FilePath.parent()of a path directly under a root answered an empty or drive-relative path instead of the root, so a walk upwards never stopped at the top — it began asking the filesystem about the working directory and getting plausible answers back. The parent of a root now throwsnoParent.- A
spawnor a send could stop the program reporting a second owner for a value that had one: the temporaries its arguments built were released after the ownership walk rather than before, and a reply’s walk ran before the handler had released what it held. - Reading a promise through an array cursor crashed the compiler when the reply carried a companion error type, and a program awaiting promises read that way stopped before its results were in.
SharedSegment.readWord,writeWordandcopyOutread and wrote past the end of the segment instead of throwingoutOfBounds.- On Windows,
maxon upgradeand the one-line installer could fail when the calling shell’s module path hid the host’s own PowerShell modules.
Removed
Section titled “Removed”optimizein abuild.maxonmanifest, which named optimization levels that do not exist.
0.2.2 — 2026-09-16
Section titled “0.2.2 — 2026-09-16”MAXON_PREEMPT=off, which stops the scheduler taking a processor back from the green thread holding it, for a program whose result depends on a thread running uninterrupted. Unset oronpreempts as before; any other value stops the program beforemainruns.
Changed
Section titled “Changed”maxon build, andmaxonwith no arguments, open with the version line and a warning that Maxon is an early preview whose language, standard library and tools may change incompatibly between releases.- A build reports how long the compile took, and no longer prints a line naming the executable format it wrote.
- The one-line installers make
maxonwork in the terminal that ran them rather than only in the next one. On macOS and Linux, an install whosePATHalready holds a writable~/.local/binor~/binlinks the compiler there and edits no shell profile.
- A
StreamingSubprocesshandle kept after its child was released could drive the next child the runtime started in the same slot — waiting on it, reading its output, writing to its input. A copiedStreamingSubprocessvalue reached this on its own, because each copy tracked release separately. A released handle is refused now. - The sixty-fifth
runDetachedin a program’s life failed, because a detached child never gave its runtime slot back. - Releasing a
StreamingSubprocesswhile another green thread collected it left the collector reading a slot holding no child, and could corrupt the poll records of unrelated sockets and pipes. Two green threads collecting one handle stopped with the error for two readers on one socket. Each of the three is a named stop of its own now. - A socket closed and reopened while an operation was parked on it could take the previous socket’s timeout, or wake a green thread that no longer owned it.
- Connecting to, or binding, an address written as a dotted quad parked the green thread for a name resolution that never ran.
- On Windows, a socket send or receive cancelled by its deadline after the kernel had already moved part of the buffer reported a timeout and no count, so a retried send went out twice and received bytes were consumed unseen. It reports what it moved, and the deadline is reported by the next call.
- On Windows, opening, connecting to and closing a socket counted as blocking kernel calls, so the scheduler could take a processor back during them, and Winsock was started up again on every connect.
Environment.inheritUpdatingandEnvironment.customtake anEnvMap, which the standard library did not export, so no caller could build the argument. It is public.- A compiler rebuilding itself moved the running binary aside before compiling, so a compile error left the tree with no compiler to build the fix — and the move failed outright when another process, such as a language server, still ran the previous binary. The move happens only once the compile has succeeded, and a previous binary still in use is retired aside rather than deleted.
- On Windows,
maxon upgraderan the install script in a Windows PowerShell that inherited the caller’sPSModulePath. Started from pwsh, that names another edition’s modules ahead of this one’s, and the script stopped withThe term 'Get-FileHash' is not recognized. The child is handed this PowerShell’s own module directory.
0.2.1 — 2026-09-15
Section titled “0.2.1 — 2026-09-15”- The compiler occasionally crashed partway through a build with
Range check failed: value outside typealias 'AllocCount'. - A green thread that started reading a socket while another was finishing a read of the same socket could wait forever, unreported by the deadlock detector. It now stops with the documented error for two readers on one socket, every time.
- On Windows, a socket receive or send that had already completed when its deadline passed or the socket closed reported a timeout: the bytes received were lost, and a retried send went out twice.
0.2.0 — 2026-09-14
Section titled “0.2.0 — 2026-09-14”Breaking changes
Section titled “Breaking changes”- Mutating a value that a live
letcan still observe is refused, however the value was reached (through a call’s result, a closure, an interface method or a union payload as well as a direct field); a write through a method or a field that could reach such a record is E3159. Fix: bind the value withvar, or write to aclone().
- One-line installers for macOS, Linux and Windows, which install the latest release into
~/.maxon. maxon upgrade, which updates the install the running compiler belongs to.- Container images at
ghcr.io/maxon-lang/maxon, indebiananddistrolessvariants for amd64 and arm64. - The Homebrew formula serves x64 and arm64 Linux as well as macOS.
maxon mcp-server, a Model Context Protocol server exposing build, run, test, format, check, IR dumps and error-code lookup to AI tools.
Changed
Section titled “Changed”- A green thread that runs for 10 ms without waiting is preempted, including inside a loop that calls nothing, so one busy thread no longer holds up the others.
- Socket reads, accepting a connection, subprocess pipes and waiting for a child process park only the green thread that waits; none of them occupies an OS thread any more.
mainruns as a green thread whose stack grows as needed, and idle green threads give back stack they no longer use.- Mutating a value that a live
letcan still observe is refused, however the value was reached — through a call’s result, a closure, an interface method or a union payload as well as a direct field. A write through a method or a field that could reach such a record is a new error, E3159. - Generated code is substantially faster: every function called from one place is inlined, and the
optimizer gains value-range analysis, bounds-check elimination against loop limits, loop
unswitching, jump threading and hot/cold code layout.
fannkuch-reduxruns in about 1.2× the time of the C reference, down from 5.4×. - A stack trace names inlined functions as their own frames, and prints up to 100 frames, saying when it stops short.
- The compiler runs its per-function optimization passes and instruction selection in parallel.
- On Windows, a compiled program’s file description is its own name; the “Built with Maxon” credit is in its Comments field.
maxon buildintermittently hung on macOS when a build manifest ran subprocesses.- Deep recursion in
mainoverflowed its stack at 1 MB on Windows. - A function returning a tuple of two records could hand back a freed record.
- Passing a struct that holds a file or socket to an
asynccall crashed the compiler. - A fault on arm64 macOS with a corrupted stack hung instead of printing a trace, and a fault on a Windows green thread printed its report twice.
maxon runfailed in deeply nested directories on Windows.
0.1.1 — 2026-09-10
Section titled “0.1.1 — 2026-09-10”Breaking changes
Section titled “Breaking changes”- The
--versionand-Vflags are withdrawn in favour ofmaxon version, and the--helpand-hflags in favour ofmaxon help. Fix: runmaxon versionandmaxon help [<command>]. Build.buildOnein a build manifest is renamedBuild.build. Fix: callBuild.buildwith the same arguments.maxon fmtseparates groups of declarations with one blank line at every nesting depth, so a file formatted by 0.1.0 is rewritten. Fix: runmaxon fmtover the project and keep the result.- On Linux and macOS, starting a program that cannot be found raises
SubprocessError.executableNotFoundinstead ofspawnFailed. Fix: handleexecutableNotFoundwhere the program handledspawnFailedfor a missing program.
maxon run, which compiles a program and runs it in one step. A.maxonfile may begin with a#!line and be run directly as a script.maxon help, andmaxon help <command>for a single command. Runningmaxonwith no arguments now lists the commands.--define, which sets a top-levelStringconstant at build time.- Build manifests can declare several named targets, and state the version of what they build.
- Compiled executables carry version metadata: a version resource on Windows, a source version on macOS, and a producer string on Linux.
Changed
Section titled “Changed”maxon versionreplaces the--versionand-Vflags, and reports the commit and date the compiler was built from.maxon helpreplaces the--helpand-hflags.Build.buildOnein a build manifest is renamedBuild.build.maxon fmtseparates groups of declarations with one blank line at every nesting depth, not only at the top level.- On Linux and macOS, starting a program that cannot be found raises
SubprocessError.executableNotFoundinstead ofspawnFailed.
- Non-ASCII text displays correctly in a Windows console.
- A deadlocked program on Linux reports the deadlock instead of occasionally hanging.
- A default parameter value is filled in a global variable’s initializer, not only inside a function.
- On Linux, a subprocess started by program name finds the program on
PATH, and a file of that name in the working directory is never run in its place.
0.1.0 — 2026-09-08
Section titled “0.1.0 — 2026-09-08”The first release. One compiler, written in Maxon, that builds itself.
- Binaries for
x64-windows,x64-linux,arm64-macosandarm64-linux, each built and tested on its own architecture. - A Homebrew formula for macOS.
- A VS Code extension, on the Marketplace and Open VSX, with a language server providing diagnostics, hover, go-to-definition, completion, rename, symbols and formatting.
maxon build,fmt,test,spec-testandlsp-server, and a build manifest written as a Maxon program rather than a configuration file.