flang the compiler proves your program cannot hang 0.9.0 GitHub Try in the browserTry it Русский

Releases

A release is a vX.Y.Z tag, and behind it an archive and a package publication. This page is printed from the tags: as many entries as there are tags, and a release cannot be skipped.

An entry has four lists: Soundness fixes, Breaking changes, Improvements, Known issues, one line per change; details live in the journals below and in the docs. Entries up to 0.7.34 have three boxes: what appeared, what changed, what broke. An empty list is not printed.

The entries below are about the language, not about the work on it. What has landed on the trunk since the last release is shown by the merge journal (in Russian); every commit subject is in the commit journal.

0.8.0 — 25 November 2026

A short flang check report, an honest count of unproved termination, C without libc and Russian text analysis in the playground.

Soundness fixes

Breaking changes

Improvements

Known issues

0.7.41 — 22 November 2026

A «Parsing» module for your own language, reasoning checks with argue, a language tour and playground setups.

Soundness fixes

Breaking changes

Improvements

Known issues

0.7.40 — 16 November 2026

flang repl evaluates expressions on every install, a function can be called from the console without JSON, and a postcondition that calls its own function is an error.

Soundness fixes

Breaking changes

Improvements

Known issues

0.7.35 — 13 November 2026

Fixes 15 soundness bugs in the proof kernel and type checker. 0.7.34 can report false statements as proved; upgrading is recommended.

Soundness fixes

Breaking changes

Improvements

Known issues

0.7.34 — 10 November 2026

The kernel proves monad associativity; loops, classes and interfaces; 13 typing holes closed; a module is imported by its link

What appeared

What changed

What broke

0.7.33 — 10 November 2026

The kernel proves linear inequalities and monad laws; large files check three times faster; the checker refuses forged proofs

What appeared

What changed

What broke

0.7.32 — 1 November 2026

Packages are installed with flang install; servers listen on 127.0.0.1 by default; a correct «для всех … таких что» postcondition passes again

What appeared

What changed

What broke

0.7.31 — 27 October 2026

The kernel proves records by fields and remainders in the ring; u8…u64 words and bit operations; postcondition counterexamples at the type edges

What appeared

What changed

What broke

0.7.30 — 19 October 2026

Reasoning checks name the logical fallacy; the playground translates into ten languages and from C; the proof checker in every install

What appeared

What changed

What broke

0.7.29 — 18 October 2026

Prebuilt binaries for Linux and macOS and a one-command install; monoid, functor and natural transformation laws are proved for all values

What appeared

What changed

What broke

0.7.28 — 14 October 2026

Examples inside laws run, and check catches mistakes in how a category is built

What appeared

What changed

What broke

0.7.27 — 14 October 2026

Algebraic identities and termination by a measure are proved, formulas can be written in LaTeX, HTTPS works without curl

What appeared

What changed

What broke

0.7.26 — 11 October 2026

TLS 1.3 written in the language, random bytes from the system, a function's cost before the run, a proof cache between runs and a second proof checker in Lean 4

What appeared

What changed

What broke

0.7.25 — 6 October 2026

Exact integers and exact fractions, the program itself sets a child process's limits, a package registry page

What appeared

What changed

What broke

0.7.24 — 3 October 2026

The flang lint linter, repeated calls in a proof are computed once, three bugs that let wrong proofs through are fixed

What appeared

What changed

What broke

0.7.23 — 29 September 2026

Record fields are checked against their type, and a run has a memory limit, --memory-limit

What appeared

$ flang run runaway.flang --function «Раздуть» --args '{"текст":"а","раз":28}' --trust --memory-limit 32M
FLANG_MEMORY: прогон остановлен на пределе памяти 32 МиБ: занято 25 МиБ, просили ещё 25 165 880 байт
  считалась функция «Раздуть», шагов программы 544
                                                                    exit 5

Issue #160.

What changed

What broke

Migration: move the module into the project, import it by path (использует «Мера» из "../mera.flang"), or set FLANG_MODULE_ROOT.

0.7.22 — 26 September 2026

Deriving a statement from premises with следует, and correct code points outside the Unicode BMP

What appeared

утверждение «все люди смертны»
  для всех кто: «Человек»
  утверждаем («Смертен» от кто)

следует «Сократ смертен»
  дано сократ: «Человек»
  утверждаем («Смертен» от сократ)
  по свойству «все люди смертны»
$ flang check socrates.flang --proof
утверждение «Сократ смертен» — доказано: терм принят ядром, 1 шаг, основания: утверждение «все люди смертны» — утверждение обо ВСЕХ входах

Without the по свойству line the conclusion is not proved:

FLANG_PROOF_STEP: теорема «Сократ смертен»: ни одного шага        exit 1

What changed

$ flang repl
» код символа "𝒜"
119964
» код символа "👍"
128077

Issue #103.

$ flang --step-limit 100000000 emit file.flang --target c
flang: неизвестная команда «--step-limit»              exit 2

What broke

wasnow
scripts/raskrutka.shscripts/bootstrap-reprint.sh
scripts/otpechatok-semeniscripts/seed-fingerprint

Migration: replace the names in your scripts and in your CI setup.

0.7.21 — 22 September 2026

Unproved code no longer runs by default

What appeared

вариант «Сделать» с поручение равным (вариант «Прочитать переменную среды» с имя равным "HOME")

The reply is «Значение среды» with field значение, or «Переменной среды нет» as its own variant — not an empty string. A plan's arguments are whatever follows --:

