Releases: solana-labs/solana-program-library
SPL Token JS v0.4.2
What's Changed
- [token-js] Update build instructions for token js by @samkim-crypto in #6317
- js: Update token-group / token-metadata to use more idiomatic encoders by @joncinque in #6388
- js: Remove direct usage of
@solana/options
by @joncinque in #6389 - token js: add missing "mint" param to docs for approveChecked by @PBillingsby in #6473
- feat: add token group extension in token by @qiweiii in #6295
- token-js: bump to 0.4.2 for release by @buffalojoec in #6481
Misc:
- build(deps-dev): bump eslint from 8.56.0 to 8.57.0 by @dependabot in #6296
- Doc(extensions.mdx): correct import statment by @MohammedAlabd in #6301
- build(deps-dev): bump @types/chai from 4.3.11 to 4.3.12 by @dependabot in #6297
- build(deps-dev): bump eslint-plugin-functional from 6.0.0 to 6.0.1 by @dependabot in #6298
- build(deps-dev): bump typedoc from 0.25.8 to 0.25.9 by @dependabot in #6299
- build(deps): bump tempfile from 3.10.0 to 3.10.1 by @dependabot in #6302
- build(deps-dev): bump @typescript-eslint/parser from 7.0.2 to 7.1.0 by @dependabot in #6303
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.1.0 by @dependabot in #6304
- build(deps-dev): bump @types/eslint from 8.56.3 to 8.56.4 by @dependabot in #6308
- build(deps-dev): bump @types/node from 20.11.20 to 20.11.21 by @dependabot in #6309
- build(deps-dev): bump @types/eslint from 8.56.4 to 8.56.5 by @dependabot in #6313
- build(deps-dev): bump @types/node from 20.11.21 to 20.11.22 by @dependabot in #6311
- build(deps-dev): bump @types/node from 20.11.22 to 20.11.24 by @dependabot in #6315
- build(deps-dev): bump typedoc from 0.25.9 to 0.25.10 by @dependabot in #6321
- build(deps): bump @solana/web3.js from 1.90.0 to 1.90.1 by @dependabot in #6322
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.1.1 by @dependabot in #6333
- build(deps): bump shank from 0.2.1 to 0.4.2 by @dependabot in #6314
- build(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1 by @dependabot in #6334
- build(deps-dev): bump typedoc from 0.25.10 to 0.25.11 by @dependabot in #6342
- build(deps-dev): bump rollup from 4.12.0 to 4.12.1 by @dependabot in #6341
- build(deps-dev): bump eslint-plugin-mocha from 10.3.0 to 10.4.0 by @dependabot in #6355
- build(deps-dev): bump @solana/eslint-config-solana from 1.0.2 to 3.0.0 by @dependabot in #6353
- build(deps-dev): bump eslint-config-turbo from 1.12.4 to 1.12.5 by @dependabot in #6354
- build(deps-dev): bump @types/node from 20.11.24 to 20.11.25 by @dependabot in #6356
- build(deps-dev): bump @solana/prettier-config-solana from 0.0.4 to 0.0.5 by @dependabot in #6357
- build(deps): bump @solana/codecs-core from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb by @dependabot in #6361
- build(deps): bump @solana/codecs-numbers from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb by @dependabot in #6363
- build(deps): bump @solana/options from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb by @dependabot in #6364
- build(deps): bump @solana/codecs-strings from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb by @dependabot in #6359
- build(deps): bump @solana/web3.js from 1.90.1 to 1.91.0 by @dependabot in #6360
- build(deps-dev): bump typedoc from 0.25.11 to 0.25.12 by @dependabot in #6384
- build(deps-dev): bump eslint-plugin-functional from 6.0.1 to 6.1.1 by @dependabot in #6386
- build(deps): bump @solana/codecs-data-structures from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb by @dependabot in #6358
- build(deps): bump @solana/codecs-strings from 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb to 2.0.0-preview.1.20240309110023.71d404f228034d8ffbeecaabbc1b43722af03487 by @dependabot in #6382
- build(deps-dev): bump @types/node from 20.11.25 to 20.11.26 by @dependabot in #6399
- build(deps-dev): bump rollup from 4.12.1 to 4.13.0 by @dependabot in #6400
- build(deps): bump superstruct from 1.0.3 to 1.0.4 by @dependabot in #6402
- build(deps-dev): bump @solana/codecs-strings from 2.0.0-preview.1.20240309110023.71d404f228034d8ffbeecaabbc1b43722af03487 to 2.0.0-preview.1.20240312040731.f9fe9c59514604c74bdf8220c2c1e869c1196b5b by @dependabot in #6398
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.1 to 7.2.0 by @dependabot in #6403
- build(deps): bump @solana/web3.js from 1.91.0 to 1.91.1 by @dependabot in #6435
- build(deps-dev): bump @types/node from 20.11.27 to 20.11.28 by @dependabot in #6438
- build(deps-dev): bump @solana/codecs-strings from 2.0.0-preview.1.20240312040731.f9fe9c59514604c74bdf8220c2c1e869c1196b5b to 2.0.0-preview.1.20240318052804.e6d92fcd53b00c01a79fc7cf1b74286fe87b68b8 by @dependabot in #6448
- build(deps-dev): bump @types/chai from 4.3.12 to 4.3.13 by @dependabot in #6454
- build(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.3.1 by @dependabot in #6455
- build(deps-dev): bump @types/node from 20.11.28 to 20.11.29 by @dependabot in #6457
- build(deps-dev): bump @types/eslint from 8.56.5 to 8.56.6 by @dependabot in #6458
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.2.0 to 7.3.1 by @dependabot in #6456
- build(deps): bump @solana/codecs from 2.0.0-preview.1 to 2.0.0-preview.2 by @dependabot in #6461
- build(deps-dev): bump @types/node from 20.11.29 to 20.11.30 by @dependabot in #6462
- build(deps-dev): bump @solana/codecs-strings from 2.0.0-preview.1.20240318052804.e6d92fcd53b00c01a79fc7cf1b74286fe87b68b8 to 2.0.0-preview.2 by @dependabot in #6463
- build(deps-dev): bump @types/chai from 4.3.13 to 4.3.14 by @dependabot in #6470
- build(deps-dev): bump typescript from 5.4.2 to 5.4.3 by @dependabot in #6471
- build(deps-dev): bump turbo from 1.12.5 to 1.13.0 by @dependabot in #6475
- build(deps-dev): bump eslint-config-turbo from 1.12.5 to 1.13.0 by @dependabot in #6476
- build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs by @dependabot in #6477
Full Changelog: token-js-v0.4.1...token-js-v0.4.2
SPL Stake Pool JS - v1.1.0
What's new
- Add RemoveValidatorFromPool instruction in JS bindings (#6468) by @SolBlazeDev
- Supporting AddValidatorToPool in js library (#6459) by @kaplanmaxe
- Fix some comments (#6318) by @cuishuang
Miscellaneous Tasks
- Bump @types/node from 20.11.19 to 20.11.20 (#6286) by @dependabot[bot]
- Bump eslint from 8.56.0 to 8.57.0 (#6296) by @dependabot[bot]
- Bump @typescript-eslint/parser from 7.0.2 to 7.1.0 (#6303) by @dependabot[bot]
- Bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.1.0 (#6304) by @dependabot[bot]
- Bump @types/node from 20.11.20 to 20.11.21 (#6309) by @dependabot[bot]
- Bump @types/node from 20.11.21 to 20.11.22 (#6311) by @dependabot[bot]
- Bump @types/node from 20.11.22 to 20.11.24 (#6315) by @dependabot[bot]
- Bump @solana/web3.js from 1.90.0 to 1.90.1 (#6322) by @dependabot[bot]
- Bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.1.1 (#6333) by @dependabot[bot]
- Bump @typescript-eslint/parser from 7.1.0 to 7.1.1 (#6334) by @dependabot[bot]
- Bump rollup from 4.12.0 to 4.12.1 (#6341) by @dependabot[bot]
- Bump typescript from 5.3.3 to 5.4.2 (#6351) by @dependabot[bot]
- Bump @types/node from 20.11.24 to 20.11.25 (#6356) by @dependabot[bot]
- Bump @solana/web3.js from 1.90.1 to 1.91.0 (#6360) by @dependabot[bot]
- Bump @typescript-eslint/parser from 7.1.1 to 7.2.0 (#6397) by @dependabot[bot]
- Bump @types/node from 20.11.25 to 20.11.26 (#6399) by @dependabot[bot]
- Bump rollup from 4.12.1 to 4.13.0 (#6400) by @dependabot[bot]
- Bump superstruct from 1.0.3 to 1.0.4 (#6402) by @dependabot[bot]
- Bump @typescript-eslint/eslint-plugin from 7.1.1 to 7.2.0 (#6403) by @dependabot[bot]
- Bump @types/node from 20.11.26 to 20.11.27 (#6436) by @dependabot[bot]
- Bump @solana/web3.js from 1.91.0 to 1.91.1 (#6435) by @dependabot[bot]
- Bump @types/node from 20.11.27 to 20.11.28 (#6438) by @dependabot[bot]
- Bump @typescript-eslint/parser from 7.2.0 to 7.3.1 (#6455) by @dependabot[bot]
- Bump @types/node from 20.11.28 to 20.11.29 (#6457) by @dependabot[bot]
- Bump @typescript-eslint/eslint-plugin from 7.2.0 to 7.3.1 (#6456) by @dependabot[bot]
- Bump @types/node from 20.11.29 to 20.11.30 (#6462) by @dependabot[bot]
- Bump typescript from 5.4.2 to 5.4.3 (#6471) by @dependabot[bot]
SPL Token JS - v0.4.1
What's Changed
- token-js: refactor metadata pointer tests by @buffalojoec in #6290
- token-js: add
GroupPointer
extension by @buffalojoec in #6291 - token-js: add
GroupMemberPointer
extension by @buffalojoec in #6292 - token-js: add
GroupPointer
andGroupMemberPointer
tosetAuthority
by @buffalojoec in #6294 - token-js: bump version by @buffalojoec in #6293
SPL Token - v4.0.1
What's new
Bumping the solana dependency version to allow 2.0
Changes
- Bump repo to Solana 1.17,2
SPL Token JS - v0.4.0
This change repairs two notable bugs in the Token JS client:
- Removes and replaces the broken
addExtraAccountsToInstruction
with the new offchain helperaddExtraAccountMetasForExecute
. Fixes #6064. - Adds serialization support to various instructions to properly serialize a
COption::None
. Fixes #6113.
What's Changed
- token js: create new offchain helper by @buffalojoec in #6108
- token 2022 & transfer hook: drop deprecated helpers by @buffalojoec in #6122
- token-js: add
COption<Pubkey>
support toInitializeTransferFeeConfig
instruction by @buffalojoec in #6164 - fix: Use COptionPubkeyLayout for all COption fields by @qiweiii in #6173
- token js: bump to 0.4.0 by @buffalojoec in #6188
Shout out to @qiweiii for the contributions!!
SPL Stake Pool JS - v1.0.0
Highlights
Updates JS bindings to be compatible with Stake Pool v1.0.0.
SPL Transfer Hook Interface - v0.5.0
Highlights
The on-chain and off-chain helpers used to add extra account metas to an Execute
instruction have been replaced with repaired versions of the original helpers. These helpers ensure a proper ExecuteInstruction
is the instruction being resolved, so that the list of accounts is accurate and predictable when account resolution is performed.
For more information about the bugfix, see #6064
What's Changed
- transfer hook: add new offchain helper by @buffalojoec in #6099
- transfer hook: add new onchain helper by @buffalojoec in #6111
- token 2022 & transfer hook: drop deprecated helpers by @buffalojoec in #6122
- Transfer hook: bump versions by @buffalojoec in #6119
SPL Transfer Hook Example v0.5.0
This release incorporates the newest version of the SPL Transfer Hook interface 0.5.0
. Additionally, the tests have been revised to use the new helpers released in the updated interface crate.
Other than that, this example remains the same as it's previous minor version.
SPL Transfer Hook CLI - v0.1.1
Not much has changed in this release except for being updated to use the newer version of SPL Transfer Hook Interface. Since the extra account meta helpers were not being used in this CLI, the updated helpers have no breaking changes.
What's Changed
- Transfer hook: bump versions by @buffalojoec in #6119
SPL Single-Validator Stake Pool - v1.0.1
Summary
- Remove semantically incorrect minium delegation sanity check that blocks depositing less that
LAMPORTS_PER_SOL
on a new pool on a chain withstake_raise_minimum_delegation_to_1_sol
disabled