Skip to content

build(deps): bump @solana/instruction-plans from 6.9.0 to 6.10.0#703

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/solana/instruction-plans-6.10.0
Jun 17, 2026
Merged

build(deps): bump @solana/instruction-plans from 6.9.0 to 6.10.0#703
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/solana/instruction-plans-6.10.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @solana/instruction-plans from 6.9.0 to 6.10.0.

Release notes

Sourced from @​solana/instruction-plans'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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 17, 2026
@github-actions github-actions Bot enabled auto-merge (squash) June 17, 2026 09:05
github-actions[bot]
github-actions Bot previously approved these changes Jun 17, 2026
Bumps [@solana/instruction-plans](https://github.com/anza-xyz/kit) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/anza-xyz/kit/releases)
- [Commits](anza-xyz/kit@v6.9.0...v6.10.0)

---
updated-dependencies:
- dependency-name: "@solana/instruction-plans"
  dependency-version: 6.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/solana/instruction-plans-6.10.0 branch from b970d7f to 1fc52fb Compare June 17, 2026 09:24
@github-actions github-actions Bot merged commit d78a43e into main Jun 17, 2026
24 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/solana/instruction-plans-6.10.0 branch June 17, 2026 09:33
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