Skip to content

build(deps): bump @solana/instructions from 2.3.0 to 6.2.0#540

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/solana/instructions-6.2.0
Open

build(deps): bump @solana/instructions from 2.3.0 to 6.2.0#540
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/solana/instructions-6.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2026

Bumps @solana/instructions from 2.3.0 to 6.2.0.

Release notes

Sourced from @​solana/instructions's releases.

v6.2.0

@​solana/kit

v6.2.0 (2026-03-09)

Minor Changes

  • [@solana/codecs-data-structures] #1394 3f4c5f0 Thanks @​mcintyre94! - Adds new functions getPatternMatchEncoder, getPatternMatchDecoder and getPatternMatchCodec.

    These can be used to write an encoder that switches between any number of encoders based on the value being encoded, or a decoder that switches between any number of decoders based on the byte array being decoded.

    For example for the encoder, the input is a list of [predicate, encoder] pairs. Each predicate is a function from the value being encoded to true/false. The encoder used is the first one where its predicate is true.

  • [@solana/wallet-account-signer] #1415 587ede3 Thanks @​mcintyre94! - Add new @solana/wallet-account-signer package that will contain functions for converting from Wallet Standard accounts on Solana chains, to Kit Signer objects.

Patch Changes

  • [@solana/codecs-data-structures] #1420 5390602 Thanks @​mcintyre94! - Enable pattern match encoder/codec to use type narrowing. This means that if your predicate narrows the type of the value, then the matching encoder only needs to handle the narrowed type.

    This means that you can write, for example:

    getPatternMatchEncoder<string | number>([
        [value => typeof value === 'string', {} as Encoder<string>],
        [value => typeof value === 'number', {} as Encoder<number>],
    ]);
  • [@solana/errors] #1440 0d0be3e Thanks @​lorisleiva! - Append the instruction index to all instruction error messages (e.g. (instruction [#1](https://github.com/anza-xyz/kit/issues/1))) and add a human-readable message for unknown instruction errors.

  • [@solana/errors] #1432 7568a12 Thanks @​lorisleiva! - Add SOLANA_ERROR__FAILED_TO_SEND_TRANSACTION and SOLANA_ERROR__FAILED_TO_SEND_TRANSACTIONS error codes for high-level transaction sending wrappers.

  • [@solana/errors] #1442 e33a65f Thanks @​lorisleiva! - Remove stale $encodedData interpolation from the BORSH_IO_ERROR message. The encodedData context property was removed in v5.0.0 but the message template was not updated, causing the literal $encodedData to appear in the rendered error message.

  • [@solana/errors, @solana/instruction-plans] #1433 49c1195 Thanks @​lorisleiva! - Add abortReason to the SOLANA_ERROR__INSTRUCTION_PLANS__FAILED_TO_EXECUTE_TRANSACTION_PLAN error context so consumers can access the abort reason when converting this error to higher-level error types.

  • [@solana/instruction-plans] #1435 98a8869 Thanks @​lorisleiva! - Add createFailedToExecuteTransactionPlanError factory helper for custom transaction plan executor authors and refactor the built-in executor to use it.

  • [@solana/instruction-plans] #1434 79db829 Thanks @​lorisleiva! - Add createFailedToSendTransactionError and createFailedToSendTransactionsError factory helpers that create high-level SolanaError instances from failed or canceled transaction plan results, with unwrapped simulation errors, preflight data, and logs in the error context.

  • [@solana/sysvars] #1428 b28b843 Thanks @​datasalaryman! - use internals codecs dependencies

v6.1.0

@​solana/kit

v6.1.0 (2026-02-16)

Minor Changes

  • [@solana/codecs-data-structures] #1363 70b1ed8 Thanks @​mcintyre94! - Adds new functions getPredicateEncoder, getPredicateDecoder and getPredicateCodec.

... (truncated)

Commits
  • 937fc5d Version Packages (#1400)
  • e33a65f Remove stale $encodedData from BORSH_IO_ERROR message (#1442)
  • 4ce6248 Capitalize all instruction error messages for consistency (#1441)
  • 0d0be3e Add instruction index suffix to instruction error messages (#1440)
  • ef15ed0 Regenerate .source files using fumadocs-mdx in build-api-docs script (#1436)
  • 98a8869 Add createFailedToExecuteTransactionPlanError helper (#1435)
  • 79db829 Add createFailedToSendTransactionError and `createFailedToSendTransactionsE...
  • 49c1195 Add abortReason to FAILED_TO_EXECUTE_TRANSACTION_PLAN error context (#1433)
  • 7568a12 Add SOLANA_ERROR__FAILED_TO_SEND_TRANSACTION and `SOLANA_ERROR__FAILED_TO_S...
  • b28b843 fix(packages-sysvars): point package away from codecs (#1428)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​solana/instructions since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@solana/instructions](https://github.com/anza-xyz/kit) from 2.3.0 to 6.2.0.
- [Release notes](https://github.com/anza-xyz/kit/releases)
- [Commits](anza-xyz/kit@v2.3.0...v6.2.0)

---
updated-dependencies:
- dependency-name: "@solana/instructions"
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 10, 2026
@github-actions github-actions bot enabled auto-merge (squash) March 10, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants