Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Releases: solana-labs/solana-program-library

SPL Account Compression Rust - v0.1.1

06 Oct 16:44
c84f65c
Compare
Choose a tag to compare
  • 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

25 Aug 23:52
Compare
Choose a tag to compare

Summary of changes

  • Fix regression that prevented program from operating without a config

SPL Governance - v1.1.1

23 Aug 11:08
4d9c816
Compare
Choose a tag to compare

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

16 Aug 18:48
3c54aec
Compare
Choose a tag to compare

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

11 Aug 17:53
6f2fc99
Compare
Choose a tag to compare

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

04 Aug 07:14
7c6235d
Compare
Choose a tag to compare

Summary of Changes

  • Ensure instruction unpack() is tolerant of small buffers

SPL Associated Token Program - v1.1.1

04 Aug 07:21
Compare
Choose a tag to compare

Summary of Changes

  • Support spl-token v3.5.0

SPL Token - v3.4.0

03 Aug 21:56
4fadd55
Compare
Choose a tag to compare

Summary of Changes

New instructions for forward compatibility with Token-2022:

  • InitializeImmutableOwner: no-op instruction
  • UiAmountToAmount / AmountToUiAmount: converts between u64 and string amounts
  • GetAccountDataSize: 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

27 Jul 18:28
c21b4ae
Compare
Choose a tag to compare

Summary of changes

  • Refactor PrintProgramError (#3366)
  • Update to Solana crates @ v1.10.33 (#3390)

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 Associated Token Account Program - v1.1.0

03 Aug 22:12
c00194d
Compare
Choose a tag to compare

Summary of changes

New instructions:

  • CreateIdempotent: just like the normal Create that won't throw an error if the account already exists
  • RecoverNested: 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