Skip to content

grayscale: v0.10.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 03:27
bfbc134

0.10.0 (2026-09-22)

Features

  • range: support i128, u128, i256 and u256 bounds (#2819) (098acc6)

Bug Fixes

  • build: link fmt.c into sanitizer test builds (#2803) (d76a07b)
  • codegen: copy a composite stored into or read out of a container element (#2799) (a3a7956)
  • codegen: evaluate the range end and step once before the loop (#2816) (9631122)
  • codegen: interpolate nested arrays, maps, and structs with the formatter println uses (#2793) (fe98fb9)
  • codegen: let a local binding hide a same-named member brought in by using (#2797) (20d0f38)
  • codegen: stop in/not_in and when-is range() leaking C errors on bigint bounds (#2819) (0fbac8b)
  • extern: probe extern signatures and match C errors under gcc as well as clang (#2805) (c8d5374)
  • stdlib: omit zero components from time.format_duration (#2800) (c72e74e)
  • typechecker: don't implicitly-declare an assignment target that names a global declared later (#2820) (968fc46)
  • typechecker: enforce const and read-only module variables on writes through a module-qualified path (#2773) (3403e43)
  • typechecker: reject a module-qualified type name passed to fields() (b34211c)
  • typechecker: reject a negative literal assigned to u128 or u256 (#2819) (34fe751)
  • typechecker: reject private struct, enum and alias names written in expressions (#2787) (ba21450)
  • typechecker: report a mismatched call argument once instead of twice (#2771) (9abf4d6)
  • typechecker: report the initializer's error, not an undefined variable, for a bare declaration with a void or unknown initializer (#2772) (e8504f5)
  • typechecker: report unused private functions and skip public functions of imported modules in W1003 (#2796) (bc66149)
  • typechecker: scope module imports to the file that declares them (#2769) (901c2f4)
  • typechecker: stop E6008 from rejecting writes into a module container's existing elements (#2821) (887f5f4)

Performance Improvements

  • codegen: emit no arenas or scope marks for allocation-free loops and ifs (#2813) (3453dfc)
  • codegen: skip the scope mark for functions that never allocate (ba6150f)
  • crypto: use ARMv8 SHA2 instructions for SHA-256 compression (#2818) (019cf66)
  • runtime: inline gray_scope_save and gray_scope_restore (#2814) (6618d18)
  • runtime: inline the array index bounds check with an out-of-line panic path (#2815) (34b925d)
  • runtime: un-inline gray_scope_save and gray_scope_restore (f48028e)