This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Releases: solana-labs/solana-program-library
Releases · solana-labs/solana-program-library
SPL Pod - v0.2.2
What's new
- Prepare processors for Pod instructions by taking references and pod types (#6464) by @joncinque
- Add const-compatible creators for primitives (#6328) by @joncinque
Breaking changes
- Bump to borsh v1
SPL Discriminator - v0.2.2
What's new
- Bump all crates for token-cli release (#6516)
SPL Associated Token Account - v3.0.2
What's new
- Bump borsh to v1
- Bump Solana to 1.18.2
SPL Token JS - v0.4.3
What's Changed
Token Group JS library was published and dependency tree for @solana/spl-token
was updated to reflect the appropriate version of @solana/spl-token-group
.
- token-group-js: bump by @buffalojoec in #6486
Full Changelog: token-js-v0.4.2...token-js-v0.4.3
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.