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 TLV Account Resolution - v0.3.0

01 Sep 21:03
f35dc5f
Compare
Choose a tag to compare

What's Changed

Full Changelog: tlv-account-resolution-v0.2.0...tlv-account-resolution-v0.3.0

SPL Program Error - v0.3.0

01 Sep 20:50
f35dc5f
Compare
Choose a tag to compare

What's Changed

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

01 Sep 20:52
f35dc5f
Compare
Choose a tag to compare

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)

01 Sep 22:01
f35dc5f
Compare
Choose a tag to compare
* 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

20 Feb 12:31
9644c51
Compare
Choose a tag to compare

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

28 Jun 14:51
a08ec50
Compare
Choose a tag to compare

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

28 Jun 14:52
a08ec50
Compare
Choose a tag to compare

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

28 Jun 14:33
ad2b812
Compare
Choose a tag to compare

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

28 Jun 14:23
ad2b812
Compare
Choose a tag to compare

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

Full Changelog: token-cli-v2.3.0...token-cli-v3.0.0

SPL Token 2022 - v0.7.0

28 Jun 14:44
a08ec50
Compare
Choose a tag to compare

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