Update dependency @solana/kit to v8.4.0 - #912
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
NPM Publishing labels 🏷️🛑 This PR needs labels to indicate how to increase the current package version in the automated workflows. Please add one of the following labels: |
This branch has not been deployed
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 contains the following updates:
8.3.0→8.4.0Release Notes
anza-xyz/kit (@solana/kit)
v8.4.0Compare Source
@solana/kit
v8.4.0 (2026-09-28)
Minor Changes
[
@solana/codecs-data-structures,@solana/errors] #20610e76741Thanks @lorisleiva! - Add a sentinel size strategy to thearray,set, andmapcodecs. Passing a{ __kind: 'sentinel', sentinel, strategy? }object as thesizeoption ends the collection when the bytes at the next item position match the givensentinel, compared at item boundaries only. The optionalstrategy('required'by default, or'optional'/'omitted') controls whether the sentinel is written when encoding and required when decoding. This provides codec support for Codama'ssentinelCountNode.Two new errors accompany this:
SOLANA_ERROR__CODECS__SENTINEL_MISSING_AT_END_OF_BYTES(thrown under the'required'strategy when the byte array ends without the sentinel) andSOLANA_ERROR__CODECS__SENTINEL_MUST_NOT_BE_EMPTY(thrown when constructing a codec with an empty sentinel).[
@solana/errors,@solana/instruction-plans] #20735be269cThanks @lorisleiva! - Add helpers for writing custom message packers.resolveMaxInstructionsPerTransaction,assertMaxInstructionsPerTransactionandassertMessageCanAccommodateSizeenforce the instruction-count and size limits the built-in packers rely on, and a newSOLANA_ERROR__INSTRUCTION_PLANS__MESSAGE_REJECTED_BY_PACKERerror lets a packer refuse a transaction message for any other reason by providing areason. The transaction planner treats this error like the existing capacity errors and opens a new transaction message. UseisMessagePackerErrorThatRequiresNewCandidateto identify every error that calls for a new transaction message.Patch Changes
[
@solana/codecs-numbers] #206756b4960Thanks @latent-9! - FixedgetShortU16Decoder()silently accepting malformed input: a truncated buffer decoded to garbage with an offset past the end of the byte array, and continuation chains longer than the documented three-byte encoding decoded to values outside the u16 domain. Malformed input now throwsSOLANA_ERROR__CODECS__INVALID_BYTE_LENGTH, and decoded values above 65,535 now throwSOLANA_ERROR__CODECS__NUMBER_OUT_OF_RANGE, matching the guards every other number decoder already uses.[
@solana/instruction-plans] #207175653e9Thanks @lorisleiva! - FixgetReallocMessagePackerInstructionPlanproducing a 0-byte instruction whentotalSizeis an exact multiple of the realloc limit (10,240 bytes), which left the account one chunk short of the requested size.Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.