Skip to content

build(deps): bump @solana/codecs-strings from 7.1.1 to 8.0.0 - #141

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/solana/codecs-strings-8.0.0
Open

build(deps): bump @solana/codecs-strings from 7.1.1 to 8.0.0#141
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/solana/codecs-strings-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor

Bumps @solana/codecs-strings from 7.1.1 to 8.0.0.

Release notes

Sourced from @​solana/codecs-strings's releases.

v8.0.0

@​solana/kit

v8.0.0 (2026-08-21)

Major Changes

  • [@solana/instruction-plans] #1913 80368eb Thanks @​mcintyre94! - Stop writing to the execution context in createTransactionPlanExecutor

    The executeTransactionMessage callback can no longer return a Signature or a Transaction. Those return values were deprecated when the callback gained the ability to return the context that a successful result should carry, and they are now gone: that context, a complete TContext, is the only thing the callback returns. Nothing is written to it on your behalf.

    const transactionPlanExecutor = createTransactionPlanExecutor({
      executeTransactionMessage: async (context, message) => {
        const transaction = await signTransactionMessageWithSigners(message);
        context.transaction = transaction;
    +   const signature = getSignatureFromTransaction(transaction);
        await sendAndConfirmTransaction(transaction, { commitment: 'confirmed' });
    -   return transaction;
    +   return { signature, transaction };
      },
    });

    The mutable context argument is still there, and still serves the failure path: whatever the callback stores on it before it throws is preserved in the resulting FailedSingleTransactionPlanResult. The two channels differ only in which outcome they feed. Mutating the context makes a value available to a failed result; returning it makes a value available to a successful one. On success the two are merged, with the returned value taking precedence, so a property stored but not returned is still reported.

    Note that the callback cannot simply return the context it was given — every property on it is optional, so it does not satisfy TContext. Build the return value from the values you have instead. This is the point of the return type: a callback that declares a context with a required signature and never produces one now fails to compile, rather than yielding a successful result whose context.signature is typed but undefined at runtime.

    This unblocks executors that never obtain a fee payer signature. Previously the executor derived context.signature by calling getSignatureFromTransaction on a returned transaction, and on any transaction found on the context while handling a failure. That call throws SOLANA_ERROR__TRANSACTION__FEE_PAYER_SIGNATURE_MISSING when the fee payer slot is empty, so an executor that deliberately produces partially signed transactions — signed by an authority, to be paid for and submitted by a relayer later — could not succeed, and one that stored such a transaction before failing had its original error replaced by that one. Neither derivation exists any more, so both cases now work. Declare a context type that does not require a signature and store just the transaction:

    const transactionPlanExecutor = createTransactionPlanExecutor<{ transaction: Transaction }>({
        executeTransactionMessage: async (_context, message) => {
            return { transaction: await signTransactionMessageWithSigners(message) };
        },
    });

    Signatures are no longer added behind your back. An executor whose TContext requires a signature — including the default TransactionPlanResultContextWithSignature — must now produce one itself, and the compiler holds it to that. Failed results carry only what the callback stored on the context before it threw; a signature is no longer recovered from a stored transaction.

    BaseTransactionPlanResultContext is removed. It described the fields the executor used to write on your behalf, and nothing writes them any more — what a context holds is entirely TContext's business. Use TransactionPlanResultContextWithSignature where you want the signature guarantee, or declare the optional message / signature / transaction fields your own context actually needs.

    successfulSingleTransactionPlanResultFromTransaction is removed. It was the last place that derived a signature on your behalf — by calling getSignatureFromTransaction, with the same fee-payer-signature requirement described above — and the executor no longer uses it. Construct results with successfulSingleTransactionPlanResult instead, passing the context explicitly:

    - successfulSingleTransactionPlanResultFromTransaction(message, transaction);
    + successfulSingleTransactionPlanResult(message, {
    +   signature: getSignatureFromTransaction(transaction),
    +   transaction,
    + });

... (truncated)

Commits
  • 56cfbe2 Version Packages (#1942)
  • bb67193 Bump swr from 2.4.2 to 2.5.1 (#1964)
  • 84ae72c Bump @​types/mdx from 2.0.13 to 2.0.14 in /docs (#1966)
  • b337a94 Bump fumadocs-core from 15.2.10 to 16.14.4 in /docs (#1965)
  • 5d526f7 Fix getTransactionSizeLimit misclassifying single-signer legacy transactions ...
  • 1b30374 Fix toArrayBuffer returning the whole backing buffer for offset-zero views (#...
  • 213bcdb Bump vite from 8.0.16 to 8.2.1 (#1953)
  • b701606 Bump @​types/react from 19.2.17 to 19.2.18 in /docs (#1954)
  • 4395156 Bump vercel from 52.2.1 to 59.1.3 in /docs (#1956)
  • 94adb60 feat: fill in transaction v1 (SIMD-0385) gaps (#1951)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 25, 2026
@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4248f90

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Bumps [@solana/codecs-strings](https://github.com/anza-xyz/kit) from 7.1.1 to 8.0.0.
- [Release notes](https://github.com/anza-xyz/kit/releases)
- [Commits](anza-xyz/kit@v7.1.1...v8.0.0)

---
updated-dependencies:
- dependency-name: "@solana/codecs-strings"
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/solana/codecs-strings-8.0.0 branch from c91baa8 to 4248f90 Compare August 28, 2026 08: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