Skip to content

grayscale: v0.5.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 06:07
9caee86

0.5.0 (2026-08-23)

Features

  • add #deprecated attribute (#2384) (ebc69ef)
  • lang: add keyword aliases fn, elif, switch, case, defer (#2441) (cb15833)
  • stdlib: add math float primitives, power-of-two helpers, and bounds constants (#2435) (141814b)
  • stdlib: add runtime module (#2310) (1c36f59)
  • stdlib: add runtime module for compiler-managed arena and execution introspection (#2310) (ddc16d5)
  • stdlib: add strings split, compare, and case functions (#2433) (2501ddf)
  • stdlib: add time.parse, is_leap_year, since functions (#2439) (4486647)
  • typechecker: add #deprecated attribute for functions, structs, and enums (#2384) (646c93e)

Bug Fixes

  • codegen: escape array copy-assignment to outer arena inside loop scope (#2430) (949dbf1)
  • codegen: escape container field writes to heap arena through new()-tracked pointers (#2424) (5ea3b4e)
  • diagnostics: restore --> file:line:column format string (#2443) (3bef9f4)
  • fmt: translate %b to a real C conversion and require a bool argument (#2428) (0a3908b)
  • imports: rewrite wrapped type names in local var-decl annotations (#2427) (68581b2)
  • lang: reserve is and default as identifiers (#2454) (d079a70)
  • lexer: accept exponent notation in float literals (c7050f3)
  • parser: diagnose misplaced #deprecated and #discard attributes (1b7bd06)
  • parser: reject float literals that overflow a 64-bit float (10f92af)
  • parser: reject reserved keywords as destructuring binding names (#2451) (912ed0a)
  • parser: report the keyword spelling the user typed (8202a6f)
  • parser: require declaration name and type on the same line (#2455) (02c5336)
  • runtime: keep runtime.alloc_count cumulative across loop bodies (d0ae993)
  • stdlib: drop trailing separator in strings.to_snake_case (bef0cfd)
  • stdlib: reject impossible calendar dates in time.parse (12c11b5)
  • tests: deflake is_alive check by spawning a slow worker (5f31477)
  • tests: stop using reserved keyword 'fn' as a variable name (9349e7f)
  • tests: use one membership operator spelling per file (1952366)
  • typechecker: accept nil literal for pointer-typed call arguments (#2426) (049ff0d)
  • typechecker: enforce !in/not_in keyword alias consistency (#2440) (8779ee6)
  • typechecker: guard constant folding against int64 overflow UB (#2392) (eda3e5b)
  • typechecker: recognize stdlib opaque types in new() across all import forms (#2445) (f1791ea)
  • typechecker: resolve stdlib multi-return through the using path (9d4dcf5)
  • typechecker: scope E4014 shadowed-import check to the declaring file (#2429) (89a0a2c)
  • typechecker: show unqualified name for undefined module-qualified types (#2444) (2a99923)
  • typechecker: track pointer origin through assignment for E3063 and E3097 (#2410) (71a1431)