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

fix: make getEdition a static method#53

Merged
zaxozhu merged 1 commit intometaplex-foundation:mainfrom
ilmoi:metadata-fix
Nov 9, 2021
Merged

fix: make getEdition a static method#53
zaxozhu merged 1 commit intometaplex-foundation:mainfrom
ilmoi:metadata-fix

Conversation

@ilmoi
Copy link
Copy Markdown
Contributor

@ilmoi ilmoi commented Nov 6, 2021

getEdition seem like a really useful addition to the metadata class - but when it's not static it's kinda hard to use.

Not sure if there was a reason for it being like this, but I couldn't find any in the codebase. Also making it static seems in line with other methods on Metadata.

Lmk if I missed something ¯_(ツ)_/¯

@kurpav kurpav requested review from b2kdaman and zaxozhu November 6, 2021 20:13
@aheckmann
Copy link
Copy Markdown
Contributor

Makes sense to me. Needs a semver major version bump

@zaxozhu
Copy link
Copy Markdown
Contributor

zaxozhu commented Nov 9, 2021

@aheckmann yes, it's a breaking change.

@zaxozhu zaxozhu merged commit fd4ce52 into metaplex-foundation:main Nov 9, 2021
@zaxozhu
Copy link
Copy Markdown
Contributor

zaxozhu commented Nov 9, 2021

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Copy Markdown
Contributor

@aheckmann aheckmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merging this as is result in an auto-release as semver patch?

@aheckmann
Copy link
Copy Markdown
Contributor

Ha! I guess not. Cool

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants