Version Packages#30
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
25f8953 to
cd427fd
Compare
ca64a12 to
9bb5c5b
Compare
d68f5fd to
771771b
Compare
8eb87ad to
12984bd
Compare
09bdacd to
25ec11c
Compare
f5893b8 to
5f1c4f3
Compare
bff167a to
f25f077
Compare
65edaf5 to
b980e8e
Compare
2d21a8c to
b793976
Compare
fa22cb8 to
6ab6b95
Compare
c07c5ce to
080ad1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@solana/errors@6.10.0
Minor Changes
#1552
c318d7fThanks @mcintyre94! - Addretry()andgetUnifiedState()toReactiveStore. The newgetUnifiedState()returns a discriminated{ data, error, status }snapshot with stable identity, so stores can be passed directly touseSyncExternalStorewithout an intermediate wrapper.getState()andgetError()remain on the type but are now@deprecatedin favour of the unified snapshot.A new
createReactiveStoreFromDataPublisherFactoryfunction is also introduced. It accepts acreateDataPublisher: () => Promise<DataPublisher>factory rather than a ready-made publisher, which lets the store reconnect viaretry()after an error. The existingcreateReactiveStoreFromDataPublisheris now@deprecated; callingretry()on a store it produced throws a newSolanaErrorwith codeSOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED.createReactiveStoreWithInitialValueAndSlotTracking(from@solana/kit) now supportsretry(), 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
47a785bThanks @mcintyre94! - RenameReactiveStore<T>toReactiveStreamStore<T>. The old name remains exported as a deprecated alias and will be removed in a future major release.Patch Changes
#1681
6b499eeThanks @brooksprumo! - Add FILTER_TRANSACTION_NOT_FOUND error#1679
74b8d3dThanks @brooksprumo! - Add NO_SLOT_HISTORY error@solana/kit@6.10.0
Minor Changes
#1555
5e1644dThanks @mcintyre94! - Add areactiveStore()method toPendingRpcRequest. It fires the request on construction and synchronously returns aReactiveActionStorethat holds the request'sidle/running/success/errorlifecycle state. Compatible withuseSyncExternalStore, Svelte stores, and other reactive primitives. Calldispatch()to re-fire the request (e.g. after an error), orreset()to abort the in-flight call and return to idle.#1553
15b610dThanks @mcintyre94! - Add areactiveStore()method toPendingRpcSubscriptionsRequest. Unlikereactive(), this variant returns aReactiveStoresynchronously and supportsretry()to reconnect after an error.reactive()is now@deprecatedin favour ofreactiveStore().#1552
c318d7fThanks @mcintyre94! - Addretry()andgetUnifiedState()toReactiveStore. The newgetUnifiedState()returns a discriminated{ data, error, status }snapshot with stable identity, so stores can be passed directly touseSyncExternalStorewithout an intermediate wrapper.getState()andgetError()remain on the type but are now@deprecatedin favour of the unified snapshot.A new
createReactiveStoreFromDataPublisherFactoryfunction is also introduced. It accepts acreateDataPublisher: () => Promise<DataPublisher>factory rather than a ready-made publisher, which lets the store reconnect viaretry()after an error. The existingcreateReactiveStoreFromDataPublisheris now@deprecated; callingretry()on a store it produced throws a newSolanaErrorwith codeSOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED.createReactiveStoreWithInitialValueAndSlotTracking(from@solana/kit) now supportsretry(), 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
da868aaThanks @mcintyre94! - Add framework-agnostic source duck-types for reactive bindings.@solana/subscribablenow exports two new types:ReactiveStreamSource<T>— anything with areactiveStore({ abortSignal })method that returns aReactiveStreamStore<T>.PendingRpcSubscriptionsRequest<T>satisfies this by design.ReactiveActionSource<T>— anything with a zero-argumentreactiveStore()method that returns aReactiveActionStore<[], T>.PendingRpcRequest<T>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/subscribableand are not re-exported from@solana/kit, matching the existing convention for their parentReactiveStreamStore/ReactiveActionStoretypes — 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/kitnow publicly exports the previously-privateCreateReactiveStoreWithInitialValueAndSlotTrackingConfigtype so non-React consumers (e.g. plugins) can declare function return shapes based on it without taking a dependency on@solana/react.#1554
47a785bThanks @mcintyre94! - RenameReactiveStore<T>toReactiveStreamStore<T>. The old name remains exported as a deprecated alias and will be removed in a future major release.Patch Changes
0d5aa7f,953eed6,c318d7f,09e7796,d655bef,da868aa,47a785b,6b499ee,82a1ac5,74b8d3d]:@solana/rpc-api@6.10.0
Minor Changes
#1660
0d5aa7fThanks @kh0ra! - Add the optionaltransactionIndexfield to each element of thegetSignaturesForAddressresponse. Agave 4.0 (add index to GSFA response 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
d655befThanks @mcintyre94! - Added theclientIdfield to thegetClusterNodesresponse type, exposing the name of the validator client software advertised by each node. Also marked thetpuandtpuForwardsfields as@deprecatedin favor of their QUIC equivalents (tpuQuicandtpuForwardsQuic); validators may report the UDP fields asnull.Patch Changes
5e1644d,c318d7f,47a785b,6b499ee,74b8d3d]:@solana/rpc-spec@6.10.0
Minor Changes
#1555
5e1644dThanks @mcintyre94! - Add areactiveStore()method toPendingRpcRequest. It fires the request on construction and synchronously returns aReactiveActionStorethat holds the request'sidle/running/success/errorlifecycle state. Compatible withuseSyncExternalStore, Svelte stores, and other reactive primitives. Calldispatch()to re-fire the request (e.g. after an error), orreset()to abort the in-flight call and return to idle.Patch Changes
c318d7f,da868aa,47a785b,6b499ee,82a1ac5,74b8d3d]:@solana/rpc-subscriptions-spec@6.10.0
Minor Changes
#1553
15b610dThanks @mcintyre94! - Add areactiveStore()method toPendingRpcSubscriptionsRequest. Unlikereactive(), this variant returns aReactiveStoresynchronously and supportsretry()to reconnect after an error.reactive()is now@deprecatedin favour ofreactiveStore().#1554
47a785bThanks @mcintyre94! - RenameReactiveStore<T>toReactiveStreamStore<T>. The old name remains exported as a deprecated alias and will be removed in a future major release.Patch Changes
c318d7f,da868aa,47a785b,6b499ee,82a1ac5,74b8d3d]:@solana/subscribable@6.10.0
Minor Changes
#1552
c318d7fThanks @mcintyre94! - Addretry()andgetUnifiedState()toReactiveStore. The newgetUnifiedState()returns a discriminated{ data, error, status }snapshot with stable identity, so stores can be passed directly touseSyncExternalStorewithout an intermediate wrapper.getState()andgetError()remain on the type but are now@deprecatedin favour of the unified snapshot.A new
createReactiveStoreFromDataPublisherFactoryfunction is also introduced. It accepts acreateDataPublisher: () => Promise<DataPublisher>factory rather than a ready-made publisher, which lets the store reconnect viaretry()after an error. The existingcreateReactiveStoreFromDataPublisheris now@deprecated; callingretry()on a store it produced throws a newSolanaErrorwith codeSOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED.createReactiveStoreWithInitialValueAndSlotTracking(from@solana/kit) now supportsretry(), 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
da868aaThanks @mcintyre94! - Add framework-agnostic source duck-types for reactive bindings.@solana/subscribablenow exports two new types:ReactiveStreamSource<T>— anything with areactiveStore({ abortSignal })method that returns aReactiveStreamStore<T>.PendingRpcSubscriptionsRequest<T>satisfies this by design.ReactiveActionSource<T>— anything with a zero-argumentreactiveStore()method that returns aReactiveActionStore<[], T>.PendingRpcRequest<T>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/subscribableand are not re-exported from@solana/kit, matching the existing convention for their parentReactiveStreamStore/ReactiveActionStoretypes — 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/kitnow publicly exports the previously-privateCreateReactiveStoreWithInitialValueAndSlotTrackingConfigtype so non-React consumers (e.g. plugins) can declare function return shapes based on it without taking a dependency on@solana/react.#1554
47a785bThanks @mcintyre94! - RenameReactiveStore<T>toReactiveStreamStore<T>. The old name remains exported as a deprecated alias and will be removed in a future major release.#1550
82a1ac5Thanks @mcintyre94! - AddedcreateReactiveActionStore— a framework-agnostic state machine that wraps an async function and exposes a{ dispatch, dispatchAsync, getState, subscribe, reset }contract compatible withuseSyncExternalStore, Svelte stores, Vue'sshallowRef, and similar reactive primitives.dispatchis synchronous and fire-and-forget (safe from UI event handlers);dispatchAsyncreturns a promise that resolves to the wrapped function's result and rejects on failure or supersede — useisAbortErrorfrom@solana/promisesto filter aborts. Each call creates a freshAbortControllerand aborts the previous one, so rapid successive dispatches only produce one final state transition — the outcome of the most recent call.Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/accounts@6.10.0
Patch Changes
5e1644d,c318d7f,47a785b,6b499ee,74b8d3d]:@solana/addresses@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/assertions@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/codecs@6.10.0
Patch Changes
@solana/codecs-core@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/codecs-data-structures@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/codecs-numbers@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/codecs-strings@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/compat@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/fixed-points@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/instruction-plans@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/instructions@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/keys@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/offchain-messages@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/options@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/plugin-core@6.10.0
Patch Changes
09e7796Thanks @lorisleiva! - Flatten the inferred return type ofextendClientandwithCleanupso that chained.use()calls on aClientno longer produce deeply nestedOmit<Omit<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 (?) andreadonlymodifiers, symbol keys, and override semantics are preserved exactly as before. Also exports the newExtendedClient<TClient, TAdditions>helper type for plugin authors who write their own merging helpers and want the same flattening guarantee.@solana/plugin-interfaces@6.10.0
Patch Changes
5e1644d,15b610d,47a785b]:@solana/program-client-core@6.10.0
Patch Changes
0d5aa7f,c318d7f,d655bef,47a785b,6b499ee,74b8d3d]:@solana/programs@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/react@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/rpc@6.10.0
Patch Changes
0d5aa7f,5e1644d,c318d7f,d655bef,47a785b,6b499ee,74b8d3d]:@solana/rpc-graphql@6.10.0
Patch Changes
@solana/rpc-subscriptions@6.10.0
Patch Changes
15b610d,c318d7f,da868aa,47a785b,6b499ee,82a1ac5,74b8d3d]:@solana/rpc-subscriptions-api@6.10.0
Patch Changes
15b610d,47a785b]:@solana/rpc-subscriptions-channel-websocket@6.10.0
Patch Changes
15b610d,c318d7f,da868aa,47a785b,6b499ee,82a1ac5,74b8d3d]:@solana/rpc-transformers@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/rpc-transport-http@6.10.0
Patch Changes
5e1644d,c318d7f,47a785b,6b499ee,74b8d3d]:@solana/rpc-types@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/signers@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/sysvars@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/transaction-confirmation@6.10.0
Patch Changes
#1640
953eed6Thanks @kh0ra! - Fix an abort listener leak ingetTimeoutPromise. The listener registered on the caller'sAbortSignalwas never removed after the promise settled, which caused listeners to accumulate when the same signal was reused across multiple calls.getTimeoutPromisenow registers the listener with the auto-cleanupsignaloption already used by the other strategies in this package and releases it in afinallyblock.Updated dependencies [
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/transaction-messages@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/transactions@6.10.0
Patch Changes
c318d7f,47a785b,6b499ee,74b8d3d]:@solana/wallet-account-signer@6.10.0
Patch Changes
@solana/fast-stable-stringify@6.10.0
@solana/functional@6.10.0
@solana/nominal-types@6.10.0
@solana/promises@6.10.0
@solana/rpc-parsed-types@6.10.0
@solana/rpc-spec-types@6.10.0
@solana/webcrypto-ed25519-polyfill@6.10.0