Skip to content

build(deps): bump @solana/codecs from 2.0.0-preview.3 to 6.10.0#2643

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/solana/codecs-6.10.0
Open

build(deps): bump @solana/codecs from 2.0.0-preview.3 to 6.10.0#2643
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/solana/codecs-6.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown

Bumps @solana/codecs from 2.0.0-preview.3 to 6.10.0.

Release notes

Sourced from @​solana/codecs's releases.

v6.10.0

@​solana/kit

v6.10.0 (2026-06-16)

Minor Changes

  • [@solana/errors, @solana/kit, @solana/subscribable] #1552 c318d7f Thanks @​mcintyre94! - Add retry() and getUnifiedState() to ReactiveStore. The new getUnifiedState() returns a discriminated { data, error, status } snapshot with stable identity, so stores can be passed directly to useSyncExternalStore without an intermediate wrapper. getState() and getError() remain on the type but are now @deprecated in favour of the unified snapshot.

    A new createReactiveStoreFromDataPublisherFactory function is also introduced. It accepts a createDataPublisher: () => Promise<DataPublisher> factory rather than a ready-made publisher, which lets the store reconnect via retry() after an error. The existing createReactiveStoreFromDataPublisher is now @deprecated; calling retry() on a store it produced throws a new SolanaError with code SOLANA_ERROR__SUBSCRIBABLE__RETRY_NOT_SUPPORTED.

    createReactiveStoreWithInitialValueAndSlotTracking (from @solana/kit) now supports retry(), which re-sends the RPC request and re-subscribes to the subscription with a fresh abort signal while preserving the last known slot and value.

  • [@solana/errors, @solana/kit] #1654 460557b Thanks @​mcintyre94! - Added estimateResourceLimitsFactory, estimateAndSetResourceLimitsFactory, and fillTransactionMessageProvisoryResourceLimits to @solana/kit. These mirror the existing compute-unit estimators but additionally estimate and set the loaded accounts data size limit, which is required for version 1 transactions. Both limits are derived from a single simulation call.

    Two new error codes were added to @solana/errors: SOLANA_ERROR__TRANSACTION__FAILED_TO_ESTIMATE_LOADED_ACCOUNTS_DATA_SIZE_LIMIT (thrown when an RPC fails to return a loadedAccountsDataSize value while estimating a version 1 transaction) and SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_RESOURCE_LIMITS (the resource-limits counterpart of SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMIT).

    Migration

    The compute-unit-only helpers are still exported but are now deprecated. The new helpers handle every transaction version: for legacy and version 0 messages they behave the same as the old ones (only the compute unit limit is set); for version 1 messages they additionally set the loaded accounts data size limit, which is required for v1.

    estimateComputeUnitLimitFactoryestimateResourceLimitsFactory

    The new estimator returns an object instead of a number. Destructure computeUnitLimit from the result:

    // Before
    const estimateComputeUnitLimit = estimateComputeUnitLimitFactory({ rpc });
    const units = await estimateComputeUnitLimit(transactionMessage);
    // After
    const estimateResourceLimits = estimateResourceLimitsFactory({ rpc });
    const { computeUnitLimit } = await estimateResourceLimits(transactionMessage);
    // If provided by the RPC, loadedAccountsDataSizeLimit is also returned

    estimateAndSetComputeUnitLimitFactoryestimateAndSetResourceLimitsFactory

    The new helper accepts the multi-resource estimator and returns a function with the same shape as before — it takes a transaction message and returns the same message with resource limits set. No call-site change beyond the factory swap:

    // Before
    const estimator = estimateComputeUnitLimitFactory({ rpc });
    const estimateAndSet = estimateAndSetComputeUnitLimitFactory(estimator);
    // After
    const estimator = estimateResourceLimitsFactory({ rpc });
    const estimateAndSet = estimateAndSetResourceLimitsFactory(estimator);

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​solana/codecs 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/codecs](https://github.com/anza-xyz/kit) from 2.0.0-preview.3 to 6.10.0.
- [Release notes](https://github.com/anza-xyz/kit/releases)
- [Commits](https://github.com/anza-xyz/kit/commits/v6.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: automerge. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants