Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@metaplex-foundation/js is deprecated #326

Open
Mishragini opened this issue Aug 14, 2024 · 4 comments
Open

@metaplex-foundation/js is deprecated #326

Mishragini opened this issue Aug 14, 2024 · 4 comments

Comments

@Mishragini
Copy link

Problem

While going through this Solana tutorial, I found that the package used is deprecated and no longer in use.

Proposed Solution

  1. Update the Tutorial: Replace references to the deprecated package with the latest version or alternative packages currently recommended by the Metaplex and Solana communities.

  2. Provide Guidance for Migration: Include a section or link to resources that help developers migrate from the deprecated package to the new package, including any changes in the API or best practices.

  3. Code Example Updates: Update all code examples in the tutorial to align with the new packages, ensuring they work with the current Solana and Metaplex SDK versions.

  4. Deprecation Notice: Add a notice at the beginning of the tutorial informing developers of the deprecation and directing them to the updated resources.

@mikemaccana
Copy link
Collaborator

mikemaccana commented Aug 14, 2024

Thanks @Mishragini ! We did deliberately choose the older, non-Umi version of Metaplex when writing this chapter as it's less complicated than Umi (there's actually a notice about this in the tutorial ), but it looks like Metaplex officially deprecated the JS SDK a few weeks ago and seems to have marked the JS SDK NPM package as deprecated at the same time.

We do have Umi code ready to go, but we need to decide whether we want to use it. I'm going to talk to my colleagues about this now.

@mikemaccana
Copy link
Collaborator

I'm assigning myself till all the courses are updated then will ping my colleagues about the other content
.

@mikemaccana mikemaccana removed their assignment Oct 3, 2024
@mikemaccana
Copy link
Collaborator

Done - as of today all the courses are updated to use Umi.

Remaining uses of the metaplex-foundation/js are in:

content/cookbook/tokens/fetch-nft-metadata.md
content/courses/state-compression/compressed-nfts.md
content/guides/games/interact-with-tokens.md
content/guides/games/nfts-in-games.md
content/guides/games/nfts-in-games.md
content/guides/javascript/compressed-nfts.md

Copy link

github-actions bot commented Dec 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants