solana_kit_jupiter 0.10.0
solana_kit_jupiter: ^0.10.0 copied to clipboard
Jupiter Exchange client for Solana Kit Dart — Swap API v2 (order/execute and raw build), Price v3, and Token v2 APIs.
Changelog #
All notable changes to this project will be documented in this file.
This changelog is managed by monochange.
0.10.0 - 2026-09-21 #
Breaking changes #
Raise the Dart and Flutter baseline
The workspace now builds against Dart 3.13.3 and Flutter 3.47.4, and every package declares that floor instead of the previous Dart 3.12 range. Consumers on older SDKs can no longer resolve these packages, so this release is breaking even though no Dart API changed.
The Flutter floor rises from 3.44 to 3.47 for solana_kit_mobile_wallet_adapter, solana_kit_mobile_wallet_adapter_protocol, and solana_kit_wallet_adapter, matching the floor solana_kit_wallet_ui already required. solana_kit_lints ships the raised floor to consumers, so it carries the same breaking bump. Every other package raises only the Dart SDK floor.
Raising the language version also switches dart format to the tall style, so 83 files across library, test, script, and Codama-generated trees are reflowed. The renderer pipes generated output through dart format, so regenerating stays consistent.
Align your own SDK constraint with the workspace:
environment:
sdk: ^3.13.0
# Omit for pure Dart packages; required for the Flutter packages above.
flutter: ">=3.47.0"
Owner: Ifiok Jr. · Introduced in: 5f5fe01 · Last updated in: 19932db
Fixes #
Restore complete version inventories in package READMEs
The versions.json data source that renders every package README's installation section had drifted: packages first released after the legacy knope era were never added, so their READMEs told consumers to depend on a bare ^ with no version. The retired solana_kit_functional entry and a stale solana_kit_mobile_wallet_adapter_example version were also lingering.
The inventory now matches every package's pubspec.yaml, the solana_kit_functional key is gone, and the affected installation sections render the real published version again:
dependencies:
"solana_kit_jupiter": ^0.9.3
Owner: Ifiok Jr. · Introduced in: 4c8855b
0.9.3 - 2026-09-12 #
Changed #
- No package-specific changes were recorded;
solana_kit_jupiterwas updated to 0.9.3 as part of groupmain.
0.9.2 - 2026-09-06 #
🐛 Fixed #
Secure Jupiter transport and repair Swap v2 and Token v2 flows
Require HTTPS by default, reject credentials embedded in base URLs, and disable HTTP redirects so API keys and signed transactions cannot be forwarded to another origin. Explicitly trusted development endpoints can opt into HTTP with allowInsecureHttp.
Send the documented managed-execution payload, require an order request ID, expose execution status and result codes, and support the taker required to assemble swaps. Preserve Swap v2 lookup tables, additional and tip instructions, and blockhash metadata. Correct token-tag queries and category/interval paths, validate category inputs, and reject malformed price responses instead of treating them as empty markets.
0.9.1 - 2026-08-30 #
🐛 Fixed #
Fix publish validation for ecosystem packages
Declare the meta and solana_kit_accounts dependencies that the generated Squads and mpl-token-metadata clients import, so dart pub publish validation passes, and normalize readme.md to README.md across the ecosystem packages to satisfy the pub README requirement.
Owner: Ifiok Jr. · Introduced in: a53391f
0.9.0 - 2026-08-30 #
💥 Breaking Change #
Add the Jupiter Exchange client
Add the Jupiter Exchange client package: Swap API v2 (/order, /execute, /build), Price API v3, Token API v2, base64 transaction decoding, an injectable HTTP transport, and keyless or x-api-key authentication on https://api.jup.ag.
final jupiter = createJupiterClient(JupiterConfig(apiKey: 'key'));
final order = await jupiter.swap.getOrder(
JupiterOrderRequest(
inputMint: sol,
outputMint: usdc,
amount: BigInt.from(10000000),
),
);