PackageTrack
Sign in Get early access

betto_zstd

A Zstandard (Zstd) compression library for Dart. Supports native platforms via FFI and the web platform via an Emscripten-compiled WASM module.

0.1.0 bettongia/zstd

What this package is like to depend on

Last release today

24 Aug 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 1 of 1 stable releases

Nothing withdrawn

no release was ever pulled

2 months old

5 releases · first in 2026

5 releases in the last 12 months

see the full history below

Release timeline

5 releases · Jun 2026 to Aug 2026
Release Pre-release

Releases

latest 5
  1. 0.1.0 24 Aug 2026
    Release notes
    • Bump the version to 0.1.0 and open its CHANGELOG section
    • Restore code_assets to ^1.2.0 (unintentionally relaxed to ^1.1.0 in
      d6c67a7 and shipped that way in 0.1.0-dev.4)
    • Document in the README that iOS and Android are validated locally only and
      are not yet covered by automated CI — the one caveat the 0.1.0-dev.1
      release review placed on a public pub.dev publish

    Co-Authored-By: Claude Opus 5 [email protected]

    Open source →
    Release notes

    First stable release. No functional changes to the compression API since 0.1.0-dev.4.

    • Restored the code_assets constraint to ^1.2.0; it had been relaxed to ^1.1.0 unintentionally and shipped that way in 0.1.0-dev.4.
    • README now states that iOS and Android are validated locally only and are not yet covered by automated CI.
    Open source →
  2. 0.1.0-dev.4 24 Aug 2026 pre-release
    Release notes
    • Moved to Dart SDK 3.13
    • Security: bounded decompress's allocation against an attacker-controlled declared frame size (KMDB finding S-2). decompress now takes an optional maxOutputBytes parameter (default defaultMaxOutputBytes, 64 MiB) and throws the new ZstdLimitExceededException — before allocating anything for the declared size — when a frame's declared decompressed size is negative or exceeds the limit. There is no unbounded/opt-out mode; callers that need to decompress something larger pass a larger explicit value. bin/dartz.dart passes an explicit 1 << 40 cap, since a locally-selected file is trusted input.
    • Fixed a native allocation-ordering leak in compress: a failure allocating the destination buffer could previously leak the already-allocated source buffer (KMDB finding F-1). Each allocation is now guarded by its own nested try/finally, matching the structure already used on web.
    • The web _malloc helper now throws ZstdException when the underlying WASM malloc returns a null pointer (0), instead of silently proceeding to write at heap offset 0 on allocation failure.
    Open source →
  3. 0.1.0-dev.3 16 Jun 2026 pre-release
    Release notes

    Further publishing fixes

    Open source →
    Release notes

    Minor fix to .pubignore as publishing needed the third_party/ dir

    Open source →
  4. 0.1.0-dev.2 16 Jun 2026 pre-release
    Release notes
    • Fix .pubignore incorrectly excluding lib/src/ from the published package.
    • Declare platform support for Android, iOS, Linux, macOS, Windows, and Web.
    • Update hooks to ^2.0.0, native_toolchain_c to ^0.19.0, code_assets
      to ^1.2.0.
    • Suppress ffigen-generated file warnings from pub.dev static analysis.
    Open source →
    Release notes

    Fixes to repair poor pub.dev score:

    • Fix .pubignore incorrectly excluding lib/src/ from the published package.
    • Declare platform support for Android, iOS, Linux, macOS, Windows, and Web.
    • Update hooks to ^2.0.0, native_toolchain_c to ^0.19.0, code_assets to ^1.2.0.
    • Suppress ffigen-generated file warnings from pub.dev static analysis.
    Open source →
  5. 0.1.0-dev.1 16 Jun 2026 pre-release
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive