Releases: solana-labs/solana-program-library
SPL Token CLI - v2.0.16
Summary of changes
- Use Solana SDK version 1.10.29
- Update to newest version of token and associated-token-account on mainnet
- Add tests
- Add more checks during closing and transfer
- Add
--program-id
argument for using Token-2022 in the future
SPL Governance - v2.2.6
Summary
- Enable token deposits with voting plugin
Verification
The program binary can be verified using Anchor
verifiable build
$ cd governance/program
$ anchor verify GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw
SPL Token 2022 - v0.4.1
Summary of changes
- Self transfer-with-fees of confidential tokens are updated so that they do not incur fees (#3193)
- The confidential extension ConfigureAccount instruction is updated so that users cannot accidentally overwrite an existing account state (#3216)
- An incoming transfer counter field is added to a confidential extension account so that incoming transfers can be limited, which allows for easier decryption (#3208)
- Update to Solana crates @ v1.10.29 (#3303)
- JSON serde support for some Token-related instructions (#3291)
NOTE: This is still an alpha release, so backwards incompatible changes are possible in the future. Do not depend on the exact layout of extension data for your code.
SPL Token 2022 - v0.4.0
Summary of changes
- Limit incoming transfers for confidential tokens
- Fix confidential self transfer with fees
- Add non-transferable token extension
- Add interest-bearing token extension
- Set transfer fee two epochs ahead
- Update Solana SDK to 1.10.19
NOTE: This is still an alpha release, so backwards incompatible changes are possible in the future. Do not depend on the exact layout of extension data for your code.
This program is deployed to all clusters at TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
SPL Token Swap - v3.0.0
New address
This release changes the canonical address of the token-swap program to SwapsVeCiPHMUAtzQWZw7RjsKjgCjhwU55QGu4U1Szw
, which is deployed to testnet and devnet, NOT mainnet-beta. We will continue to support a deployment to this address for educational and testing purposes.
Changes
- Update to Solana SDK 1.10
- Add stable swap curve fully
- Prevent deposits into a swap pool using the offset curve
- Use
find_program_address
on-chain during init, without providing a bump seed in the instruction data
Client
This release also includes the TS @solana/spl-token-swap
version 0.2.0.
SPL Governance - v2.2.5
Summary
Do not allow relinquishing votes during proposal finalisation to keep consistent state
Verification
The program binary can be verified using Anchor
verifiable build
$ cd governance/program
$ anchor verify GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw
SPL Token 2022 - v0.3.0
Summary of changes
- Add
AuthorityType::CloseMint
variant to disambiguate SetAuthority instructions targeting themint_close_authority
extension - Update to Solana SDK v1.10.10
NOTE: This is still an alpha release, so backwards incompatible changes are possible in the future. Do not depend on the exact layout of extension data for your code.
This version of the program is not yet deployed to any public clusters
SPL Governance - v2.2.4
Summary
Support Anchor
native account discriminators for MaxVoterWeightRecord
and VoterWeightRecord
#3026
Verification
The program binary can be verified using Anchor
verifiable build
$ cd governance/program
$ anchor verify GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw
SPL Token 2022 - v0.2.0
NOTE: This is still an alpha release, so backwards incompatible changes are possible in the future. Do not depend on the exact layout of extension data for your code.
The program is deployed to testnet and devnet at TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
, and because of enabled syscalls, the following features are NOT enabled:
- reallocation of accounts
- confidential token deposit / withdraw / transfer operations (init and update are possible)
- memo transfer checks (the extension exists and is usable, but the actual check for the memo is not done)
SPL Stake Pool and CLI - v0.6.4
Summary of Changes
CLI
- Protect against unsafe fees
- Support Ledger
- Add
deposit-all-stake
command to move from stake accounts to a stake pool - Fix mismatched output fields
- Fix withdraw calculation for many accounts
Program
- Upgrade to Solana SDK 1.9.5
- Credit lamports in the reserve during stake pool creation
- Optionally use
transfer + allocate + assign
instead ofcreate_account
while creating validator stake accounts
Verification
Program verification uses the Anchor command-line interface, which can be installed by following the documentation.
The verification process builds the program in an Ubuntu container which contains the Solana CLI tools and its dependencies. More information can be found on the verifiable builds documentation.
From the root of this repository, at this commit, please run:
$ anchor verify -p spl_stake_pool SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy
After some time and a lot of output, the tool will print;
Build success
SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy is verified.
The program is also verified at the Anchor program registry: https://anchor.projectserum.com/program/SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy