solana-labs / solana-web3.js

Solana JavaScript SDK
https://solana-labs.github.io/solana-web3.js
MIT License
1.97k stars 791 forks source link

Eliminate deprecated RPC methods #2859

Open steveluscher opened 1 week ago

steveluscher commented 1 week ago

The following deprecated methods are being removed in Agave 2.0:

Clean all references and code for these from web3.js.

steveluscher commented 4 days ago

I've started to have a few second thoughts here.

  1. Responsibly removing these methods would require a major version bump, which would take legacy web3.js to 2.0.
  2. The new library that we actually intend on releasing as web3.js 2.0 already has these methods gone.

I think maybe we just cut our losses for legacy, and close #2859 by releasing the new library. Two birds, one stone.