Releases: solana-labs/solana-program-library
SPL TLV Account Resolution - v0.3.0
What's Changed
- PDA Account Resolution by @buffalojoec in #4785
- rename PodAccountMeta to ExtraAccountMeta by @buffalojoec in #4984
- Tighten Up Account Resolution Methods by @buffalojoec in #4986
- condense TLV AR state to one init by @buffalojoec in #4988
- Support PDAs from other program ids by @joncinque in #5088
- Add instruction data length check by @buffalojoec in #5120
Full Changelog: tlv-account-resolution-v0.2.0...tlv-account-resolution-v0.3.0
SPL Program Error - v0.3.0
What's Changed
- SPL errors from hashes by @buffalojoec in #5169
Now it's possible to specify a hash value to make your error codes unique, to avoid clashing with other error types, e.g.:
#[spl_program_error(hash_error_code_start = 1_000)]
Where hash_error_code_start
will be unique based on your error name.
New Contributors
Full Changelog: program-error-v0.2.0...program-error-v0.3.0
SPL Pod - v0.1.0
Introducing a new library, spl-pod
! This library is used with the bytemuck
library https://docs.rs/bytemuck/latest/bytemuck/, exposing new types that can be used for zero-copy serde in on-chain programs.
associated-token-account-v2.1.0: release: Bump token-2022 and all dependencies (#5189)
* release: Bump token-2022 and all dependencies In order to release a new token-2022, we need to bump its version and every local crate that it depends on. That means the following: * spl-token-2022 * spl-program-error * spl-tlv-account-resolution * spl-type-length-value * spl-token-metadata-interface * spl-token-metadata-example * spl-transfer-hook-interface * spl-transfer-hook-example * spl-token-client (this one's not needed, but it's cleaner) * Also bump spl-token-cli * Also bump associated-token-account
SPL Governance Chat - v0.2.8
Summary
- Fix compatibility with multichoice proposals
Verification
The program binary can be verified using Anchor
verifiable build
$ cd governance/chat/program
$ anchor verify gCHAtYKrUUktTVzE4hEnZdLV4LXrdBf6Hh9qMaJALET
SPL Transfer Hook Interface - v0.1.0
New Crate
The spl-transfer-hook-interface
is an interface designed for programs that wish to delegate the "transfer authority" of a token to a particular program.
When it comes to transferring tokens, you can think of the "transfer authority" simply as "the only program who is authorized to transfer this token". the spl-transfer-hook-interface
defines an interface for such a program, which is then used for what's called a "permissioned transfer". The Token-2022 program has implemented this interface with its latest release and makes permissioned transfer available as a possible mint extension.
What's Changed
- transfer-hook-interface: Add interface defining a hook called during token-2022 transfer by @joncinque in #4147
- token-2022: Integrate transfer-hook interface in program by @joncinque in #4151
- transfer-hook: Add top-level tests and helpers by @joncinque in #4165
- Uses
solana-program
version 1.16
Full Changelog: token-2022-v0.6.1...transfer-hook-interface-v0.1.0
SPL Transfer Hook Example - v0.1.0
Simply an example program demonstrating how to implement the spl-transfer-hook-interface
in a program!
Uses solana-program
version 1.16
SPL Token - v4.0.0
Breaking
- Upgraded Solana crates to version 1.16, which depend on borsh 0.10 instead of 0.9. Users must also upgrade to borsh 0.10
Note
The program built from this crate will not be deployed on-chain. The crate is provided for downstream SPL token users.
Full Changelog: token-v3.5.0...token-v4.0.0
SPL Token CLI - v3.0.0
Breaking
- Upgraded Solana crates to version 1.16, which depend on borsh 0.10 instead of 0.9. Users must also upgrade to borsh 0.10
What's Changed
- [token-2022, token-cli] Enable Command::Authorize to update transfer fee extension authorities by @samkim-crypto in #4078
- [token-2022, token-cli] Update CreateMint and Authorize to support confidential extension by @samkim-crypto in #4080
- token-cli: Always use supplied blockhash for nonce txs by @joncinque in #4122
- token-cli: error handling fixes by @jbiseda in #4126
- [token-cli] Enable offline
set-transfer-fee
by @samkim-crypto in #4099 - token cli: correct signer/payer errors by @2501babe in #4542
- bump token & co. by @buffalojoec in #4612
Full Changelog: token-cli-v2.3.0...token-cli-v3.0.0
SPL Token 2022 - v0.7.0
Breaking
- Upgraded Solana crates to version 1.16, which depend on borsh 0.10 instead of 0.9. Users must also upgrade to borsh 0.10
What's Changed
- [token-2022, token-cli] Update CreateMint and Authorize to support confidential extension by @samkim-crypto in #4080
- transfer-hook-interface: Add interface defining a hook called during token-2022 transfer by @joncinque in #4147
- token-2022: Integrate transfer-hook interface in program by @joncinque in #4151
- [token-2022] Add confidential transfer fee by @samkim-crypto in #4430
- token-2022: Add
transferring
flag to protect transfer hook by @joncinque in #4352 - ci: Separate token-2022 serde test step by @joncinque in #4477
- [token-2022, token-cli] Enable migration of native SOL from an account to wSOL ATA by @Dzonixy in #4094
- token-2022: Sync native account rent-exemption during realloc by @joncinque in #4582
- token-2022: Add metadata pointer extension by @joncinque in #4549
- bump/token-2022 by @buffalojoec in #4623
Full Changelog: token-2022-v0.6.1...token-2022-v0.7.0