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 2026Releases
latest 5-
0.1.024 Aug 2026Release notes
Open source →- 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]
Release notes
Open source →First stable release. No functional changes to the compression API since
0.1.0-dev.4.- Restored the
code_assetsconstraint to^1.2.0; it had been relaxed to^1.1.0unintentionally and shipped that way in0.1.0-dev.4. - README now states that iOS and Android are validated locally only and are not yet covered by automated CI.
-
0.1.0-dev.424 Aug 2026 pre-releaseRelease notes
Open source →- Moved to Dart SDK 3.13
- Security: bounded
decompress's allocation against an attacker-controlled declared frame size (KMDB finding S-2).decompressnow takes an optionalmaxOutputBytesparameter (defaultdefaultMaxOutputBytes, 64 MiB) and throws the newZstdLimitExceededException— 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.dartpasses an explicit1 << 40cap, 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 nestedtry/finally, matching the structure already used on web. - The web
_mallochelper now throwsZstdExceptionwhen the underlying WASMmallocreturns a null pointer (0), instead of silently proceeding to write at heap offset0on allocation failure.
-
0.1.0-dev.316 Jun 2026 pre-release -
0.1.0-dev.216 Jun 2026 pre-releaseRelease notes
Open source →- Fix
.pubignoreincorrectly excludinglib/src/from the published package. - Declare platform support for Android, iOS, Linux, macOS, Windows, and Web.
- Update
hooksto^2.0.0,native_toolchain_cto^0.19.0,code_assets
to^1.2.0. - Suppress ffigen-generated file warnings from pub.dev static analysis.
Release notes
Open source →Fixes to repair poor pub.dev score:
- Fix
.pubignoreincorrectly excludinglib/src/from the published package. - Declare platform support for Android, iOS, Linux, macOS, Windows, and Web.
- Update
hooksto^2.0.0,native_toolchain_cto^0.19.0,code_assetsto^1.2.0. - Suppress ffigen-generated file warnings from pub.dev static analysis.
- Fix
-
0.1.0-dev.116 Jun 2026 pre-release