Skip to content

Tags: solana-labs/solana-web3.js

Tags

v1.98.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Agave v2 RPC: replace `getRecentBlockhash` with `getLatestBlock…

…hash` (#3419)

* feat: agave v2 rpc: replace `getConfirmedBlock` with `getBlock`

* feat: agave v2 rpc: replace `getConfirmedTransaction` with `getTransaction`

* feat: agave v2 rpc: replace `getRecentBlockhash` with `getLatestBlockhash`

* protect against json stringify

v1.97.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: agave v2 rpc: replace `getConfirmedTransaction` with `getTransa…

…ction` (#3418)

v1.96.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Agave v2 RPC: replace `getConfirmedBlock` with `getBlock` (#3417)

#### Problem
With the upcoming upgrade from 1.18 to 2.0 on Solana mainnet-beta, deprecated RPC methods have been removed, therefore they will no longer be available through Web3.js client requests.

The [Agave 2.0 Migration Guide](https://github.com/anza-xyz/agave/wiki/Agave-v2.0-Transition-Guide) lists semi-equivalent RPC method counterparts for each of the removed methods.

#### Summary of Changes
Replace `getConfirmedBlock` with `getBlock`. This method was already requiring a confirmation level of `confirmed` or `finalized`, so the behavior should be unchanged.

v1.95.8

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump mocha from 10.8.2 to 11.0.1 (#3667)

Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.8.2...v11.0.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v1.95.5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: added `programId` field in TokenBalance type (#3592)

* added programId field in TokenBalance type

* updated TokenBalanceResult

* linting and testing

v2.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#3531)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

v2.0.0-rc.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (rc) (#3526)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

v2.0.0-rc.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (rc) (#3508)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

v2.0.0-rc.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (rc) (#3102)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

v1.95.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: log JSON-RPC subscription errors to the console (#3392)

* Fix skip log error from message

* Collapse error into a single unified one

---------

Co-authored-by: Steven Luscher <steven.luscher@anza.xyz>