Skip to content

grayscale: v0.14.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 05:16
767be3f

0.14.1 (2026-11-02)

Refactors

  • lexer: accept \u{...} in string literals (#3323) (e1f2176)

Bug Fixes

  • build: add the path module to the compile-from-source stdlib list so TinyCC links it (#3308) (0666bdf)
  • build: keep make's directory messages out of the embed tag in nested builds (#3307) (0e3ce1e)
  • codegen: bind an indexed literal or call-result field to a temporary (#3316) (1b64b9b)
  • codegen: keep bytes after an embedded NUL in fmt %s (#3335) (069ef9e)
  • codegen: keep the element size of an array literal whose entry deep-copies a struct array (#3361) (5250292)
  • codegen: name a module's enum as written in the cast panic (#3321) (2c138ef)
  • codegen: panic on arrays.sort_by during for_each over the same array (#3360) (b39e84e)
  • codegen: print a module struct's nested fields and its declared name (#3365) (51fb4d0)
  • csv: split parse_delimited on the whole delimiter codepoint (#3324) (c9f1d01)
  • diagnostics: align the underline under the token after multibyte text (#3337) (3bf982f)
  • imports: resolve a file imported directly and through its directory (#3312) (cf70965)
  • imports: scope the name an import binds to the file that writes it (#3310) (6baa7c6)
  • io: match one codepoint for ? and brackets in io.glob (#3334) (428bd52)
  • json: handle invalid UTF-8 in encode, decode and is_valid (#3338) (526db55)
  • lexer: reject invalid UTF-8 bytes in string literals (#3331) (d1e9617)
  • lexer: skip a leading UTF-8 byte order mark (#3336) (2312650)
  • parser: reject a typed func signature as a map value (#3342) (5993e34)
  • parser: report an or_return/or_default/or_panic declaration at the variable's position (#3341) (ddea490)
  • parser: skip char literals when finding the end of an interpolation (#3315) (8024107)
  • regex: make POSIX character classes match ASCII only (#3329) (208a67a)
  • regex: match one codepoint for . and bracket expressions on every platform (#3328) (a5f7dda)
  • regex: treat an invalid UTF-8 byte as one U+FFFD character (#3333) (e00918c)
  • scripts: rename the reserved name 'path' in the stray binary check and sized type test generator (#3306) (6e8e3a9)
  • stdlib: compare strings.contains_any by codepoint (#3325) (1497c68)
  • stdlib: decode UTF-8 strictly through one shared decoder (#3326) (9d988f8)
  • stdlib: return the raw byte from strings.char_at for bytes of 128 or more (#3313) (3fd753d)
  • stdlib: snap strings edit indexes back to a character boundary (#3332) (91e6795)
  • typechecker: a scalar read through a pointer parameter carries no origin (#3340) (f1787d0)
  • typechecker: accept a helper linking two locals of one scope (#3319) (f809288)
  • typechecker: accept an implicit tagged-enum constructor as a call argument (#3314) (aca028a)
  • typechecker: allow a private struct function called through self in an imported struct (#3345) (a5e4aaa)
  • typechecker: apply default parameters to a module-qualified struct function call (#3347) (33d1eb8)
  • typechecker: check a function reference passed to a struct function's func parameter (#3350) (197d24d)
  • typechecker: check the element type of stdlib array parameters (#3367) (10266e8)
  • typechecker: check the return value of a module-qualified struct function call (#3348) (8b7f165)
  • typechecker: detect writes through a pointer parameter made by stdlib array and map mutators, ++/--, and ref() (#3370) (9bc210c)
  • typechecker: enforce const through ref(): mut ref to a const field or element, and writes through a const ref (#3369) (b21f743)
  • typechecker: enforce E3153 on the type argument of new() and size_of() (#3363) (2f514f9)
  • typechecker: escape-check addr(local) stored through a pointer parameter with the dot operator (#3318) (baa4cd1)
  • typechecker: reject a void call as a value argument to string() and generic arrays/maps functions (#3359) (9df6fe2)
  • typechecker: reject assignment and increment through a call result or literal (#3317) (21cac7b)
  • typechecker: reject copy() on a handle type instead of aliasing it (#3362) (d72f7a1)
  • typechecker: reject duplicate globals and global/function/type name clashes across files of a module (#3311) (f31420e)
  • typechecker: reject field access on an enum value and through a pointer to a non-struct (#3366) (446b1d6)
  • typechecker: reject index writes, array/map functions and addr on a module variable from outside (#3354) (2376f55)
  • typechecker: reject surrogates in char(n) and cast(n, char) (#3327) (139bbe8)
  • typechecker: reject type, struct literal and enum member uses of a module the file does not import (#3309) (7c00847)
  • typechecker: reject void as the type in new(), size_of() and alias (#3364) (82be77e)
  • typechecker: report a parameter named main once instead of also as shadowing a function (5b15a9b)
  • typechecker: report a parameter, loop variable or struct named like an imported module (#3352) (268738f)
  • typechecker: report a parameter, loop variable or when binding named like a function (#3349) (e34ec6c)
  • typechecker: report an unhandled fallible call in a multi-value declaration (#3343) (4f088e9)
  • typechecker: report assigning one struct or enum type to another once (#3320) (2c89f57)
  • typechecker: report only E4026 for a type or const named main (#3339) (8c022cd)
  • typechecker: report shadowing of a parameter, loop variable or when binding (#3344) (ab46d0d)
  • typechecker: resolve a module-qualified call to a generic struct function (#3346) (34be85d)
  • typechecker: warn on a when over module-qualified enum variants with no default (#3353) (432f094)

Miscellaneous

  • release: release as 0.14.1 (3d54efd)