Version Packages#1547
Merged
Merged
Conversation
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
a64b381 to
f218572
Compare
6f2855e to
624b42e
Compare
88e413d to
d659a8b
Compare
2f8cc64 to
26c84c6
Compare
26c84c6 to
2cac2e0
Compare
Contributor
Author
|
🔎💬 Inkeep AI search and chat service is syncing content for source 'Solana Kit Docs' |
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/accounts@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/addresses@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/assertions@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/codecs@6.9.0
Minor Changes
#1570
c5e0e14Thanks @lorisleiva! - Add a new@solana/fixed-pointspackage providing precise fixed-point number types for Solana, both decimal (power-of-10 scale) and binary (power-of-2 scale), in signed and unsigned flavors with arbitrary bit widths. The package includes factories, guards, arithmetic, comparisons, signedness conversions, rescaling, string/number formatting, and byte-level codecs. Also re-exported from@solana/codecsand@solana/kit.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
c5e0e14,096c48e]:@solana/codecs-core@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/codecs-data-structures@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/codecs-numbers@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/codecs-strings@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/compat@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/errors@6.9.0
Minor Changes
#1542
92126f4Thanks @mcintyre94! - AddSOLANA_ERROR__WALLET__NO_SIGNER_CONNECTEDandSOLANA_ERROR__WALLET__SIGNER_NOT_AVAILABLEerror codes for wallet-signer availability checks.#1559
a5ef97bThanks @lorisleiva! - Add 13 new error codes in the[8090000, 8090999]range for the upcoming@solana/fixed-pointspackage:INVALID_TOTAL_BITS,INVALID_FRACTIONAL_BITS,INVALID_DECIMALS,FRACTIONAL_BITS_EXCEED_TOTAL_BITS,VALUE_OUT_OF_RANGE,INVALID_STRING,INVALID_ZERO_DENOMINATOR_RATIO,ARITHMETIC_OVERFLOW,SHAPE_MISMATCH,DIVISION_BY_ZERO,STRICT_MODE_PRECISION_LOSS,MALFORMED_RAW_VALUE, andTOTAL_BITS_NOT_BYTE_ALIGNED.#1544
e82e03eThanks @mcintyre94! - Update RPC types for Agave v3.x validator compatibility.@solana/rpc-parsed-types:JsonParsedVoteAccountnow includesblockRevenueCollector,blockRevenueCommissionBps,blsPubkeyCompressed,inflationRewardsCollector,inflationRewardsCommissionBps,pendingDelegatorRewards, and alatencyfield on each vote entry.@solana/rpc-api:SimulateTransactionApiResponseBasenow includesfee,loadedAddresses,preBalances,postBalances,preTokenBalances, andpostTokenBalances.@solana/errors:RpcSimulateTransactionResultupdated with the same new fields.Note on
replacementBlockhash: Agave v3.x validators now always returnreplacementBlockhashinsimulateTransactionresponses (asnullwhenreplaceRecentBlockhashis not set). Kit's types still model this field as conditionally present based on config. A future breaking change will move it to the base response type asTransactionBlockhashLifetime | nullto match v3.x behavior. Consumers using v3.x validators may see this field at runtime even when Kit's types don't surface it.Note on Agave v3.x validator behavior: Validators running Agave v3.x no longer return a dedicated
TRANSACTION_SIGNATURE_VERIFICATION_FAILURERPC error for invalid signatures insimulateTransactionorsendTransaction. Instead,simulateTransactionreturns a result witherr: "SignatureFailure", andsendTransactionreturns a preflight failure with the signature error as the cause. This is a validator-level change and does not affect Kit's API surface.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/fast-stable-stringify@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/fixed-points@6.9.0
Minor Changes
#1570
c5e0e14Thanks @lorisleiva! - Add a new@solana/fixed-pointspackage providing precise fixed-point number types for Solana, both decimal (power-of-10 scale) and binary (power-of-2 scale), in signed and unsigned flavors with arbitrary bit widths. The package includes factories, guards, arithmetic, comparisons, signedness conversions, rescaling, string/number formatting, and byte-level codecs. Also re-exported from@solana/codecsand@solana/kit.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/functional@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/instruction-plans@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e]:@solana/instructions@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/keys@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e]:@solana/kit@6.9.0
Minor Changes
#1544
e82e03eThanks @mcintyre94! - Update RPC types for Agave v3.x validator compatibility.@solana/rpc-parsed-types:JsonParsedVoteAccountnow includesblockRevenueCollector,blockRevenueCommissionBps,blsPubkeyCompressed,inflationRewardsCollector,inflationRewardsCommissionBps,pendingDelegatorRewards, and alatencyfield on each vote entry.@solana/rpc-api:SimulateTransactionApiResponseBasenow includesfee,loadedAddresses,preBalances,postBalances,preTokenBalances, andpostTokenBalances.@solana/errors:RpcSimulateTransactionResultupdated with the same new fields.Note on
replacementBlockhash: Agave v3.x validators now always returnreplacementBlockhashinsimulateTransactionresponses (asnullwhenreplaceRecentBlockhashis not set). Kit's types still model this field as conditionally present based on config. A future breaking change will move it to the base response type asTransactionBlockhashLifetime | nullto match v3.x behavior. Consumers using v3.x validators may see this field at runtime even when Kit's types don't surface it.Note on Agave v3.x validator behavior: Validators running Agave v3.x no longer return a dedicated
TRANSACTION_SIGNATURE_VERIFICATION_FAILURERPC error for invalid signatures insimulateTransactionorsendTransaction. Instead,simulateTransactionreturns a result witherr: "SignatureFailure", andsendTransactionreturns a preflight failure with the signature error as the cause. This is a validator-level change and does not affect Kit's API surface.#1551
d24f908Thanks @mcintyre94! - AddClientWithSubscribeToPayerandClientWithSubscribeToIdentityinterfaces. These are a framework-agnostic convention for plugins that mutateclient.payer/client.identityreactively — they install a siblingsubscribeToPayer/subscribeToIdentityfunction so consumers can observe changes without naming the specific plugin that provides them.#1570
c5e0e14Thanks @lorisleiva! - Add a new@solana/fixed-pointspackage providing precise fixed-point number types for Solana, both decimal (power-of-10 scale) and binary (power-of-2 scale), in signed and unsigned flavors with arbitrary bit widths. The package includes factories, guards, arithmetic, comparisons, signedness conversions, rescaling, string/number formatting, and byte-level codecs. Also re-exported from@solana/codecsand@solana/kit.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.#1578
0e8fd3fThanks @lorisleiva! - AddSol,sol(),solToLamports, andlamportsToSolhelpers for converting between SOL amounts expressed as@solana/fixed-pointsvalues andLamportsbranded bigints. Also addgetSolEncoder,getSolDecoder, andgetSolCodecfor serializing SOL amounts to bytes (the encoder accepts bothSolandLamportsinputs; the decoder always returnsSol). Finally, updategetLamportsEncoder/getDefaultLamportsEncoderand their codec counterparts to also acceptSolas input.Patch Changes
92126f4,b1ae82b,a5ef97b,e82e03e,d24f908,c5e0e14,096c48e,0e8fd3f]:@solana/nominal-types@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/offchain-messages@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/options@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/plugin-core@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
b1ae82bThanks @lorisleiva! - FixextendClientso that a later plugin can override a key previously set by an earlier plugin. Previously, chaining two plugins that set the same key threwTypeError: Cannot redefine propertybecause the frozen client's non-configurable property descriptors were copied verbatim onto the intermediate object.@solana/plugin-interfaces@6.9.0
Minor Changes
#1551
d24f908Thanks @mcintyre94! - AddClientWithSubscribeToPayerandClientWithSubscribeToIdentityinterfaces. These are a framework-agnostic convention for plugins that mutateclient.payer/client.identityreactively — they install a siblingsubscribeToPayer/subscribeToIdentityfunction so consumers can observe changes without naming the specific plugin that provides them.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
096c48e,0e8fd3f]:@solana/program-client-core@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,d24f908,096c48e]:@solana/programs@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/promises@6.9.0
Minor Changes
#1549
8d73de5Thanks @mcintyre94! - AddedisAbortError(err)— returnstrueiferris anErrorwhosenameis'AbortError'. Use it to distinguish abort rejections from other failures without having toinstanceof-check every platform-specific error class.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/rpc@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/rpc-api@6.9.0
Minor Changes
#1544
e82e03eThanks @mcintyre94! - Update RPC types for Agave v3.x validator compatibility.@solana/rpc-parsed-types:JsonParsedVoteAccountnow includesblockRevenueCollector,blockRevenueCommissionBps,blsPubkeyCompressed,inflationRewardsCollector,inflationRewardsCommissionBps,pendingDelegatorRewards, and alatencyfield on each vote entry.@solana/rpc-api:SimulateTransactionApiResponseBasenow includesfee,loadedAddresses,preBalances,postBalances,preTokenBalances, andpostTokenBalances.@solana/errors:RpcSimulateTransactionResultupdated with the same new fields.Note on
replacementBlockhash: Agave v3.x validators now always returnreplacementBlockhashinsimulateTransactionresponses (asnullwhenreplaceRecentBlockhashis not set). Kit's types still model this field as conditionally present based on config. A future breaking change will move it to the base response type asTransactionBlockhashLifetime | nullto match v3.x behavior. Consumers using v3.x validators may see this field at runtime even when Kit's types don't surface it.Note on Agave v3.x validator behavior: Validators running Agave v3.x no longer return a dedicated
TRANSACTION_SIGNATURE_VERIFICATION_FAILURERPC error for invalid signatures insimulateTransactionorsendTransaction. Instead,simulateTransactionreturns a result witherr: "SignatureFailure", andsendTransactionreturns a preflight failure with the signature error as the cause. This is a validator-level change and does not affect Kit's API surface.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/rpc-graphql@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
096c48e]:@solana/rpc-parsed-types@6.9.0
Minor Changes
#1544
e82e03eThanks @mcintyre94! - Update RPC types for Agave v3.x validator compatibility.@solana/rpc-parsed-types:JsonParsedVoteAccountnow includesblockRevenueCollector,blockRevenueCommissionBps,blsPubkeyCompressed,inflationRewardsCollector,inflationRewardsCommissionBps,pendingDelegatorRewards, and alatencyfield on each vote entry.@solana/rpc-api:SimulateTransactionApiResponseBasenow includesfee,loadedAddresses,preBalances,postBalances,preTokenBalances, andpostTokenBalances.@solana/errors:RpcSimulateTransactionResultupdated with the same new fields.Note on
replacementBlockhash: Agave v3.x validators now always returnreplacementBlockhashinsimulateTransactionresponses (asnullwhenreplaceRecentBlockhashis not set). Kit's types still model this field as conditionally present based on config. A future breaking change will move it to the base response type asTransactionBlockhashLifetime | nullto match v3.x behavior. Consumers using v3.x validators may see this field at runtime even when Kit's types don't surface it.Note on Agave v3.x validator behavior: Validators running Agave v3.x no longer return a dedicated
TRANSACTION_SIGNATURE_VERIFICATION_FAILURERPC error for invalid signatures insimulateTransactionorsendTransaction. Instead,simulateTransactionreturns a result witherr: "SignatureFailure", andsendTransactionreturns a preflight failure with the signature error as the cause. This is a validator-level change and does not affect Kit's API surface.#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/rpc-spec@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/rpc-spec-types@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/rpc-subscriptions@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/rpc-subscriptions-api@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
096c48e,0e8fd3f]:@solana/rpc-subscriptions-channel-websocket@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/rpc-subscriptions-spec@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e]:@solana/rpc-transformers@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/rpc-transport-http@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/rpc-types@6.9.0
Minor Changes
#1562
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.#1578
0e8fd3fThanks @lorisleiva! - AddSol,sol(),solToLamports, andlamportsToSolhelpers for converting between SOL amounts expressed as@solana/fixed-pointsvalues andLamportsbranded bigints. Also addgetSolEncoder,getSolDecoder, andgetSolCodecfor serializing SOL amounts to bytes (the encoder accepts bothSolandLamportsinputs; the decoder always returnsSol). Finally, updategetLamportsEncoder/getDefaultLamportsEncoderand their codec counterparts to also acceptSolas input.Patch Changes
92126f4,a5ef97b,e82e03e,c5e0e14,096c48e]:@solana/signers@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/subscribable@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e]:@solana/sysvars@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/transaction-confirmation@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/transaction-messages@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/transactions@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
92126f4,a5ef97b,e82e03e,096c48e,0e8fd3f]:@solana/wallet-account-signer@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.Patch Changes
#1548
f9bf4efThanks @mcintyre94! - Widen thechainparameter oncreateSignerFromWalletAccount,createTransactionSignerFromWalletAccount, andcreateTransactionSendingSignerFromWalletAccountfromSolanaChaintoSolanaChain | (IdentifierString & {}). The known Solana chain identifiers continue to autocomplete, but any Wallet Standard${namespace}:${reference}value is now also accepted, matching the underlyingsolana:signTransactionandsolana:signAndSendTransactionfeature inputs.Updated dependencies [
8d73de5,096c48e]:@solana/webcrypto-ed25519-polyfill@6.9.0
Minor Changes
096c48eThanks @lorisleiva! - Bump the TypeScript peer dependency floor from>=5.0.0to>=5.4.0.@solana/react@6.9.0
Patch Changes
8d73de5,92126f4,a5ef97b,e82e03e,096c48e]: