v3.0.0
- Full changelog since RC: v3.0.0-rc.3...v3.0.0
- Release notes for v3.0.0.
Published Packages
@solana/web3.js@3.0.0(nextdist-tag on npm until October 19, then will be promoted tolatest)@solana/wallet-adapter@3.0.0
Installation
pnpm add @solana/web3.js@3
pnpm add @solana/wallet-adapterHighlights
- @solana/wallet-adapter: new package (SIWS 1.1, standalone signing, example app)
- Kit-native internals:
PublicKeyimplementsHasAddressfor integration w/ Codama Clients - Hardening: fixes across confirmation strategies, durable nonces, websocket subscriptions, RPC response validation, and wallet output integrity
- Repo: restructured to support inclusion of wallet adapter
What's Changed
- fix: honor Connection commitment as Kit client default commitment by @amilz in #3883
- refactor: restructure into a pnpm workspace monorepo by @amilz in #3872
- feat: implement HasAddress on PublicKey by @amilz in #3887
- chore: add justfile by @amilz in #3889
- refactor: sign transactions with transaction signers by @amilz in #3888
- feat: add @solana/wallet-adapter by @L0STE in #3884
- feat: wallet adapter example by @amilz in #3890
- chore(wallet-adapter): add assertion for endpoint and chain by @amilz in #3895
- fix(wallet-adapter): skip redundant wallet reconnects by @amilz in #3896
- fix(wallet-adapter): preserve concurrent transaction lifetime by @amilz in #3897
- fix(wallet-adapter): isolate local storage state by key by @amilz in #3898
- fix(web3.js): reject instructions carrying both Kit and legacy fields (SOLA8-86) by @amilz in #3894
- fix(web3.js): copy message header at construction so caller mutation cannot change signed bytes (SOLA8-46) by @amilz in #3893
- fix(web3.js): reconcile signature status before reporting blockheight expiry (SOLA8-99) by @amilz in #3892
- fix: harden durable-nonce processing by @amilz in #3906
- fix(web3.js): preserve RPC response metadata by @amilz in #3900
- fix(web3.js): improve websocket subscription recovery by @amilz in #3899
- fix: forward maxRetries from sendAndConfirmRawTransaction by @o-mid in #3901
- fix(web3.js): confirm inherited confirmation strategies in raw send-and-confirm by @amilz in #3907
- fix(wallet adapter): example improvements by @amilz in #3909
- fix(web3.js): keep signature subscription alive after received notiff by @amilz in #3910
- fix: require transaction signers for versioned extra signers by @o-mid in #3905
- fix: report raw confirmation failures as send errors by @o-mid in #3903
- fix(web3.js): forward getBlocks config when endSlot is undefined by @amilz in #3911
- fix(web3.js): validate discriminator in decodeExtendLookupTable by @amilz in #3912
- feat(web3.js): add getAgGenesisCert to Connection by @amilz in #3914
- fix(web3.js): reject v1 config masks with unsupported bits by @amilz in #3913
- chore(web3.js): harden PublicKey.verifySignature by @amilz in #3916
- fix(web3.js)/block subscribe fields by @amilz in #3915
- fix(web3.js): release local subscription handles on auto-disposal by @amilz in #3917
- fix(web3.js): honor abort signal during durable-nonce reconciliation by @amilz in #3918
- chore(web3.js): compiled instruction data into the decompiled instruction by @amilz in #3919
- fix(wallet-adapter): validate send options before send txn by @amilz in #3920
- fix(wallet-adapter): ignore a connect request superseded by a new selection by @amilz in #3921
- fix(web3.js): reject ambiguous token and program account filters by @amilz in #3922
- fix(wallet-adapter): refuse wallet output that drops caller signatures by @amilz in #3923
- fix(web3.js): dispose signature listener even when the callback throws by @amilz in #3924
- fix(web3.js): reject unsupported RPC transaction versions by @amilz in #3925
- fix(web3.js): keep the subscription channel open when a notification cannot be decoded by @amilz in #3926
- chore: add v1 max ix size by @amilz in #3927
- fix(web3.js): reject non-lookup-table accounts in getAddressLookupTable by @amilz in #3929
- fix(web3.js): prefer the nonce confirmation strategy when nonceInfo by @amilz in #3928
- fix(web3.js): surface additional simulate fields by @amilz in #3930
- fix(web3.js): return bigint lamports from stake split and withdraw decoders by @amilz in #3931
- fix(web3.js): resolve send-and-confirm commitment properly by @amilz in #3935
- fix(web3.js): populate SendTransactionError logs from preflight errors by @amilz in #3934
- fix(web3.js): keep sig-status fallback errs from escaping as unhandled rej by @amilz in #3936
- fix(web3.js)!: throw when getMinimumBalanceForRentExemption fails by @amilz in #3937
- feat(web3.js): new rpc config params by @amilz in #3932
- feat(wallet-adapter): add siws 1.1 by @amilz in #3938
- ci: split pull request jobs and add a publish dist-tag selector by @amilz in #3944
- docs: point 1.x users to the legacy branch/repos by @amilz in #3945
- test(web3.js): bump @solana-program clients and cover PublicKey as HasAddress input by @amilz in #3946
- fix(web3.js): execute IIFE bundles in smoke tests by @arunimshukla in #3943
- build: adopt @solana-config/oxc for linting and formatting by @amilz in #3948
- build: lint parity wallet adapter by @amilz in #3951
- feat(example): add wallet features page to wallet adapter example by @amilz in #3953
- chore: bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #3952
- chore: run ci on push to main by @amilz in #3954
- fix(example): warn when wallet adapter example uses the public main rpc by @amilz in #3955
- ci: point publish workflow guard at main instead of v3.x by @amilz in #3957
- fix: typedoc on main by @amilz in #3956
- build: apply more oxc web3js lint rules by @amilz in #3958
- chore: dependabot security cleanup by @amilz in #3959
- build: enable oxfmt sortImports by @amilz in #3960
- ci: publish wallet-adapter alongside web3.js and bump both to 3.0.0 by @amilz in #3961
- chore: bump next from 16.3.5 to 16.3.6 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #3962
- build(oxlint): enforce prefer-node-protocol across workspace by @Zyaxxy in #3963
- ci: only mark GitHub release as latest when publishing to npm latest by @amilz in #3964
New Contributors
- @L0STE made their first contribution in #3884
- @o-mid made their first contribution in #3901
- @arunimshukla made their first contribution in #3943
- @Zyaxxy made their first contribution in #3963
Full Changelog: v3.0.0-rc.3...v3.0.0