Skip to content

Track upstream zstd changes after 1.6.0 #42

Open

Description

@zcsizmadia

Upstream items in meta/zstd (formerly facebook/zstd) that affect zstd-native, as of 2026-12-04. zstd-native 0.2.0+zstd.1.6.0 follows v1.6.0 (tagged 2026-11-23); the move from 1.5.7 was tracked in #102. dev is 57 commits past v1.6.0 (head 42aeb1f, 2026-12-04). Most of them are CLI, build and CI work. The library changes since v1.6.0 are:

Nothing merged since v1.6.0 changes compressed output for the parameters zstd-native supports. Check these items when bumping third_party/zstd or before a release.

Legend: fix now = zstd-native bug today · follow = do it in the release that follows upstream · not affected = checked, keep as a regression test · idea = optional · done = handled (PR given).

The previous version of this list (against 1.5.7, as of 2026-11-04) is in this issue's edit history.

0. Settled by v1.6.0 / #102 (kept for reference)

1. Open upstream bugs and behaviour changes

Decoder: libzstd may become stricter (zstd-native must follow)

Rule: anything zstd-native accepts, libzstd must accept. Each of these open PRs makes libzstd reject input that zstd-native accepts today.

Encoder

2. Output changes (decide when the next +zstd.x.y.z is needed)

Open PRs that would change output if merged:

Closed for good: meta/zstd#4605 / #4611 (CRC32C hashes; upstream requires identical output across platforms), meta/zstd#4786, #4675 (superseded by #4946).

3. Spec and documentation

4. Performance work to re-measure or port

zstd-native's numbers are against v1.6.0. dev already has two speedups (below), so C libzstd 1.6.1 will be faster than what BENCHMARK.md measures. The decode lead over 1.6.0 is only 1.01-1.02x (BENCHMARK.md; #111 is closed after #113), so the decoder items come first.

Decoder

Encoder

5. Strictness tests (one-shot vs streaming vs spec)

Activity

  1. added
    area: upstream
    type: tracking
    on Nov 4, 2026
  2. zcsizmadia commented on Nov 5, 2026

    @zcsizmadia
    OwnerAuthor

    Upstream performance candidates (from a survey of meta/zstd PRs, 2026-11-05) are tracked separately: #57 (tzcnt, from #4888), #58 (prefetch, #3828), #59 (fused FSE build, #4836), #60 (short-offset SIMD copies, #4718), #61 (row finder, #4841/#4867), #62 (dfast/fast dict and streaming, #4764/#4865/#4866), #63 (AArch64), #64 (APX, #4888, parked), #65 (opt-in non-byte-identical mode).

  3. zcsizmadia commented on Nov 30, 2026

    @zcsizmadia
    OwnerAuthor

    libzstd v1.6.0 is out (2026-11-23, CVE-2026-124851). Plan to follow it and per-change review: #102.

  4. changed the title [-]Track upstream zstd changes after 1.5.7[/-] [+]Track upstream zstd changes after 1.6.0[/+] on Dec 4, 2026
  5. zcsizmadia commented on Dec 4, 2026

    @zcsizmadia
    OwnerAuthor

    Refreshed for v1.6.0 (2026-12-04). The title now says "after 1.6.0", and the old 1.5.7 list is in the edit history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: upstreamtype: tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions