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 Memo - v4.0.0

27 Jun 18:31
016ba24
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 memo users.

SPL Math - v0.2.0

27 Jun 01:25
28ef736
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

SPL Associated Token Account - v2.0.0

28 Jun 14:55
12ba295
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 users.

Full Changelog: associated-token-account-v1.1.3...associated-token-account-v2.0.0

SPL Type Length Value - v0.2.0

26 Jun 22:50
eb8570f
Compare
Choose a tag to compare

Library for managing TLV structures on a slab of bytes.

Used to help convert defined structs that implement Pod and Zeroable into TLV structures that can be used to pack into or unpack from a slab of bytes.

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

SPL TLV Account Resolution - v0.2.0

26 Jun 23:32
ce92702
Compare
Choose a tag to compare

Library for working with TLV structures - and the Type-Length-Value library - to manage one or more account data buffers with TLV entries for extra accounts required by an instruction.

In short, when a program implements an interface (and possibly other use cases as well), this program must require some set of accounts - as defined by the interface - but may also require a set of additional accounts that are specific to its implementation.

With this library, a developer can place TLV entries into an account's data (a PDA dubbed a "validation account" in many areas of this library), and then those extra required accounts can be queried!

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

SPL Program Error - v0.2.0

26 Jun 20:35
21630cb
Compare
Choose a tag to compare

Library for easily deriving Solana Program errors from an enum in Rust.

One can simply define an enum and annotate it with the appropriate macro(s) to create valid errors that can log to Solana program logs!

Check out the README for the various types of macros supported

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

SPL Discriminator Library - v0.1.0

26 Jun 20:31
4a76251
Compare
Choose a tag to compare

Library for managing 8-byte discriminators for use in various data structures, such as Type-Length-Value (TLV) or Solana account inner data.

Also includes a macro for deriving 8-byte discriminators from string literal inputs

SPL Token Swap JS - v0.4.0

01 Jun 23:49
b1def15
Compare
Choose a tag to compare

Summary of Changes

  • Update to spl-token 0.3
  • Update to web3.js 1.77

SPL Token JS - v0.3.8

01 Jun 23:31
7233103
Compare
Choose a tag to compare

Summary of Changes

  • Support permanent delegate extension
  • Use sync derivation of associated token account addresses
  • Add non-transferable account extension

SPL Memo JS - v0.2.3

01 Jun 23:50
8f9c33b
Compare
Choose a tag to compare

Summary of Changes

  • Update to newest web3.js, among other dependencies
  • Update package.json for better type resolution