Skip to content

grayscale: v0.11.4

Choose a tag to compare

@github-actions github-actions released this 08 Oct 18:31
6a350e3

0.11.4 (2026-10-08)

Bug Fixes

  • arrays: order a NaN after every other value in float sort, min and max (#2977) (2f8d8d8)
  • build: remove GCC 11 compiler and linker warnings on macOS (#3013) (81fa229)
  • cli: cast enum values explicitly in the verify test (8bc4325)
  • codegen: convert wide-integer constructors the way cast does (#2994) (4d82f34)
  • codegen: copy composite payloads when constructing a tagged enum variant (#2991) (6f6b52c)
  • codegen: copy nested storage out of arrays and maps results and generic returns (#2958) (5671579)
  • codegen: evaluate the argument of type_of, fields and size_of (#2992) (4c6b578)
  • codegen: iterate for_each over a string by codepoint (#3004) (d021de3)
  • codegen: panic when a string cast to a string-backed enum matches no variant (#3006) (f87492c)
  • codegen: panic when assigning the array or map being iterated in for_each (#2978) (aae3e2d)
  • codegen: pick the membership direction of a wide inline range from its step at runtime (#2996) (c9dece3)
  • codegen: print a bare nil as nil in println, print and string interpolation (#2985) (e1ae989)
  • codegen: restore the maps clear and is_empty branches removed in 60cfefc (d364798)
  • codegen: skip the for_each mutation check when storing a & parameter element temporary back (#2945) (1870525)
  • codegen: store a string-backed enum in map slots as a string (#3005) (20d0cae)
  • codegen: test membership in an inline range with a negative step (#2996) (1cf4616)
  • codegen: type a field read through a generic-typed value by its declared type (#2957) (c761bed)
  • codegen: undefine C library macros that share a name with an emitted identifier (#2961) (103ed06)
  • csv: drop a leading UTF-8 byte-order mark when parsing (#2987) (f31f3d2)
  • csv: quote a lone empty field so encode then parse keeps the row (#2986) (02d2825)
  • driver: build and link the runtime with GCC on macOS (bbf9e14)
  • driver: make the generated C and signature checks work under tcc (#3010) (e9f04f8)
  • encoding: panic on malformed hex in from_hex like hex_decode (#2966) (92310b8)
  • fmt: count characters, not bytes, in padding and the %s width and precision (#2962) (c783b22)
  • input: keep NUL bytes, drop CRLF terminator, add io.stdin_at_eof (#2993) (4102856)
  • io: reject io.copy_file onto the same file instead of truncating it (#2973) (33e4339)
  • io: return an error when io.make_dir_all's path is an existing regular file (#2974) (0448f1d)
  • json: panic when json.parse reads a number or null into a bool field (#2968) (a3b9a27)
  • json: panic when serializing a non-finite floating-point value (#2969) (025f9ab)
  • os: panic on an embedded NUL byte in os.exec's command or arguments (#2970) (81666fa)
  • parser: reject a default value on a mutable (&) parameter (#3002) (d898aa8)
  • platform: declare realpath on Linux under Clang (e936be2)
  • platform: route the crash signal name through a platform helper (#2881) (ac3cd1b)
  • regex: match whole UTF-8 characters instead of bytes (#2989) (600adab)
  • regex: support capture groups in the Windows regex shim (#2880) (ad02d80)
  • runtime: allow updating an existing key's value during map for_each (#2979) (ce85547)
  • sqlite: keep the full text value when a query result contains an embedded NUL byte (#2972) (e22d97b)
  • stdlib: panic on an embedded NUL byte in csv, sqlite, time and regex string arguments (#2971) (8ca2dbe)
  • stdlib: reject an embedded NUL byte in strconv number parsers and os env functions (#2954) (ecb7d0d)
  • stdlib: reject hexadecimal float input in strconv.to_f64 (#2955) (f293a2e)
  • stdlib: restrict the sys-relative libc header lookup under GCC to macOS (354e1b2)
  • stdlib: use gray overflow wrappers in time duration parsing (6e49916)
  • strconv: reject a 0x prefix in base 16 and a nan(...) payload (#2975) (5787dda)
  • strings: reverse by character so a multi-byte character stays valid UTF-8 (#2976) (e1054e6)
  • time: panic or error on i64 overflow in add_days, add_hours, start_of_day, end_of_day and parse_duration (#2990) (ec8febf)
  • time: panic when a timestamp is outside the range gmtime supports (#2965) (2d473c9)
  • typechecker: accept a mutable-receiver call through a const pointer to a mutable variable (#2998) (45b03e4)
  • typechecker: call a no-self struct function through an expression receiver and evaluate the receiver (#3001) (fab2451)
  • typechecker: reject a bool as an integer in call arguments and comparisons (#2983) (fb7aa73)
  • typechecker: reject a bool source in wide-integer constructors (66d8de6)
  • typechecker: reject a local declared with a parameter's name at function-body level (#2960) (d0c15fd)
  • typechecker: reject a mutable-receiver call through a pointer to a const variable (#2997) (c2e7709)
  • typechecker: reject a nil source in bool() and wide-integer constructors (26e1546)
  • typechecker: reject a non-bool condition in if, or and as_long_as (#2984) (6dbd088)
  • typechecker: reject a nonexistent struct function reached through an imported module (#3000) (78a0147)
  • typechecker: reject a single return value discarded by defer and ensure (#2953) (2abd6f7)
  • typechecker: reject a struct function or module function used as a value (#2999) (0940ca3)
  • typechecker: reject an integer in a struct-typed struct field initializer (#2980) (4610cb3)
  • typechecker: reject an integer where a struct is expected in call arguments, generic arguments and assignment (#2981) (3e0c229)
  • typechecker: reject calls through a bare func array element, map value, or loop variable (#2963) (0efaf9a)
  • typechecker: reject implicit conversion of an enum value to an integer or string (#3007) (056a4aa)
  • typechecker: reject mutating arrays and maps functions on a container reached through a const field or index (#2956) (023bf52)
  • typechecker: reject tagged enum, string and nil sources in cast, string(), bool() and wide-integer constructors (#2995) (9a09567)
  • typechecker: report an import after a declaration with its own error code (#2959) (7b2faa0)
  • typechecker: type or reject an arrays call whose result derives from an empty literal (#2964) (a4295b2)
  • typechecker: type-check assignments through a map element or an element's field (#2982) (f4269f8)