Skip to content

grayscale: v0.11.5

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:17
dfdf5cf

0.11.5 (2026-10-12)

Bug Fixes

  • codegen: copy a local array or map into the heap when assigned to a new() struct field (#3017) (d7867a1)
  • codegen: initialize a shadowing variable from the outer variable it reads (#3018) (4dee938)
  • codegen: keep the for_each element type across emitting a deep collection chain (#3028) (0dd2d79)
  • csv: reject malformed quoting in parse and read_file (#2988) (26452ad)
  • http: canonicalize response header names (#3057) (7ee2f99)
  • http: decode chunked response bodies and keep the last header (#3053) (adb45e7)
  • http: include a non-default port in the Host header (#3054) (dde6647)
  • http: return a specific error code and fixed message for each request failure (#3055) (a118f37)
  • http: return OutOfRange for a response over the 1 MB limit (#3056) (1428f3f)
  • http: send one Content-Type and drop caller-set Host, Content-Length and Connection (#3052) (eb51e23)
  • json: panic when json.parse input is not a valid JSON document (#2967) (04cfa05)
  • net: classify net.receive failures as Closed, Timeout or the system error (#3049) (0e11b71)
  • net: write the whole string in send and report a failed write (#3050) (77cbd9f)
  • stdlib: step past the stdlib header directory under Clang when the runtime is built from source (#3022) (66c2153)
  • typechecker: check func-typed generic parameter arguments against the bound type (#3026) (25568d5)
  • typechecker: detect duplicate map keys and when cases written as constants (#3031) (2f54c0f)
  • typechecker: reject a local redeclaring a generic parameter's name in the same scope (#3030) (f7a6d1f)
  • typechecker: reject a private type used as a generic type argument (#3027) (f746580)
  • typechecker: warn on a deprecated type in container, pointer, new, size_of, generic and alias positions (#3029) (cde660f)

Performance Improvements

  • driver: default to -O3 when the C compiler is GCC (#3020) (9e42a4f)
  • driver: reuse a cached runtime archive for a --cc compiler (#3021) (8812855)
  • json: copy unescaped runs with memcpy in json_append_escaped (#3024) (726f3bf)
  • runtime: count arena allocations with a flag on the arena (#3025) (06088f4)
  • runtime: cut per-thread state lookups under TCC (#3019) (901ec8a)
  • strings: find candidates with memchr in search, split and replace (#3023) (85fd2eb)