solana_kit_rpc_subscriptions_api 0.5.0
solana_kit_rpc_subscriptions_api: ^0.5.0 copied to clipboard
Subscription method definitions 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
0.4.0 - 2026-05-30 #
π₯ Breaking Change #
Replace string encodings with typed enums
Replace string encoding fields with typed enums inβ¦
Replace string encoding fields with typed enums in subscription notification config classes.
The encoding field on AccountNotificationsConfig, BlockNotificationsConfig, and ProgramNotificationsConfig has been changed from String? to AccountEncoding? or TransactionEncoding? respectively. This is a breaking change: callers that previously passed raw strings like 'base64' or 'jsonParsed' must now use the corresponding enum values such as AccountEncoding.base64 or AccountEncoding.jsonParsed.
This aligns the subscriptions API with the same encoding-enum migration applied to the RPC request API, ensuring consistent type safety across both surfaces. The wire format is unchanged β the enums serialize to the same JSON strings β so no server-side compatibility is affected.
Migration example:
// Before
AccountNotificationsConfig(encoding: 'base64')
// After
AccountNotificationsConfig(encoding: AccountEncoding.base64)
Owner: Ifiok Jr. Β· Introduced in: 6fd8642 Β· 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