$ flang io script.fscript -- build --verbose

Deny with --no-env, --no-args.

вариант «Сделать» с поручение равным (вариант «Показать» с место равным "экран" и текст равным кадр)
вариант «Сделать» с поручение равным (вариант «Ждать событие» с срок равным 5000)

A key arrives as «Случилось» with fields откуда and значение; a timeout as «Срок вышел». Key names: ввод, пробел, таб, возврат, выход, вверх, вниз, влево, вправо; a printable character arrives as itself.

Working example: docs/examples/io/progress-bar-on-screen.flang. The frame goes to /dev/tty, not stdout — stdout carries the plan's JSON result. With no terminal (pipe, file, CI) the answer is the same FLANG_IO_NO_SCREEN as before. Ctrl-C still kills the program. Deny with --no-screen.

What changed

What broke

$ flang run price.flang --function 'Скидка' --args '{"цена": 100, "скидка": 150}'
не доказано: утверждений 1: доказано 0, сетка 1 — запуск только по явному согласию: --trust
exit 3

Migration: add --trust and the verdict is not computed at all.

Affected: scripts calling flang run or flang io on programs where обеспечивает is backed by examples only. Check in advance with flang check --proof <file> — a summary reading «доказано 0, сетка N» means the program falls under the new rule.

0.7.20 — 18 September 2026

All 650 proofs in the compiler's sources are rechecked by an independent program

What appeared

What changed

What broke

0.7.19 — 13 September 2026

"For all elements" statements, induction over your own types and standalone theorems work in the installed compiler

What appeared

What changed

What broke

0.7.18 — 12 September 2026

The independent check replays 629 proofs of 651, and the terminal tutor has twelve lessons

What appeared

What changed

What broke

0.7.17 — 11 September 2026

The compiler's proofs pass its own check for the first time; the flangtutor tutor ships with the install

What appeared

What changed

What broke

0.7.16 — 9 September 2026

The independent check replays derivations of type facts; the flangtutor tutor, Ctrl+L in the shell, flang package works again

What appeared

What changed

What broke

0.7.15 — 8 September 2026

The independent check only rechecks proofs and no longer proves anything itself; the .flangrc settings file, code output in TypeScript

What appeared

What changed

What broke

0.7.14 — 7 September 2026

The independent check rechecks termination proofs itself

What appeared

What changed

What broke

0.7.13 — 6 September 2026

A proof is saved as a finished derivation, and the check replays it instead of recomputing it; built-in SHA-256, хеш256

What appeared

What changed

What broke

0.7.12 — 6 September 2026

An install carries the runtimes for all nine code output targets, not one

What appeared

What changed

What broke

0.7.11 — 5 September 2026

Repository checks before a push; this release's archive was not published

What appeared

What changed

What broke

0.7.10 — 4 September 2026

Fix: the flang shell crashed on every line of input

What changed

What broke

0.7.9 — 4 September 2026

Not published: the build was stopped by the release check; the same content shipped as 0.7.10

What changed

0.7.8 — 4 September 2026

Not published: the build was stopped by the release check

What changed

0.7.7 — 4 September 2026

Not published: the build was stopped by the release check

What changed

0.7.6 — 4 September 2026

Not published: the build was stopped by the release check

What changed

0.7.5 — 4 September 2026

Not published: the build was stopped by the release check

What changed

0.7.4 — 4 September 2026

Not published: the build was stopped by the release check; the same content shipped as 0.7.5

What changed

0.7.3 — 3 September 2026

flang --version reports the right version again

What changed

0.7.2 — 3 September 2026

Not published: the version fix, shipped as 0.7.3

What changed

0.7.1 — 3 September 2026

Not published: the version fix, shipped as 0.7.3

What changed

What broke

0.7.0 — 3 September 2026

The compiler is rebuilt from its flang sources; code output in C++, regular expressions, sqlite and Redis drivers, TLS 1.3 and a package registry

What appeared

What changed

What broke

0.6.2 — 22 August 2026

The Homebrew install is fixed: the archive shipped a directory nobody could enter

What appeared

What changed

What broke

0.6.1 — 22 August 2026

The name collision check sees every imported module; reading a file no longer truncates binary content

What appeared

What changed

What broke

0.6.0 — 22 August 2026

Long computations no longer hit a memory wall: 15.98 GiB became 0.0135 GiB

What appeared

What changed

What broke

0.5.1 — 19 August 2026

The macOS install is fixed: 0.5.0 did not build there for anyone

What appeared

What changed

What broke

0.5.0 — 18 August 2026

The compiler measures itself, and the emitted code got faster and leaner

What appeared

What changed

What broke

0.4.8 — 9 August 2026

Subset and intersection: sets got words

What appeared

What changed

What broke

0.4.7 — 7 August 2026

Monad, failure as a value, polymorphism

What appeared

What changed

0.4.6 — 7 August 2026

The binary talks to a human: check, shell, help, man

What appeared

What changed

0.4.5 — 7 August 2026

A shell in the installed binary, input/output, and processes on BEAM

What appeared

What changed

0.4.4 — 6 August 2026

A language server, a functor with laws, concurrency

What appeared

What changed

0.4.3 — 6 August 2026

Vim highlighting ships in the package

What appeared

0.4.2 — 6 August 2026

Eight emission targets, and the compiler installs without Node

What appeared

What changed

0.4.1 — 5 August 2026

The package's commands answer after installation

What changed

0.4.0 — 5 August 2026

First publication

What appeared