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

2.0.0 solana-program release causing issues due to <=2.0.0 on patch upgrades. #6897

@jacobcreech

Description

@jacobcreech

Problem

solana-program upgraded to 2.0.0 on Friday, leading to a number of builds across the ecosystem because of the <=2.0.0 in a patch version upgrade on #6182.

The problematic dependencies are as follows:

spl-pod version 0.1.1 -> Previous version 0.1.0 did not have <=2.0.0. Upgrade on patch broke some builds
spl-token-metadata-interface version 0.2.1 -> Previous version 0.2.0 did not have <=2.0.0. Upgrade on patch broke some builds
spl-associated-token-account version 2.3.1 -> Previous version 2.3.0 did not have <=2.0.0.
spl-token version 4.0.1 -> Previous version 4.0.0 did not have <=2.0.0.
spl-token-group-interface version 0.1.1 -> Previous version 0.1.0 did not have <=2.0.0.

These are the ones I can find at this time. This affects anyone using anchor-spl right now, as well as some projects that don't use Anchor but pull in spl-token 4.0.1 while using solana-program 1.X.

Relevant Anchor issue: solana-foundation/anchor#3044

Suggested Solution

Purge the versions causing problems, re-release them without the <=2.0.0, upgrade and release with <=2.0.0 as a "major" version if not already available. As mentioned here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions