solana_kit_errors 0.5.0 copy "solana_kit_errors: ^0.5.0" to clipboard
solana_kit_errors: ^0.5.0 copied to clipboard

Error codes and SolanaError class for the Solana Kit Dart SDK.

Changelog #

All notable changes to this project will be documented in this file.

This changelog is managed by monochange.

0.5.0 - 2026-06-01 #

💥 Breaking Change #

Raise minimum Dart SDK to 3.12

Raise the minimum supported Dart SDK constraint to ^3.12.0 across public Dart packages.

This is a breaking change because consumers must use Dart 3.12 or newer. Flutter consumers must use a Flutter SDK that bundles Dart 3.12 or newer.

environment:
  sdk: ^3.12.0

Owner: Ifiok Jr. · Introduced in: 32d5d36

🧪 Testing #

Improve test coverage to 95%+ across all packages

Added 500+ tests covering equality/hashCode/toString, codec edge cases, error paths, and constructor variants. Removed dead code in fast_stable_stringify. Fixed concurrent modification bug in subscribable.

Owner: Ifiok Jr. · Introduced in: 48216f9 · Last updated in: b7f5419

0.4.0 - 2026-05-30 #

🚀 Feature #

Convert SolanaErrorCode to Dart enum

Convert SolanaErrorCode from a static-int abstract class…

Convert SolanaErrorCode from a static-int abstract class to a Dart enum with a numeric value field, enabling exhaustive switches, type safety, and cleaner API usage.

Owner: Ifiok Jr. · Introduced in: 29e8823 · Last updated in: 0ee3d60

📝 Changed #

Restructure release groups

Move program-specific and domain-specific packages out of the main release group into standalone release schedules with independent versioning. Core SDK packages remain synchronized in the main group.

Owner: Ifiok Jr. · Introduced in: fccec7f · Last updated in: 93b3cd3

🐛 Fixed #

Add per-package coverage badges

Add codecov flags and per-package coverage badges to all package READMEs.

Owner: Ifiok Jr. · Introduced in: bed1b1f · Last updated in: 93b3cd3

Add upstream 6.9 Solana error codes

Add upstream 6.9 Solana error codes and messages for transaction account/instruction limit failures, invalid v1 config masks and config value kinds, filesystem write failures, and JSON-RPC errors with BigInt-compatible codes.

Owner: Ifiok Jr. · Introduced in: 9ee2e44 · Last updated in: 0ee3d60

Add downstream error codes

Add Solana error codes and messages for downstream…

Add Solana error codes and messages for downstream package features: fixed-point arithmetic (fixedPoints*), wallet connectivity (wallet*), UTF-8 null-character validation (codecsStringContainsNullCharacters), and key-pair grinding/filesystem helpers (keysInvalidBase58InGrindRegex, keysWriteKeyPairUnsupportedEnvironment).

Owner: Ifiok Jr. · Introduced in: 6fd8642 · Last updated in: 0ee3d60

Document upstream error-code typo

Document the upstream error-code typo for…

Document the upstream error-code typo for accountsOneOrMoreAccountsNotFound (32300001) in codes.dart.

Owner: Ifiok Jr. · Introduced in: 29e8823 · Last updated in: 0ee3d60

Add standardized error construction helpers

Add shared Solana error construction helpers and context…

Add shared Solana error construction helpers and context key conventions, then migrate representative account, RPC, and Helius call sites to preserve structured cause metadata more consistently.

Owner: Ifiok Jr. · Introduced in: 63778e5 · Last updated in: 0ee3d60

0
likes
160
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Error codes and SolanaError class for the Solana Kit Dart SDK.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on solana_kit_errors