Version Packages#8
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
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@8.0.0
Minor Changes
#1811
7022c26Thanks @mcintyre94! - AddbridgeStoreToAsyncIterableto@solana/subscribablebridgeStoreToAsyncIterableadapts aReactiveStreamStoreinto the pull-basedAsyncIterablecontract that consumers like TanStack Query'sexperimental_streamedQueryexpect. It is now a public export of@solana/subscribable(and re-exported from@solana/kit). It was previously an internal helper of@solana/react, but it is not React- or TanStack-specific and is useful to any consumer that needs to drive a stream store byfor await-ing it.The bridge only observes the store — consistent with the rest of the ecosystem, the caller owns the store's lifecycle (
connect()it yourself, bound to the same signal, andreset()it when done). The bridge subscribes, seeds from the store's current snapshot, yields values, and unsubscribes when iteration ends.It throws the new
SOLANA_ERROR__SUBSCRIBABLE__STREAM_CLOSED_WITHOUT_ERRORwhen a store closes in an error state with a nullish payload. This is the erroruseSubscriptionQueryanduseTrackedDataQuerynow surface in that case; the SWR bridge is unaffected.@solana/kit@8.0.0
Minor Changes
#1811
7022c26Thanks @mcintyre94! - AddbridgeStoreToAsyncIterableto@solana/subscribablebridgeStoreToAsyncIterableadapts aReactiveStreamStoreinto the pull-basedAsyncIterablecontract that consumers like TanStack Query'sexperimental_streamedQueryexpect. It is now a public export of@solana/subscribable(and re-exported from@solana/kit). It was previously an internal helper of@solana/react, but it is not React- or TanStack-specific and is useful to any consumer that needs to drive a stream store byfor await-ing it.The bridge only observes the store — consistent with the rest of the ecosystem, the caller owns the store's lifecycle (
connect()it yourself, bound to the same signal, andreset()it when done). The bridge subscribes, seeds from the store's current snapshot, yields values, and unsubscribes when iteration ends.It throws the new
SOLANA_ERROR__SUBSCRIBABLE__STREAM_CLOSED_WITHOUT_ERRORwhen a store closes in an error state with a nullish payload. This is the erroruseSubscriptionQueryanduseTrackedDataQuerynow surface in that case; the SWR bridge is unaffected.#1824
b47feb6Thanks @mcintyre94! - Re-export@solana/promisesfrom@solana/kit@solana/kitnow re-exports the@solana/promisespackage, so its helpers —isAbortError,getAbortablePromise, andsafeRace— are available directly from@solana/kitwithout a separate dependency. This is particularly useful alongside@solana/react'suseAction, whose superseded or aborted dispatches reject with anAbortErrorthat callers filter usingisAbortError.Patch Changes
7022c26,c45d5e0,c8235ca]:@solana/react@8.0.0
Minor Changes
#1811
7022c26Thanks @mcintyre94! - AddbridgeStoreToAsyncIterableto@solana/subscribablebridgeStoreToAsyncIterableadapts aReactiveStreamStoreinto the pull-basedAsyncIterablecontract that consumers like TanStack Query'sexperimental_streamedQueryexpect. It is now a public export of@solana/subscribable(and re-exported from@solana/kit). It was previously an internal helper of@solana/react, but it is not React- or TanStack-specific and is useful to any consumer that needs to drive a stream store byfor await-ing it.The bridge only observes the store — consistent with the rest of the ecosystem, the caller owns the store's lifecycle (
connect()it yourself, bound to the same signal, andreset()it when done). The bridge subscribes, seeds from the store's current snapshot, yields values, and unsubscribes when iteration ends.It throws the new
SOLANA_ERROR__SUBSCRIBABLE__STREAM_CLOSED_WITHOUT_ERRORwhen a store closes in an error state with a nullish payload. This is the erroruseSubscriptionQueryanduseTrackedDataQuerynow surface in that case; the SWR bridge is unaffected.Patch Changes
7022c26,b47feb6]:@solana/rpc-api@8.0.0
Minor Changes
#1776
c8235caThanks @mcintyre94! - Add thegetTransactionsForAddressRPC method type. This method combines address-history discovery and per-transaction fetching into a single query, with server-side filtering, bidirectional sorting, and cursor-based pagination. It will be part of the upcoming solana-rpc spec and is part of thesolana-rpc/superbankproject, and is already available from major RPC providers.It supports both
signaturesandfull(json/jsonParsed/base58/base64) response modes. The shared transaction metadata types also gain an optionalmeta.costUnitsfield, which surfaces ongetTransactionas well.Patch Changes
7022c26]:@solana/subscribable@8.0.0
Minor Changes
#1811
7022c26Thanks @mcintyre94! - AddbridgeStoreToAsyncIterableto@solana/subscribablebridgeStoreToAsyncIterableadapts aReactiveStreamStoreinto the pull-basedAsyncIterablecontract that consumers like TanStack Query'sexperimental_streamedQueryexpect. It is now a public export of@solana/subscribable(and re-exported from@solana/kit). It was previously an internal helper of@solana/react, but it is not React- or TanStack-specific and is useful to any consumer that needs to drive a stream store byfor await-ing it.The bridge only observes the store — consistent with the rest of the ecosystem, the caller owns the store's lifecycle (
connect()it yourself, bound to the same signal, andreset()it when done). The bridge subscribes, seeds from the store's current snapshot, yields values, and unsubscribes when iteration ends.It throws the new
SOLANA_ERROR__SUBSCRIBABLE__STREAM_CLOSED_WITHOUT_ERRORwhen a store closes in an error state with a nullish payload. This is the erroruseSubscriptionQueryanduseTrackedDataQuerynow surface in that case; the SWR bridge is unaffected.Patch Changes
7022c26]:@solana/transaction-introspection@8.0.0
Minor Changes
c45d5e0Thanks @mcintyre94! -decodeTransactionFromRpcResponsenow accepts confirmed transactions from any RPC method that returns them, not justgetTransaction. It reads only the sharedtransaction/meta/versionenvelope, sogetTransactionsForAddressresults (map over itsdataarray) andgetBlockresults (map over itstransactionsarray, withtransactionDetails: 'full') decode identically, including legacy transactions fetched withoutmaxSupportedTransactionVersion. The'json'overload now types its omittedtransactionasneverrather than an optionalTransaction, reflecting that the JSON path never yields re-encodable wire bytes.Patch Changes
7022c26]:@solana/accounts@8.0.0
Patch Changes
7022c26]:@solana/addresses@8.0.0
Patch Changes
7022c26]:@solana/assertions@8.0.0
Patch Changes
7022c26]:@solana/codecs@8.0.0
Patch Changes
204ed6e]:@solana/codecs-core@8.0.0
Patch Changes
7022c26]:@solana/codecs-data-structures@8.0.0
Patch Changes
#1809
204ed6eThanks @mcintyre94! - Allow boolean predicates passed togetPatternMatchCodecandgetPatternMatchEncoderto narrow to a subtype of the variant's value type. Previously, matching against codecs whose value type is a union — such as the number codecs, whose encode type isnumber | bigint— forced predicates to be typed against the full union (e.g.(value: number | bigint) => …). The predicate parameter is now checked bivariantly, so a narrower predicate like(value: number) => …is accepted, mirroring the ergonomics ofgetPredicateCodecandgetPredicateEncoder.Updated dependencies [
7022c26]:@solana/codecs-numbers@8.0.0
Patch Changes
7022c26]:@solana/codecs-strings@8.0.0
Patch Changes
7022c26]:@solana/compat@8.0.0
Patch Changes
7022c26]:@solana/fixed-points@8.0.0
Patch Changes
7022c26]:@solana/instruction-plans@8.0.0
Patch Changes
7022c26]:@solana/instructions@8.0.0
Patch Changes
7022c26]:@solana/keys@8.0.0
Patch Changes
7022c26]:@solana/offchain-messages@8.0.0
Patch Changes
7022c26,204ed6e]:@solana/options@8.0.0
Patch Changes
7022c26,204ed6e]:@solana/plugin-interfaces@8.0.0
Patch Changes
@solana/program-client-core@8.0.0
Patch Changes
7022c26,c8235ca]:@solana/programs@8.0.0
Patch Changes
7022c26]:@solana/rpc@8.0.0
Patch Changes
7022c26,c8235ca]:@solana/rpc-graphql@8.0.0
Patch Changes
@solana/rpc-spec@8.0.0
Patch Changes
7022c26]:@solana/rpc-spec-types@8.0.0
Patch Changes
7022c26]:@solana/rpc-subscriptions@8.0.0
Patch Changes
7022c26]:@solana/rpc-subscriptions-api@8.0.0
Patch Changes
@solana/rpc-subscriptions-channel-websocket@8.0.0
Patch Changes
7022c26]:@solana/rpc-subscriptions-spec@8.0.0
Patch Changes
7022c26]:@solana/rpc-transformers@8.0.0
Patch Changes
7022c26]:@solana/rpc-transport-http@8.0.0
Patch Changes
7022c26]:@solana/rpc-types@8.0.0
Patch Changes
7022c26]:@solana/signers@8.0.0
Patch Changes
7022c26]:@solana/sysvars@8.0.0
Patch Changes
7022c26,204ed6e]:@solana/transaction-confirmation@8.0.0
Patch Changes
7022c26]:@solana/transaction-messages@8.0.0
Patch Changes
7022c26,204ed6e]:@solana/transactions@8.0.0
Patch Changes
7022c26,204ed6e]:@solana/wallet-account-signer@8.0.0
Patch Changes
@solana/fast-stable-stringify@8.0.0
@solana/functional@8.0.0
@solana/nominal-types@8.0.0
@solana/plugin-core@8.0.0
@solana/promises@8.0.0
@solana/rpc-parsed-types@8.0.0
@solana/webcrypto-ed25519-polyfill@8.0.0