Skip to content

v1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 02:09
· 4 commits to master since this release
v1.1.0

Security

  • Python — PyPI shows a change of provenance on 1.0.0. Its 25 wheels were uploaded by a
    one-off workflow, pypi-recovery.yml, not by release.yml as every earlier release was.
    release.yml at v1.0.0 calls pypa/gh-action-pypi-publish from inside the Forge's
    publish-pypi composite action, and nested there the action cannot find its own container
    image (the runner leaves github.action_repository empty, actions/runner#2473), so the
    release's PyPI upload failed before sending anything. The recovery workflow uploaded the same
    bytes the v1.0.0 tag run had packed and attested, after the same checks the release runs:
    the inventory, every wheel's build provenance and the release attestation. Only the workflow
    named in the wheels' PEP 740 publish attestations differs, and a tag's workflow cannot be
    replaced, so PyPI flags 1.0.0 (release.yml → pypi-recovery.yml) and will flag the next
    release once more, the other way, when release.yml uploads again (below). Every wheel still
    verifies from the tag:
    gh attestation verify <wheel> --repo SkunkWerkx/HyperCast --source-ref refs/tags/v1.0.0 --predicate-type https://github.com/SkunkWerkx/.github/predicates/release/v1. (Python)

Added

  • Swift's and TypeScript's declarations compare by value. Swift's NumFormat,
    NumStyles, DateFormat, DateOptions and MonthNames are Hashable, hashing what ==
    compares, so they key a Set or a Dictionary. TypeScript's NumFormat, DateFormat,
    DateOptions and MonthNames gain equals(other), true for a value declaring the same
    thing as the core's Eq has it; === is still identity, since JavaScript has no value
    equality to hook. (Swift, TypeScript)

  • A TypeScript binding for Node and Bun, on npm as @skunkwerkx/hypercast. A Node-API
    addon built with napi-rs, the core linked into the .node file, published as eight platform
    packages (@skunkwerkx/hypercast-<platform>, one per RID) that the root package picks
    through optionalDependencies, so nothing compiles at install. Node 22.14 or newer and Bun,
    CommonJS and ESM, text in as a string or a UTF-8 Uint8Array, and every door the other
    bindings have. No door throws: each returns Verdict<T>, { ok: true, value } or { ok: false, fault: { reason, offset, length } }, which narrows on ok; a fault's span is in
    UTF-16 code units for a string and bytes for a Uint8Array, so text.slice(offset, offset + length) is the faulted text either way, and an argument of the wrong type is a malformed
    fault rather than a TypeError. NumFormat.declare and DateFormat.declare answer with a
    Declaration, the format or a refusal with its message. Where no platform package fits
    (--omit=optional, a platform outside the eight) the root falls back to
    @skunkwerkx/hypercast-wasm32-wasip1, the core built for wasm32-wasip1 and run through
    node:wasi, a plain dependency of the root so it is always installed. Big-endian hosts
    (s390x under QEMU) are a printed loss there: the smoke's checks pass and the process then
    never exits, the runtime reading its reference counts host-endian over little-endian wasm
    memory. Bun 1.4.4 cannot load the WebAssembly package and stays on the addon. The Node floor
    is Node-API 10's, ^22.14.0 || >=23.6.0. npm or bun add installs it, and Node runs either.
    (TypeScript)

  • An R binding, as the source package hypercast. A C shim over the core's C ABI,
    reached through .Call, with the core built as a static library from the Rust crates
    vendored into the tarball, so an install needs Rust but no network. Every door is
    vectorised and returns a hypercast_verdict, a data frame with one row per element: ok
    is the discriminant, value (and any exact extras) hold the success, reason, offset
    and length the fault, and the other case's columns are NA. NA in is a missing row,
    never a fault. No door signals a condition for its data; stop() is kept for a caller's
    impossible declaration or argument of the wrong type, as in Python, C# and Java. Spans
    count in what substr() counts in: code points for a character vector, bytes for raw
    vectors and bytes-marked strings. is_ok(), faults() and optional() read a verdict.
    ok describes the core's acceptance, and value = NA on an ok row means R can't represent
    the value: cast_char()'s U+0000, with a code_point column as its exact output, and
    cast_text()'s text with an embedded NUL or over INT_MAX bytes, with raw = TRUE giving the
    exact bytes as a list of raw vectors. R 4.2 or newer. (R)

  • Release plumbing for npm and CRAN. The tag run packs, attests and preserves ten npm
    tarballs (the root package, its optionalDependencies injected at pack time, the eight
    platform packages and the WebAssembly package, whose runtime dependencies are pinned from
    the lockfile) and the R source tarball; the publish dispatch uploads the npm packages
    through Trusted Publishing, platform packages before the root. No job uploads the R
    tarball: it is submitted to CRAN by hand from the preserved bytes. CI builds the addon on
    every RID and runs its suite on Node there, and on Bun, runs the suite on the WebAssembly
    fallback on Linux, macOS and Windows and the consumer scenarios against the packed tarballs
    from a local registry (typescript/consumer-tests/), and runs R CMD check --as-cran on
    linux-x64, linux-arm64, osx-arm64 and win-x64. (repository only)

  • C: one archive per platform on the GitHub Release. hypercast-<version>-<rid>.tar.gz
    (.zip on Windows) for the eight desktop RIDs, android-arm64, android-x64, iOS, the iOS
    simulator, Mac Catalyst on both architectures, and wasi-wasm32 (the Apple mobile and
    WebAssembly ones static only): the generated header, the shared and static libraries
    (Windows adds the DLL's import library), hypercastConfig.cmake for find_package and
    FetchContent, and hypercast.pc for pkg-config, every path relative so an archive works
    wherever it is unpacked. Every door returns its result code and writes either out or the
    fault span; nothing a cast does aborts or longjmps. Packed and attested at the tag from the
    CI run's attested libraries and named in the release attestation; CI builds a consumer
    against each desktop archive through CMake and pkg-config, shared and static, as C99, C11
    and C23, and against the Apple mobile ones on a Mac (an iOS device link, the simulator, Mac
    Catalyst). (C)

  • C++: hypercast.hpp in every C archive. A header-only C++17 binding over the C header,
    linked against the same targets, that never throws: every door is noexcept, the header
    builds with -fno-exceptions, and every cast returns hypercast::Verdict<T>, the value or a
    Fault (reason, byte offset, length), with ok(), value_if()/fault_if(), match,
    visit, std::variant and, under C++23, std::expected<T, Fault>. Declared formats are
    validated by the core itself, so a door never sees a contract violation from one. CI builds
    it as C++17, 20 and 23 with exceptions on and off, and replays the whole corpus through it
    on every desktop archive and the Apple mobile ones. (C++)

  • C# — .NET 10 is supported, on desktop, server and in the browser. The package builds
    net10.0 and net11.0 from one source, and package validation holds their public APIs
    identical. On .NET 10 it covers Windows, Linux (glibc and musl) and macOS, framework-dependent
    and Native AOT, and Blazor WebAssembly; iOS, Mac Catalyst and Android stay .NET 11 and later,
    and a .NET 10 project for any of them stops at build with the new error HYPERCAST003, which
    names the platform. Verdict<T> stays a union on both (the C# 15 compiler builds it for
    net10.0 through internal polyfills of the two types .NET 10's BCL lacks), and gains Match
    and Switch, which take one delegate per case, for consumers on C# 14, where the union
    switch is CS8652 or CS9327. HyperCast.targets moves to build/net10.0/ (and
    buildTransitive/net10.0/), one copy NuGet selects for both frameworks. CI runs the suite and
    the Native AOT smoke test on both frameworks on every desktop and musl leg, and a new
    test-nuget-package job proves from the packed package that a .NET 10 Native AOT publish
    links the core in. (C#)

  • Python: a source distribution. hypercast-<version>.tar.gz now ships with the wheels,
    so where no wheel fits, pip falls back to building from source (Rust 1.89 or newer and a
    C linker); CI proves that build on x86-64 glibc 2.17 and musl. Attested like the wheels.
    (PyPI)

  • Validation: the checked doors, OpenAPI 3.2. A value that casts can still be wrong for the
    field it fills, so every integer, real, decimal and text door now has a checked twin that
    validates the cast value in the same call, in the vocabulary of the OpenAPI 3.2 Schema Object
    (JSON Schema 2020-12): minimum, exclusiveMinimum, maximum, exclusiveMaximum,
    multipleOf and enum for numbers, minLength, maxLength and enum for text. The rules
    are declared in code, never parsed from a schema, built once for one door and checked by the
    core as they are built. Every valid OpenAPI 3.2 declaration is accepted: the four bounds are
    independent keywords (minimum: -180 with exclusiveMaximum: 180 is a longitude), a keyword
    for another type is ignored, as JSON Schema ignores it, and an unsatisfiable schema (crossed
    bounds, an empty enum) declares, so every value then violates it. Only what the spec forbids
    or the core cannot hold is refused, with one of six codes: a multipleOf not above zero, a
    rounding without multipleOf, an extension where it means nothing, a decimal past 96 bits
    or scale 28, an entry that is not UTF-8, a malformed layout. A refused declaration is the
    caller's contract violation, never "no rules". Bounds, steps and numeric enum entries are
    exact decimals and a value is judged on its exact text, never on a float; a real door also
    judges the float it delivers against each bound as it reads that bound, so an exclusive bound
    is never met, by rounding or by the float. Three HyperCast extensions: multipleOf takes a
    rounding, strict (the default: euro cash at 0.05), midpoint (ties to even), floor or
    ceiling (a latitude at 0.000001), and a rounded value comes back flagged adjusted; text
    can be trimmed of Unicode white space first; and a text enum matches under Unicode 17's
    simple case folding unless declared caseSensitive, answering the declared spelling and its
    index (a number among its entries is valid and never matches, in every binding whose types
    can say one). Lengths count code points. pattern is not among the keywords yet: it is
    planned for 1.2, a fast follow as soon as time can be committed to that release. The checked verdict has two arms and two levels: the value,
    or a rejection, which is the door's own fault (the input is not the type) or a Violation
    (it is, and breaks the schema) naming the keyword and the span and carrying the value exactly
    as cast, never rounded; a rounding past what the type holds is a multipleOf violation. Zero
    is delivered without a sign. checked_from_f64 judges a number a parser already holds as a
    double on its shortest round-trip digits, and a plain text door (cast_text) joins the
    others: the input once it is valid UTF-8, untrimmed, and OutOfRange (too_long) past
    4 GiB, which a span can't carry, in the core itself so that no binding narrows it. Five C
    exports (cast_checked, cast_checked_from_f64, cast_constraints_check, cast_text,
    cast_declared_decimal), which with 1.0's 27 and the four detailed exports below make 36;
    a checked export writes out on a violation as on a success. A declaration reads back
    through its keyword names in every binding, its enum too: the entries as passed, in order,
    duplicates kept, absent when none is declared and empty for an empty one, and names its door
    where the type can't (Java's door(), since Constraints<Integer> serves i32, u8 and
    u16). A declaration also hands over the bytes it crosses the C ABI as, for a library that
    passes it on (HyperTabular's plan columns): R's hypercast_constraints() carries them as
    packed and packed_enum, as num_format() carries packed. The C ABI's
    RawConstraints names each bound for its keyword (minimum, maximum, multiple_of,
    exclusive_minimum, exclusive_maximum). Every binding spells the API in its own idiom
    (docs/bindings.md, "Constraints") and replays the same constraint and declaration corpora. (Rust, C#, Java, Swift, Go, Python, Ruby, PHP, TypeScript, R, C, C++)

  • Fault detail: what exactly failed, beside the reason. Every failure can now say which
    rule it broke, from a fixed vocabulary of 32 codes (group_size, digit_expected,
    invalid_utf8, not_finite, too_long, date_field_out_of_range, …; the list and every
    place a door reports each is docs/fault-sites.md). The reason and span are the plain
    door's, unchanged; the detail refines them and has no "other" bucket. Published codes keep
    their numbers and meanings, a minor release may add codes, and every binding keeps an unknown
    code as a value rather than an error. Four C exports reach every door by its Door code
    (Char is 23) and report the detail: cast_detailed, cast_detailed_from_f64,
    cast_checked_detailed and cast_checked_detailed_from_f64, through the new
    RawFaultDetail layout. Rust has detailed:: doors returning a Failure; each binding has
    its detailed doors and detail type in its own idiom (C#'s FaultDetail, Java's
    DetailedCast and FaultDetail, Go's …Detailed doors, TypeScript's castDetailed, R's
    detail column and fault_details(), C++'s hypercast::detailed, and so on). A checked
    door's Violation carries no detail. (Rust, C#, Java, Swift, Go, Python, Ruby, PHP,
    TypeScript, R, C, C++)

  • Date options and month names, all opt-in. A DateOptions declares shapes the date doors
    refuse by default: COMPACT_DATE (20260107 at the date door), SPACE_SEPARATOR (a space
    for the timestamp's T), HOUR_OFFSET (+00, -05), all three as COMMON_FORMS, and a
    two-digit-year pivot (100 to 9999, the last year of the window; 0 is none) for the ordered
    date and date-time doors. A MonthNames vocabulary lets those two doors read a declared
    month name in the month's field (07-Jan-26 with a pivot, 7-Jan-2026 without), matched
    under simple case folding, longest entry first; every month needs an entry, and an entry with
    a digit, /, -, white space or a folded duplicate is refused at declaration. Only the
    detailed doors take them, through the new RawDateOptions layout and a packed vocabulary,
    and both are checked on every call; with neither declared every door reads exactly the shapes
    it read in 1.0. (Rust, C#, Java, Swift, Go, Python, Ruby, PHP, TypeScript, R, C, C++)

  • Rust: a declaration to and from its C ABI form. Constraints::from_raw reads a
    RawConstraints and its packed enum list, refused exactly where check_constraints
    refuses, and Constraints::pack_enum writes the packed list for a declaration built in Rust,
    without allocating: it reports the length it needs, and None only for a list too long to
    size on a 32-bit target. They are for a parser that carries declarations across its own C ABI
    and judges each value with the checked doors, as HyperTabular's will. A text enum entry
    longer than u32::MAX bytes, which the packed form cannot carry and no input can match, is
    now refused as NotHeldByDoor. (Rust)

  • Rust: hypercast::is_white_space(c: char) -> bool. True for exactly the 25 code points
    with Unicode's White_Space property, the set every door below now trims, so a caller that
    holds text outside the doors splits it the way they do. It is a stable Unicode property, not
    a list that will grow. (Rust)

  • corpus/formats.json: declaration vectors, replayed by all twelve replayers. A new vector
    shape holds the 25 white-space code points and the near misses (U+200B, U+FEFF, U+180E,
    U+0000, U+00AD) every binding's predicate or table is held to, each declaration the core
    refuses or accepts with the rule that decides it (length, digit, equal_separators,
    white_space, currency_edge, designator_edge), and day-period designators. The Rust,
    C++, C#, Java, Swift, Go, Python, Ruby (both backends), PHP, TypeScript and R suites each
    build the declaration through their own public API and expect their own refusal idiom, and
    .github/hyper.json's r_corpus lists the file. (Rust, C#, Java, Swift, Go, Python, Ruby,
    PHP, TypeScript, R, C, C++)

  • Every locale bridge that reads platform data is swept over every locale its platform ships. C#'s (every .NET
    culture), Java's (every JDK locale), Swift's (every Locale.availableIdentifiers entry) and
    PHP's (every ICU locale, in the decimal, percent and currency styles, under intl) walk
    the whole list, and Python's from_localeconv walks the locales the machine has. A throwing
    bridge's sweep requires no throw; a dropping bridge's asserts what it leaves undeclared.
    Ruby's from_i18n takes the caller's own hashes, so there is nothing to walk. (C#, Java,
    Swift, PHP, Python)

  • optional reads a checked verdict too. An Empty fault is absent and every other
    rejection, a violation included, passes through: optional_checked in Rust, beside
    optional, Cast.Optional(CheckedVerdict<T>) in C#,
    Cast.optional(CheckedVerdict<T>) in Java (with Cast.optional(Fault<T>), so a call on a
    Fault still compiles), Cast.optional(_: CheckedVerdict<T>) in Swift, and PHP's
    Cast::optional() now taking Checked|Fault|Violation as well. Go gains the helper it
    lacked: Optional(value, fault) for a plain door's pair and OptionalChecked(checked, rejection) for a checked one, each (nil, nil) when absent. (Rust, C#, Java, Swift, Go, PHP)

Changed

  • R: the benchmarks are re-measured for 1.1, and one win is now a loss. The verdict gained
    two detail columns, and every door costs 5 to 11 µs more per 1000 strings and about twice
    the memory. On an
    Apple M6 on 2026-11-13, with 2026-11-01's 1.0.0 figures in parentheses: reals 38.7 µs
    (27.84), still ahead of as.numeric at 41.7; 32-bit integers 32.6 µs (25.58), now 1.1x
    slower than as.integer at 30.6; booleans 25.6 µs (18.25), 2.4x slower than as.logical;
    ISO dates 25 µs (19.93), 96x faster than as.Date; ISO instants 33.8 µs (27.14), 118x
    faster than as.POSIXct (r/README.md, docs/benchmarks.md). (R)

  • The text door checks UTF-8 with SIMD. cast_text, its detailed and checked twins, and
    the text door of every binding built natively validate 64 bytes and more with simdutf8
    0.1.5: NEON on aarch64, AVX2 or SSE 4.2 on x86_64 (detected at run time in core::arch,
    cached in one atomic byte), simd128 on a wasm32 build that has it. Go (its core is the
    wasm32 build, translated), the Blazor archive and the other shipped wasm builds are built
    without simd128, so they keep core::str::from_utf8, as do bare metal, UEFI and every other
    target. Shorter input and every failure take core's check too, so verdicts and fault spans
    are unchanged, byte for byte. simdutf8 is the core's first dependency, taken with its std
    feature off: the core stays no_std, allocation-free and panic-free (only its basic check
    is used, since compat's error path can panic), and the no-panic proof names the check on
    its own. On an Apple M6 on 2026-11-08 (docs/benchmarks.md): 4 KiB of ASCII validates in
    19.8 ns against 60.4 ns, 4,100 bytes of multi-byte text in 247 ns against 1,188 ns, and 64
    bytes 2.1x (ASCII) to 4.8x (multi-byte) faster. Failing input is slower, since the SIMD check
    reads it whole before core finds the span: worst by ratio is a bad first byte, 1.2 ns before
    and 244 ns now on 4,100 bytes of multi-byte text (32 ns on 4 KiB of ASCII); worst in time is
    a bad last byte, 87.5 ns on 4 KiB of ASCII, 45% over core's check of valid text of that
    length. Under 64 bytes the door is within noise. x86_64 is not yet measured. R's
    inst/AUTHORS names simdutf8 and the work it builds on, and its author, the simd-json.rs
    developers and the simdjson authors are copyright holders in Authors@R. (all)

  • NumFormat::DETECT no longer reads a thousandfold value through a symbol's dot or native
    digits.
    Both read wrong silently; exactly three digits after a lone separator is ambiguous, as
    bare 1,234 is. Behaviour change for every 1.x user of detection. A declared currency or percent
    symbol's separator isn't counted: Rs.1,234 under Rs. read 1.234, 1,234 kr. and 1.234 kr.
    under kr. read 1234, and Rs.1.234 read 1234; all are Malformed with the detail
    ambiguous_separator at the separator now, while Rs.1,5 is 1.5 and Rs.1,234,567 1234567.
    Declared native digits count as digits, in every script: ١,٢٣٤ and ١.٢٣٤ read 1.234 and are
    ambiguous_separator now, ١٢,٣٤٥ likewise, and ٠,١٢٣ is 0.123 as 0,123 is. corpus/ pins
    both in Arabic-Indic, Devanagari, Thai, fullwidth and mathematical digits. (all)

  • Two grouping policies: Western, the default, and Indian, declared. Behaviour change for
    every 1.0 user: by the owner's decision the 1.0 C exports' and bindings' 1.0 doors' answers change
    on these inputs, which 1.0 read as numbers. All of them are now Malformed with the detail
    group_size, at the integer, real and decimal doors, checked and detailed, under any group
    separator and the currency one, native digits counted as digits, with no format, under
    INVARIANT and through every constructor:

    • 1,23,456 (123456 in 1.0), and every other shape that isn't groups of three: 1,2,345,
      1,2345,678, 1,234,56,789, 1234,567,890, 1 2 345.
    • A last group that isn't three digits: 12,34 (1234 in 1.0), 1,2 (12), 1,2345, 1,234,56.
    • A lone separator after more than three digits: 1234,567 (1234567 in 1.0), 1234 567.
    • A first group that starts with a zero: 0,125 (125 in 1.0), 00,125, 007,000, 0,125,000,
      -0,125, 0,125.5, 0,000, -0,000.

    1,000, 1,234,567, 10,000 and ungrouped 0125 and 0 read as before, as does 0,5 under
    a comma decimal, and detection still takes 0,785 as a decimal. To read 1,23,456, declare
    Indian: NumFormat::INVARIANT.with_grouping(Grouping::Indian) in Rust, or the
    binding's with_grouping equivalent, which every binding has, as it has the policy on its
    constructor. Indian (2 << 8, 512) reads 1,23,456, 12,34,567 and 1,23,45,678, and refuses
    1,234,567. Western is 0, so a null format, a 1.0 layout and a 1.0 stored format are Western with
    no special handling. Every binding's Invariant and default are Western. Bit 8 (256) is retired
    permanently and never reused, and a future policy takes a new bit from bit 10 up: 256 and 768
    (351 and 863 at default styles) are refused at the first entry point, deserializers included,
    and docs/grouping.md names the few that can't refuse and what stops the value there. PHP's
    unserialize refuses a stored flags holding anything but styles (351, 607, 1119, and -1,
    which 1.0 read as every style), the one place the rule reaches stored 1.0 data, and Go's JSON refuses
    bit 8 and any bit past the policy where it is decoded. Rust's with_grouping takes a Grouping enum,
    so it can't name a bad policy; NumFormat::new and with_separators are 1.0 API and can, and there
    check and validate refuse. The 1.0 exports mask flags to 8 bits, so they can't see these bits,
    and they read Western.

    A numeral already refused can report differently: 0,12 now spans 0 rather than ,12, 0,
    is group_size rather than group_misplaced, and 12,34x is group_size rather than
    unexpected, as 12,34.5 at an integer door is rather than fraction_not_allowed.

    A locale bridge follows the locale's number pattern, never its name: all Indian is Indian,
    anything else Western. ml, mr and or on ICU are Indian, and ta too on every version measured, with a Western
    currency pattern from ICU 79.1, so a Western ₹1,234,567 through them is refused until the column
    declares Western. C#'s current-culture path follows the same
    rule. A locale whose last group isn't three digits can't read its own grouped output, because
    no reading tells it from a misplaced decimal: Toki Pona (tok) on ICU, and on glibc cmn_TW,
    hak_TW, lzh_TW and nan_TW ([4, 0]) and unm_US ([2, 2, 2, 3, 0]). Those are Western and
    refused under a declared format, Invariant or a bridge, never misread. Detect infers by the
    delimiter rule, so a [4, 0] locale's 1,2345 reads there as 1.2345, and the corpus pins it.
    docs/grouping.md, "Parked", has them, what adding one takes, and the measured locale tables.

    corpus/grouping.json holds these shapes under both policies, and every binding replays it.
    Of 1.0's corpus/ rows one moved, {"i32", "12,34"}, from 1234 to Malformed; 1234,567,
    12,34.5 and 1,23,456 with no format, -0,000 with no format and -0.000,00 under a comma
    decimal, rows added during 1.1 under 1.0's rule, moved with it. From 1.0 on an Apple M6, an
    integer door's grouped numeral costs 18% more (i64 1,234,567 6.27 to 7.43 ns) and
    separator detection 14%, a comparison that also holds everything else since 1.0; the real
    door's grouped numeral moved 2.6% and the decimal door's gained 12.6% (docs/benchmarks.md).
    (all)

  • The core credits Unicode. Its case folding is generated from the Unicode Character
    Database, so every package names MIT AND Unicode-3.0 and carries LICENSE-UNICODE where its
    format allows; PHP's release zips and Swift's hold only the library, and the README is their
    notice. R names Unicode, Inc. in Authors@R and inst/AUTHORS. (all bindings)

  • Swift — a Date no longer rounds into the next second. A Date is a double, whose rounding
    carried 9999-12-31T23:59:59.999999999Z into the year 10000. It now stays on the last double
    of its own second. (Swift)

  • The JavaScript toolchain is Bun. Every dependency tree here (typescript/, its browser
    smoke and consumer-test harness, ruby/wasm-smoke/) is locked by bun.lock and installed with
    bun install --frozen-lockfile, and CI, the local loop and Dependabot follow. npm keeps what
    publishing needs: npm pack and npm publish, and the consumer scenarios that install as an
    npm user does. Node still runs the suite, and the packages install from npm with either tool.

  • Every door reads Unicode white space where it read ASCII white space, and the numeric
    doors ignore it around the numeral.
    White space is the 25 code points with Unicode's
    White_Space property (the table the checked text door's trim already used): ASCII, U+0085,
    U+00A0, U+1680, U+2000 to U+200A, U+2028, U+2029, U+202F, U+205F and U+3000. Only a complete,
    valid UTF-8 encoding of one counts, so a lone C2 or an overlong form at an edge is still
    malformed, and a span still indexes the caller's original bytes. Values that were Malformed
    and now read:

    • At the edges of every text door (the eight integers, f32, f64, Decimal, boolean,
      char, UUID, timestamp, Unix counts, Excel serials as text, date, time, date-time and
      duration): "\u00A012", "true\u3000", "\u202F2026-01-07" and the rest of what Excel,
      Word and the web paste. Vertical tab (U+000B), which the ASCII trim left, now trims too, and
      input of nothing but white space is Empty at every door that trims ("\u00A0" alone was
      Malformed).
      cast_char given exactly one character still returns it verbatim, so "\u3000" is
      U+3000, and cast_text is unchanged.
    • Around the numeral at the numeric doors: after a leading sign, before a trailing sign
      or a percent symbol, on either side of a currency symbol and inside accounting
      parentheses, of any kind and any amount, ASCII included: "- 12", "-\u00A012",
      "( 12 )", "12,5\u202F%", and "1\u202F234,56\u00A0€" with U+202F declared as the
      group separator and € as the currency. A space-like group separator not followed by a
      digit is not grouping, just white space, which is how the second U+202F there reads. White
      space between digits is still Malformed unless a space-like group separator is declared,
      and Unix counts and Excel serials as text, which take no NumFormat grammar, are
      edge-trimmed only, so "- 12" stays Malformed there.
    • The space-like group separators stand for each other. Declaring any of an ASCII space,
      U+00A0 or U+202F as the group separator (plain or currency) reads all three in the input,
      mixed if need be, and only those three: U+2007 and U+3000 between digits are still
      Malformed, and a declared group separator that is not space-like stays exact. CLDR and
      ICU declare U+202F for French, Excel and Word write U+00A0, older systems an ASCII space.
    • The day-period gap. Between a time and a trailing AM/PM designator, and after a
      leading one, any run of white space (or none) reads where one optional ASCII space did, so
      3:00\u202FPM, the way ICU 72+, JDK 20+ and Apple platforms format en_US times, is
      15:00. This holds for the English pair and for declared designators alike.
    • Inside a declared currency symbol, an ASCII space, U+00A0 and U+202F match each other,
      one character for one: F CFA declared with U+202F (CLDR's West African CFA franc) reads
      1 000 F CFA written with any of the three. Every other interior character, other white
      space included (U+2009, U+3000), matches exactly, runs are not collapsed and white space
      is never optional.

    Declarations the input could never match are refused, in the core, NumFormat::check and
    DayPeriods::check among them, and in every binding's own validator, each in its own
    refusal idiom (a ValueError, an ArgumentException, an Outcome error, a panic, a
    false, and so on) and with "white space" for "ASCII whitespace" in its message:

    • a sign or percent symbol containing any white space (the refusal covered ASCII white
      space only; U+00A0, U+202F, U+3000, U+0085 and the vertical tab now count);
    • a currency symbol with white space at either edge (it was refused for ASCII white
      space anywhere; inside is now allowed, so F CFA and kr . declare, which the culture
      sweeps showed 23 ICU locales, 32 JDK locales, 23 .NET cultures and 23 Apple locales need);
    • a decimal separator or a currency decimal separator containing any white space
      (", " as a decimal separator, which was accepted and could never match, is now refused;
      group separators, plain and currency, may still be or contain white space);
    • a day-period designator with white space at either edge (ASCII only before; inside is
      still fine, as in a. m.).

    The order of the refusals is unchanged: length, digit and equal-separator rules come first, so
    a declaration breaking two rules still reports the message it did. Python and TypeScript, whose
    doors call the core without re-checking, now check the whole declaration in release builds
    too (it was a debug_assert!), and word the refusal by rule: "must not contain white space"
    for signs, percent and decimal separators, "must not start or end with white space" for
    the currency symbol and designators. Each locale bridge keeps its failure policy (C# and
    Swift leave an undeclarable platform symbol undeclared; Java, PHP, Python and Ruby throw), and
    a before-and-after sweep of C#'s 1,073 cultures, Java's 1,158 JDK locales, Swift's 1,072
    locale identifiers, PHP's 906 ICU locales in three styles and Python's 290 machine locales
    found no locale whose derived format differs from before. In C# and Java the char
    door's out-of-range span over a scalar the platform's character cannot hold is now over the
    input less its white space edges; Swift's own
    isAsciiWhitespace, which counted the vertical tab unlike the core, is gone. In PHP the
    1.0 parity fixtures gain divergences.json: sixteen recorded answers, ten of them
    the CURRENCY samples of de_DE, de_AT, fr_FR, fr_CH, sv_SE, nl_NL, es_ES, pt_BR, ru_RU and
    et_EE (the U+00A0 beside the symbol that 1.0 answered Malformed, now Success), the rest
    the reworded refusals and kr ., which now declares; each names its reason and a stale
    entry fails the suite. C and C++ delegate to the core and gain the refusals with no change
    of their own. Go's committed translated core is regenerated. The cost, measured on an Apple
    M6 against the base (docs/benchmarks.md): input with nothing to trim reads as fast as
    before to within the noise (the slowest case, cast_duration on an ISO string, +8.1% in
    one run and -2.4% in a second), and input with white space at an edge takes about 2 ns
    longer per call, cast_bool on " true\n" going from 1.32 to 3.29 ns (the padded group of
    rust/benches/cast_benchmarks.rs, medians of three runs). (Rust, C#, Java, Swift, Go, Python, Ruby, PHP, TypeScript, R, C,
    C++)

  • The float doors return 0.0 for a negative zero, as Decimal and the integers already
    did.
    -0, (0), -$0.00, -0,00 under declared separators, and an underflow like
    -1e-400 all read to positive zero at cast_f32 and cast_f64, and so does every float
    the checked doors deliver: checked_from_f64(-0.0) at a float door is 0.0, not
    adjusted, since nothing was rounded, and Rust's f32_from_f64 narrows -0.0 and
    -1e-300 to 0.0. The bits change; equality doesn't, and judgement already read both
    zeros as zero. corpus/real.json pins every spelling of zero the doors accept by bits, at
    both widths, and integer.json, decimal.json, typed.json and constraints.json pin
    the same spellings at their doors. (core, every binding)

  • Python — the cp314-cp314t wheel is gone. Each platform ships two wheels where it
    shipped three, cp311-abi3 for CPython 3.11 and newer with the GIL and cp315-abi3.abi3t
    for 3.15 and newer with or without it: 17 wheels a release where 1.0.0 had 25. The
    free-threaded 3.14 wheel proved the GIL-free path, and it was bound to one interpreter
    version, too narrow an ABI to carry. Free-threaded 3.14 now gets no wheel, and pip builds
    the sdist (see Added), which a report-only CI job builds and tests there; free-threaded 3.13
    cannot build it, since PyO3 0.30 refuses free-threaded CPython below 3.14. Free-threading
    starts at 3.15. (Python)

  • Rust — minimum Rust is now 1.89 (was 1.88), the floor the Hyper* crates share (HyperUuid's
    is the floor of current uuid 1.x). Builds from this repository and the Python sdist need
    rustc 1.89. (Rust, Python)

  • The release flow, after its first run. release.yml uploads the wheels as a step of
    its own pypi-publish job again, so their PEP 740 publish attestations name it; the Forge
    commit's step output is revision, which clears CodeQL's
    actions/cache-poisoning/poisonable-step; and pypi-recovery.yml is gone. (repository only)

  • One dispatch prepares and attests, one tag publishes. (repository only)
    prepare-release.yml bumps, dates the CHANGELOG heading, runs the full board, packs every
    registry input, attests each package and the inventory, preserves them for 90 days and
    commits the staging commit; pushing vX.Y.Z at it verifies the preserved bytes, signs the
    release attestation from the tag and publishes to the six registries (the R tarball goes to
    CRAN by hand, from the preserved bytes). A retry is the same
    workflow dispatched at the tag, so the PyPI publisher is release.yml from 1.1.0 on and
    never changes again (1.0.0's wheels went up from a one-off workflow after the tag run's
    upload failed, which PyPI shows as a change of provenance). stage-native-binaries.yml is
    gone; CodeQL runs on the preparation commit inside that run and must leave no open alert
    before the staging commit exists.

  • The pull-request board runs only what the pull request could have broken. The one
    native matrix that built and tested every binding on every host on every push is now one job
    per concern: the Rust core on all seven hosts first, with its export check, then one job per
    host and binding, each binding's suite started only when its tree, the core or the workflows
    changed, after its lint passed once on a Linux arm64 runner. A classifier reads the pull
    request's files and fails closed (an unknown path, an empty list or an API failure runs
    everything), and one aggregate job, pr-board, is the status to read, red when a job failed
    or was skipped while its gate said run. The release-mode board, on dispatch and on the Monday
    schedule, keeps its coverage, and CI also runs the core's suite, corpus included, on
    big-endian s390x under QEMU. (repository only)

  • C# — the iOS and Mac Catalyst smoke test runs on the SDK's defaults. Its Mac Catalyst
    build set Registrar to managed-static, after a Release app on .NET 11's default,
    trimmable-static, aborted before Main, a fault then put down to the SDK. It was the
    test's own: its code touches no Apple API, so the trimmer dropped the platform assembly the
    runtime calls into at startup, and the iOS device build, linked in CI but never run, dropped
    it as well. One UIKit symbol used in a module initializer, as every real app uses UIKit,
    keeps that assembly and puts UIKit back in the native link, so the hand-added UIKit
    framework is gone too. The package is unchanged. (repository only)

  • C# — the benchmarks float to BenchmarkDotNet's prereleases. 0.15.x, the newest
    stable, knows no runtime past .NET 10 and stops in its SDK validation on net11.0; the 0.16
    previews know .NET 11, and the harness takes them (*-*) until 0.16.0 ships stable.
    The in-process toolchain that sidestepped it is gone, so each benchmark runs in its own
    process, BenchmarkDotNet's default; the C# table was measured in-process and stands
    until the harness is run again. (repository only)

  • PHP — breaking: the package is a native extension, installed with PIE. pie install skunkwerkx/hypercast downloads a prebuilt Zend extension, hypercast, built from the core
    with ext-php-rs, from the GitHub Release: 36 zips, PHP 8.3, 8.4 and 8.5, NTS and ZTS (for
    FrankenPHP, Apache's threaded MPMs and thread-safe Windows PHP), on six platforms (Linux x64
    and arm64 on glibc and on musl, macOS arm64, Windows x64), each attested and named in the
    release attestation. On a ZTS PHP it loads from php.ini only: a dl() stops the script
    with a warning naming the extension= line. composer require no longer installs it,
    and no FFI package is kept. ext-ffi, ffi.enable and preloading,
    HYPERCAST_NATIVE_LIBRARY and Cast::isAvailable() are gone; extension_loaded('hypercast')
    is the check. PHP 8.2 is dropped, and Intel macOS has no zip. The classes, methods,
    defaults, verdicts, exceptions and messages are 1.0's otherwise, HyperCast\Interop
    included (its two writers still take an FFI\CData), and arguments are taken as 1.0's
    userland methods took them: weak-mode callers get PHP's coercion, strict callers the same
    TypeErrors. What does differ: a call with too many arguments is an ArgumentCountError
    (1.0 ignored the extras), one with too few is worded as for a built-in function, the classes
    are internal (ReflectionClass::isInternal() is true), and exceptions, warnings and
    deprecations name the caller's file and line; a \NumberFormatter given to a door is
    converted on every call, each symbol and attribute asked once (1.0 asked them all to compare
    with a per-formatter memo), which only a subclass overriding getSymbol() or
    getTextAttribute() can tell; NativePlatform::ridAndLibraryName() reads /proc/self/maps
    itself, so open_basedir no longer applies to it; and -0 is 0.0, as above. Stubs for
    IDEs and PHPStan are in php/stubs/. No PHP binary is left in git: php/src/ is gone.
    After every publish, release.yml has PIE install the release on every platform, minor and
    thread safety. (PHP)

  • Go — one backend: the core translated to Go source, no cgo, no binary in git. The Rust
    core built for wasm32-wasip1 (the module imports nothing) is translated to one Go file by
    wasm2go and committed as go/internal/core/core.go.
    go generate in go/ regenerates it with a pinned rustc (1.99.1, a reproducibility
    constraint) and a 64 KiB guest stack (14x the smallest that passes the suite). CI
    regenerates and diffs it on every push, and prepare-release.yml regenerates it at the
    version. cgo, the thirteen committed archives under go/staticlib/, backend_tinygo.go, the
    iossimulator/maccatalyst and hypercast_local tags, check_go_archives.sh and the core
    freshness check are gone. go get is the whole install, CGO_ENABLED=0 (formerly a compile
    error) is fine, and the module builds for every GOOS and GOARCH Go has (a 23-pair
    cross-compile sweep in CI; iOS and android/amd64 need a C linker only because Go's own
    ports link externally there). The whole suite now runs under TinyGo on wasip1 and under
    stock Go on js/wasm and wasip1/wasm, beside the TinyGo browser page. A door's text is
    copied into the core's memory instead of crossing zero-copy. A text past 65,360 bytes runs on
    a one-off instance, its one allocation, and the new MaxText (2,147,483,647 on a 64-bit
    host) bounds it: a longer text panics as a caller bug. Calls run on a primary instance when
    its lock is free, else on a pooled one. Every door stays at 0 allocations on success, now
    under TinyGo too. On an Apple M6 (2026-11-05, Go 1.27.3, six interleaved runs each), it is
    mixed against the cgo binding: Bool 15.3 against 23.3 ns, I32 40.4 against 42.9; the losses:
    I32 on 12 goroutines 20.4 against 6.8 ns aggregate (3.0x), a rejected cast 1.7x, the date-time
    door with declared periods 1.5x, a declaration of every symbol 1.3x, and 1.1x to 1.2x on the
    grouped integers, Detect, Timestamp, the ISO span door and the plain date-time door. (Go)

  • Go — the core is translated with wasm2go's -unsafe. Against the same wasm translated
    without it, every door is 2% to 37% faster except the contended one, which is level, and no
    door allocates more. Every memory access is still bounds-checked, which
    go/internal/core/bounds_test.go now pins, and the whole suite runs on s390x under QEMU to prove
    the big-endian path. (Go)

  • Java runs on JDK 21. The jar is multi-release: its base reaches the core through JNI,
    from a library built from the core for every platform, and JDK 25+ keeps FFM. The API,
    verdicts and messages are the same on both, with two exceptions: the load failure's message
    names the path's own library, and on JNI an input above 64 KiB is copied into native memory,
    which can throw OutOfMemoryError when native memory is exhausted. A null argument is a
    NullPointerException naming the parameter on both. On JDK 21 the MemorySegment doors and
    interop need --enable-preview in the caller's code. (Java)

  • Swift — the core comes from the GitHub Release, not from git. The root Package.swift
    names two zips by URL and checksum, the static-library artifact bundle and the XCFramework,
    and SwiftPM downloads them and refuses one whose SHA-256 differs; every binary
    committed under swift/ is gone. Nothing changes in a consumer's manifest. In a checkout,
    the bundle is build output: .github/scripts/local-core.sh builds the host's into it, swift test links it, and HYPERCAST_LOCAL_CORE and the Swift core freshness check are gone.
    (Swift)

  • The C header is generated. include/hypercast.h comes from rust/src/ffi.rs's doc
    comments and the #[repr(C)] types its exports take, through cbindgen, and a test fails
    when the committed copy differs; the Swift bundle carries the same file. The hand-written
    header it replaces declared every out, format, periods and fault as void *; this
    one types them (HyperCastRawFault, HyperCastRawNumFormat, HyperCastDecimal, …) and
    carries the format flags and layout sizes (HyperCastNumFormat_ALL,
    HyperCastRawNumFormat_SIZE). The ABI is unchanged. (repository only)

  • A refused cell costs less than it did in 1.0. A cell a numeric door refuses is read by the
    engine, which owns every fault span, and the engine had grown slower since 1.0. Three changes
    take that back: the integer engine gathers a numeral's first nineteen digits in a u64 and
    widens to its checked i128 only for a longer one, a declared symbol is tried against its
    first byte before slices are compared, and a cell with no text returns before the white-space
    scan is called. No verdict or fault span changed. On an Apple M6 on 2026-11-10
    (docs/benchmarks.md, "Refused cells"), against the tree before: 123x at i32 13.1 ns
    from 17.3 (1.0: 14.2), y123 10.0 ns from 12.4 (10.1), an empty cell 0.31 ns from 0.98
    (0.52), and 123z at f64 17.7 ns from 19.9, still 6% slower than 1.0's 16.7. Two numerals
    that read got slower: a grouped i32 3.2% (6.77 to 6.99 ns) and the decimal door's
    $12,345.67 4.2% (9.44 to 9.83 ns). (every package)

Fixed

  • A declaration equals one that declares the same thing, in every binding, as the core's
    Eq has it, where a symbol is its declared bytes, whatever a layout holds past its length.
    Python's NumFormat compared by identity, so a format made twice was unequal to itself; it
    now has == by the core's equality and a hash() of its layout to match. C#'s NumFormat
    and DateFormat compared their backing fields, so a null string, which reads back as empty,
    made an equal declaration unequal; they now compare what they read back. C#'s MonthNames
    compares its packed entries, as Java's, Python's, Go's and Swift's do, so DateOptions
    holding equal vocabularies are equal. Java's records, Go's comparable structs, Ruby's Data
    values, PHP's == over the properties, C++'s operator== and R's identical() already
    compared by value. C++'s NumFormat and DateFormat operator== were declared constexpr
    but could not be used in a constant expression, since the comparison they call was defined
    after them; now they can. (Python, C#, C++)
  • The float doors read a percent correctly rounded. cast_f32 and cast_f64 parsed the
    number and then divided by 100, rounding twice: 1.1% was 0.011000000000000001, and about
    a quarter of the percents with one to three decimals came back one ulp off at either width.
    The point now moves two places left in the text before the one conversion, so 1.1% is
    0.011 and every percent is the float nearest its exact hundredth, through currency,
    parentheses and exponents alike. Affected inputs change by one ulp, and a percent past the
    float's range by a factor under 100 (1e310%) now reads instead of overflowing. The
    Decimal door was already exact. corpus/real.json and corpus/constraints.json pin
    inputs the division got wrong at both widths. (core, every binding)
  • Java — Cast.isAvailable() answers false without a core instead of throwing
    AssertionError. (Java)
  • The static library links without dead-stripping. A plain cc app.c libhypercast.a
    failed with "undefined reference to rust_eh_personality": the core's 128-bit division
    helpers carry an unwind entry naming it, and only the shared library defined it. The
    static library now carries a weak hidden definition, so two Hyper* archives, or a Rust
    program with std's own, link as one. C# Native AOT and Swift dead-strip and never met it.
    (core)
  • The shared library names itself. On macOS its install name is
    @rpath/libhypercast.dylib, not the build machine's path, and on Linux and Android its
    soname is libhypercast.so, so a program linked against it finds it through its rpath or
    the loader's search path. Bindings open it by path and see no difference. (core)
  • C# — a Debug Blazor WebAssembly build loads (the same failure as
    HyperUuid#50). Chromium refused an
    unstripped Debug build's dotnet.native.wasm with "module uses a mix of legacy and new
    exception handling instructions": the package translated the archive's legacy exception
    handling with a wasm-opt pass that rides the SDK's post-link step, and the SDK skips that
    step for an unstripped module. The archive no longer needs translating: it is built with
    -Zbuild-std, on stable Rust with RUSTC_BOOTSTRAP=1 for that one build, for plain wasm,
    so it holds no exception-handling instructions and none of the features .NET 10's toolchain
    rejects (dotnet/runtime#132858), and the package's --translate-to-exnref item is gone. The
    same build is what lets .NET 10 link it, and the archive in the package shrinks from 3.4 MB
    to 414 KB. (C#)
  • Ruby — require "hypercast" is silent under ruby -w. 1.0.0 printed "method
    redefined; discarding old bool" and "previous definition of bool was here" for each of the
    twenty-six doors whenever the Magnus extension loaded, 52 lines on every require with
    warnings on: the Fiddle definitions sat on HyperCast's singleton class, where the extension
    then defined its own. They now live in HyperCast::FiddleBackend, a module HyperCast
    extends, so the extension's definitions go in front of them through the ancestor chain and
    nothing is redefined, as in HyperUuid. Method lookup and both backends' behaviour are
    unchanged; spec/native_backend_spec.rb runs a -w require and requires an empty stderr.
    (ruby)
  • C# — a lone surrogate is Malformed at every string door. The plain doors transcoded
    with Encoding.UTF8, which turns one into U+FFFD, so a door could read it as data (with
    U+FFFD declared as the currency symbol, "\uD800" + "5" cast to 5); they now send the core
    the WTF-8 the checked doors send, so a plain door gives the checked door's verdict and span.
    (C#)
  • Java — a lone surrogate is MALFORMED at every String door. The plain doors encoded
    with getBytes(UTF_8), which turns one into ?, so a door could read it as data (with ?
    declared as the currency symbol, "\uD800" + "5" cast to 5); they now send the core the
    WTF-8 the checked doors send, so a plain door gives the checked door's verdict and span.
    getBytes's bytes are still used when they hold no ?; the look for one costs the longest
    texts a few nanoseconds (Apple M6: Cast.uuid 16.5 ns, was 12.3). (Java)
  • Python — a lone surrogate is MALFORMED at every str door. The plain doors raised
    UnicodeEncodeError for a str with no UTF-8 form; they now send the core its
    surrogatepass encoding, as the checked doors do, so a plain door gives the checked door's
    verdict and span. (Python)
  • Ruby — text that cannot be transcoded to UTF-8 is :malformed at every door. A
    String in another encoding with a lone UTF-16 surrogate, an invalid sequence or a
    character with no Unicode counterpart raised String#encode's Encoding:: error, at the
    checked doors too; each such character now crosses as a byte no UTF-8 decoder accepts, so
    every door judges it malformed at that character, on both backends, and an enum entry
    like it is refused (code 9). So does a character past ASCII in an encoding Ruby has no
    converter to UTF-8 for (EUC-TW). Text in a dummy encoding (UTF-16 or UTF-32 with a
    byte-order mark, ISO-2022-JP, UTF-7) is transcoded whole, each conversion error malformed
    as one character, and its span counts the characters of its UTF-8 form. (Ruby)
  • Ruby — the Magnus backend's format memo survives a compacting collection. It was keyed
    by the format's address: after GC.compact, a NumFormat built at a moved one's old
    address was read as that one (a eurozone format cast "1,234" as 1234). It is keyed by
    object_id now, about 5 ns more per call (Apple M6, Ruby 4.0.9: 82 ns against 77 ns for
    1,234,567 under a declared $). (Ruby)
  • Ruby — the Fiddle backend reads the core's values on a big-endian host. Fault spans,
    the Interop directives (SCALARS, RECORDS) and the day periods and format words handed
    to the core were little-endian where the core reads and writes native order; on s390x
    every fault, every record and every declared format was wrong. NumFormat#packed stays
    little-endian, as Python's is. (Ruby)
  • TypeScript — a lone surrogate is malformed at every string door. The plain doors read
    a string through napi's UTF-8, which on Node and Bun replaces one with U+FFFD (with U+FFFD
    declared as the currency symbol, '\ud800' + '5' cast to 5) and under the WebAssembly
    fallback fuses it with the next code unit into another character; they now read such a
    string as the WTF-8 the checked doors read, so a plain door gives the checked door's
    verdict and span. A non-ASCII string that parses costs about 15 ns more (Apple M6, Node
    26.13, mitata: 340 against 325 ns for castF64('1.234,5 €', euro)); an ASCII one and a
    fault measured level. (TypeScript)
  • Python — a symbol with no UTF-8 form names its field. A lone surrogate in a NumFormat
    symbol or a day-period designator still raises Python's own UnicodeEncodeError, at the same
    position, but its reason now names the field as the other bindings do (currency must be whole code points, not surrogate halves; from_localeconv names the localeconv() key)
    instead of surrogates not allowed. (Python)
  • TypeScript and Ruby — a symbol with no UTF-8 form is refused, never declared. A lone
    surrogate in a NumFormat or DateFormat symbol was read through napi's UTF-8 and
    declared as U+FFFD (Node, Bun) or as the character it fused with (the WebAssembly fallback);
    it is now a refusal naming the field. Ruby's NumFormat symbols and day-period designators
    raised String#encode's Encoding:: error for text in another encoding with no UTF-8 form
    (on Magnus a designator's was already an ArgumentError), and a regexp's "invalid byte
    sequence" for invalid UTF-8; both backends now raise one ArgumentError naming the field.
    (TypeScript, Ruby)
  • The shared and static libraries build on s390x, PowerPC and 32-bit Arm. The no_std
    build's rust_eh_personality stub ended in ret, which those assemblers do not have, so
    cargo cdylib and cargo staticlib stopped there; each architecture now gets its own
    return instruction. (Rust)
  • Java — a MemorySegment past Integer.MAX_VALUE bytes is OUT_OF_RANGE. The doors
    handed it to the core and read its spans back as signed ints, negative past 2 GiB. Every
    door now answers OUT_OF_RANGE with TOO_LONG over (0, Integer.MAX_VALUE) before the core
    reads a byte, the JNI path on JDK 21 to 24 included. (Java)
  • Ruby — a US-ASCII String with a byte past 0x7F is :malformed at that byte. It crossed
    as-is, so the core read whatever UTF-8 its bytes spelled ("a\xC3\xA9" tagged US-ASCII was
    the text "aé"). US-ASCII now crosses as-is only while it is ASCII; past that it transcodes
    like any other encoding, and a byte US-ASCII does not allow is malformed at its character,
    on both backends. Binary (ASCII-8BIT) strings still cross as their bytes. (Ruby)

The full list is in CHANGELOG.md.

Verifying

Every file in this release verifies from the tag alone. One attestation, signed by this
repository's release.yml at v1.1.0, names all 117 of them: every registry
package (NuGet, RubyGems, PyPI, crates.io, Maven Central and npm), a CRAN source tarball, attached below for url:: installs while CRAN reviews it
and submitted to CRAN by hand and the Swift core's HyperCastCore.artifactbundle.zip and HyperCastCoreApple.xcframework.zip, attached below,
and 15 C archives, one per platform, attached below,
and 36 PHP extension zips for PIE, one per platform and PHP minor, attached below. Its predicate is the release inventory attached below.

gh attestation verify <file> --repo SkunkWerkx/HyperCast \
  --source-ref refs/tags/v1.1.0 --predicate-type https://github.com/SkunkWerkx/.github/predicates/release/v1

The Swift zips, the PHP extension zips, the Python wheels and sdist, the Node addons inside the npm platform packages and the archives inside the NuGet package and the
jar also carry build provenance from CI run 43410604417
at commit a74eafc, the parent of the tagged commit, signed by the Forge:

gh attestation verify <file> --repo SkunkWerkx/HyperCast --signer-repo SkunkWerkx/.github --source-digest a74eafc0bb497c25dd5ef5f49638ad1d565e355e

inventory.json lists every file with its size and SHA-256 and, for each file with build
provenance, the commit it was built from and the repository that signed it; it carries
build provenance of its own at the tagged commit. PyPI additionally holds a PEP 740 publish attestation for every wheel and the sdist, and npm a provenance statement for every package, linking it to the
publishing run of this repository's release.yml.