From c5437c99f2a07a329e2715c31c132a93074b664a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 14:20:12 +0000 Subject: [PATCH] Version Packages --- .changeset/afraid-peaches-heal.md | 5 -- .changeset/big-pugs-wish.md | 5 -- .changeset/bold-drinks-strive.md | 14 ---- .changeset/brown-candles-relax.md | 12 ---- .changeset/clever-spies-shout.md | 11 --- .changeset/empty-jars-double.md | 5 -- .changeset/hip-mugs-sing.md | 5 -- .changeset/open-cameras-sit.md | 17 ----- .changeset/some-views-pick.md | 8 --- .changeset/thin-cats-drop.md | 5 -- packages/accounts/CHANGELOG.md | 12 ++++ packages/accounts/package.json | 2 +- packages/addresses/CHANGELOG.md | 11 +++ packages/addresses/package.json | 2 +- packages/assertions/CHANGELOG.md | 7 ++ packages/assertions/package.json | 2 +- packages/codecs-core/CHANGELOG.md | 7 ++ packages/codecs-core/package.json | 2 +- packages/codecs-data-structures/CHANGELOG.md | 9 +++ packages/codecs-data-structures/package.json | 2 +- packages/codecs-numbers/CHANGELOG.md | 8 +++ packages/codecs-numbers/package.json | 2 +- packages/codecs-strings/CHANGELOG.md | 9 +++ packages/codecs-strings/package.json | 2 +- packages/codecs/CHANGELOG.md | 12 ++++ packages/codecs/package.json | 2 +- packages/compat/CHANGELOG.md | 12 ++++ packages/compat/package.json | 2 +- packages/errors/CHANGELOG.md | 12 ++++ packages/errors/package.json | 2 +- packages/fast-stable-stringify/CHANGELOG.md | 2 + packages/fast-stable-stringify/package.json | 2 +- packages/fixed-points/CHANGELOG.md | 8 +++ packages/fixed-points/package.json | 2 +- packages/functional/CHANGELOG.md | 2 + packages/functional/package.json | 2 +- packages/instruction-plans/CHANGELOG.md | 12 ++++ packages/instruction-plans/package.json | 2 +- packages/instructions/CHANGELOG.md | 8 +++ packages/instructions/package.json | 2 +- packages/keys/CHANGELOG.md | 12 ++++ packages/keys/package.json | 2 +- packages/kit/CHANGELOG.md | 71 +++++++++++++++++++ packages/kit/package.json | 2 +- packages/nominal-types/CHANGELOG.md | 2 + packages/nominal-types/package.json | 2 +- packages/offchain-messages/CHANGELOG.md | 14 ++++ packages/offchain-messages/package.json | 2 +- packages/options/CHANGELOG.md | 11 +++ packages/options/package.json | 2 +- packages/plugin-core/CHANGELOG.md | 6 ++ packages/plugin-core/package.json | 2 +- packages/plugin-interfaces/CHANGELOG.md | 13 ++++ packages/plugin-interfaces/package.json | 2 +- packages/program-client-core/CHANGELOG.md | 15 ++++ packages/program-client-core/package.json | 2 +- packages/programs/CHANGELOG.md | 8 +++ packages/programs/package.json | 2 +- packages/promises/CHANGELOG.md | 2 + packages/promises/package.json | 2 +- packages/react/CHANGELOG.md | 13 ++++ packages/react/package.json | 2 +- packages/rpc-api/CHANGELOG.md | 23 ++++++ packages/rpc-api/package.json | 2 +- packages/rpc-graphql/CHANGELOG.md | 8 +++ packages/rpc-graphql/package.json | 2 +- packages/rpc-parsed-types/CHANGELOG.md | 2 + packages/rpc-parsed-types/package.json | 2 +- packages/rpc-spec-types/CHANGELOG.md | 2 + packages/rpc-spec-types/package.json | 2 +- packages/rpc-spec/CHANGELOG.md | 21 ++++++ packages/rpc-spec/package.json | 2 +- packages/rpc-subscriptions-api/CHANGELOG.md | 13 ++++ packages/rpc-subscriptions-api/package.json | 2 +- .../CHANGELOG.md | 10 +++ .../package.json | 2 +- packages/rpc-subscriptions-spec/CHANGELOG.md | 22 ++++++ packages/rpc-subscriptions-spec/package.json | 2 +- packages/rpc-subscriptions/CHANGELOG.md | 17 +++++ packages/rpc-subscriptions/package.json | 2 +- packages/rpc-transformers/CHANGELOG.md | 11 +++ packages/rpc-transformers/package.json | 2 +- packages/rpc-transport-http/CHANGELOG.md | 9 +++ packages/rpc-transport-http/package.json | 2 +- packages/rpc-types/CHANGELOG.md | 13 ++++ packages/rpc-types/package.json | 2 +- packages/rpc/CHANGELOG.md | 15 ++++ packages/rpc/package.json | 2 +- packages/signers/CHANGELOG.md | 15 ++++ packages/signers/package.json | 2 +- packages/subscribable/CHANGELOG.md | 32 +++++++++ packages/subscribable/package.json | 2 +- packages/sysvars/CHANGELOG.md | 12 ++++ packages/sysvars/package.json | 2 +- .../transaction-confirmation/CHANGELOG.md | 18 +++++ .../transaction-confirmation/package.json | 2 +- packages/transaction-messages/CHANGELOG.md | 15 ++++ packages/transaction-messages/package.json | 2 +- packages/transactions/CHANGELOG.md | 18 +++++ packages/transactions/package.json | 2 +- packages/wallet-account-signer/CHANGELOG.md | 13 ++++ packages/wallet-account-signer/package.json | 2 +- .../webcrypto-ed25519-polyfill/CHANGELOG.md | 2 + .../webcrypto-ed25519-polyfill/package.json | 2 +- 104 files changed, 636 insertions(+), 134 deletions(-) delete mode 100644 .changeset/afraid-peaches-heal.md delete mode 100644 .changeset/big-pugs-wish.md delete mode 100644 .changeset/bold-drinks-strive.md delete mode 100644 .changeset/brown-candles-relax.md delete mode 100644 .changeset/clever-spies-shout.md delete mode 100644 .changeset/empty-jars-double.md delete mode 100644 .changeset/hip-mugs-sing.md delete mode 100644 .changeset/open-cameras-sit.md delete mode 100644 .changeset/some-views-pick.md delete mode 100644 .changeset/thin-cats-drop.md diff --git a/.changeset/afraid-peaches-heal.md b/.changeset/afraid-peaches-heal.md deleted file mode 100644 index dd0b21af4..000000000 --- a/.changeset/afraid-peaches-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/rpc-api': minor ---- - -Add the optional `transactionIndex` field to each element of the `getSignaturesForAddress` response. Agave 4.0 (anza-xyz/agave#9683) included the 0 based transaction index inside the block alongside each returned signature. The field is omitted by older RPC servers, so the new property is optional and existing call sites continue to compile without modification. diff --git a/.changeset/big-pugs-wish.md b/.changeset/big-pugs-wish.md deleted file mode 100644 index ac61a8ead..000000000 --- a/.changeset/big-pugs-wish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/transaction-confirmation': patch ---- - -Fix an abort listener leak in `getTimeoutPromise`. The listener registered on the caller's `AbortSignal` was never removed after the promise settled, which caused listeners to accumulate when the same signal was reused across multiple calls. `getTimeoutPromise` now registers the listener with the auto-cleanup `signal` option already used by the other strategies in this package and releases it in a `finally` block. diff --git a/.changeset/bold-drinks-strive.md b/.changeset/bold-drinks-strive.md deleted file mode 100644 index 5939e4f6b..000000000 --- a/.changeset/bold-drinks-strive.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@solana/rpc-spec': minor -'@solana/kit': minor ---- - -Add a `reactiveStore()` method to `PendingRpcRequest`. It fires the request on construction and synchronously returns a `ReactiveActionStore` that holds the request's `idle`/`running`/`success`/`error` lifecycle state. Compatible with `useSyncExternalStore`, Svelte stores, and other reactive primitives. Call `dispatch()` to re-fire the request (e.g. after an error), or `reset()` to abort the in-flight call and return to idle. - -```ts -const store = rpc.getAccountInfo(address).reactiveStore(); -const state = useSyncExternalStore(store.subscribe, store.getState); -if (state.status === 'error') return ; -if (state.status === 'running' && !state.data) return ; -return ; -``` diff --git a/.changeset/brown-candles-relax.md b/.changeset/brown-candles-relax.md deleted file mode 100644 index 5bd5d49d8..000000000 --- a/.changeset/brown-candles-relax.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@solana/rpc-subscriptions-spec': minor -'@solana/kit': minor ---- - -Add a `reactiveStore()` method to `PendingRpcSubscriptionsRequest`. Unlike `reactive()`, this variant returns a `ReactiveStore` synchronously and supports `retry()` to reconnect after an error. `reactive()` is now `@deprecated` in favour of `reactiveStore()`. - -```ts -const store = rpc.accountNotifications(address).reactiveStore({ abortSignal }); -const state = useSyncExternalStore(store.subscribe, store.getUnifiedState); -if (state.status === 'error') return ; -``` diff --git a/.changeset/clever-spies-shout.md b/.changeset/clever-spies-shout.md deleted file mode 100644 index 7ac70f982..000000000 --- a/.changeset/clever-spies-shout.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@solana/subscribable': minor -'@solana/errors': minor -'@solana/kit': minor ---- - -Add `retry()` and `getUnifiedState()` to `ReactiveStore`. The new `getUnifiedState()` returns a discriminated `{ data, error, status }` snapshot with stable identity, so stores can be passed directly to `useSyncExternalStore` without an intermediate wrapper. `getState()` and `getError()` remain on the type but are now `@deprecated` in favour of the unified snapshot. - -A new `createReactiveStoreFromDataPublisherFactory` function is also introduced. It accepts a `createDataPublisher: () => Promise` factory rather than a ready-made publisher, which lets the store reconnect via `retry()` after an error. The existing `createReactiveStoreFromDataPublisher` is now `@deprecated`; calling `retry()` on a store it produced throws a new `SolanaError` with code `SOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED`. - -`createReactiveStoreWithInitialValueAndSlotTracking` (from `@solana/kit`) now supports `retry()`, which re-sends the RPC request and re-subscribes to the subscription with a fresh abort signal while preserving the last known slot and value. diff --git a/.changeset/empty-jars-double.md b/.changeset/empty-jars-double.md deleted file mode 100644 index ac8d592eb..000000000 --- a/.changeset/empty-jars-double.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/plugin-core': patch ---- - -Flatten the inferred return type of `extendClient` and `withCleanup` so that chained `.use()` calls on a `Client` no longer produce deeply nested `Omit>>` types in editor tooltips and error messages. The inferred shape now displays as a single flat object literal at every step of the chain, while optional (`?`) and `readonly` modifiers, symbol keys, and override semantics are preserved exactly as before. Also exports the new `ExtendedClient` helper type for plugin authors who write their own merging helpers and want the same flattening guarantee. diff --git a/.changeset/hip-mugs-sing.md b/.changeset/hip-mugs-sing.md deleted file mode 100644 index 58050b4d9..000000000 --- a/.changeset/hip-mugs-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/rpc-api': minor ---- - -Added the `clientId` field to the `getClusterNodes` response type, exposing the name of the validator client software advertised by each node. Also marked the `tpu` and `tpuForwards` fields as `@deprecated` in favor of their QUIC equivalents (`tpuQuic` and `tpuForwardsQuic`); validators may report the UDP fields as `null`. diff --git a/.changeset/open-cameras-sit.md b/.changeset/open-cameras-sit.md deleted file mode 100644 index c74365bc4..000000000 --- a/.changeset/open-cameras-sit.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@solana/subscribable': minor -'@solana/kit': minor ---- - -Add framework-agnostic source duck-types for reactive bindings. - -`@solana/subscribable` now exports two new types: - -- `ReactiveStreamSource` — anything with a `reactiveStore({ abortSignal })` method that returns a `ReactiveStreamStore`. `PendingRpcSubscriptionsRequest` satisfies this by design. -- `ReactiveActionSource` — anything with a zero-argument `reactiveStore()` method that returns a `ReactiveActionStore<[], T>`. `PendingRpcRequest` satisfies this by design. - -These let reactive-framework bindings consume a single duck-type instead of naming concrete producer types — and let plugin authors expose their own pending-request objects to those bindings without modification. - -Both source types live in `@solana/subscribable` and are not re-exported from `@solana/kit`, matching the existing convention for their parent `ReactiveStreamStore` / `ReactiveActionStore` types — anyone consuming a source duck-type is already in the reactive-primitives layer and will already be importing the related store types from the same package. - -`@solana/kit` now publicly exports the previously-private `CreateReactiveStoreWithInitialValueAndSlotTrackingConfig` type so non-React consumers (e.g. plugins) can declare function return shapes based on it without taking a dependency on `@solana/react`. diff --git a/.changeset/some-views-pick.md b/.changeset/some-views-pick.md deleted file mode 100644 index 50e1297c4..000000000 --- a/.changeset/some-views-pick.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@solana/subscribable': minor -'@solana/rpc-subscriptions-spec': minor -'@solana/kit': minor -'@solana/errors': minor ---- - -Rename `ReactiveStore` to `ReactiveStreamStore`. The old name remains exported as a deprecated alias and will be removed in a future major release. diff --git a/.changeset/thin-cats-drop.md b/.changeset/thin-cats-drop.md deleted file mode 100644 index ca0512f7a..000000000 --- a/.changeset/thin-cats-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@solana/subscribable': minor ---- - -Added `createReactiveActionStore` — a framework-agnostic state machine that wraps an async function and exposes a `{ dispatch, dispatchAsync, getState, subscribe, reset }` contract compatible with `useSyncExternalStore`, Svelte stores, Vue's `shallowRef`, and similar reactive primitives. `dispatch` is synchronous and fire-and-forget (safe from UI event handlers); `dispatchAsync` returns a promise that resolves to the wrapped function's result and rejects on failure or supersede — use `isAbortError` from `@solana/promises` to filter aborts. Each call creates a fresh `AbortController` and aborts the previous one, so rapid successive dispatches only produce one final state transition — the outcome of the most recent call. diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index cdf3a9f6d..adae1793a 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/accounts +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-spec@6.10.0 + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/rpc-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/accounts/package.json b/packages/accounts/package.json index 78747fec9..72a576354 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@solana/accounts", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for representing, fetching and decoding Solana accounts", "homepage": "https://www.solanakit.com/api#solanaaccounts", "exports": { diff --git a/packages/addresses/CHANGELOG.md b/packages/addresses/CHANGELOG.md index 9cbe1f95d..04f047181 100644 --- a/packages/addresses/CHANGELOG.md +++ b/packages/addresses/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/addresses +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/assertions@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 28bbbff3a..e9d852aa4 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@solana/addresses", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for generating account addresses", "homepage": "https://www.solanakit.com/api#solanaaddresses", "exports": { diff --git a/packages/assertions/CHANGELOG.md b/packages/assertions/CHANGELOG.md index 730797bbd..d8ad5a929 100644 --- a/packages/assertions/CHANGELOG.md +++ b/packages/assertions/CHANGELOG.md @@ -1,5 +1,12 @@ # @solana/assertions +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/assertions/package.json b/packages/assertions/package.json index ca41f839e..cc59c5023 100644 --- a/packages/assertions/package.json +++ b/packages/assertions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/assertions", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK", "homepage": "https://www.solanakit.com/api#solanaassertions", "exports": { diff --git a/packages/codecs-core/CHANGELOG.md b/packages/codecs-core/CHANGELOG.md index e0c594db6..14faa2a70 100644 --- a/packages/codecs-core/CHANGELOG.md +++ b/packages/codecs-core/CHANGELOG.md @@ -1,5 +1,12 @@ # @solana/codecs-core +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/codecs-core/package.json b/packages/codecs-core/package.json index 01dae3a27..ac43d380d 100644 --- a/packages/codecs-core/package.json +++ b/packages/codecs-core/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-core", - "version": "6.9.0", + "version": "6.10.0", "description": "Core types and helpers for encoding and decoding byte arrays on Solana", "homepage": "https://www.solanakit.com/api#solanacodecs-core", "exports": { diff --git a/packages/codecs-data-structures/CHANGELOG.md b/packages/codecs-data-structures/CHANGELOG.md index 81b21d2ea..f8762472b 100644 --- a/packages/codecs-data-structures/CHANGELOG.md +++ b/packages/codecs-data-structures/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/codecs-data-structures +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-numbers@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/codecs-data-structures/package.json b/packages/codecs-data-structures/package.json index ec5f5e548..9d9d897c7 100644 --- a/packages/codecs-data-structures/package.json +++ b/packages/codecs-data-structures/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-data-structures", - "version": "6.9.0", + "version": "6.10.0", "description": "Codecs for various data structures", "homepage": "https://www.solanakit.com/api#solanacodecs-data-structures", "exports": { diff --git a/packages/codecs-numbers/CHANGELOG.md b/packages/codecs-numbers/CHANGELOG.md index 314b4eca2..4cdabce6e 100644 --- a/packages/codecs-numbers/CHANGELOG.md +++ b/packages/codecs-numbers/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/codecs-numbers +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/codecs-numbers/package.json b/packages/codecs-numbers/package.json index 458d29460..330829790 100644 --- a/packages/codecs-numbers/package.json +++ b/packages/codecs-numbers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-numbers", - "version": "6.9.0", + "version": "6.10.0", "description": "Codecs for numbers of different sizes and endianness", "homepage": "https://www.solanakit.com/api#solanacodecs-numbers", "exports": { diff --git a/packages/codecs-strings/CHANGELOG.md b/packages/codecs-strings/CHANGELOG.md index 2f350d8a9..bef29159d 100644 --- a/packages/codecs-strings/CHANGELOG.md +++ b/packages/codecs-strings/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/codecs-strings +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-numbers@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/codecs-strings/package.json b/packages/codecs-strings/package.json index cf30a6205..ffaca0928 100644 --- a/packages/codecs-strings/package.json +++ b/packages/codecs-strings/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs-strings", - "version": "6.9.0", + "version": "6.10.0", "description": "Codecs for strings of different sizes and encodings", "homepage": "https://www.solanakit.com/api#solanacodecs-strings", "exports": { diff --git a/packages/codecs/CHANGELOG.md b/packages/codecs/CHANGELOG.md index 0d5cb4d5b..834793704 100644 --- a/packages/codecs/CHANGELOG.md +++ b/packages/codecs/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/codecs +## 6.10.0 + +### Patch Changes + +- Updated dependencies []: + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/fixed-points@6.10.0 + - @solana/options@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/codecs/package.json b/packages/codecs/package.json index 4c8581bdc..242ce7138 100644 --- a/packages/codecs/package.json +++ b/packages/codecs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/codecs", - "version": "6.9.0", + "version": "6.10.0", "description": "A library for encoding and decoding any data structure", "homepage": "https://www.solanakit.com/api#solanacodecs", "exports": { diff --git a/packages/compat/CHANGELOG.md b/packages/compat/CHANGELOG.md index ced9af4cd..84eac36c6 100644 --- a/packages/compat/CHANGELOG.md +++ b/packages/compat/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/compat +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/instructions@6.10.0 + - @solana/keys@6.10.0 + - @solana/transactions@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/compat/package.json b/packages/compat/package.json index 298cc66a8..8faccb6c8 100644 --- a/packages/compat/package.json +++ b/packages/compat/package.json @@ -1,6 +1,6 @@ { "name": "@solana/compat", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for converting from legacy web3js classes", "homepage": "https://www.solanakit.com/api#solanacompat", "exports": { diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 34fc7d954..b434d8c97 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/errors +## 6.10.0 + +### Minor Changes + +- [#1552](https://github.com/anza-xyz/kit/pull/1552) [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add `retry()` and `getUnifiedState()` to `ReactiveStore`. The new `getUnifiedState()` returns a discriminated `{ data, error, status }` snapshot with stable identity, so stores can be passed directly to `useSyncExternalStore` without an intermediate wrapper. `getState()` and `getError()` remain on the type but are now `@deprecated` in favour of the unified snapshot. + + A new `createReactiveStoreFromDataPublisherFactory` function is also introduced. It accepts a `createDataPublisher: () => Promise` factory rather than a ready-made publisher, which lets the store reconnect via `retry()` after an error. The existing `createReactiveStoreFromDataPublisher` is now `@deprecated`; calling `retry()` on a store it produced throws a new `SolanaError` with code `SOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED`. + + `createReactiveStoreWithInitialValueAndSlotTracking` (from `@solana/kit`) now supports `retry()`, which re-sends the RPC request and re-subscribes to the subscription with a fresh abort signal while preserving the last known slot and value. + +- [#1554](https://github.com/anza-xyz/kit/pull/1554) [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Rename `ReactiveStore` to `ReactiveStreamStore`. The old name remains exported as a deprecated alias and will be removed in a future major release. + ## 6.9.0 ### Minor Changes diff --git a/packages/errors/package.json b/packages/errors/package.json index c12102261..85d26ddd4 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@solana/errors", - "version": "6.9.0", + "version": "6.10.0", "description": "Throw, identify, and decode Solana JavaScript errors", "homepage": "https://www.solanakit.com/api#solanaerrors", "exports": { diff --git a/packages/fast-stable-stringify/CHANGELOG.md b/packages/fast-stable-stringify/CHANGELOG.md index 14cd0f8ec..a4c170cdb 100644 --- a/packages/fast-stable-stringify/CHANGELOG.md +++ b/packages/fast-stable-stringify/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/fast-stable-stringify +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/fast-stable-stringify/package.json b/packages/fast-stable-stringify/package.json index 27fd95522..7445efca4 100644 --- a/packages/fast-stable-stringify/package.json +++ b/packages/fast-stable-stringify/package.json @@ -1,6 +1,6 @@ { "name": "@solana/fast-stable-stringify", - "version": "6.9.0", + "version": "6.10.0", "description": "Deterministic stringification for when performance and bundle size matters", "exports": { "edge-light": { diff --git a/packages/fixed-points/CHANGELOG.md b/packages/fixed-points/CHANGELOG.md index 21f624fec..25433ca73 100644 --- a/packages/fixed-points/CHANGELOG.md +++ b/packages/fixed-points/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/fixed-points +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/fixed-points/package.json b/packages/fixed-points/package.json index 0e4cd81d5..a48554534 100644 --- a/packages/fixed-points/package.json +++ b/packages/fixed-points/package.json @@ -1,6 +1,6 @@ { "name": "@solana/fixed-points", - "version": "6.9.0", + "version": "6.10.0", "description": "Fixed-point number types for JavaScript", "homepage": "https://www.solanakit.com/api#solanafixed-points", "exports": { diff --git a/packages/functional/CHANGELOG.md b/packages/functional/CHANGELOG.md index c93cfe0fc..6a6f04a39 100644 --- a/packages/functional/CHANGELOG.md +++ b/packages/functional/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/functional +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/functional/package.json b/packages/functional/package.json index 5e31d757e..082ce517f 100644 --- a/packages/functional/package.json +++ b/packages/functional/package.json @@ -1,6 +1,6 @@ { "name": "@solana/functional", - "version": "6.9.0", + "version": "6.10.0", "description": "Functional JavaScript helpers", "homepage": "https://www.solanakit.com/api#solanafunctional", "exports": { diff --git a/packages/instruction-plans/CHANGELOG.md b/packages/instruction-plans/CHANGELOG.md index 558e054fe..6174698c7 100644 --- a/packages/instruction-plans/CHANGELOG.md +++ b/packages/instruction-plans/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/instruction-plans +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/instructions@6.10.0 + - @solana/keys@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/instruction-plans/package.json b/packages/instruction-plans/package.json index fee6d41b7..fbdfcc0a9 100644 --- a/packages/instruction-plans/package.json +++ b/packages/instruction-plans/package.json @@ -1,6 +1,6 @@ { "name": "@solana/instruction-plans", - "version": "6.9.0", + "version": "6.10.0", "description": "Construct, plan and execute transactions from multiple instructions.", "homepage": "https://www.solanakit.com/api#solanainstruction-plans", "exports": { diff --git a/packages/instructions/CHANGELOG.md b/packages/instructions/CHANGELOG.md index cfe70c2fb..89ddce8d3 100644 --- a/packages/instructions/CHANGELOG.md +++ b/packages/instructions/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/instructions +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/instructions/package.json b/packages/instructions/package.json index 45b3d7249..d85ade4da 100644 --- a/packages/instructions/package.json +++ b/packages/instructions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/instructions", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for creating transaction instructions", "homepage": "https://www.solanakit.com/api#solanainstructions", "exports": { diff --git a/packages/keys/CHANGELOG.md b/packages/keys/CHANGELOG.md index 2a9ebf892..0e21d4d5e 100644 --- a/packages/keys/CHANGELOG.md +++ b/packages/keys/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/keys +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/assertions@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/nominal-types@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/keys/package.json b/packages/keys/package.json index 72c5322d5..22d1121e2 100644 --- a/packages/keys/package.json +++ b/packages/keys/package.json @@ -1,6 +1,6 @@ { "name": "@solana/keys", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for generating and transforming key material", "homepage": "https://www.solanakit.com/api#solanakeys", "exports": { diff --git a/packages/kit/CHANGELOG.md b/packages/kit/CHANGELOG.md index 16133ac56..4e663f091 100644 --- a/packages/kit/CHANGELOG.md +++ b/packages/kit/CHANGELOG.md @@ -1,5 +1,76 @@ # @solana/kit +## 6.10.0 + +### Minor Changes + +- [#1555](https://github.com/anza-xyz/kit/pull/1555) [`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add a `reactiveStore()` method to `PendingRpcRequest`. It fires the request on construction and synchronously returns a `ReactiveActionStore` that holds the request's `idle`/`running`/`success`/`error` lifecycle state. Compatible with `useSyncExternalStore`, Svelte stores, and other reactive primitives. Call `dispatch()` to re-fire the request (e.g. after an error), or `reset()` to abort the in-flight call and return to idle. + + ```ts + const store = rpc.getAccountInfo(address).reactiveStore(); + const state = useSyncExternalStore(store.subscribe, store.getState); + if (state.status === 'error') return ; + if (state.status === 'running' && !state.data) return ; + return ; + ``` + +- [#1553](https://github.com/anza-xyz/kit/pull/1553) [`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add a `reactiveStore()` method to `PendingRpcSubscriptionsRequest`. Unlike `reactive()`, this variant returns a `ReactiveStore` synchronously and supports `retry()` to reconnect after an error. `reactive()` is now `@deprecated` in favour of `reactiveStore()`. + + ```ts + const store = rpc.accountNotifications(address).reactiveStore({ abortSignal }); + const state = useSyncExternalStore(store.subscribe, store.getUnifiedState); + if (state.status === 'error') return ; + ``` + +- [#1552](https://github.com/anza-xyz/kit/pull/1552) [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add `retry()` and `getUnifiedState()` to `ReactiveStore`. The new `getUnifiedState()` returns a discriminated `{ data, error, status }` snapshot with stable identity, so stores can be passed directly to `useSyncExternalStore` without an intermediate wrapper. `getState()` and `getError()` remain on the type but are now `@deprecated` in favour of the unified snapshot. + + A new `createReactiveStoreFromDataPublisherFactory` function is also introduced. It accepts a `createDataPublisher: () => Promise` factory rather than a ready-made publisher, which lets the store reconnect via `retry()` after an error. The existing `createReactiveStoreFromDataPublisher` is now `@deprecated`; calling `retry()` on a store it produced throws a new `SolanaError` with code `SOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED`. + + `createReactiveStoreWithInitialValueAndSlotTracking` (from `@solana/kit`) now supports `retry()`, which re-sends the RPC request and re-subscribes to the subscription with a fresh abort signal while preserving the last known slot and value. + +- [#1606](https://github.com/anza-xyz/kit/pull/1606) [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add framework-agnostic source duck-types for reactive bindings. + + `@solana/subscribable` now exports two new types: + - `ReactiveStreamSource` — anything with a `reactiveStore({ abortSignal })` method that returns a `ReactiveStreamStore`. `PendingRpcSubscriptionsRequest` satisfies this by design. + - `ReactiveActionSource` — anything with a zero-argument `reactiveStore()` method that returns a `ReactiveActionStore<[], T>`. `PendingRpcRequest` satisfies this by design. + + These let reactive-framework bindings consume a single duck-type instead of naming concrete producer types — and let plugin authors expose their own pending-request objects to those bindings without modification. + + Both source types live in `@solana/subscribable` and are not re-exported from `@solana/kit`, matching the existing convention for their parent `ReactiveStreamStore` / `ReactiveActionStore` types — anyone consuming a source duck-type is already in the reactive-primitives layer and will already be importing the related store types from the same package. + + `@solana/kit` now publicly exports the previously-private `CreateReactiveStoreWithInitialValueAndSlotTrackingConfig` type so non-React consumers (e.g. plugins) can declare function return shapes based on it without taking a dependency on `@solana/react`. + +- [#1554](https://github.com/anza-xyz/kit/pull/1554) [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Rename `ReactiveStore` to `ReactiveStreamStore`. The old name remains exported as a deprecated alias and will be removed in a future major release. + +### Patch Changes + +- Updated dependencies [[`0d5aa7f`](https://github.com/anza-xyz/kit/commit/0d5aa7f23e3dbc42f974484e1212cdca737b8e91), [`953eed6`](https://github.com/anza-xyz/kit/commit/953eed6ef7f54b1fc367b7dfa84a45fd37c9a4bc), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`09e7796`](https://github.com/anza-xyz/kit/commit/09e779660a13899862fdf15a379d750be71e77d5), [`d655bef`](https://github.com/anza-xyz/kit/commit/d655bef59c7ed6c8150802951a0d2d1b0c6b472c), [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65), [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d)]: + - @solana/rpc-api@6.10.0 + - @solana/transaction-confirmation@6.10.0 + - @solana/subscribable@6.10.0 + - @solana/errors@6.10.0 + - @solana/plugin-core@6.10.0 + - @solana/program-client-core@6.10.0 + - @solana/rpc@6.10.0 + - @solana/sysvars@6.10.0 + - @solana/accounts@6.10.0 + - @solana/plugin-interfaces@6.10.0 + - @solana/rpc-subscriptions@6.10.0 + - @solana/addresses@6.10.0 + - @solana/instruction-plans@6.10.0 + - @solana/instructions@6.10.0 + - @solana/keys@6.10.0 + - @solana/offchain-messages@6.10.0 + - @solana/programs@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/signers@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/rpc-parsed-types@6.10.0 + - @solana/codecs@6.10.0 + - @solana/functional@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/kit/package.json b/packages/kit/package.json index bb41f23fe..379a2dea0 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,6 +1,6 @@ { "name": "@solana/kit", - "version": "6.9.0", + "version": "6.10.0", "description": "Solana Javascript API", "homepage": "https://www.solanakit.com", "exports": { diff --git a/packages/nominal-types/CHANGELOG.md b/packages/nominal-types/CHANGELOG.md index e58b75872..cd831097c 100644 --- a/packages/nominal-types/CHANGELOG.md +++ b/packages/nominal-types/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/nominal-types +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/nominal-types/package.json b/packages/nominal-types/package.json index 43880e540..db20bae0a 100644 --- a/packages/nominal-types/package.json +++ b/packages/nominal-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/nominal-types", - "version": "6.9.0", + "version": "6.10.0", "description": "Type utilties for creating nominal/branded types in TypeScript", "homepage": "https://www.solanakit.com/api#solananominal-types", "types": "./dist/types/index.d.ts", diff --git a/packages/offchain-messages/CHANGELOG.md b/packages/offchain-messages/CHANGELOG.md index a6c595c5b..2213906ab 100644 --- a/packages/offchain-messages/CHANGELOG.md +++ b/packages/offchain-messages/CHANGELOG.md @@ -1,5 +1,19 @@ # @solana/offchain-messages +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/keys@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/offchain-messages/package.json b/packages/offchain-messages/package.json index 6f8a97734..82b8cfba3 100644 --- a/packages/offchain-messages/package.json +++ b/packages/offchain-messages/package.json @@ -1,6 +1,6 @@ { "name": "@solana/offchain-messages", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for encoding and decoding messages according to the offchain message specification", "homepage": "https://www.solanakit.com/api#solanaoffchain-messages", "exports": { diff --git a/packages/options/CHANGELOG.md b/packages/options/CHANGELOG.md index b7c4601bb..8bf23b00b 100644 --- a/packages/options/CHANGELOG.md +++ b/packages/options/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/options +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/codecs-strings@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/options/package.json b/packages/options/package.json index 9e5249d8a..096be1fbe 100644 --- a/packages/options/package.json +++ b/packages/options/package.json @@ -1,6 +1,6 @@ { "name": "@solana/options", - "version": "6.9.0", + "version": "6.10.0", "description": "Managing and serializing Rust-like Option types in JavaScript", "homepage": "https://www.solanakit.com/api#solanaoptions", "exports": { diff --git a/packages/plugin-core/CHANGELOG.md b/packages/plugin-core/CHANGELOG.md index 55afe5bd6..08cf598de 100644 --- a/packages/plugin-core/CHANGELOG.md +++ b/packages/plugin-core/CHANGELOG.md @@ -1,5 +1,11 @@ # @solana/plugin-core +## 6.10.0 + +### Patch Changes + +- [#1646](https://github.com/anza-xyz/kit/pull/1646) [`09e7796`](https://github.com/anza-xyz/kit/commit/09e779660a13899862fdf15a379d750be71e77d5) Thanks [@lorisleiva](https://github.com/lorisleiva)! - Flatten the inferred return type of `extendClient` and `withCleanup` so that chained `.use()` calls on a `Client` no longer produce deeply nested `Omit>>` types in editor tooltips and error messages. The inferred shape now displays as a single flat object literal at every step of the chain, while optional (`?`) and `readonly` modifiers, symbol keys, and override semantics are preserved exactly as before. Also exports the new `ExtendedClient` helper type for plugin authors who write their own merging helpers and want the same flattening guarantee. + ## 6.9.0 ### Minor Changes diff --git a/packages/plugin-core/package.json b/packages/plugin-core/package.json index 33a9c998f..be9f40a98 100644 --- a/packages/plugin-core/package.json +++ b/packages/plugin-core/package.json @@ -1,6 +1,6 @@ { "name": "@solana/plugin-core", - "version": "6.9.0", + "version": "6.10.0", "description": "Core helpers for creating and extending Kit clients with plugins", "homepage": "https://www.solanakit.com/api#solanaplugin-core", "exports": { diff --git a/packages/plugin-interfaces/CHANGELOG.md b/packages/plugin-interfaces/CHANGELOG.md index dd02466dd..47d1ec276 100644 --- a/packages/plugin-interfaces/CHANGELOG.md +++ b/packages/plugin-interfaces/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/plugin-interfaces +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825), [`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-spec@6.10.0 + - @solana/rpc-subscriptions-spec@6.10.0 + - @solana/addresses@6.10.0 + - @solana/instruction-plans@6.10.0 + - @solana/keys@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/signers@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/plugin-interfaces/package.json b/packages/plugin-interfaces/package.json index 32ecc44b2..321bfd781 100644 --- a/packages/plugin-interfaces/package.json +++ b/packages/plugin-interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@solana/plugin-interfaces", - "version": "6.9.0", + "version": "6.10.0", "description": "TypeScript interfaces for building pluggable Solana clients", "homepage": "https://www.solanakit.com/api#solanaplugin-interfaces", "types": "./dist/types/index.d.ts", diff --git a/packages/program-client-core/CHANGELOG.md b/packages/program-client-core/CHANGELOG.md index a800e2d86..fa49dce3c 100644 --- a/packages/program-client-core/CHANGELOG.md +++ b/packages/program-client-core/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/program-client-core +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`0d5aa7f`](https://github.com/anza-xyz/kit/commit/0d5aa7f23e3dbc42f974484e1212cdca737b8e91), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`d655bef`](https://github.com/anza-xyz/kit/commit/d655bef59c7ed6c8150802951a0d2d1b0c6b472c), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-api@6.10.0 + - @solana/errors@6.10.0 + - @solana/accounts@6.10.0 + - @solana/plugin-interfaces@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/instruction-plans@6.10.0 + - @solana/instructions@6.10.0 + - @solana/signers@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/program-client-core/package.json b/packages/program-client-core/package.json index 4fb3fa862..ff1dcd88a 100644 --- a/packages/program-client-core/package.json +++ b/packages/program-client-core/package.json @@ -1,6 +1,6 @@ { "name": "@solana/program-client-core", - "version": "6.9.0", + "version": "6.10.0", "description": "Core utilities for building Solana program clients", "homepage": "https://www.solanakit.com/api#solanaprogram-client-core", "exports": { diff --git a/packages/programs/CHANGELOG.md b/packages/programs/CHANGELOG.md index f7eed1ae7..4a0e53ae2 100644 --- a/packages/programs/CHANGELOG.md +++ b/packages/programs/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/programs +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/programs/package.json b/packages/programs/package.json index 69fa20427..859b5f4e6 100644 --- a/packages/programs/package.json +++ b/packages/programs/package.json @@ -1,6 +1,6 @@ { "name": "@solana/programs", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for defining programs and resolving program errors", "homepage": "https://www.solanakit.com/api#solanaprograms", "exports": { diff --git a/packages/promises/CHANGELOG.md b/packages/promises/CHANGELOG.md index b2c956876..667393950 100644 --- a/packages/promises/CHANGELOG.md +++ b/packages/promises/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/promises +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/promises/package.json b/packages/promises/package.json index 863ad9059..c459fc694 100644 --- a/packages/promises/package.json +++ b/packages/promises/package.json @@ -1,6 +1,6 @@ { "name": "@solana/promises", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for using JavaScript promises", "homepage": "https://www.solanakit.com/api#solanapromises", "exports": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9d41ddda0..a6a97d446 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/react +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/keys@6.10.0 + - @solana/signers@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 3061a812b..01d4e655e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@solana/react", - "version": "6.9.0", + "version": "6.10.0", "description": "React hooks for building Solana apps", "homepage": "https://www.solanakit.com/api#solanareact", "exports": { diff --git a/packages/rpc-api/CHANGELOG.md b/packages/rpc-api/CHANGELOG.md index d9721b9d8..85812889c 100644 --- a/packages/rpc-api/CHANGELOG.md +++ b/packages/rpc-api/CHANGELOG.md @@ -1,5 +1,28 @@ # @solana/rpc-api +## 6.10.0 + +### Minor Changes + +- [#1660](https://github.com/anza-xyz/kit/pull/1660) [`0d5aa7f`](https://github.com/anza-xyz/kit/commit/0d5aa7f23e3dbc42f974484e1212cdca737b8e91) Thanks [@kh0ra](https://github.com/kh0ra)! - Add the optional `transactionIndex` field to each element of the `getSignaturesForAddress` response. Agave 4.0 (anza-xyz/agave#9683) included the 0 based transaction index inside the block alongside each returned signature. The field is omitted by older RPC servers, so the new property is optional and existing call sites continue to compile without modification. + +- [#1658](https://github.com/anza-xyz/kit/pull/1658) [`d655bef`](https://github.com/anza-xyz/kit/commit/d655bef59c7ed6c8150802951a0d2d1b0c6b472c) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Added the `clientId` field to the `getClusterNodes` response type, exposing the name of the validator client software advertised by each node. Also marked the `tpu` and `tpuForwards` fields as `@deprecated` in favor of their QUIC equivalents (`tpuQuic` and `tpuForwardsQuic`); validators may report the UDP fields as `null`. + +### Patch Changes + +- Updated dependencies [[`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-spec@6.10.0 + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/keys@6.10.0 + - @solana/rpc-transformers@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/rpc-parsed-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-api/package.json b/packages/rpc-api/package.json index ec3391f40..773701d6a 100644 --- a/packages/rpc-api/package.json +++ b/packages/rpc-api/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-api", - "version": "6.9.0", + "version": "6.10.0", "description": "Defines all default Solana RPC methods as types", "homepage": "https://www.solanakit.com/api#solanarpc-api", "exports": { diff --git a/packages/rpc-graphql/CHANGELOG.md b/packages/rpc-graphql/CHANGELOG.md index 538a43af2..8de7e068e 100644 --- a/packages/rpc-graphql/CHANGELOG.md +++ b/packages/rpc-graphql/CHANGELOG.md @@ -1,5 +1,13 @@ # @solana/rpc-graphql +## 6.10.0 + +### Patch Changes + +- Updated dependencies []: + - @solana/codecs-strings@6.10.0 + - @solana/fast-stable-stringify@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-graphql/package.json b/packages/rpc-graphql/package.json index 3414b34dc..5b43e3698 100644 --- a/packages/rpc-graphql/package.json +++ b/packages/rpc-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-graphql", - "version": "6.9.0", + "version": "6.10.0", "description": "A library for resolving GraphQl query calls to the Solana JSON RPC API", "homepage": "https://www.solanakit.com/api#solanarpc-graphql", "exports": { diff --git a/packages/rpc-parsed-types/CHANGELOG.md b/packages/rpc-parsed-types/CHANGELOG.md index b640d5754..96c84c1e9 100644 --- a/packages/rpc-parsed-types/CHANGELOG.md +++ b/packages/rpc-parsed-types/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/rpc-parsed-types +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-parsed-types/package.json b/packages/rpc-parsed-types/package.json index 6d0fe7680..961eea5b5 100644 --- a/packages/rpc-parsed-types/package.json +++ b/packages/rpc-parsed-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-parsed-types", - "version": "6.9.0", + "version": "6.10.0", "description": "Type definitions for parsed types used in the Solana RPC", "homepage": "https://www.solanakit.com/api#solanarpc-parsed-types", "exports": { diff --git a/packages/rpc-spec-types/CHANGELOG.md b/packages/rpc-spec-types/CHANGELOG.md index 4ce3d951f..e7444e39e 100644 --- a/packages/rpc-spec-types/CHANGELOG.md +++ b/packages/rpc-spec-types/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/rpc-spec-types +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-spec-types/package.json b/packages/rpc-spec-types/package.json index 6a39dcc89..f36d09374 100644 --- a/packages/rpc-spec-types/package.json +++ b/packages/rpc-spec-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-spec-types", - "version": "6.9.0", + "version": "6.10.0", "description": "Shared generic JSON RPC specifications", "homepage": "https://www.solanakit.com/api#solanarpc-spec-types", "exports": { diff --git a/packages/rpc-spec/CHANGELOG.md b/packages/rpc-spec/CHANGELOG.md index ae03acb53..23f62af66 100644 --- a/packages/rpc-spec/CHANGELOG.md +++ b/packages/rpc-spec/CHANGELOG.md @@ -1,5 +1,26 @@ # @solana/rpc-spec +## 6.10.0 + +### Minor Changes + +- [#1555](https://github.com/anza-xyz/kit/pull/1555) [`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add a `reactiveStore()` method to `PendingRpcRequest`. It fires the request on construction and synchronously returns a `ReactiveActionStore` that holds the request's `idle`/`running`/`success`/`error` lifecycle state. Compatible with `useSyncExternalStore`, Svelte stores, and other reactive primitives. Call `dispatch()` to re-fire the request (e.g. after an error), or `reset()` to abort the in-flight call and return to idle. + + ```ts + const store = rpc.getAccountInfo(address).reactiveStore(); + const state = useSyncExternalStore(store.subscribe, store.getState); + if (state.status === 'error') return ; + if (state.status === 'running' && !state.data) return ; + return ; + ``` + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65), [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d)]: + - @solana/subscribable@6.10.0 + - @solana/errors@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-spec/package.json b/packages/rpc-spec/package.json index 79ede825f..f9953bbac 100644 --- a/packages/rpc-spec/package.json +++ b/packages/rpc-spec/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-spec", - "version": "6.9.0", + "version": "6.10.0", "description": "A generic implementation of JSON RPCs using proxies", "homepage": "https://www.solanakit.com/api#solanarpc-spec", "exports": { diff --git a/packages/rpc-subscriptions-api/CHANGELOG.md b/packages/rpc-subscriptions-api/CHANGELOG.md index f9640d1f4..847bc5460 100644 --- a/packages/rpc-subscriptions-api/CHANGELOG.md +++ b/packages/rpc-subscriptions-api/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/rpc-subscriptions-api +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-subscriptions-spec@6.10.0 + - @solana/addresses@6.10.0 + - @solana/keys@6.10.0 + - @solana/rpc-transformers@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-subscriptions-api/package.json b/packages/rpc-subscriptions-api/package.json index 0419732f7..9dc62dfef 100644 --- a/packages/rpc-subscriptions-api/package.json +++ b/packages/rpc-subscriptions-api/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-api", - "version": "6.9.0", + "version": "6.10.0", "description": "Defines all default Solana RPC subscriptions as types", "homepage": "https://www.solanakit.com/api#solanarpc-subscriptions-api", "exports": { diff --git a/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md b/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md index f40ba737e..3c902368b 100644 --- a/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md +++ b/packages/rpc-subscriptions-channel-websocket/CHANGELOG.md @@ -1,5 +1,15 @@ # @solana/rpc-subscriptions-channel-websocket +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65), [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d)]: + - @solana/rpc-subscriptions-spec@6.10.0 + - @solana/subscribable@6.10.0 + - @solana/errors@6.10.0 + - @solana/functional@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-subscriptions-channel-websocket/package.json b/packages/rpc-subscriptions-channel-websocket/package.json index b74e41c8c..abb469079 100644 --- a/packages/rpc-subscriptions-channel-websocket/package.json +++ b/packages/rpc-subscriptions-channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-channel-websocket", - "version": "6.9.0", + "version": "6.10.0", "description": "An RPC Subscriptions transport that uses WebSockets", "homepage": "https://www.solanakit.com/api#solanarpc-subscriptions-channel-websocket", "exports": { diff --git a/packages/rpc-subscriptions-spec/CHANGELOG.md b/packages/rpc-subscriptions-spec/CHANGELOG.md index 9475d1feb..6c0e741ea 100644 --- a/packages/rpc-subscriptions-spec/CHANGELOG.md +++ b/packages/rpc-subscriptions-spec/CHANGELOG.md @@ -1,5 +1,27 @@ # @solana/rpc-subscriptions-spec +## 6.10.0 + +### Minor Changes + +- [#1553](https://github.com/anza-xyz/kit/pull/1553) [`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add a `reactiveStore()` method to `PendingRpcSubscriptionsRequest`. Unlike `reactive()`, this variant returns a `ReactiveStore` synchronously and supports `retry()` to reconnect after an error. `reactive()` is now `@deprecated` in favour of `reactiveStore()`. + + ```ts + const store = rpc.accountNotifications(address).reactiveStore({ abortSignal }); + const state = useSyncExternalStore(store.subscribe, store.getUnifiedState); + if (state.status === 'error') return ; + ``` + +- [#1554](https://github.com/anza-xyz/kit/pull/1554) [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Rename `ReactiveStore` to `ReactiveStreamStore`. The old name remains exported as a deprecated alias and will be removed in a future major release. + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65), [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d)]: + - @solana/subscribable@6.10.0 + - @solana/errors@6.10.0 + - @solana/promises@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-subscriptions-spec/package.json b/packages/rpc-subscriptions-spec/package.json index 9897d6388..bcc710fb9 100644 --- a/packages/rpc-subscriptions-spec/package.json +++ b/packages/rpc-subscriptions-spec/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions-spec", - "version": "6.9.0", + "version": "6.10.0", "description": "A generic implementation of JSON RPC Subscriptions using proxies", "homepage": "https://www.solanakit.com/api#solanarpc-subscriptions-spec", "exports": { diff --git a/packages/rpc-subscriptions/CHANGELOG.md b/packages/rpc-subscriptions/CHANGELOG.md index 4e6d725ec..0bf7f7ac0 100644 --- a/packages/rpc-subscriptions/CHANGELOG.md +++ b/packages/rpc-subscriptions/CHANGELOG.md @@ -1,5 +1,22 @@ # @solana/rpc-subscriptions +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`15b610d`](https://github.com/anza-xyz/kit/commit/15b610deb88ba0a49b8fdab7dec7085ad3f4cb6e), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65), [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d)]: + - @solana/rpc-subscriptions-spec@6.10.0 + - @solana/subscribable@6.10.0 + - @solana/errors@6.10.0 + - @solana/rpc-subscriptions-api@6.10.0 + - @solana/rpc-subscriptions-channel-websocket@6.10.0 + - @solana/rpc-transformers@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/fast-stable-stringify@6.10.0 + - @solana/functional@6.10.0 + - @solana/promises@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-subscriptions/package.json b/packages/rpc-subscriptions/package.json index 6aff20d34..100d9ba01 100644 --- a/packages/rpc-subscriptions/package.json +++ b/packages/rpc-subscriptions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-subscriptions", - "version": "6.9.0", + "version": "6.10.0", "description": "A library for subscribing to Solana RPC notifications", "homepage": "https://www.solanakit.com/api#solanarpc-subscriptions", "exports": { diff --git a/packages/rpc-transformers/CHANGELOG.md b/packages/rpc-transformers/CHANGELOG.md index 7ace0a02f..55cd1393a 100644 --- a/packages/rpc-transformers/CHANGELOG.md +++ b/packages/rpc-transformers/CHANGELOG.md @@ -1,5 +1,16 @@ # @solana/rpc-transformers +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/functional@6.10.0 + - @solana/nominal-types@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-transformers/package.json b/packages/rpc-transformers/package.json index b6fc34ef7..d9d9ce2cf 100644 --- a/packages/rpc-transformers/package.json +++ b/packages/rpc-transformers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-transformers", - "version": "6.9.0", + "version": "6.10.0", "description": "Reusable transformers for patching RPC inputs and outputs", "homepage": "https://www.solanakit.com/api#solanarpc-transformers", "exports": { diff --git a/packages/rpc-transport-http/CHANGELOG.md b/packages/rpc-transport-http/CHANGELOG.md index 4ab08dc84..2aeb7fc63 100644 --- a/packages/rpc-transport-http/CHANGELOG.md +++ b/packages/rpc-transport-http/CHANGELOG.md @@ -1,5 +1,14 @@ # @solana/rpc-transport-http +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-spec@6.10.0 + - @solana/errors@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-transport-http/package.json b/packages/rpc-transport-http/package.json index 4830e60ba..435b42f6e 100644 --- a/packages/rpc-transport-http/package.json +++ b/packages/rpc-transport-http/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-transport-http", - "version": "6.9.0", + "version": "6.10.0", "description": "An RPC transport that uses HTTP requests", "homepage": "https://www.solanakit.com/api#solanarpc-transport-http", "exports": { diff --git a/packages/rpc-types/CHANGELOG.md b/packages/rpc-types/CHANGELOG.md index 3fd799125..1cc09e384 100644 --- a/packages/rpc-types/CHANGELOG.md +++ b/packages/rpc-types/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/rpc-types +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/fixed-points@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc-types/package.json b/packages/rpc-types/package.json index ae26a73c3..ebc4bbedc 100644 --- a/packages/rpc-types/package.json +++ b/packages/rpc-types/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc-types", - "version": "6.9.0", + "version": "6.10.0", "description": "Type definitions for values used in the Solana RPC, and helper functions for working with them", "homepage": "https://www.solanakit.com/api#solanarpc-types", "exports": { diff --git a/packages/rpc/CHANGELOG.md b/packages/rpc/CHANGELOG.md index 8640477bd..2159f8f3c 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/rpc +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`0d5aa7f`](https://github.com/anza-xyz/kit/commit/0d5aa7f23e3dbc42f974484e1212cdca737b8e91), [`5e1644d`](https://github.com/anza-xyz/kit/commit/5e1644db15cfe6828d382041e10bf7e58bd7f825), [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`d655bef`](https://github.com/anza-xyz/kit/commit/d655bef59c7ed6c8150802951a0d2d1b0c6b472c), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/rpc-api@6.10.0 + - @solana/rpc-spec@6.10.0 + - @solana/errors@6.10.0 + - @solana/rpc-transport-http@6.10.0 + - @solana/rpc-transformers@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/fast-stable-stringify@6.10.0 + - @solana/functional@6.10.0 + - @solana/rpc-spec-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 6ae450a2d..6b05eaae1 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,6 +1,6 @@ { "name": "@solana/rpc", - "version": "6.9.0", + "version": "6.10.0", "description": "A library for sending JSON RPC requests to Solana RPCs", "homepage": "https://www.solanakit.com/api#solanarpc", "exports": { diff --git a/packages/signers/CHANGELOG.md b/packages/signers/CHANGELOG.md index 2c0809afa..821fe1a10 100644 --- a/packages/signers/CHANGELOG.md +++ b/packages/signers/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/signers +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/instructions@6.10.0 + - @solana/keys@6.10.0 + - @solana/offchain-messages@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/signers/package.json b/packages/signers/package.json index 083c64ad6..5c50d1602 100644 --- a/packages/signers/package.json +++ b/packages/signers/package.json @@ -1,6 +1,6 @@ { "name": "@solana/signers", - "version": "6.9.0", + "version": "6.10.0", "description": "An abstraction layer over signing messages and transactions in Solana", "homepage": "https://www.solanakit.com/api#solanasigners", "exports": { diff --git a/packages/subscribable/CHANGELOG.md b/packages/subscribable/CHANGELOG.md index 857a72c0d..47a755ae5 100644 --- a/packages/subscribable/CHANGELOG.md +++ b/packages/subscribable/CHANGELOG.md @@ -1,5 +1,37 @@ # @solana/subscribable +## 6.10.0 + +### Minor Changes + +- [#1552](https://github.com/anza-xyz/kit/pull/1552) [`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add `retry()` and `getUnifiedState()` to `ReactiveStore`. The new `getUnifiedState()` returns a discriminated `{ data, error, status }` snapshot with stable identity, so stores can be passed directly to `useSyncExternalStore` without an intermediate wrapper. `getState()` and `getError()` remain on the type but are now `@deprecated` in favour of the unified snapshot. + + A new `createReactiveStoreFromDataPublisherFactory` function is also introduced. It accepts a `createDataPublisher: () => Promise` factory rather than a ready-made publisher, which lets the store reconnect via `retry()` after an error. The existing `createReactiveStoreFromDataPublisher` is now `@deprecated`; calling `retry()` on a store it produced throws a new `SolanaError` with code `SOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED`. + + `createReactiveStoreWithInitialValueAndSlotTracking` (from `@solana/kit`) now supports `retry()`, which re-sends the RPC request and re-subscribes to the subscription with a fresh abort signal while preserving the last known slot and value. + +- [#1606](https://github.com/anza-xyz/kit/pull/1606) [`da868aa`](https://github.com/anza-xyz/kit/commit/da868aafa3aec49dc5984d768c65adb471fb71de) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Add framework-agnostic source duck-types for reactive bindings. + + `@solana/subscribable` now exports two new types: + - `ReactiveStreamSource` — anything with a `reactiveStore({ abortSignal })` method that returns a `ReactiveStreamStore`. `PendingRpcSubscriptionsRequest` satisfies this by design. + - `ReactiveActionSource` — anything with a zero-argument `reactiveStore()` method that returns a `ReactiveActionStore<[], T>`. `PendingRpcRequest` satisfies this by design. + + These let reactive-framework bindings consume a single duck-type instead of naming concrete producer types — and let plugin authors expose their own pending-request objects to those bindings without modification. + + Both source types live in `@solana/subscribable` and are not re-exported from `@solana/kit`, matching the existing convention for their parent `ReactiveStreamStore` / `ReactiveActionStore` types — anyone consuming a source duck-type is already in the reactive-primitives layer and will already be importing the related store types from the same package. + + `@solana/kit` now publicly exports the previously-private `CreateReactiveStoreWithInitialValueAndSlotTrackingConfig` type so non-React consumers (e.g. plugins) can declare function return shapes based on it without taking a dependency on `@solana/react`. + +- [#1554](https://github.com/anza-xyz/kit/pull/1554) [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Rename `ReactiveStore` to `ReactiveStreamStore`. The old name remains exported as a deprecated alias and will be removed in a future major release. + +- [#1550](https://github.com/anza-xyz/kit/pull/1550) [`82a1ac5`](https://github.com/anza-xyz/kit/commit/82a1ac56131ebc2ad43f948feb862172418f8b3d) Thanks [@mcintyre94](https://github.com/mcintyre94)! - Added `createReactiveActionStore` — a framework-agnostic state machine that wraps an async function and exposes a `{ dispatch, dispatchAsync, getState, subscribe, reset }` contract compatible with `useSyncExternalStore`, Svelte stores, Vue's `shallowRef`, and similar reactive primitives. `dispatch` is synchronous and fire-and-forget (safe from UI event handlers); `dispatchAsync` returns a promise that resolves to the wrapped function's result and rejects on failure or supersede — use `isAbortError` from `@solana/promises` to filter aborts. Each call creates a fresh `AbortController` and aborts the previous one, so rapid successive dispatches only produce one final state transition — the outcome of the most recent call. + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/subscribable/package.json b/packages/subscribable/package.json index b25681fa0..458c7a837 100644 --- a/packages/subscribable/package.json +++ b/packages/subscribable/package.json @@ -1,6 +1,6 @@ { "name": "@solana/subscribable", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for creating subscription-based event emitters", "homepage": "https://www.solanakit.com/api#solanasubscribable", "exports": { diff --git a/packages/sysvars/CHANGELOG.md b/packages/sysvars/CHANGELOG.md index fcadb2d34..f61d72312 100644 --- a/packages/sysvars/CHANGELOG.md +++ b/packages/sysvars/CHANGELOG.md @@ -1,5 +1,17 @@ # @solana/sysvars +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/accounts@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/rpc-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/sysvars/package.json b/packages/sysvars/package.json index 514cae042..eeb829fd7 100644 --- a/packages/sysvars/package.json +++ b/packages/sysvars/package.json @@ -1,6 +1,6 @@ { "name": "@solana/sysvars", - "version": "6.9.0", + "version": "6.10.0", "description": "An abstraction layer over signing messages and transactions in Solana", "homepage": "https://www.solanakit.com/api#solanasysvars", "exports": { diff --git a/packages/transaction-confirmation/CHANGELOG.md b/packages/transaction-confirmation/CHANGELOG.md index 567b02401..d8b603483 100644 --- a/packages/transaction-confirmation/CHANGELOG.md +++ b/packages/transaction-confirmation/CHANGELOG.md @@ -1,5 +1,23 @@ # @solana/transaction-confirmation +## 6.10.0 + +### Patch Changes + +- [#1640](https://github.com/anza-xyz/kit/pull/1640) [`953eed6`](https://github.com/anza-xyz/kit/commit/953eed6ef7f54b1fc367b7dfa84a45fd37c9a4bc) Thanks [@kh0ra](https://github.com/kh0ra)! - Fix an abort listener leak in `getTimeoutPromise`. The listener registered on the caller's `AbortSignal` was never removed after the promise settled, which caused listeners to accumulate when the same signal was reused across multiple calls. `getTimeoutPromise` now registers the listener with the auto-cleanup `signal` option already used by the other strategies in this package and releases it in a `finally` block. + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/rpc@6.10.0 + - @solana/rpc-subscriptions@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/keys@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/transaction-confirmation/package.json b/packages/transaction-confirmation/package.json index 5643fa253..36eab59a0 100644 --- a/packages/transaction-confirmation/package.json +++ b/packages/transaction-confirmation/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transaction-confirmation", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for confirming Solana transactions", "homepage": "https://www.solanakit.com/api#solanatransaction-confirmation", "exports": { diff --git a/packages/transaction-messages/CHANGELOG.md b/packages/transaction-messages/CHANGELOG.md index 62a32ec4e..36abcb559 100644 --- a/packages/transaction-messages/CHANGELOG.md +++ b/packages/transaction-messages/CHANGELOG.md @@ -1,5 +1,20 @@ # @solana/transaction-messages +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/instructions@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/functional@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/transaction-messages/package.json b/packages/transaction-messages/package.json index bc482d705..9fddbc8a3 100644 --- a/packages/transaction-messages/package.json +++ b/packages/transaction-messages/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transaction-messages", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for creating transaction messages", "homepage": "https://www.solanakit.com/api#solanatransaction-messages", "exports": { diff --git a/packages/transactions/CHANGELOG.md b/packages/transactions/CHANGELOG.md index bc08c7766..e4033dba3 100644 --- a/packages/transactions/CHANGELOG.md +++ b/packages/transactions/CHANGELOG.md @@ -1,5 +1,23 @@ # @solana/transactions +## 6.10.0 + +### Patch Changes + +- Updated dependencies [[`c318d7f`](https://github.com/anza-xyz/kit/commit/c318d7f2e16fec92859503af41102792be01cece), [`47a785b`](https://github.com/anza-xyz/kit/commit/47a785bdb47f89443cccb69151650974d0f57f65)]: + - @solana/errors@6.10.0 + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/codecs-data-structures@6.10.0 + - @solana/codecs-numbers@6.10.0 + - @solana/codecs-strings@6.10.0 + - @solana/instructions@6.10.0 + - @solana/keys@6.10.0 + - @solana/rpc-types@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/functional@6.10.0 + - @solana/nominal-types@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/transactions/package.json b/packages/transactions/package.json index 707371ff2..a5d5309d6 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -1,6 +1,6 @@ { "name": "@solana/transactions", - "version": "6.9.0", + "version": "6.10.0", "description": "Helpers for creating and serializing transactions", "homepage": "https://www.solanakit.com/api#solanatransactions", "exports": { diff --git a/packages/wallet-account-signer/CHANGELOG.md b/packages/wallet-account-signer/CHANGELOG.md index b0a07bbeb..430283f4e 100644 --- a/packages/wallet-account-signer/CHANGELOG.md +++ b/packages/wallet-account-signer/CHANGELOG.md @@ -1,5 +1,18 @@ # @solana/wallet-account-signer +## 6.10.0 + +### Patch Changes + +- Updated dependencies []: + - @solana/addresses@6.10.0 + - @solana/codecs-core@6.10.0 + - @solana/keys@6.10.0 + - @solana/signers@6.10.0 + - @solana/transaction-messages@6.10.0 + - @solana/transactions@6.10.0 + - @solana/promises@6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/wallet-account-signer/package.json b/packages/wallet-account-signer/package.json index 9db0d0c47..2016aa34e 100644 --- a/packages/wallet-account-signer/package.json +++ b/packages/wallet-account-signer/package.json @@ -1,6 +1,6 @@ { "name": "@solana/wallet-account-signer", - "version": "6.9.0", + "version": "6.10.0", "description": "Utilities for converting from Wallet Standard accounts to Kit Signer objects", "homepage": "https://www.solanakit.com/api#solanawallet-account-signer", "exports": { diff --git a/packages/webcrypto-ed25519-polyfill/CHANGELOG.md b/packages/webcrypto-ed25519-polyfill/CHANGELOG.md index 781766862..5ebd2407e 100644 --- a/packages/webcrypto-ed25519-polyfill/CHANGELOG.md +++ b/packages/webcrypto-ed25519-polyfill/CHANGELOG.md @@ -1,5 +1,7 @@ # @solana/webcrypto-ed25519-polyfill +## 6.10.0 + ## 6.9.0 ### Minor Changes diff --git a/packages/webcrypto-ed25519-polyfill/package.json b/packages/webcrypto-ed25519-polyfill/package.json index 0a358b8f4..d8e34ff62 100644 --- a/packages/webcrypto-ed25519-polyfill/package.json +++ b/packages/webcrypto-ed25519-polyfill/package.json @@ -1,6 +1,6 @@ { "name": "@solana/webcrypto-ed25519-polyfill", - "version": "6.9.0", + "version": "6.10.0", "description": "A polyfill that adds Ed25519 key manipulation capabilities to `SubtleCrypto` in environments where it is not yet supported", "homepage": "https://www.solanakit.com/api#solanawebcrypto-ed25519-polyfill", "exports": {