Skip to content

jview v0.20.1

Choose a tag to compare

@github-actions github-actions released this 16 Jul 02:29
d2418ba

jview 0.20.1 — smarter map detection in the type overlay.

✨ Improvements

  • Maps are now detected by key shape, not just values — and key types are
    inferred.
    Previously a small numeric-keyed dictionary like
    {"8960": [...], "8970": [...]} was treated as a record, and when such a map sat
    inside many records, merging exploded every key into 6550?: number[] // 0%
    noise. Now, if most keys aren't identifiers (numeric, delimited like DNSE|STOCK,
    dotted, …) and the values are homogeneous, it's a map regardless of entry count —
    while a small record with real field names ({x, y, z}) stays a record. The key
    type is inferred too: Record<number, T> when every sampled key is numeric, else
    Record<string, T>. A numeric-keyed map nested in thousands of records now
    collapses to a single Record<number, number[]> on merge.

📦 Install

Prebuilt binaries for Linux (x86_64/arm64), macOS (Intel/Apple Silicon), and
Windows are attached below. Or cargo binstall jview / cargo install jview.