Changelog
This page collects Nolang release records for each version, kept consistent with the root HISTORY.md.
v0.4.55
- fix(mir): release owned-struct fields and their backing vectors at scope exit —
ownedVecBorrowReadTiers,vecDeepFreeandemitSetFieldstop nodb-style types leaking per call (~58 MB per 5000DB.querycalls on[]ast.sql-node, and one buffer per loop iteration for.result = ok-result()) while keeping field reads as borrows, so.peek()does not clone whole token vectors - test(corpus): move
diff-debug'sdp-setinto the writable output group so the v0.4.53inparmutcheck passes —no vet testsis back to 0 error(s)
v0.4.54
- fix(wasm): lower the
ok/errconstructors in the direct-WASM backend so demos that write a result parameter withr ?= …stop trapping with "Unreachable code should not be executed";ok(x)is the identity anderr(e)evaluates then discards, matching this backend's success-only option model - test(wasm): add regression guards for the constructor lowering plus an end-to-end
r ?= a + bprogram, so a dropped branch fails a unit test instead of a browser demo
v0.4.53
- feat(cli): add
no envwith a commented~/no/envtemplate so every Nolang setting can be read and written likego env; environment variables still win over the file - feat(package): route GitHub asset downloads through prefix-style mirrors for
install/add/latest-release lookups, and never sendGITHUB_TOKENto a mirror - refactor(i18n): rename
NO_LANG/NOHUB_SOURCES*toNOLANG_LANG/NOLANG_NOHUB_SOURCES*so all settings share one prefix - feat(checker): report input-parameter mutation (
inparmut) so callers can see which argument a callee writes in place - feat(std): move containers that are written in place into the writable output group (crypto, net, archive, toml, uuid, yaml) and update
test-std - fix(mir): stop publishing
okfor a?=result slot that was never assigned — map/url/noml misses returnedok(0)instead of nil - fix(mir): keep a match arm's bare
err.errpayload unwrapped soit.msg()no longer dispatches on the ok element - fix(std): widen bytes to
i64before shifting in gzip/zip/zstd headers —byteis u8, sob << 8dropped every high byte - fix(build): keep a variable's declared type across reassignment so union dispatch stops picking
byte.to-str__i64 - feat(build): expand std union-method signatures to their members so
a.div(3)keeps its?inttype chain instead of folding the ok arm tofalse - fix(build): normalise function-name case and validate import paths before codegen
- test: migrate the tls/number-2/strconv corpus fixtures to the writable-output signatures
- docs: refresh the nohub section in all ten READMEs and record the ownership model in the compiler review notes
v0.4.52
- fix(mir): route read out-buffers to the aliased source of copy-path slices so C writes land in the original container
- fix(mir): propagate the out-buffer alias through moves and clear stale slots on slot redefinition
- fix(checker): check unknown fields on top-level call-return lets so bad field names fail before codegen
- fix(ci): unpack optional strings in corpus fixtures and pin setup-go cache-dependency-path
- test: add slice out-buffer regression for nonzero offsets, moves and branch merges
- test: cover out-buffer alias slots and top-level let type snapshot scope
v0.4.51
- fix(mir): reject IR that frees the same by-value SSA value twice on one path
- fix(mir): reject raw i64 access to vec and str-long u32 header fields in emitted IR
- fix(mir): fix out-of-bounds err-box write for no-std option arithmetic overflow
- fix(mir): deep-free queued channel string elements and fail loud on waiter leaks
- fix(mir): treat reverse exclusive slice views as forward to avoid heap-buffer-overflow
- fix(builtin): return get-line as ?str and release the read buffer on EOF
- fix(parser): resolve slice receivers and slice-indexed return types correctly
- ci: add Go test, ownership and ASan gates to the test workflow
- docs: add the ownership model specification and the memory-safety audit report
- test: add memory-safety regressions for double-free, slices, channels and get-line
v0.4.50
- fix(build): serialize directory vet compilations so each file sees a self-consistent checker validation state
- fix(test): declare clear as an interface method in the ownership regression to avoid the unknown parent interface lint
- test(build): cover parallel vet of files that each declare their own union type aliases
v0.4.49
- feat(parser): require explicit self in method results to allow receiver mutation
- feat(checker): reject field writes, self assignments and mutable calls in read-only methods
- feat(fmt): render explicit self results and refuse formatting sources with self-mutation violations
- refactor(std): declare explicit self on standard-library methods that mutate their receiver
- refactor(tests): declare explicit self in tests, examples and compiler fixtures that mutate receivers
- refactor(i18n): add selfmut diagnostic strings across all supported locales
- build: bump the AST version and regenerate the embedded std signature table for the new self flag
- test: cover explicit self parsing, formatting, self-mutation diagnostics and same-name method disambiguation
v0.4.47
- feat(mir): record option peel ownership facts on instructions
- refactor(mir): unify option slice clone decisions across analysis and codegen
- refactor(codegen): share inline and boxed option read policy
- feat(runtime): add opt-in double-free diagnostics with allocation and release callers
- test(mir): add ownership matrix and peel fact regression tests
- build: add ownership verification target and dual-layout gate script
v0.4.46
- feat(mir): add explicit Fresh/Alias transfer markers to MIR moves
- fix(mir): deep-copy aliased element-place transfers to prevent double frees
- fix(mir): recognize canonical slice push symbols in enum escape analysis
- test(mir): cover alias transfers, enum payload mutation and memory-safety regressions
- refactor(compiler): implement unused top-level let detection in checker
- fix(no): default package.noml compiler.version to latest
- chore(nosql): remove unfinished nosql package and related tests
- docs(release): stop auto-staging dirty files and stage explicit release paths only
v0.4.45
- fix(mir): lower KCast expressions so FFI pointer casts no longer reach codegen as NoVal
- fix(codegen): encode pointer types as i64 machine words and add explicit slice/string
as *Taddress extraction - fix(codegen): spell variadic libc call types at call sites so AAPCS64 variadic tails are passed correctly
- fix(hir): register monomorphized slice methods under their concrete mangled receiver names
- fix(hir): stop implicit-self receiver borrowing when a module name collides with a type name
- fix(parser): inherit the contextual type when an empty slice literal rebinds an existing slice
- test(mir): cover FFI pointer casts, empty-slice rebinding, global owners and option-match lowering
v0.4.44
- feat(parser): add spaced
# /modand@ /modforms that reference the current package module - feat(build): resolve current-package module paths against the containing package root in native and JS backends
- feat(checker): validate current-package exports and imports through a dedicated strict path branch
- feat(fmt): preserve and round-trip the spaced current-package form without collapsing it into package-name paths
- docs: document current-package module paths in the language guide, i18n copies and agent skill references
- chore(i18n): add locale diagnostics for unresolvable current-package imports
- test: cover current-package parsing, HIR flags, formatting and path resolution
v0.4.43
- fix(test): derive loopback test ports from process pid so concurrent test-std runs no longer collide on fixed 39211-39224 sockets
- test(server): cover signed-cookie and all server loopback cases under per-process 50000+ port slots
v0.4.42
- feat(build): resolve package-name export paths via package.noml with workspace.noml overrides
- feat(build): reject leading-slash export paths from the CLI and validate symbols for package-name exports
- refactor(source): migrate export statements from workspace-relative addresses to package names
- docs: rewrite export path rules and examples in the guide and agent skill references
- chore(i18n): add a locale string for the rejected export path diagnostic
- test: cover package-name export resolution and strict export path enforcement
v0.4.41
- feat(core): prioritize reusing standard library and nohub community packages before self-implementation
- feat(build): resolve import paths from package.noml names with workspace.noml overrides
- feat(build): enforce package-name imports from the CLI and validate workspace.noml values point to valid packages
- refactor(source): migrate module and export paths from workspace-relative addresses to package names across the project
- docs: update module import examples to the package-name form and refresh glossary syntax entries
- chore(i18n): add locale strings for package-name import enforcement and workspace validation diagnostics
- test: cover package-name alias resolution, workspace validation and strict import path enforcement
v0.4.40
- fix(wasm): keep scalar nil literal comparisons live so playground option-match arm fires
- fix(mir): select target-specific flock lock types for raw POSIX range locks
- test(wasm): pin scalar option nil arm emission for the direct-WASM backend
- test(mir): assert raw POSIX lock constants across Linux and Darwin targets
v0.4.39
- feat(parser): support tagged-enum matches on safe-index subjects with an outer ok guard, payload arm bindings and a wildcard fallback
- fix(parser): keep receiver inference scoped to value-match subjects and allow plain payload types in inferred-type facts
- refactor(parser): carry lexical arm-binding types through HIR conversion, detect method-call arms and bump the AST cache version
- fix(mir): resolve call result types through the callee slot with alias precedence, bind named out-arguments and preserve option tags on reassignment
- fix(mir): delete fresh arm-scoped bindings at arm exit, peel raw option-arm subjects and write builtins through nested field receivers
- fix(build): apply lib.no export filtering only to direct external imports and resolve imported constructors as module globals
- fix(checker): treat only option-valued inferred types as options and retain transitive type dependencies when filtering package exports
- fix(lexer): retain raw-string token text so the formatter reproduces backticks and embedded quotes verbatim
- chore(i18n): regenerate locale catalogs to drop obsolete IDs and add strings for --check, payload threshold and lint trace IDs
- feat(nosql): add a pure-Nolang SQL engine with tokenizer, flat AST, parser, schema catalog, analyzer and in-memory executor
- docs(skills): split nolang-core into a shared core with compiler and app roles, add nohub and review modules and append self-hosting debug rounds
- test: add nested safe-index enum, option-tag, arm-binding and fs-raw regressions across parser, mir, build and std suites
v0.4.38
- feat(mir): add tagged enum aggregate layout and tag-switched clone/drop helpers with option, vector and index ownership fixes
- fix(mir): preserve populated enum layouts across synthetic main and bind every field of multi-field enum patterns
- fix(build): resolve qualified methods and payload bindings on imported tagged enums with bare receivers
- feat(std): add byte/char/txt literal pretty and json/yaml/toml pretty, drop str.set-byte
- feat(builtin): add raw VFS builtins for posix and windows with portable flags and option results
- feat(wasm): add raw VFS host imports with raw option records and dynamic function indices
- fix(fmt): keep one blank line above FFI declarations carrying c annotations
- feat(noui): add pointer/contact semantics, drag-drop zones and configurable font candidate lists with reopen
- feat(nosql): add varint and record codec with result options and round-trip coverage
- docs: relocate noui stage notes and implementation history and document pretty, selfhost and syntax updates
- test: add enum layout, imported enum, raw VFS, pretty and fmt regression coverage
v0.4.37
- feat(import): add
# path _discard alias for intentionally unused side-effect imports with an unimpuse hint - fix(build): preserve the default module prefix for discard-alias imports across LLVM and JS backends
- fix(checker): run the unused-import lint on the pre-merge entry program so vet keeps the hint
- refactor(compiler): rename generated placeholder variables and inline one-shot value matches in selfhost sources
- refactor(test): finish relocating std test fixtures and references to the standalone test-std package
- fix(ci): pin canonical SQLite 3.54.0 for the nosql fixture gate and run std tests from test-std/src
- feat(noui): add touch/pen contact state, event injection and GPU/touch regression coverage
- fix(noui): pass RGBA and flip values to draw primitives without pixel scaling
- docs(syntax): document the discard-alias import form and replace placeholder variable examples across all locales
- docs(glossary): record the discard-alias import convention and refresh related terminology entries
- test: add unused-import, module-alias and drawing regression coverage
v0.4.36
- feat(import): support workspace-relative, package-direct and lib.no export-alias module imports with multi-segment aliases
- feat(build): resolve package export aliases through workspace.noml and lib.no module-level exports
- fix(generic): monomorphize generic functions called through module-qualified dot expressions
- fix(checker): skip unbound generic type variables when checking function call arguments
- fix(parser): align the str index-write diagnostic with the current byte to-str API
- refactor(package): relocate the std test suite into a standalone test-std package and export test helpers via lib.no
- build(release): rename downloadable assets to tool-os-arch-version with a leading v tag
- ci: align build and setup actions with the versioned asset naming scheme
- refactor(enums): resolve qualified enum constructors and methods across imported modules
- test: add cross-module generic, enum and relocated-fixture coverage
v0.4.35
- fix(std): remove the []byte.to-bytes-str compatibility alias and migrate all call sites to []byte.to-str with explicit unwrap or ?= propagation
- fix(std): bind file.read-str payload via ok(buf) and use :s specs in err.format to preserve output contract
- fix(mir): skip void/unknown match arms when inferring the value-match result sink so str results keep their type
- fix(mir): emit the missing %cv load in option payload vec clone before calling the clone helper
- refactor(std/noui): use two-step statement matches for byte-to-str results so the str payload type survives lowering
- refactor(noui/compiler): migrate byte-to-str conversions in editor and selfhost sources to explicit unwrap
- test(corpus): unwrap ?str and option struct results explicitly across affected suites
- test(std): align bare format interpolation assertions with the new pretty semantics
v0.4.34
- feat(std): make []byte.to-str a 1:1 byte copy returning ?str and add pretty methods across byte, char, str, txt, bool, int and number types
- feat(compiler): route print arguments and bare format interpolation through pretty while preserving spec-based fmt-* semantics
- feat(mir): inline option pretty as some(v)/nil and add the p7prettymiss diagnostic with localized messages
- refactor(std): remove to-bytes-str across std and downstream modules and add str.set-byte for safe byte-level mutation
- fix(parser): remap CaptureBind.Expr in CaptureFacts.Clone so H0 and AST capture tracks emit identical IR
- feat(checker): add structured codegen diagnostics with source spans and reject bare option arguments at call sites
- fix(checker): reject struct option unwrapping to plain targets and resolve parenthesized match subjects consistently
- fix(mir): fold plain struct value-match variants to bool constants and keep arm-scoped bindings out of module globals
- feat(noui): add GPU/component sources and interaction tests with png shims and test runner scripts
- docs(syntax): document pretty formatting and byte/text separation across localized language docs
- fix(release): rename no-llvm and no asset URLs with dashes instead of underscores
- test(std): pin 1:1 byte conversion and strict pretty behavior including bare interpolation and option payloads
v0.4.33
- feat(checker): add resolveCalleeSig as the single callee signature source for argument and result lookup
- fix(checker): reject bare option arguments at every call site and infer struct field targets from embedded tables
- feat(compiler): lower vec.pop for identifier and field receivers and add vec.clear / vec_bytes_to_str codegen helpers
- refactor(std): unwrap str.byte results explicitly across txt, str, noml, yaml and zip to avoid dropping option payloads
- refactor(std/crypto): use named bigint arithmetic methods in poly1305 reduce instead of private operators
- fix(ci): embed the version in pure-Go release asset names and align setup-nolang lookup with the build workflow
- docs(readme): correct the Traditional Chinese language link label across localized READMEs
- test(checker): pin callee signature resolution and bare-option-argument regressions
- test(hkdf): restore explicit []byte annotation on the extracted PRK array literal so the suite compiles
v0.4.32
- feat(mmast): publish one AST zip per package with per-module gob entries and implicit source/module path annotations
- feat(imports): treat a bare
# pkgas a package alias and resolvepkg.module.symbolcalls alongside direct# pkg/moduleimports - feat(cli): add
no packfor package directories and rename distribution assets to<tool>-ast.zipandstd-ast.bin - fix(checker): resolve dotted module call signatures before merged module ASTs are available
- fix(fmt): remove unused bare package and module imports while keeping annotated and aliased imports
- feat(compiler): extend self-hosted MIR lowering with struct slices, multi-assign aggregates and string value-method runtime helpers
- feat(noui): add imperative APIs and renderers for attachment, clipboard, index-path, picker and other missing catalog components
- docs(usage): sync module-import, AST package and localization catalogs across languages
- test(build): pin AST package decoding, package-alias signature preloading and formatter import cleanup regressions
- ci(actions): let build-nolang emit an AST zip alongside cross-compiled binaries
v0.4.31
- fix(checker): resolve implicit-let shadowing of top-level bindings via scope-frame BoundHere so same-name locals no longer raise false 15w45dqk errors
- fix(playground): unwrap the optional field-increment result in the birthday demo so the example compiles under strict option semantics
- test(checker): pin implicit-let shadowing and same-frame reassignment regressions for the BoundHere fix
v0.4.30
- fix(checker): scope local lets so they shadow top-level bindings instead of resolving to globals
- fix(compiler): bind self correctly in method definitions for static forwarding and type inference
- fix(compiler): route h2m diagnostic tags through a dedicated channel so they no longer consume identifier slots
- fix(compiler): lower struct field push in mem mode by relaxing the mem==0 gate for dot receivers
- fix(mir): coerce integer operands to float targets as well as double
- feat(cli): resolve AST dependency keys to concrete release tags on update and surface category metadata in generated package.noml
- fix(parser): reject for-keyword container iteration with a diagnostic instead of panicking the formatter
- chore(i18n): localize the invalid for-range diagnostic across all catalogs
- docs: remove invalid source entry from localized READMEs and expand noui architecture notes
v0.4.29
- feat(core): add zero-copy str.bytes() slice view and str.byte operator for UTF-8 byte access
- feat(core): track option payload types through lowering for typed builtin method dispatch
- feat(h2m): downgrade index reads to typed option results with safe-index handling
- feat(mir): add UTF-8 codepoint length and integer-to-string ops with codegen helpers
- fix(compiler): enforce top-level binding naming tiers and initialize global calls before use
- refactor(compiler): clarify code comments and replace decorative separators with ellipsis
- feat(cli): add nohub registry search, info and docs commands with multi-source index loading
- build: add curl-based install script and document installation in ten localized READMEs
- fix(mir): type method-builtin arithmetic arguments from the receiver so large string byte indexes stay valid
- feat(std): add opt-in TLS peer certificate hostname and validity verification
- chore(docs): document agent worktree, scratch-file and plan/spec conventions
v0.4.28
- feat(match): support general expressions as explicit match subjects
- fix(match): distinguish binding-less ok and err arms using dot-val markers
- fix(h2m): resolve bare hyphen function calls within modules
- feat(h2m): collect cross-module integer constants and report unresolved identifiers
- docs(readme): add multilingual READMEs and reorganize self-host design documents
v0.4.27
- refactor(async): remove the deprecated run keyword and awy handle form, allowing co only inside awy coroutine groups
- feat(coro): implement stackless coroutines with heap frames, state dispatch and a cooperative FIFO scheduler
- feat(chan): add blocking channel recv with empty-read park and %task waiter chaining for deterministic wakeup
- feat(async): support co procedure and closure spawn with by-value capture, rejecting callees with declared results
- fix(coro): guard nested depth, join sets and channel/drain livelock in the coroutine runtime
- test(coro): add coroutine, channel, join and ownership regressions with deterministic output assertions
- fix(i18n): skip the filesystem root in WASI catalog probing so the playground falls back to embedded catalogs
- docs(playground): add a Hello World snippet and raise the LSP bridge request timeout to 60 seconds
- fix(docs): quote bare braces in the previous changelog and lint future entries against MDX-breaking braces
v0.4.26
- perf(checker): bake std union-alias locations and per-module exports into stdsig so cold builds skip parsing all 119 std modules (native 11.5s -> 0.6s, wasm heap ~1GB -> ~43MB), with self-healing fallback to full scans on drift
- perf(parser): collapse three full-tree reflection walks in local-type inference into one cached per-function scope index, removing O(vars x nodes) rebuilds
- fix(mir): exclude option operands from the borrowed-parameter struct-clone path so options no longer get their
{tag,data}header memcpy'd as a struct, causing SIGSEGV/SIGBUS in option-heavy tests - fix(wasm): correct Direct-WASM option unwrapping --
?=target write-back, nested value-match arms, and ok/nil/err tag constant-folding -- plus valid stores when a value match is an assignment/index/field right-hand side - test(wasm): add unit regressions pinning
?=and value-match codegen against the native backend - ci(playground): add a playground-demos gate that compiles and executes every teaching snippet through the in-process WASI shim, catching Direct-WASM drift native CI misses
- build(playground): replace WASMTIME with DEMO_RUN (shim/wasmtime/none), defaulting to the browser's own WASI loader so the gate needs no external runtime
- docs(playground): update examples to use ?i64/?= and value matches so snippets exercise overflow-safe arithmetic and option re-raising
- test(checker): pin baked std export and union-alias tables equivalent to on-the-fly full scans
- fix(checker): use module short name when a value-match diagnostic lacks a per-node source file, and add the vmp8s7tq i18n message across all locales
v0.4.25
- feat(wasm): add
wasm-imports-checkandwasm-runtime-smokeCI/Makefile targets that reject forbidden socket imports and instantiate built wasm artifacts in a simulated loader environment - feat(fmt): give fmt/vet/LSP one cross-module signature contract (
collectModuleSignatures+FmtSigLoader) so formatting sees std and local module result types, while keeping bool-comparison simplification gated on proven bool operands - refactor(fmt): consolidate formatting on a single
fmtflow.Formatentry, oneNewSemRebuildConfigconstructor and oneRedundantTypeAnnotationSafeguard, closing the CLI/LSP annotation divergences found by a 659-file corpus diff - fix(fmt/lsp): preserve struct-field evidence via
CloneProgramForFormat, keep enum/fn switches when cross-module signatures are disabled, and invalidatevetSigContexton manifest changes - refactor(compiler): replace manual increments and raw slice reads across the compiler with overflow-safe
ix.inc/ix.decand bounds-checkedix.at-i/ix.at-s - feat(mir): add vec/str
len()/push()method dispatch andOP-VECPUSHSTRlowering, with ownership fixes for[]strto avoid double-free - fix(selfhost): unwrap
?i64offsets inck.nosono build compilerreaches a working S0nocagain - chore(repo): update
.gitignoreand formatting docs, add agent red-line rules, and consolidatenolang-coreskill routing
v0.4.24
- fix(mir): cover all six new_utsname fields in os.uname() buffer to avoid stack overflow SIGSEGV on Linux
- fix(mir): gate unix sockaddr memcpy on path-length overflow to prevent out-of-bounds stack write
- test(mir): pin uname buffer geometry and sockaddr copy gate as regression invariants
- fix(build): stop treating explicitly non-string locals as a read-only string on len writes
- test(build): add size-map regression tests for the str.len false positive
- docs: update self-host design notes
- docs: refresh test coverage notes
v0.4.23
- fix(net): use unprivileged SOCK_DGRAM ping socket on linux via ping_group_range
- fix(net): only filter icmp identifier for SOCK_RAW replies, skip on unprivileged socket
- fix(mir): declare late-registered option layouts to fix flaky codegen build failure
- fix(test): normalize uname.machine to GOARCH vocabulary before comparing to get-arch
- test(net): skip icmp assertions when no ping socket is available
- docs(i18n): add doc translations for de, es, fr, ja, ko, pt, ru, zh-cn, zh-tw locales
- docs(test): document std coverage and icmp skip rationale in test README
v0.4.22
- fix(parser): infer value-match ok-arm tail type to fix option payload mismatch
- docs(std): normalize doc-comment parameter and return lines to name-only style
- fix(mir): free previous owned buffer on result-parameter reassignment
- build: add NOLANG_LEAK_DETECT env gate for LeakSanitizer linking
- test(memsafety): fix stale else-arm syntax in 3 regression tests
- chore(compiler): remove stale h2m-probe debugging script
v0.4.21
- refactor(std): overhaul the standard library across ~80 modules, cutting ~6.6k lines while preserving the public API surface
- fix(mir): lower module-level tagged-enum and struct-literal constants referenced from helper functions to their real variant and payload instead of a zeroinitializer, fixing silent wrong values and bug #85
- fix(mir): resolve module-level binding types through the registered global type so match subjects type correctly
- fix(checker): detect overflow option-arithmetic silently dropped by place-match writeback and require explicit
?=consumption - fix(parser): improve block and value-match lowering and the AST disk cache
- fix(test): guard macOS-only EINVAL assertions in the unix socket test behind a Darwin check
- fix(docs): remove invalid
<br>tokens from the annotation-scope reference - test(std): expand the standard-library functional suite to 129 files / ~7479 assertions at 100% API coverage
- test(compiler): add codegen regression tests for mem-safety, tls13, x25519 and crypto, and update parser error-model tests
- docs: update language references (annotation-scope, str, syntax, basic-types) and the history page
v0.4.20
- feat(pkg): implement package module loading and multi-module codegen, resolving cross-package imports from
workspace.noml - refactor(compiler): BREAKING -- remove support for default parameter values in function signatures
- feat(mir): shrink the
strand[]Tdescriptors from 24B to 16B (i32 len,i32 cap,i64 data/i8* data) while the public API staysi64 - refactor(compiler): BREAKING(D11) -- remove the
#{index-out=DEF}annotation;a[i]always yields?Tand must be consumed by match or?=, and using it as a plain value is now a hard error - feat(parser): add the block form of a match subject
{ body }: { arms }so a?=failure inside the body is handled locally - feat(parser): allow the
?=shorthand inside a statement-level block match body, witherr -> _/-> _as the standard fallbacks when the function has no?Tresult - feat(h2m): add scope-exit release for str and vec ownership across straight-line and control-flow functions, including struct fields
- feat(compiler): support
#{overflow=wrap}on arithmetic statements, including DOT-leading statements, and keep the annotation acrossno fmt - fix(parser): complete the option arithmetic type chain, range-for iteration typing, value-match call subjects, and union monomorphization inference
- fix(checker): resolve the
?Treceiver of a desugared operator chain so the union-argument guard fires again - feat(checker): move index and
?Tlen/cap diagnostics into the checker and attach DiagnosticFix suggestions forno vet - refactor(std): ban
s[i] = vindex writes in favour of thepushfamily, place-match,fill, and[]byte - feat(fmt): fold same-target arm assignments into value-context matches
- feat(glossary): add the structured glossary knowledge base with a Nolang CLI and MCP front end
- feat(cli): default
no test -timeoutto 60s so hung processes do not leave orphans - feat(playground): rework the browser playground with 24 demos and Direct-WASM alignment
- fix(checker): rewrite the range-index loop hint to separate the read and write forms of container iteration
- test: merge similar cases into themed clusters and drop batch placeholder names
- docs: ban section divider banners and attach standalone comments with a
...placeholder statement
v0.4.19
- feat(mir): enable plain u64 arithmetic (
+,-,*) and lower u64 bitwise, shift, division, and modulo as unsigned ops - feat(mir): add f64 binary arithmetic, comparison, and prefix negation via h2m lowering
- feat(mir): lower i64 right shift as logical
lshrand add bit-complement~xand logical&&/||operators - feat(checker): add
itimplicit binding ty-of prescan for self-host ledger - fix(parser): prevent option capture for boolean infix expressions
- fix(funcargs): reject invalid extra targets in std method multi-assign
- fix(codegen): hide internal symbols in shared library builds
- docs(host-interop): add detailed guide for calling Nolang from host languages
v0.4.18
- feat(selfhost): add s62 container-iteration lowering for vec-backed
i <- xsloops - feat(selfhost): add s63 value-match lowering for integer pattern arms
- feat(selfhost): bind implicit
itvalues in match arms and pop loop/name stacks on scope exit - refactor(compiler): decouple call arguments with a dedicated side pool for scattered value ids
- fix(mir): unwrap option payloads on element stores before writing non-option elements
- fix(crypto): widen rc4 key-schedule byte arithmetic to i64 before modulo 256
- fix(checker): fall back to redundant std call signatures when inferring types in single-file mode
- test(no): pin implicit ok() wrapping on scalar writes into []?T elements and sibling-loop targets
- docs(selfhost): record s62-s64 lowering slices and the call argument side pool ledger
v0.4.17
- feat(compiler): add option ordered comparisons via new MIR ops (int, f64, scalar, and f64-scalar wings)
- feat(compiler): implement AST-to-MIR lowering slices (s55-s61) for straight-line, control-flow, block terminator, signature/call, brace short-circuit chain, and range/count-loop traversal
- feat(parser): make
...a no-op placeholder statement that is dropped at build time; it is no longer a return alias or a range operator ([0...n)is now a syntax error, write[0..self.n)) - feat(fmt): keep
selfexplicit when a range upper bound follows.., so formatting can no longer emit the...token - feat(fmt): support
#{fmt-skip}in Markdown Nolang fences (no fmt -md), keeping docs snippets byte-identical - fix(fmt): stop dropping a trailing comment on
v ?= expr(parser.setCommenthad noUnwrapAssignStatementcase, so only the same-line form lost its comment) - fix(fmt): a comment-only Markdown block is no longer reported as "not parseable as Nolang" (zero statements is "nothing to format", not a parse failure)
- feat(parser): force an else arm to group the preceding if-chain and migrate std/tests/compiler to grouped form
- refactor(parser): swap meanings of
*and**shorthands for continue and break - feat(lexer): add keyword aliases ctn/brk/rtn for continue/break/return across fmt, lsp, vscode and docs
- feat(std): expose rsa public bytes API and privatize limb internals
- fix(build): upgrade GitHub Actions to latest versions
- docs(overflow): clarify special overflow semantics for byte and char types
- docs(selfhost): document M4-e lowering slices s55-s61
v0.4.16
- feat(compiler): add structural equality codegen for str and vec via @str_eq and @__nolang_vec_eq_i64 helpers
- feat(compiler): add option payload equality codegen for value, str, and f64 tags
- feat(compiler): add option f64 inline load/store codegen and vec to str reinterpret codegen
- feat(compiler): add unary ALU negation and not codegen via OP-NEG and OP-NOT
v0.4.15
- feat(checker): forbid comparing non-option types with nil (
T == nilis now a hard error;?T == nilstays legal) - feat(cg): inline read/write of option vec payload (
?[]i64) without boxing (s40, §11 B8) - feat(cg): integer div/mod by-zero select guardrail with stderr diagnostic (s38/s39, §11 B14)
- feat(i18n): embed localized multi-line compiler help texts and version labels; expand translator catalogs
- fix(ci): restrict GitHub Pages deploy to release tags with manual dispatch; drop main-branch deploy trigger
- fix(std): update archive and crypto modules (bzip2/gzip/xz/zip/zlib/zstd, aes-gcm/des/ecdsa/ed25519/hmac/sha256/sha3); add bzip2 test
- perf(mir): add vec equality and refined index comparison codegen
- test(build): remove obsolete binary test file and expect bool as "true"/"false" in format interpolation
v0.4.14
- feat(i18n): add an alias catalog of localized display names and keystroke columns for std
- feat(lsp): complete std identifiers from alias keystrokes (initials, pinyin, zhuyin)
- refactor(i18n): store alias rows as positional arrays and merge pinyin/zhuyin into one full column
- feat(build): accept module-alias imports (
# path alias) on both backends - feat(mir): render bool as true/false and char as signed decimal on every str path
- feat(checker): reject arithmetic mixing char with non-numeric operands
- refactor(fmt): collapse short multi-line infix expressions onto a single line
- fix(lexer): accept CRLF raw strings and stop eating the first byte of continuation lines
- fix(std): make noml index writes exhaustive and fix parse-raw dropping every other byte
v0.4.13
- feat(i18n): add German, Portuguese and Russian locales and sync documentation catalogs across all languages
- feat(crypto): add x25519, ecdsa/x509, argon2, chacha20-poly1305, aes-gcm/cbc/ctr, scrypt, blake2, ed25519, pbkdf2, hmac and base32; extend sha and rsa primitives
- feat(net): add tls, websocket, hpack, http2/http3, quic, proxy and related networking primitives
- feat(archive): add bzip2, gzip, xz and zstd compression support
- fix(parser): eliminate false-positive diagnostics from speculative parse paths and preserve FFI doc comments in no fmt
- perf(mir): split option drop/clone helpers into an inline tag test plus out-of-line body to cut compile time and binary size
- build(compiler): regenerate parser, lexer and AST tables for the self-hosted compiler
v0.4.12
- feat(build,package): import .noml as typed modules and annotate noml members
- feat(checker,build): reject scalar-into-struct assignment and promote integers to bigint
- fix(parser,checker,mir): keep operator-overload ?T results, peel option only at consumption positions
- feat(i18n,parser,lsp): migrate diagnostics to catalog-based i18n.T with doc-link anchors
- feat(i18n,docs): add es/fr/ja/ko/zh-TW locales; doc catalogs hold translations only
- docs(std,compiler,tests,example): add label doc links and drop name: prefixes
- docs(agents): split iteration from loops and fix statement-separator examples
v0.4.11
- feat(err): restructure the error type into
errwith a location payload (err.msg/code/file/line/col) - feat(bigint): add bigint operator overloading and mixed bigint/i64 operands for + - * / %
- feat(parser): reach byte-exact syntax-error position parity with the Go oracle (NEWLINE, call-arg, cascade families)
- feat(std): precise strtod and shortest round-trip f64 formatting via method form
- feat(js): support npm ESM imports and native package / FFI-koffi calls
- feat(ty): introduce a single structural type authority shared across parser, HIR, THIR and MIR
- refactor(config): replace JSONC configuration with the self-authored noml format
- refactor(parser): unify match on SurfaceMatch and drop the legacy desugar path
- refactor(std): consolidate numeric to-str routines and bigint-based f64 parsing; clean up type annotations across std modules
- fix(mir): load narrow (byte/u8/i8) stack slots at their allocated width and extend, and choose
truncfor narrower destinations (fixes silent over-read segfaults in crypto/aes SBOX and invalidsext i64 to i32) - fix(std/crypto): allocate the blake2 compression work vector and pre-allocate argon2 buffers, restoring real compression and indexed writes
- fix(build): per-arm type dispatch for union match arms so arm-local bindings resolve before generic-call rewriting (fixes silent 0 results from union arithmetic)
- fix(compiler): resolve call-return type inference and attribute merged std diagnostics to their own source file
- perf(parser): cache exported field indices for reflective AST walks; eliminate O(N^2) in vec push/insert codegen and self-hosted lexer/parser
- fix(mir,std,ci): fix test-std/src failures (shl err-option drop crash, i8 store width, dns/err/chacha) and add blake2 golden-vector tests
- fix(package,cmd/no): harden the release download path
- build: upgrade the Go toolchain to 1.27.3; gate Setpgid/syscall.Kill behind build tags to fix the Windows release build
- feat(compiler): add an inert self-host MIR/codegen skeleton (mir, cg, cg-rc, cg-runtime) and expand the self-host design doc
- docs(design): record parser faithfulness, match-lowering invariants, and S7 dual-track findings
- test(std,mir,checker): add union-arg, grow-write-lower, multiassign operator dispatch, option-struct payload match, and slice/vec option-write coverage
v0.4.10
- refactor(mmast): switch AST encoding to a recursive root forest structure
- feat(conversion): complete numeric type conversion matrix with saturating float-to-int
- refactor(std): migrate numeric conversion and to-str methods to number module
- feat(std): make
txt.set-byte/str.set-bytefallible —(i i64, b byte) (ok ?bool), returns nil and skips the store when the byte index exceeds the receiver's physical capacity - refactor(bounds): finalize two-layer option handling for in-bounds index reads
- fix(checker): reject out-of-range char literals and unsupported scientific notation
- refactor(tests): remove obsolete compiler unit tests and fix comment typo
v0.4.9
- feat(parser): add tagged enum variant arms with payload destructuring, blank-identifier discard, and static type-match dispatch for union types
- feat(builtin/mir): add private str/txt field accessors/mutators lowered inline by MIR (emitBuiltinPrivateField)
- feat(checker): enforce compile-time privacy on underscore-prefixed builtin calls and add incremental on-disk std AST cache
- fix(type-inference): enforce strict option arithmetic type rules in assignment and binding
- feat(lint): add range-index and range-ellipsis (implicit-self '...') lint checks
- feat(std): update crypto (aes-gcm/blake2/hmac/x25519/x509), tls, str, txt and char modules; use slice-to-slice copies in tls
- feat(lsp): add std type definition lookup backed by the shared std AST cache
- fix(fmt): preserve LHS name for inferred view types in --fix=redundant
- fix(build/ci): rename Windows no-llvm binary with .exe suffix; verify x86_64 static libs via lipo and stub macOS librt on darwin prebuild
- refactor(compiler): remove redundant standalone ast/lx/tok/util test files and update self-host design doc
- feat(lexer): allow single-underscore identifiers for constants, globals, and method names; reject a leading double underscore with a clear lexical error
- fix(parser): surface the lexical error message for an invalid '__' after a dot instead of the confusing 'got UNDERSCORE'
- test(lexer): add lexer tests for single-underscore identifiers and double-underscore rejection
- fix(parser): propagate let-binding types across 'x = y' assignments to support unified option arithmetic inference
- fix(std): remove a temporary private-builtin smoke block from the str module
- chore(cache): add best-effort debug logging for std and parser AST cache write failures
v0.4.8
- fix(ci): append .exe suffix for windows no-llvm cross-build artifact
- feat(parser): support pointer/view type prefixes and method signature table in ps.no
- docs(design): record implemented status of unified arithmetic/index option returns
v0.4.7
- fix(build): adjust LLVM static linking flags for Windows targets
v0.4.6
- fix(build): ensure host environment for genstdsig and correct release tag check
v0.4.5
- feat(parser): implement bare match desugaring, star break/continue shorthand, and err/nil arm bindings
- feat(parser): infer types of local variables and function return values during parsing
- feat(compiler): support range slice expressions in function call parsing
- fix(parser): support empty and early return arms in value match expressions
- fix(parser): restore bounds checks and revert the in-bounds index exemption
- fix(compiler): support async prefix operators and trailing comments
- refactor(main): remove explicit main function definitions
- build(llvm-windows): switch to zig cc/zig c++ for the Windows LLVM build and packaging
- fix(ci): fix LLVM version extraction and LLVM distribution component names
- chore(release): allow a dirty working tree in the release process
v0.4.4
- fix(build): quote LLVM_CONFIG in Makefile to handle Windows paths with spaces
- fix(ci): poll for llvm-config.exe and add timeout/error handling in the Windows LLVM install step
- fix(ci): set CC/CXX to
zig cc/zig c++directly and drop broken zig wrapper scripts on Windows
v0.4.3
- feat(parser): add support for no-value explicit type declarations
- fix(build): consume LLVM IR via .ll extension for zig instead of unsupported
-x ir
v0.4.2
- fix(build): translate Apple LLVM target triple to zig's
macosOS name for zig-based linking - fix(build): filter out missing
-lPolly*static libraries during no-llvm static linking - build(ci): harden release workflow for cross-platform LLVM toolchains
- fix(parser): correct parsing logic and add overflow wrapping indicators
v0.4.1
- fix(astcache): make the Tier-0 std AST blob reproducible and config-checked
- refactor(build): embed LLVM with all backends for no-llvm releases
- fix(parser): correct depth handling and overflow wrapping behaviors
v0.4.0
- feat(build): add embedded static-libLLVM variant with LLVM C API backend trimmed per host arch
- feat(build): rework backend pipeline with single-process clang -x ir, centralized backend selection, and embedded std module list
- feat(build): implement generic monomorphization and overload mangling
- feat(compiler): add incremental-build AST cache (Tier 0 baked std AST + Tier 1 on-disk) and initial self-hosting compiler
- feat(parser): enhance AST parsing for arrays, maps, slices, ranges, structs, and match expressions
- fix(checker): inject std sig key via independent tool; hard-fail when not built with make
- fix(mir): add percent-str-long index-store growth guard and mem-safety tests
- fix(build): enforce compile error on unhandled out-of-bounds indexing
- refactor(build): drop dead toOpaquePointers regex and skip the IR emit step on the C API path
- chore(checker): remove generated stdsig_gen.go and embedded standard signatures
- feat(parser): add doc comment attachment and method definition parsing
- refactor(stdmodule): replace std module info slice with map KV for lookup
- fix(build): embed std sig key in cross-compiled binaries
v0.3.19
- fix(os): add Windows compatibility for sysconf and getpid calls
v0.3.18
- fix(ci): normalize version tags by stripping multiple leading "v" characters
v0.3.17
- fix(build): update version handling and add Windows builtin support
v0.3.16
- fix(codegen): add windows unsupported checks and Linux sysctl procfs fallback
- chore(audit): remove obsolete Nolang audit and ownership model documents
- docs(design): add native backend (nocg/nold) forward design
- docs(design): fix garbled text in native backend design
v0.3.15
- feat(mir): add an in-compiler MIR optimiser behind
-opt[=N]/NOLANG_MIR_OPT - feat(mir): add constant folding, dead scalar elimination and control-flow cleanup passes
- feat(mir): add integer identity rewriting (
x+0,x*1,x&x,x^0, …) and constant-producing laws (x-x,x%1, …) - feat(mir): add per-block copy propagation and single-predecessor block merging
- feat(codegen): drop runtime helpers nothing references when
-opt=2is on, whichopt -O2cannot do because the prelude is emitted with external linkage - feat(codegen): drop a removed helper's own doc comment with it, taking the one-line
print('hi')module from 61,812 to 14,548 bytes (−76.5%) instead of −56.1% - feat(build): compare the MIR optimiser against LLVM
opt -O2on IR instructions, IR size, compile time, binary size and execution time via scripts/miropt_vs_llvm.py - fix(mir): keep unreachable blocks that are the sole producer of a value codegen still needs
- fix(mir): stop copy propagation redirecting a reader through a source reassigned later in the same block
- fix(mir): stop empty-block threading widening a block's predecessor set, which let a per-edge drop become a double free on 49 of the 631-file corpus
- fix(mir): stop copy propagation collapsing an internal task-handle copy, which made a second wait read the handle slot the first had zeroed
- refactor(checker): remove redundant hex literal check and improve type inference registration
- fix(checker): handle implicit self float methods in type inference
- fix(builtin): audit and fix math.pow negative base sign and builtin handling
- refactor(std/math): remove libm dependency from math.pow implementation
v0.3.14
- refactor(math): remove libm dependency; implement math functions in pure Nolang
- fix(build): link Linux native binaries with -no-pie to allow R_X86_64_32 rodata relocations
- fix(wasm): make Writer.WriteByte match std method signature WriteByte(byte) error
- fix(parser): add IsInferred flag for MapType and update related logic
- docs(site): add release history page and register in sidebar
v0.3.13
- feat(ownership): implement hybrid ownership model with tiered soundness, deep-copy assignment rule, and precise RC handling
- feat(mir): refine move/ownership semantics for correct drop and cloning; deep-clone vec elements and keep slice view sources alive
- feat(mir): complete rule one for owned option and fix deep free regression
- feat(ownership): land tier 1 owned %vec leaves for hashmap types
- feat(number): add 128-bit integer range, sqrt, and is-prime methods
- fix(mir): fix multiple memory leaks in string cloning and field assignment
- fix(fmt): improve index-out annotation handling and prevent erroneous removals
- fix(checker): support index-out annotation in LSP surface AST mode
- perf(json): optimize memory usage by removing redundant index-out annotations
- refactor(async): rename async-cancel primitives to cancel variants
- docs(std): restructure math and number APIs; sync EN std docs with CN source
- docs(ownership): document ownership model and record audit revalidation results
v0.3.12
- feat(json): refactor implementation with heap-allocated dynamic pool and expand node pool with overflow flag
- fix(mir): read option payload from box under OpClone instead of memcpy of option slot
- fix(mir): fix array literal initialization for [N]T struct fields in emitSetField
- fix(parser): improve type resolution and remove debug logs
- fix(match): improve enum variant lookup for function-local types
- feat(lint): extend readdir-unfiltered lint to raw read-dir and add list-dir-unfiltered lint
v0.3.11
- feat(build): add global no binary reinstall in make targets
- fix(release): make tag creation idempotent via release.py tag subcommand
v0.3.10
- fix(mir): add null-buffer guard for %str-long index store
- fix(parser): prevent unsafe index lowering from corrupting formatted source
- fix(build): preserve overflow annotations across monomorph clone and fix diagnostic source file info
- refactor(mysql): add overflow wrap handling and improve slice safety
- fix(bench): add overflow annotations to fib benchmarks
- refactor(parser): align struct field comments and parser state formatting
- chore(audit): add 2026-09-27 Nolang audit report
v0.3.9
- fix(mir): fix bigint bus error and implement div/mod with tests
- fix(mir): resolve option/match LLVM backend bugs and improve global constants
- feat(parser): add err variant destructuring binding in option matches
- fix(checker): suppress false-positive redundant-type hints for hex arrays and relax option-vs-scalar comparison
- fix(checker): fix string-concat overflow false positive and scope ineffective overflow lint checks with deduplication
- feat(cmd): add AST-driven no fmt --fix=match and enhance no fmt --fix=redundant with package context
- fix(release): refine release tag comparison and querying logic
v0.3.8
- fix(mir): implement truncate on windows via kernel32 instead of the nonexistent _truncate CRT symbol
- test(mir): verify every declared windows shim symbol against the import-library export list
v0.3.7
- feat(fmt): support variadic print/eprint with per-argument named format templates
- fix(builtin): remove printf and eprintf, emitting a clear compile error to guide migration
- refactor(mir): scope module global bindings by declaring module to prevent cross-module clobbering
v0.3.6
- feat(mir): implement tagged enum payload ownership with phased design
- fix(mir): complete phase 3 ownership for zero-match tagged enums
- fix(mir): handle both OpMove encodings to fix silent double free
- fix(mir): fix receiver write-back for set-byte on struct fields and elements
- fix(mir,std): close the last ownership gaps; audit crypto/ for byte indexing
- feat(mir): add Windows Winsock initialization support
- fix(mir): skip the bare-name fallback for builtin names in resolveCallee
- fix(checker): correct operandIntKind recursion for nested string concat chains
- refactor(lang): remove
xNNbyte literal spelling from language - docs(design): record the resolveCallee guard and correct the mass-regression status
v0.3.5
- feat(mir): build the libc call spec table per target instead of at package init
- fix(mir): substitute msvcrt entry points for realpath, touch-file, sync, stat and num-cpu on windows
- fix(mir): use the Windows struct _stat64 layout with 16-bit st_uid and st_gid
- feat(mir): report POSIX-only builtins at compile time instead of failing at link
- feat(nolang-release): reuse the latest tag when its release action failed
v0.3.4
- feat(txt): implement code-point indexing and updating for txt type
- docs(str): clarify difference between str and txt write semantics
- fix(fmt): recover original match subject in bare match formatting
v0.3.3
- feat(compiler): implement option capture assignment
- feat(mir): add overflow annotation support to arithmetic instructions
- feat(platform): support cross-compilation target platform in MIR and codegen
- fix(parser): preserve comments in option-match arms and correctly parse single-identifier condition loops
- fix(checker): scope ASCII string variables by function and handle synthesized method receivers
- fix(mir): deep clone borrowed %vec parameters to avoid double-free
- refactor(txt): unify length semantics to byte-based operations
- fix(fmt): revert boolean comparison simplification and remove irrelevant overflow annotations
- docs(std): clarify fixed-length txt type length semantics
- test(index): add tests for literal array indexing with option-match
v0.3.2
- feat(mir): implement recoverable integer division and modulo with option error handling
- fix(parser): infer option type for signed integer division and modulo operations
- fix(checker): add compile-time check for integer division by zero
- fix(module): prevent bare-name hijack of std qualified calls
- feat(nolang-docs-i18n): add English i18n documentation parity skill
- refactor(format): automatically remove redundant type annotations
- refactor(tests): drop tmp- and test- prefixes from corpus .no filenames
- refactor(dataflow): remove outdated dataflow analysis documentation
- chore(git): ignore and remove compiled python cache files
v0.3.1
- feat(mir): add os.args builtins and improve fs.read-file result handling
- feat(checker): add std method parameter type checking for method calls
- fix(fmt): preserve index-out annotations and improve blank line handling
- refactor(checker): add file context to integer overflow lint analysis
- refactor(cmd): remove legacy overflow migration commands and tools
- refactor(mysql-driver): standardize loop syntax and overflow annotations
- refactor(mir_golden): improve subset run support and update safeguards
- docs: update control flow syntax reference and remove database and ffi builtins
v0.3.0
- feat(mir): make MIR the default backend and retire the legacy LLVM backend
- feat(mir): add path-sensitive use-after-move analysis and control-flow aware drops
- feat(mir): implement tagged enums and a configurable option inline threshold
- feat(mir): add filesystem, POSIX and generic vec builtins
- feat(checker): add option safety lints and tighten integer overflow checks
- refactor(parser): represent method receivers as self out-params
- fix(codegen): fix variadic call misclassification and scalar-to-str coercion
- feat(std): add YAML 1.2 and TOML 1.0 parsing and generation
- refactor(crypto): reorganize hash modules and remove deprecated AES and RSA code
- fix(parser): correct nested if lowering for chained
->conditions - docs(lang): clarify str slicing,
itbinding rules and field annotations