What this package is like to depend on
Last release 1 months ago
13 Jul 2026
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
10 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
10 releases · Mar 2023 to Jul 2026
2024
2025
2026
Releases
latest 10-
0.2.013 Jul 2026Release notes
Open source →Full rewrite with a single public entry point (package:bcs/bcs.dart);
implementation moved to lib/src/.Breaking changes:
- Remove the legacy string-based registry API (LegacyBCS,
registerStructType, ...) and the split libraries (bcs_type.dart,
utils.dart, hex.dart, index.dart, consts.dart, ...). - Rename encoding helpers to hexEncode/hexDecode and
base58Encode/base58Decode; drop the Encoding enum and base64 wrappers
(use dart:convert).
Improvements:
- Strictly typed inputs; u64/u128/u256 accept int, BigInt or decimal
String. struct/enumeration accept any Map or object with toJson(). - Stricter, hardened decoding: canonical booleans, bounds-checked reads,
validated enum indexes, ULEB128 capped at u32, vector lengths checked
against remaining input, strict hex parsing, byte-range validation. - BcsWriter grows its buffer geometrically and writes in bulk.
- Strict analyzer modes; requires Dart 3.2+.
Release notes
Open source →Full rewrite of the package as idiomatic Dart. Breaking changes.
- Single public entry point
package:bcs/bcs.dart; implementation moved tolib/src/. - Removed the legacy string-based registry API (
LegacyBCS,registerStructType, ...). - Renamed encoding helpers to
hexEncode/hexDecodeandbase58Encode/base58Decode; removed theEncodingenum and base64 wrappers (usedart:convert). - Strictly typed inputs for primitive types;
u64/u128/u256acceptint,BigIntor decimalString.struct/enumerationaccept anyMapor an object exposingtoJson(). - Stricter decoding: canonical booleans, bounds-checked reads, validated enum indexes.
BcsWritergrows its buffer geometrically and writes byte ranges in bulk; its write methods returnvoid(use cascades for chaining) and theallocateSizeoption is gone.- Enabled strict analyzer modes and additional lints; requires Dart 3.2+.
- Remove the legacy string-based registry API (LegacyBCS,
-
0.1.202 Oct 2025 -
0.1.106 Oct 2024 -
0.1.014 Aug 2024 -
0.0.631 Mar 2024 -
0.0.526 Jan 2024 -
0.0.403 Sep 2023 -
0.0.324 Aug 2023 -
0.0.212 Aug 2023 -
0.0.103 Mar 2023