Releases: solana-labs/solana-program-library
SPL Account Compression Rust - v0.1.1
- Update program ids for
spl-noop
,spl-account-compression
- Add instruction to remove empty tree for
spl-account-compression
- Update
spl-concurrent-merkle-tree
to support checking empty tree condition
SPL Token CLI - v2.0.17
Summary of changes
- Fix regression that prevented program from operating without a config
SPL Governance - v1.1.1
Summary
- Increase outstanding proposals per user to 10
Verification
The program binary can be verified using Anchor
verifiable build
$ cd governance/program
$ anchor verify GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw
SPL Token 2022 - v0.4.3
Summary of changes
- Merge instruction data for confidential Transfer and TransferWithFee (#3410)
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 Stake Pool and CLI - v0.7.0
Summary of changes
Program
- Upgrade to Solana 1.10.33
- Add instructions to create and update Metaplex Token Metadata, which must be signed by the pool manager
SPL Token - v3.5.0
Summary of Changes
- Ensure instruction
unpack()
is tolerant of small buffers
SPL Associated Token Program - v1.1.1
Summary of Changes
- Support spl-token v3.5.0
SPL Token - v3.4.0
Summary of Changes
New instructions for forward compatibility with Token-2022:
InitializeImmutableOwner
: no-op instructionUiAmountToAmount
/AmountToUiAmount
: converts between u64 and string amountsGetAccountDataSize
: returns the required size for an account, always 165
Changes:
- Closing accounts results in a full reinitialization of the account, reassigning it back to the system program and reallocating its size to 0
Release
The program was released under feature flag Ftok4njE8b7tDffYkC5bAbCaQv5sL6jispYrprzatUwN, enable since epoch 334 on mainnet-beta.
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.
In order to verify the program, please check out this tag, then run:
$ cd token/program
$ anchor verify --solana-version 1.10.33 --bootstrap debian --docker-image ubuntu:20.04 --provider.cluster mainnet TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
This will take a couple of minutes, and then finally output:
Build success
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA is verified.
Note: the actual crate versions are still at version 3.3.0 in order to preserve verifiability. The actual version bump and release was done from #3427
SPL Token 2022 - v0.4.2
SPL Associated Token Account Program - v1.1.0
Summary of changes
New instructions:
CreateIdempotent
: just like the normalCreate
that won't throw an error if the account already existsRecoverNested
: recover "nested" funds, where the funds are held by an account which is owned by an associated token account address
New features:
- creating an account includes the
InitializeImmutableOnwer
instruction from the Token-2022 program, making all accounts created for Token-2022 immutably owned. This feature is not supported by the Token program. - during account creation, the program queries the token program to know the size of the target account using
GetAccountDataSize
. This is most useful for Token-2022, where tokens may require more space to accommodate extensions
Release
The program was released under feature flag FaTa17gVKoqbh38HcfiQonPsAaQViyDCCSg71AubYZw8
, enable since epoch 334 on mainnet-beta.
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 associated-token-account/program
, run:
$ anchor verify --solana-version 1.10.33 -b debian -d ubuntu:20.04 --provider.cluster mainnet ATaYDmFSp5AgaJRGUcHeys4uF1wzCroXPeDgT7AcU82L